/* ===========================
   SHOP PAGE STYLES
   =========================== */

/* Hero Section */
.hero {
    position: relative;
    height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-bottom: 80px;
}

.hero__image-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.2) 100%);
    z-index: 1;
}

.hero__content {
    position: relative;
    z-index: 2;
    max-width: 700px;
}

.hero__text {
    color: white;
    text-align: center;
}

.hero__title {
    font-family: "Cormorant Garamond", serif;
    font-size: 3.5rem;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero__subtitle {
    font-size: 1.1rem;
    font-weight: 400;
    line-height: 1.6;
    margin-bottom: 40px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
    color:#f5ede5;
}

.hero__actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.hero__cta {
    padding: 14px 40px;
    font-size: 1rem;
    text-transform: none;
}

/* Featured Products Section */
.featured-products {
    margin-bottom: 80px;
}

.section {
    padding: 60px 0;
}

.section--light {
    background-color: #f9f7f5;
}

.section--beige {
    background-color: #f5ede5;
}

.section__header {
    text-align: center;
    margin-bottom: 50px;
}

.section__header--center {
    text-align: center;
}

.section__title {
    font-family: "Cormorant Garamond", serif;
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #2c2c2c;
}

.section__description {
    font-size: 1.05rem;
    color: #666;
    margin: 0 auto;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(370px, 1fr));
    gap: 30px;
    list-style: none;
}

/* Product Card */
.product-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    cursor: pointer;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    transform: translateY(-4px);
}

.product-card__image {
    position: relative;
    overflow: hidden;
    height: 250px;
    background-color: #f5f5f5;
}

.product-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.product-card:hover .product-card__image img {
    transform: scale(1.08);
}

.product-card__badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background-color: #8b6f47;
    color: white;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 2;
}

.product-card__content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-card__title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: #2c2c2c;
    line-height: 1.4;
}

.product-card__category {
    font-size: 0.9rem;
    color: #999;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.product-card__rating {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
    font-size: 0.9rem;
}

.stars {
    color: #ffc107;
}

.review-count {
    color: #999;
}

.product-card__description {
    font-size: 0.95rem;
    color: #666;
    margin-bottom: 15px;
    line-height: 1.5;
    flex-grow: 1;
}

.product-card__price {
    font-family: "Cormorant Garamond", serif;
    font-size: 1.3rem;
    font-weight: 600;
    color: #8b6f47;
    margin-bottom: 15px;
}

.product-card__cta {
    width: 100%;
    padding: 12px 20px;
    text-align: center;
    text-transform: none;
}

/* Categories Section */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.category-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 30px 20px;
    background: white;
    border-radius: 8px;
    text-decoration: none;
    color: #2c2c2c;
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.category-card:hover {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
    transform: translateY(-4px);
}

.category-card__icon {
    width: 150px;
    height: 150px;
    margin-bottom: 20px;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f5f5f5;
}

.category-card__icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.category-card:hover .category-card__icon img {
    transform: scale(1.1);
}

.category-card__title {
    font-family: "Cormorant Garamond", serif;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.category-card__count {
    font-size: 0.9rem;
    color: #999;
    margin-bottom: 15px;
}

.category-card__link {
    display: inline-block;
    color: #8b6f47;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.category-card:hover .category-card__link {
    color: #6b4f2e;
}

/* Benefits Section */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.benefit-item {
    text-align: center;
}

.benefit-item__icon {
    font-size: 2.5rem;
    color: #8b6f47;
    margin-bottom: 20px;
    display: block;
}

.benefit-item__title {
    font-family: "Cormorant Garamond", serif;
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: #2c2c2c;
}

.benefit-item__text {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.6;
}

/* Best Sellers Section */
.bestsellers-section {
    background-color: #f9f7f5;
}

.bestsellers-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-top: 40px;
}

