/**
 * Chapada Republica - Shop Page Styles
 *
 * Editorial nature-inspired design for product listing
 * Typography: Bebas Neue + DM Sans
 * Colors: Forest greens, earth tones, cream backgrounds
 */

/* ==========================================================================
   HEADER/LOGO - Garantir estilos nas páginas WooCommerce
   ========================================================================== */

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 32px;
    transition: all 0.4s ease;
}

.header-inner {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header--solid {
    background: var(--color-cream, #f5f2eb);
    box-shadow: 0 2px 20px rgba(0,0,0,0.08);
}

.logo {
    position: relative;
    display: flex;
    align-items: center;
}

.logo-img {
    height: 50px;
    width: auto;
    transition: opacity 0.3s ease;
}

.logo-img--white {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    opacity: 0;
}

.logo-img--green {
    position: relative;
    opacity: 1;
}

.nav {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    font-family: var(--font-body, 'DM Sans', sans-serif);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--color-text, #2d2d2a);
    text-decoration: none;
    position: relative;
    padding: 8px 0;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--color-primary, #4d593c);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-primary, #4d593c);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.header-cart {
    color: var(--color-text, #2d2d2a);
    transition: color 0.3s ease;
}

.header-cart:hover {
    color: var(--color-primary, #4d593c);
}

.header-cart svg {
    width: 24px;
    height: 24px;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.menu-toggle span {
    width: 24px;
    height: 2px;
    background-color: var(--color-primary, #4d593c);
    transition: all 0.3s ease;
}

@media (max-width: 768px) {
    .header {
        padding: 12px 16px;
    }

    .logo-img {
        height: 40px;
    }

    .nav {
        display: none;
    }

    .menu-toggle {
        display: flex;
    }
}

/* ==========================================================================
   SHOP HERO
   ========================================================================== */

.shop-hero {
    position: relative;
    min-height: 45vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 140px 24px 80px;
}

.shop-hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.shop-hero-pattern {
    position: absolute;
    inset: 0;
    background-color: var(--color-primary);
    background-image:
        radial-gradient(ellipse 80% 60% at 30% 40%, rgba(93, 107, 73, 0.6) 0%, transparent 50%),
        radial-gradient(ellipse 60% 50% at 70% 70%, rgba(77, 89, 60, 0.4) 0%, transparent 50%);
}

.shop-hero-pattern::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M30 0L30 60M0 30L60 30' stroke='%23ffffff' stroke-opacity='0.03' stroke-width='1'/%3E%3C/svg%3E");
}

.shop-hero-image {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0.15;
    mix-blend-mode: overlay;
}

.shop-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,
        rgba(77, 89, 60, 0.3) 0%,
        rgba(77, 89, 60, 0.1) 50%,
        rgba(77, 89, 60, 0.4) 100%
    );
}

/* Hero com imagem de categoria */
.shop-hero.has-image {
    min-height: 50vh;
}

.shop-hero.has-image .shop-hero-image {
    opacity: 1;
    mix-blend-mode: normal;
}

.shop-hero.has-image .shop-hero-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,
        rgba(0, 0, 0, 0.2) 0%,
        rgba(0, 0, 0, 0.1) 40%,
        rgba(0, 0, 0, 0.4) 100%
    );
}

.shop-hero.has-image .shop-hero-title {
    text-shadow: 0 4px 40px rgba(0, 0, 0, 0.5);
}

.shop-hero.has-image .shop-hero-description {
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.4);
}

.shop-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    animation: fadeInUp 0.8s ease-out both;
}

.shop-hero-breadcrumb {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 24px;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 30px;
    animation: fadeInUp 0.8s ease-out 0.1s both;
}

.shop-hero-breadcrumb a,
.shop-hero-breadcrumb span {
    font-family: var(--font-body);
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    transition: color 0.3s ease;
}

.shop-hero-breadcrumb a:hover {
    color: #fff;
}

.shop-hero-breadcrumb svg {
    width: 14px;
    height: 14px;
    stroke: rgba(255, 255, 255, 0.5);
}

