/* Page specific styles */

/* Home Page */
.btn-mt-40 {
    margin-top: 40px;
}

.max-w-600-center {
    max-width: 600px;
    margin: 20px auto 0;
}

.category-bg-img {
    background-size: cover;
    background-position: center;
}

/* About Page */
.about-content-custom {
    max-width: 800px;
    margin: 0 auto;
    text-align: left;
}

/* Gallery Page */
.gallery-section-padding {
    padding: 120px 0 100px;
}

.gallery-grid-custom {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.gallery-img-custom {
    width: 100%;
    border-radius: 15px;
}

/* Contact Page */
.contact-section-padding {
    padding: 120px 0 100px;
}

.contact-grid-custom {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    text-align: left;
}

.contact-item-mb-20 {
    margin-bottom: 20px;
}

.contact-form-custom {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-input-custom,
.contact-textarea-custom {
    padding: 15px;
    border-radius: 10px;
    border: 1px solid #ddd;
}

.contact-submit-btn {
    align-self: flex-start;
}

/* Brand Name in Header */
.brand-name-header {
    font-size: 2rem;
}

.products-section.padding {
    padding: 120px 0 100px;
}

/* Product Single Page */
.product-single-section {
    padding: 150px 0 100px;
    background-color: #fff;
}

.product-single-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    align-items: start;
}

.product-image-display {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.product-image-display .main-img {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.15));
    transition: transform 0.5s ease;
}

.product-image-display:hover .main-img {
    transform: scale(1.05) rotate(-3deg);
}

.product-info-wrapper {
    text-align: left;
}

.product-category-tag {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(0, 168, 89, 0.1);
    color: var(--primary-green);
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.product-single-title {
    font-size: 3.5rem;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.product-single-description {
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--text-gray);
    margin-bottom: 40px;
}

.product-spec-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-bottom: 40px;
    padding-top: 40px;
    border-top: 1px solid #eee;
}

.spec-item h4 {
    font-size: 0.9rem;
    color: var(--text-gray);
    margin-bottom: 5px;
    text-transform: uppercase;
}

.spec-item p {
    font-size: 1.1rem;
    color: var(--text-dark);
    font-weight: 700;
    margin-bottom: 0;
}

.product-actions {
    display: flex;
    gap: 20px;
}

@media (max-width: 1024px) {
    .product-single-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .product-single-title {
        font-size: 2.5rem;
    }
}

.no-products {
    grid-column: 1 / -1;
    text-align: center;
    padding: 100px 0;
    color: var(--text-gray);
    font-size: 1.2rem;
}

/* Product Gallery and Long Description Styles */
.product-long-description {
    line-height: 1.6;
    color: var(--text-gray);
}

.gallery-thumbnails {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
    gap: 15px;
}

.gallery-item {
    cursor: pointer;
    border: 2px solid transparent;
    border-radius: 10px;
    overflow: hidden;
    transition: border-color 0.3s;
}

.gallery-item:hover {
    border-color: var(--primary-green);
}

.gallery-item img {
    width: 100%;
    height: 80px;
    object-fit: cover;
}

.mt-4 {
    margin-top: 2rem;
}

.mt-5 {
    margin-top: 3rem;
}

.mb-3 {
    margin-bottom: 1rem;
}

/* Product Visual Column and Swiper Styles */
.product-visual-column {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.product-main-swiper {
    width: 100%;
    border-radius: 40px;
    background: #fdfdfd;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.05);
}

.product-main-swiper .product-image-display {
    padding: 40px;
    background: transparent;
}

.product-thumbs-swiper {
    width: 100%;
    padding: 10px 0;
}

.gallery-item-thumb {
    cursor: pointer;
    border-radius: 15px;
    overflow: hidden;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    height: 100px;
    background: #fdfdfd;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px;
}

.gallery-item-thumb img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 5px 10px rgba(0, 0, 0, 0.1));
}

.product-thumbs-swiper .swiper-slide-thumb-active .gallery-item-thumb {
    border-color: var(--primary-green);
    box-shadow: 0 10px 20px rgba(0, 168, 89, 0.1);
}

.mt-3 {
    margin-top: 1rem !important;
}

.product-main-swiper .main-img {
    max-width: 100%;
    max-height: 400px;
    object-fit: contain;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.15));
    transition: transform 0.5s ease;
}

.product-main-swiper .swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Additional fixes for Product Single */
.product-single-grid {
    align-items: flex-start;
}

@media (max-width: 768px) {
    .product-single-title {
        font-size: 2.2rem;
    }

    .product-main-swiper .product-image-display {
        padding: 20px;
    }

    .gallery-item-thumb {
        height: 70px;
    }
}

.product-visual-column,
.product-info-wrapper {
    min-width: 0;
}