/* Logo size control */
.main-header .logo-box .logo img {
    max-height: 60px;
    width: auto;
    object-fit: contain;
}

/* Ensure header doesn't get too tall */
.main-header .header-lower {
    min-height: 80px;
}

.main-header .inner-container {
    padding: 10px 0;
}

/* Mobile logo */
.mobile-menu .nav-logo img {
    max-height: 50px;
    width: auto;
    object-fit: contain;
}

/* Custom overrides for construction theme */
.page-title {
    background-size: cover;
    background-position: center;
}
.shop-detail_price {
    color: var(--theme-color-one);
    font-size: 24px;
    font-weight: 700;
}
.theme-btn.btn-style-eight {
    background-color: #8BB449;
    color: #fff;
    padding: 15px 35px;
    border-radius: 5px;
    display: inline-block;
    font-weight: 600;
    font-size: 16px;
    border: 2px solid #8BB449;
    box-shadow: 0 4px 12px rgba(139, 180, 73, 0.3);
    transition: all 0.3s ease;
}
.theme-btn.btn-style-eight:hover {
    background-color: #58892A;
    border-color: #58892A;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(139, 180, 73, 0.4);
}
.product-block_one-image img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}
.shop-detail_gallery-column .image {
    overflow: hidden;
    border-radius: 10px;
}
.shop-detail_gallery-column .image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    transition: transform 0.3s ease;
}
.shop-detail_gallery-column .image:hover img {
    transform: scale(1.05);
}

/* Fixed card dimensions for similar products */
.product-block_one {
    margin-bottom: 30px;
}

.product-block_one-inner {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 550px;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    transition: box-shadow 0.3s ease;
}

.product-block_one-inner:hover {
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

/* Image container with fixed height */
.product-block_one-image {
    height: 350px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f8f8;
    position: relative;
}

.product-block_one-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 8px;
    transition: transform 0.3s ease;
}

.product-block_one-image:hover img {
    transform: scale(1.05);
}

/* Content section */
.product-block_one-content {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* Fixed tag height */
.product-block_one-tag {
    min-height: 30px;
    margin-bottom: 10px;
    font-size: 12px;
    color: #666;
    text-transform: uppercase;
}

/* Fixed title height with ellipsis */
.product-block_one-title {
    min-height: 60px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    margin-bottom: 15px;
    line-height: 1.4;
}

.product-block_one-title a {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    transition: color 0.3s ease;
}

.product-block_one-title a:hover {
    color: var(--theme-color-one);
}

/* Price section */
.product-block_one-price {
    min-height: 30px;
    margin-bottom: 15px;
    font-size: 16px;
    font-weight: 700;
    color: var(--theme-color-one);
}

/* Cart button */
.product-block_one-cart {
    margin-top: auto;
    display: inline-block;
    padding: 10px 20px;
    background: var(--theme-color-one);
    color: white;
    text-align: center;
    border-radius: 5px;
    transition: all 0.3s ease;
    font-weight: 600;
}

.product-block_one-cart:hover {
    background: #58892A;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(139, 180, 73, 0.3);
}

/* Related products section */
.related-products {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 2px solid #f0f0f0;
}

.related-products h3 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 30px;
    color: #333;
}