.shop-hero-title {
    font-family: var(--font-display);
    font-size: clamp(3.5rem, 10vw, 7rem);
    color: #fff;
    letter-spacing: 0.05em;
    line-height: 0.95;
    margin: 0 0 20px;
    text-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.shop-hero-description {
    font-family: var(--font-body);
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 550px;
    margin: 0 auto 32px;
    line-height: 1.7;
    animation: fadeInUp 0.8s ease-out 0.3s both;
}

.shop-hero-stats {
    display: inline-flex;
    align-items: center;
    gap: 32px;
    padding: 16px 32px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.shop-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.shop-stat-number {
    font-family: var(--font-display);
    font-size: 1.75rem;
    color: #fff;
    letter-spacing: 0.02em;
}

.shop-stat-label {
    font-family: var(--font-body);
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.shop-stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
}

/* Hero Decorative Leaves */
.shop-hero-leaf {
    position: absolute;
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, transparent 100%);
    border-radius: 0 80px 0 80px;
    z-index: 1;
}

.shop-hero-leaf-1 {
    bottom: 10%;
    left: 5%;
    transform: rotate(-30deg);
    animation: leafFloat 8s ease-in-out infinite;
}

.shop-hero-leaf-2 {
    top: 15%;
    right: 8%;
    width: 80px;
    height: 80px;
    transform: rotate(15deg);
    animation: leafFloat 6s ease-in-out infinite reverse;
}

@keyframes leafFloat {
    0%, 100% {
        transform: rotate(-30deg) translateY(0);
    }
    50% {
        transform: rotate(-25deg) translateY(-15px);
    }
}

/* ==========================================================================
   SHOP CONTENT
   ========================================================================== */

.shop-content {
    padding: 60px 24px 100px;
    background: var(--color-cream);
    min-height: 60vh;
}

.shop-container {
    max-width: 1400px;
    margin: 0 auto;
}

/* ==========================================================================
   FILTERS BAR
   ========================================================================== */

.shop-filters-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 40px;
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(77, 89, 60, 0.1);
}

.shop-filters-left {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.shop-filter-toggle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: var(--color-white);
    border: 2px solid var(--color-primary);
    border-radius: 50px;
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-primary);
    cursor: pointer;
    transition: all 0.3s ease;
}

.shop-filter-toggle svg {
    width: 18px;
    height: 18px;
    transition: transform 0.3s ease;
}

.shop-filter-toggle:hover,
.shop-filter-toggle.active {
    background: var(--color-primary);
    color: #fff;
}

.shop-filter-toggle.active svg {
    transform: rotate(180deg);
}

/* Category Pills */
.shop-category-pills {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.shop-pill {
    display: inline-block;
    padding: 10px 20px;
    background: var(--color-white);
    border: 1px solid rgba(77, 89, 60, 0.2);
    border-radius: 50px;
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--color-text);
    text-decoration: none;
    transition: all 0.3s ease;
}

.shop-pill:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
    transform: translateY(-2px);
}

.shop-pill.active {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: #fff;
}

/* Filters Right */
.shop-filters-right {
    display: flex;
    align-items: center;
    gap: 24px;
}

.shop-result-count {
    font-family: var(--font-body);
    font-size: 0.875rem;
    color: var(--color-text-light);
}

.shop-result-number {
    font-weight: 600;
    color: var(--color-primary);
}

.shop-sort {
    display: flex;
    align-items: center;
    gap: 10px;
}

.shop-sort label {
    font-family: var(--font-body);
    font-size: 0.875rem;
    color: var(--color-text-light);
}

.shop-sort-select {
    padding: 10px 40px 10px 16px;
    background: var(--color-white);
    border: 1px solid rgba(77, 89, 60, 0.2);
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 0.875rem;
    color: var(--color-text);
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%234d593c' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    transition: border-color 0.3s ease;
}

.shop-sort-select:hover,
.shop-sort-select:focus {
    border-color: var(--color-primary);
    outline: none;
}

/* ==========================================================================
   FILTERS PANEL
   ========================================================================== */