.bestsellers-image {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.bestsellers-image img {
    width: 100%;
    height: auto;
    display: block;
}

.bestsellers-list {
    display: flex;
    flex-direction: column;
}

.bestsellers-items {
    list-style: none;
    margin-bottom: 30px;
}

.bestsellers-item {
    display: grid;
    grid-template-columns: 40px 1fr auto;
    gap: 20px;
    align-items: center;
    padding: 20px 0;
    border-bottom: 1px solid #eee;
    transition: all 0.3s ease;
}

.bestsellers-item:hover {
    background-color: rgba(139, 111, 71, 0.05);
    padding-left: 10px;
}

.bestsellers-rank {
    font-family: "Cormorant Garamond", serif;
    font-size: 1.8rem;
    font-weight: 600;
    color: #8b6f47;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bestsellers-title {
    font-weight: 600;
    color: #2c2c2c;
}

.bestsellers-price {
    font-family: "Cormorant Garamond", serif;
    font-size: 1.2rem;
    font-weight: 600;
    color: #8b6f47;
    white-space: nowrap;
}

/* Promo Section */
.promo-section {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 400px;
}

.promo-content {
    text-align: center;
}

.promo-label {
    display: inline-block;
    background-color: #8b6f47;
    color: white;
    padding: 8px 16px;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.promo-title {
    font-family: "Cormorant Garamond", serif;
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #2c2c2c;
}

.promo-text {
    font-size: 1.05rem;
    color: #666;
    margin-bottom: 30px;
    line-height: 1.6;
}

.promo-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.promo-actions .btn {
    padding: 14px 40px;
    font-size: 1rem;
}

/* Newsletter Section */
.newsletter {
    background: white;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

.newsletter__content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.newsletter__text {
    max-width: 450px;
}

.newsletter__title {
    font-family: "Cormorant Garamond", serif;
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #2c2c2c;
}

.newsletter__description {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.6;
}

.newsletter__form {
    max-width: 450px;
}

.newsletter__input-group {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.newsletter__input {
    flex: 1;
    padding: 14px 18px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.newsletter__input:focus {
    outline: none;
    border-color: #8b6f47;
    box-shadow: 0 0 0 3px rgba(139, 111, 71, 0.1);
}

.newsletter__submit {
    padding: 14px 30px;
    text-transform: none;
}

.newsletter__consent {
    font-size: 0.85rem;
    color: #999;
    line-height: 1.6;
}

.newsletter__consent a {
    color: #8b6f47;
    text-decoration: none;
    transition: color 0.3s ease;
}

.newsletter__consent a:hover {
    color: #6b4f2e;
    text-decoration: underline;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .bestsellers-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .newsletter__content {
        grid-template-columns: 1fr;
    }

    .hero__title {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .hero {
        height: 450px;
        margin-bottom: 50px;
    }

    .hero__title {
        font-size: 2rem;
    }

    .hero__subtitle {
        font-size: 1rem;
        margin-bottom: 25px;
    }

    .hero__actions {
        gap: 10px;
    }

    .hero__cta {
        padding: 12px 30px;
        font-size: 0.95rem;
    }

    .section {
        padding: 40px 0;
    }

    .products-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 20px;
    }

    .product-card__image {
        height: 200px;
    }

    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .section__title {
        font-size: 2rem;
    }

    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    .promo-title {
        font-size: 2rem;
    }

    .newsletter__input-group {
        flex-direction: column;
    }

    .newsletter__submit {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .hero {
        height: 350px;
        margin-bottom: 30px;
    }

    .hero__title {
        font-size: 1.5rem;
    }

    .hero__subtitle {
        font-size: 0.95rem;
        margin-bottom: 20px;
    }

    .hero__actions {
        flex-direction: column;
    }

    .hero__cta {
        width: 100%;
    }

    .products-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .categories-grid {
        grid-template-columns: 1fr;
    }

    .category-card {
        padding: 20px 15px;
    }

    .section__title {
        font-size: 1.5rem;
    }

    .section__description {
        font-size: 0.95rem;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .product-card__content {
        padding: 15px;
    }

    .promo-content {
        padding: 0 15px;
    }

    .promo-title {
        font-size: 1.5rem;
    }

    .newsletter__title {
        font-size: 1.5rem;
    }
}
