/* ==================== SHOP PAGE STYLES ==================== */

/* Section: Hero */
.shop-hero {
    background: linear-gradient(135deg, #f5f7fa 0%, #ffffff 100%);
    padding: 80px 0;
}

.shop-hero__layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.shop-hero__content {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.shop-hero__content h1 {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
    color: #1a1a1a;
}

.shop-hero__content p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #555;
}

.shop-hero__actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    align-items: center;
}

.shop-hero__meta {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.shop-hero__image-wrapper {
    position: relative;
    height: 400px;
    background: #f0f0f0;
    border-radius: 12px;
    overflow: hidden;
}

.shop-hero__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 768px) {
    .shop-hero__layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .shop-hero__content h1 {
        font-size: 2rem;
    }

    .shop-hero__image-wrapper {
        height: 300px;
    }
}

/* Section: Filters */
.shop-filters {
    padding: 60px 0;
    background: #f9f9f9;
}

.shop-section-header {
    margin-bottom: 40px;
}

.shop-section-header h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 12px;
}

.shop-section-header p {
    font-size: 1.05rem;
    color: #666;
    line-height: 1.6;
}

.shop-filters__panel {
    background: white;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.shop-filters__form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.shop-filters__row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.shop-filters__field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.shop-filters__field label {
    font-weight: 500;
    color: #333;
    font-size: 0.95rem;
}

.shop-filters__field input,
.shop-filters__field select {
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 1rem;
    font-family: inherit;
}

.shop-filters__footer {
    display: flex;
    gap: 12px;
    align-items: center;
}

.shop-filters__submit {
    padding: 12px 32px;
}

/* Section: Featured Products */
.shop-featured {
    padding: 60px 0;
}

.shop-featured__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
}

.shop-product-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.shop-product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
}

.shop-product-card__image-wrapper {
    position: relative;
    height: 250px;
    background: #f0f0f0;
    border-radius: 8px 8px 0 0;
    overflow: hidden;
}

.shop-product-card__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.shop-product-card__image-wrapper .badge {
    position: absolute;
    top: 12px;
    right: 12px;
}

.shop-product-card__body {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 20px;
    flex-grow: 1;
}

.shop-product-card__body h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1a1a1a;
}

.shop-product-card__body p {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.5;
}

.shop-product-card__footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-top: auto;
}

.shop-product-card__price {
    font-size: 1.3rem;
    font-weight: 700;
    color: #d63031;
}

.shop-product-card__btn {
    padding: 8px 16px;
    font-size: 0.9rem;
}

/* Section: Bestsellers */
.shop-bestsellers {
    padding: 60px 0;
    background: #f9f9f9;
}

.shop-bestsellers__content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.shop-bestsellers__image-wrap {
    height: 400px;
    background: #f0f0f0;
    border-radius: 12px;
    overflow: hidden;
}

.shop-bestsellers__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.shop-bestsellers__list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.shop-bestsellers__items {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.shop-bestsellers__item {
    display: flex;
    gap: 16px;
    padding: 16px;
    background: white;
    border-radius: 8px;
    border-left: 4px solid #d63031;
}

.shop-bestsellers__rank {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: #d63031;
    color: white;
    border-radius: 50%;
    font-weight: 700;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.shop-bestsellers__item-content h3 {
    font-size: 1rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 6px;
}

.shop-bestsellers__item-content p {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 8px;
}

.shop-bestsellers__item-content rating {
    font-size: 0.9rem;
    color: #ff9500;
}

.shop-bestsellers__cta {
    margin-top: 12px;
}

@media (max-width: 768px) {
    .shop-bestsellers__content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

/* Section: New Arrivals */
.shop-arrivals {
    padding: 60px 0;
}

.shop-arrivals__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.shop-new-product {
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.shop-new-product__image {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.shop-new-product__body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex-grow: 1;
}

.shop-new-product__body h3 {
    font-size: 1.15rem;
    font-weight: 600;
    color: #1a1a1a;
}

.shop-new-product__body p {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.5;
}

.shop-new-product__body a {
    align-self: flex-start;
    margin-top: auto;
}

/* Section: Promotions */
.shop-promotions {
    padding: 60px 0;
    background: #f9f9f9;
}

.shop-section-title {
    font-size: 2rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 40px;
    text-align: center;
}

.shop-promotions__content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.shop-promotion-card {
    padding: 40px;
    border-radius: 12px;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.shop-promotion-card--primary {
    background: linear-gradient(135deg, #d63031 0%, #e83e3e 100%);
    color: white;
}



.shop-promotion-card:not(.shop-promotion-card--primary) {
    background: white;
    border: 2px solid #e0e0e0;
}

.shop-promotion-card:hover {
    transform: translateY(-6px);
}

.shop-promotion-card__label {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 12px;
    opacity: 0.9;
    color:#1a1a1a;
}

.shop-promotion-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--color-primary);
}

.shop-promotion-card p {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 20px;
    opacity: 0.95;
}

.shop-promotion-card__link {
    display: inline-block;
}

/* Section: Benefits */
.shop-benefits {
    padding: 60px 0;
}

.shop-benefits__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.shop-benefit-item {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.shop-benefit-item__icon {
    width: 70px;
    height: 70px;
    background: #f0f0f0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: #d63031;
}

.shop-benefit-item h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #1a1a1a;
}

.shop-benefit-item p {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.6;
}

/* Section: Newsletter */
.shop-newsletter {
    padding: 60px 0;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    margin-bottom: 0;
}

.shop-newsletter__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.shop-newsletter__content {
    color: white;
}

.shop-newsletter__content h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.shop-newsletter__content p {
    font-size: 1.05rem;
    line-height: 1.6;
    margin-bottom: 24px;
    opacity: 0.9;
}

.shop-newsletter__form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.shop-newsletter__input-group {
    display: flex;
    gap: 12px;
}

.shop-newsletter__input {
    flex: 1;
    padding: 14px 16px;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
}

.shop-newsletter__submit {
    padding: 14px 32px;
}

.shop-newsletter__note {
    font-size: 0.9rem;
    color: #d63031;
    margin-top: 12px;
}

.shop-newsletter__image-wrap {
    height: 350px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    overflow: hidden;
}

.shop-newsletter__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 768px) {
    .shop-newsletter__inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .shop-newsletter__input-group {
        flex-direction: column;
    }

    .shop-newsletter__image-wrap {
        display: none;
    }

    .shop-featured__grid,
    .shop-arrivals__grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }

    .shop-promotions__content {
        grid-template-columns: 1fr;
    }

    .shop-hero__actions {
        flex-direction: column;
    }

    .shop-section-title {
        font-size: 1.5rem;
    }
}

/* Utility Classes */
.metal-bar {
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #d63031, #ff7675);
    border-radius: 2px;
}

.divider-label {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #d63031;
}

.card {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.badge {
    display: inline-block;
    padding: 6px 12px;
    background: #f0f0f0;
    color: #333;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
}

.badge--success {
    background: #27ae60;
    color: white;
}

.badge--highlight {
    background: #d63031;
    color: white;
}




/* Accessibility */
.sr-only {
    border: 0;
    clip: rect(0, 0, 0, 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}