.shop-filters-panel {
    display: none;
    background: var(--color-white);
    border-radius: 16px;
    margin-bottom: 40px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.shop-filters-panel.active {
    display: block;
    animation: slideDown 0.4s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.shop-filters-panel-inner {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    padding: 32px;
}

.shop-filter-group {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.shop-filter-title {
    font-family: var(--font-display);
    font-size: 1.25rem;
    color: var(--color-primary);
    letter-spacing: 0.02em;
    margin: 0;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--color-primary);
}

.shop-filter-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.shop-filter-checkbox {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    transition: color 0.3s ease;
}

.shop-filter-checkbox:hover {
    color: var(--color-primary);
}

.shop-filter-checkbox input {
    display: none;
}

.shop-filter-checkmark {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(77, 89, 60, 0.3);
    border-radius: 4px;
    position: relative;
    transition: all 0.3s ease;
}

.shop-filter-checkbox input:checked + .shop-filter-checkmark {
    background: var(--color-primary);
    border-color: var(--color-primary);
}

.shop-filter-checkbox input:checked + .shop-filter-checkmark::after {
    content: '';
    position: absolute;
    left: 6px;
    top: 2px;
    width: 5px;
    height: 10px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.shop-filter-label {
    font-family: var(--font-body);
    font-size: 0.9375rem;
    flex: 1;
}

.shop-filter-count {
    font-size: 0.8125rem;
    color: var(--color-text-light);
}

/* Price Range */
.shop-price-range {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.shop-price-inputs {
    display: flex;
    align-items: center;
    gap: 12px;
}

.shop-price-input {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 14px;
    background: var(--color-cream);
    border: 1px solid rgba(77, 89, 60, 0.15);
    border-radius: 8px;
    flex: 1;
}

.shop-price-input span {
    font-family: var(--font-body);
    font-size: 0.875rem;
    color: var(--color-text-light);
}

.shop-price-input input {
    width: 100%;
    border: none;
    background: transparent;
    font-family: var(--font-body);
    font-size: 0.9375rem;
    color: var(--color-text);
    outline: none;
}

.shop-price-input input::placeholder {
    color: var(--color-text-light);
}

.shop-price-separator {
    color: var(--color-text-light);
}

.shop-price-apply {
    padding: 12px 24px;
    background: var(--color-primary);
    border: none;
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 600;
    color: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
}

.shop-price-apply:hover {
    background: var(--color-primary-dark);
    transform: translateY(-2px);
}

/* Filter Tags */
.shop-filter-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.shop-tag {
    display: inline-block;
    padding: 8px 16px;
    background: var(--color-cream);
    border-radius: 20px;
    font-family: var(--font-body);
    font-size: 0.8125rem;
    color: var(--color-text);
    text-decoration: none;
    transition: all 0.3s ease;
}

.shop-tag:hover {
    background: var(--color-primary);
    color: #fff;
}

/* ==========================================================================
   PRODUCTS GRID
   ========================================================================== */

.shop-products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

/* ==========================================================================
   PRODUCT CARD
   ========================================================================== */

.shop-product-card {
    background: var(--color-white);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.6s ease-out forwards;
    animation-delay: var(--animation-delay);
}

.shop-product-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.shop-product-card:hover {
    transform: translateY(-12px);
    box-shadow:
        0 30px 60px rgba(77, 89, 60, 0.15),
        0 10px 20px rgba(0, 0, 0, 0.05);
}

.shop-product-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

/* Product Image */
.shop-product-image-wrapper {
    position: relative;
    aspect-ratio: 4/5;
    overflow: hidden;
    background: linear-gradient(135deg, #f8f7f4 0%, #f0ede4 100%);
}

.shop-product-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.shop-product-image-primary {
    opacity: 1;
}

.shop-product-image-secondary {
    opacity: 0;
}

.shop-product-card:hover .shop-product-image-primary {
    opacity: 0;
    transform: scale(1.05);
}

.shop-product-card:hover .shop-product-image-secondary {
    opacity: 1;
    transform: scale(1.02);
}

/* Badges */
.shop-product-badges {
    position: absolute;
    top: 16px;
    left: 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    z-index: 3;
}

.shop-badge {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 20px;
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.shop-badge-new {
    background: var(--color-primary);
    color: #fff;
}

.shop-badge-sale {
    background: #c45a3b;
    color: #fff;
}

/* Quick Actions */
.shop-product-actions {
    position: absolute;
    top: 16px;
    right: 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 3;
    opacity: 0;
    transform: translateX(10px);
    transition: all 0.3s ease;
}

.shop-product-card:hover .shop-product-actions {
    opacity: 1;
    transform: translateX(0);
}

.shop-action-btn {
    width: 44px;
    height: 44px;
    background: #fff;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.shop-action-btn svg {
    width: 20px;
    height: 20px;
    stroke: var(--color-text);
    transition: all 0.3s ease;
}

.shop-action-btn:hover {
    background: var(--color-primary);
    transform: scale(1.1);
}

.shop-action-btn:hover svg {
    stroke: #fff;
}

.shop-action-wishlist:hover svg {
    fill: #fff;
}

/* Product Info */
.shop-product-info {
    padding: 20px 20px 12px;
}

.shop-product-category {
    display: block;
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-text-light);
    margin-bottom: 8px;
}

.shop-product-name {
    font-family: var(--font-body);
    font-size: 1.0625rem;
    font-weight: 600;
    color: var(--color-dark);
    margin: 0 0 12px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.3s ease;
}

.shop-product-card:hover .shop-product-name {
    color: var(--color-primary);
}

.shop-product-price {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 6px;
}

.shop-price-current {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--color-primary);
    letter-spacing: 0.02em;
}

.shop-price-original {
    font-family: var(--font-body);
    font-size: 0.9375rem;
    color: var(--color-text-light);
    text-decoration: line-through;
}

.shop-product-pix {
    display: flex;
    align-items: center;
    gap: 6px;
}

.shop-pix-price {
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 600;
    color: #2e7d32;
}

.shop-pix-label {
    font-family: var(--font-body);
    font-size: 0.75rem;
    color: #2e7d32;
    padding: 2px 8px;
    background: rgba(46, 125, 50, 0.1);
    border-radius: 4px;
}

/* Add to Cart */
.shop-product-cart {
    padding: 0 20px 20px;
}

.shop-add-to-cart {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 14px 20px;
    background: var(--color-dark);
    border: none;
    border-radius: 12px;
    font-family: var(--font-body);
    font-size: 0.9375rem;
    font-weight: 600;
    color: #fff;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
    overflow: hidden;
    position: relative;
}

.shop-add-to-cart svg {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}

.shop-add-to-cart:hover {
    background: var(--color-primary);
    transform: translateY(-2px);
}

.shop-add-to-cart:hover svg {
    transform: scale(1.1);
}

.shop-add-to-cart.loading {
    pointer-events: none;
    background: var(--color-primary-light);
}

.shop-add-to-cart.added {
    background: #2e7d32;
}

.shop-cart-spinner {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.shop-select-options {
    background: transparent;
    border: 2px solid var(--color-primary);
    color: var(--color-primary);
}

.shop-select-options:hover {
    background: var(--color-primary);
    color: #fff;
}

/* ==========================================================================
   NO PRODUCTS
   ========================================================================== */

.shop-no-products {
    grid-column: 1 / -1;
    text-align: center;
    padding: 80px 40px;
    background: var(--color-white);
    border-radius: 20px;
}

.shop-no-products-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    background: var(--color-cream);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.shop-no-products-icon svg {
    width: 40px;
    height: 40px;
    stroke: var(--color-text-light);
}

.shop-no-products h3 {
    font-family: var(--font-display);
    font-size: 1.75rem;
    color: var(--color-dark);
    margin: 0 0 12px;
}

.shop-no-products p {
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--color-text-light);
    margin: 0 0 24px;
}

/* ==========================================================================
   PAGINATION
   ========================================================================== */

.shop-pagination {
    margin-top: 60px;
    display: flex;
    justify-content: center;
}

.shop-pagination-nav {
    display: flex;
    align-items: center;
    gap: 12px;
}

.shop-page-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: var(--color-white);
    border: 1px solid rgba(77, 89, 60, 0.2);
    border-radius: 50px;
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-primary);
    text-decoration: none;
    transition: all 0.3s ease;
}

.shop-page-link svg {
    width: 18px;
    height: 18px;
}

.shop-page-link:hover {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: #fff;
}

.shop-page-numbers {
    display: flex;
    align-items: center;
    gap: 6px;
}

.shop-page-number {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-white);
    border: 1px solid rgba(77, 89, 60, 0.15);
    border-radius: 12px;
    font-family: var(--font-body);
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--color-text);
    text-decoration: none;
    transition: all 0.3s ease;
}

.shop-page-number:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
}

.shop-page-number.active {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: #fff;
}

.shop-page-dots {
    font-family: var(--font-body);
    color: var(--color-text-light);
    padding: 0 8px;
}

/* ==========================================================================
   NEWSLETTER
   ========================================================================== */

.shop-newsletter {
    background: var(--color-primary);
    padding: 80px 24px;
    position: relative;
    overflow: hidden;
}

.shop-newsletter-container {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    text-align: center;
}

.shop-newsletter-content {
    position: relative;
    z-index: 2;
}

.shop-newsletter-tag {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 16px;
}

.shop-newsletter-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 6vw, 4rem);
    color: #fff;
    letter-spacing: 0.03em;
    margin: 0 0 16px;
}

.shop-newsletter-text {
    font-family: var(--font-body);
    font-size: 1.0625rem;
    color: rgba(255, 255, 255, 0.85);
    max-width: 500px;
    margin: 0 auto 32px;
    line-height: 1.7;
}

.shop-newsletter-form {
    max-width: 500px;
    margin: 0 auto;
}

.shop-newsletter-input-group {
    display: flex;
    gap: 12px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    padding: 6px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.shop-newsletter-input-group input {
    flex: 1;
    padding: 14px 24px;
    background: transparent;
    border: none;
    font-family: var(--font-body);
    font-size: 1rem;
    color: #fff;
    outline: none;
}

.shop-newsletter-input-group input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.shop-newsletter-input-group button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    background: #fff;
    border: none;
    border-radius: 50px;
    font-family: var(--font-body);
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--color-primary);
    cursor: pointer;
    transition: all 0.3s ease;
}

.shop-newsletter-input-group button svg {
    width: 18px;
    height: 18px;
    transition: transform 0.3s ease;
}

.shop-newsletter-input-group button:hover {
    transform: translateX(3px);
}

.shop-newsletter-input-group button:hover svg {
    transform: translateX(5px);
}

/* Newsletter Decoration */
.shop-newsletter-decoration {
    position: absolute;
    right: -100px;
    bottom: -50px;
    opacity: 0.1;
}

.shop-newsletter-leaf {
    width: 300px;
    height: 300px;
    stroke: #fff;
    animation: leafSpin 30s linear infinite;
}

@keyframes leafSpin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */

@media (max-width: 1200px) {
    .shop-products-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 24px;
    }
}

@media (max-width: 992px) {
    .shop-hero {
        min-height: 40vh;
        padding: 120px 24px 60px;
    }

    .shop-hero-title {
        font-size: clamp(2.5rem, 8vw, 5rem);
    }

    .shop-hero-stats {
        gap: 24px;
        padding: 14px 24px;
    }

    .shop-filters-bar {
        flex-direction: column;
        align-items: flex-start;
    }

    .shop-filters-left,
    .shop-filters-right {
        width: 100%;
    }

    .shop-filters-right {
        justify-content: space-between;
    }

    .shop-filters-panel-inner {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    .shop-products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile Landscape */
@media (max-width: 768px) {
    /* Hero Section */
    .shop-hero {
        padding: 100px 20px 50px;
    }

    .shop-hero-title {
        font-size: clamp(2.5rem, 7vw, 4rem);
    }

    .shop-hero-description {
        font-size: 1rem;
    }

    .shop-hero-stats {
        flex-wrap: wrap;
        justify-content: center;
        gap: 20px 32px;
    }

    .shop-stat-divider {
        display: none;
    }

    .shop-hero-leaf {
        display: none;
    }

    /* Shop Content */
    .shop-content {
        padding: 40px 16px 80px;
    }

    /* Category Pills - Touch Friendly */
    .shop-category-pills {
        width: 100%;
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: 10px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .shop-category-pills::-webkit-scrollbar {
        display: none;
    }

    .shop-pill {
        flex-shrink: 0;
        min-height: 44px;
        display: flex;
        align-items: center;
    }

    /* Filters Panel */
    .shop-filters-panel-inner {
        grid-template-columns: 1fr;
        padding: 24px;
    }

    /* Products Grid */
    .shop-products-grid {
        gap: 16px;
    }

    .shop-product-info {
        padding: 16px 16px 10px;
    }

    .shop-product-name {
        font-size: 1rem;
    }

    .shop-price-current {
        font-size: 1.25rem;
    }

    .shop-product-cart {
        padding: 0 16px 16px;
    }

    .shop-add-to-cart {
        padding: 12px 16px;
        font-size: 0.875rem;
        min-height: 48px;
    }

    /* Pagination - Touch Friendly */
    .shop-pagination-nav {
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px;
    }

    .shop-page-link span {
        display: none;
    }

    .shop-page-link {
        padding: 12px 16px;
        min-height: 44px;
        min-width: 44px;
        justify-content: center;
    }

    .shop-page-number {
        min-width: 44px;
        min-height: 44px;
    }

    /* Newsletter */
    .shop-newsletter {
        padding: 60px 20px;
    }

    .shop-newsletter-input-group {
        flex-direction: column;
        border-radius: 16px;
        padding: 12px;
    }

    .shop-newsletter-input-group input {
        text-align: center;
        padding: 16px;
        font-size: 16px; /* Prevents iOS zoom on focus */
    }

    .shop-newsletter-input-group button {
        width: 100%;
        justify-content: center;
        min-height: 52px;
    }
}

/* Mobile Portrait */
@media (max-width: 480px) {
    /* Hero Section */
    .shop-hero {
        padding: 80px 16px 40px;
        min-height: 35vh;
    }

    .shop-hero-title {
        font-size: 2.5rem;
    }

    .shop-hero-description {
        font-size: 0.9375rem;
    }

    .shop-hero-stats {
        padding: 12px 20px;
        gap: 16px 24px;
    }

    .shop-stat-number {
        font-size: 1.5rem;
    }

    .shop-stat-label {
        font-size: 0.75rem;
    }

    /* Shop Content */
    .shop-content {
        padding: 30px 16px 60px;
    }

    /* Filters Bar */
    .shop-filters-bar {
        gap: 16px;
    }

    .shop-filter-btn {
        min-height: 44px;
    }

    .shop-sort-select {
        min-height: 44px;
        padding: 10px 32px 10px 12px;
    }

    /* Products Grid */
    .shop-products-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
        gap: 20px;
    }

    .shop-product-image-wrapper {
        aspect-ratio: 1;
    }

    .shop-product-info {
        padding: 14px 14px 8px;
    }

    .shop-product-cart {
        padding: 0 14px 14px;
    }

    .shop-add-to-cart {
        padding: 14px 16px;
        min-height: 52px;
    }

    /* Pagination - Simplified */
    .shop-pagination {
        padding: 40px 0;
    }

    .shop-pagination-nav {
        gap: 6px;
    }

    .shop-page-numbers {
        gap: 4px;
        max-width: 200px;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .shop-page-number {
        width: 44px;
        height: 44px;
        font-size: 0.875rem;
        flex-shrink: 0;
    }

    .shop-page-link {
        padding: 10px 12px;
    }

    /* Newsletter */
    .shop-newsletter {
        padding: 50px 16px;
    }

    .shop-newsletter-content h2 {
        font-size: clamp(2rem, 5vw, 2.5rem);
    }

    .shop-newsletter-content p {
        font-size: 0.9375rem;
    }

    .shop-newsletter-input-group {
        padding: 10px;
    }

    .shop-newsletter-input-group input {
        padding: 14px;
    }

    .shop-newsletter-input-group button {
        padding: 14px 20px;
    }
}

/* ==========================================================================
   ANIMATIONS
   ========================================================================== */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .shop-product-card,
    .shop-hero-content,
    .shop-hero-leaf,
    .shop-newsletter-leaf {
        animation: none;
        opacity: 1;
        transform: none;
    }

    .shop-product-card:hover {
        transform: none;
    }
}
