/*
 Theme Name: Nyriana - Premium Zeytinyağı
 Theme URI: https://nyriana.com
 Description: Nyriana premium zeytinyağı markası için özel Blocksy child theme
 Author: Antigravity
 Author URI: https://nyriana.com
 Template: blocksy
 Version: 1.0.0
 Text Domain: nyriana
*/

/* ==========================================================================
   GOOGLE FONTS
   ========================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;0,800;1,400;1,500;1,600&family=Inter:wght@300;400;500;600;700&display=swap');

/* ==========================================================================
   CSS CUSTOM PROPERTIES
   ========================================================================== */
:root {
    /* Brand Colors */
    --olive-green: #556B2F;
    --harvest-gold: #DAA520;
    --cream: #FFF8E7;
    --dark: #2C2C2C;
    --white: #FFFFFF;
    --olive-light: #8BA446;
    --gold-light: #F0C75E;

    /* Extended Palette */
    --olive-dark: #3D4F22;
    --olive-muted: #7A8B5A;
    --cream-dark: #F5EDD6;
    --gold-dark: #B8891A;
    --gray-light: #F7F7F7;
    --gray-medium: #E0E0E0;
    --gray-text: #6B6B6B;
    --border-color: #E8E0D0;
    --shadow-sm: 0 2px 8px rgba(44, 44, 44, 0.06);
    --shadow-md: 0 4px 16px rgba(44, 44, 44, 0.1);
    --shadow-lg: 0 8px 32px rgba(44, 44, 44, 0.14);
    --shadow-gold: 0 4px 20px rgba(218, 165, 32, 0.15);

    /* Typography */
    --font-heading: 'Playfair Display', Georgia, 'Times New Roman', serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    /* Spacing */
    --section-padding: 80px;
    --container-max: 1280px;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;

    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    --radius-xl: 24px;
}

/* ==========================================================================
   BASE / TYPOGRAPHY
   ========================================================================== */
body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.7;
    color: var(--dark);
    background-color: var(--cream);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.3;
    color: var(--dark);
}

h1 { font-size: clamp(2rem, 4vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 3vw, 2.75rem); }
h3 { font-size: clamp(1.4rem, 2.5vw, 2rem); }
h4 { font-size: clamp(1.15rem, 2vw, 1.5rem); }

p {
    margin-bottom: 1.25em;
    color: var(--dark);
}

a {
    color: var(--olive-green);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--harvest-gold);
}

/* ==========================================================================
   BLOCKSY OVERRIDES
   ========================================================================== */
.ct-container {
    max-width: var(--container-max);
}

[data-header] {
    background: var(--white);
    border-bottom: 1px solid var(--border-color);
}

/* ==========================================================================
   CUSTOM HEADER - BOUTIQUE FEEL
   ========================================================================== */
.site-header,
header[data-id="type-1"] {
    background: var(--white);
    box-shadow: var(--shadow-sm);
    transition: box-shadow var(--transition-base);
}

.site-header.scrolled {
    box-shadow: var(--shadow-md);
}

.site-header .site-branding img {
    max-height: 60px;
    transition: transform var(--transition-base);
}

.site-header .site-branding img:hover {
    transform: scale(1.02);
}

/* Navigation */
header .ct-menu > li > a {
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 14px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: var(--dark);
    padding: 8px 16px;
    transition: color var(--transition-fast);
    position: relative;
}

header .ct-menu > li > a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--harvest-gold);
    transition: width var(--transition-base), left var(--transition-base);
}

header .ct-menu > li > a:hover::after,
header .ct-menu > li.current-menu-item > a::after {
    width: 100%;
    left: 0;
}

header .ct-menu > li > a:hover {
    color: var(--olive-green);
}

/* Header Cart Icon */
.ct-header-cart .ct-icon {
    color: var(--olive-green);
}

.ct-header-cart .ct-cart-count {
    background: var(--harvest-gold);
    color: var(--white);
}

/* ==========================================================================
   HERO / BANNER SECTION
   ========================================================================== */
.nyriana-hero {
    position: relative;
    width: 100%;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
}

.nyriana-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        rgba(85, 107, 47, 0.85) 0%,
        rgba(85, 107, 47, 0.5) 40%,
        rgba(44, 44, 44, 0.3) 70%,
        transparent 100%
    );
    z-index: 1;
}

.nyriana-hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 40px 20px;
}

.nyriana-hero h1 {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    color: var(--white);
    margin-bottom: 20px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.nyriana-hero .hero-subtitle {
    font-family: var(--font-body);
    font-size: clamp(1rem, 2vw, 1.35rem);
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
    font-weight: 300;
    letter-spacing: 0.5px;
}

.nyriana-hero .hero-cta {
    display: inline-block;
    padding: 16px 48px;
    background: var(--harvest-gold);
    color: var(--white);
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all var(--transition-base);
    text-decoration: none;
}

.nyriana-hero .hero-cta:hover {
    background: var(--gold-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-gold);
    color: var(--white);
}

.hero-trust-indicators {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 50px;
    flex-wrap: wrap;
}

.hero-trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.85);
    font-size: 14px;
    font-weight: 500;
}

.hero-trust-item svg {
    width: 20px;
    height: 20px;
    fill: var(--gold-light);
}

/* ==========================================================================
   TRUST BADGES
   ========================================================================== */
.nyriana-trust-badges {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 24px;
    padding: 40px 20px;
    flex-wrap: wrap;
    max-width: var(--container-max);
    margin: 0 auto;
}

.trust-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 30px 20px;
    background: var(--white);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    transition: all var(--transition-base);
    flex: 1;
    min-width: 180px;
    max-width: 260px;
    position: relative;
}

.trust-badge:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--harvest-gold);
}

.trust-badge .badge-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--olive-green), var(--olive-light));
    border-radius: 50%;
    margin-bottom: 16px;
    color: var(--white);
    font-size: 24px;
}

.trust-badge .badge-title {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 6px;
}

.trust-badge .badge-desc {
    font-size: 13px;
    color: var(--gray-text);
    line-height: 1.5;
}

/* Trust badge tooltip */
.trust-badge .badge-tooltip {
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: var(--dark);
    color: var(--white);
    padding: 10px 16px;
    border-radius: var(--radius-sm);
    font-size: 13px;
    line-height: 1.4;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-fast);
    pointer-events: none;
    z-index: 100;
}

.trust-badge .badge-tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 6px solid transparent;
    border-top-color: var(--dark);
}

.trust-badge:hover .badge-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(-6px);
}

/* ==========================================================================
   PRODUCT CARDS
   ========================================================================== */
.products .product,
.wc-block-grid__product,
.nyriana-product-card {
    background: var(--white);
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: all var(--transition-base);
    position: relative;
}

.products .product:hover,
.nyriana-product-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--harvest-gold);
}

.products .product::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--olive-green), var(--harvest-gold));
    opacity: 0;
    transition: opacity var(--transition-base);
}

.products .product:hover::after {
    opacity: 1;
}

.products .product .woocommerce-loop-product__title,
.nyriana-product-card .product-title {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 600;
    color: var(--dark);
    padding: 16px 20px 8px;
    margin: 0;
}

.products .product .price {
    padding: 0 20px 16px;
    font-family: var(--font-body);
    font-size: 20px;
    font-weight: 700;
    color: var(--olive-green);
}

.products .product .price del {
    font-size: 14px;
    color: var(--gray-text);
    font-weight: 400;
}

.products .product .price ins {
    text-decoration: none;
    color: var(--olive-green);
}

.products .product .button,
.nyriana-product-card .add-to-cart-btn {
    display: block;
    width: calc(100% - 40px);
    margin: 0 20px 20px;
    padding: 12px 20px;
    background: var(--olive-green);
    color: var(--white);
    text-align: center;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all var(--transition-base);
}

.products .product .button:hover,
.nyriana-product-card .add-to-cart-btn:hover {
    background: var(--olive-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(85, 107, 47, 0.3);
    color: var(--white);
}

/* Sale Badge */
.products .product .onsale,
.woocommerce span.onsale {
    background: var(--harvest-gold);
    color: var(--white);
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 6px 14px;
    border-radius: var(--radius-sm);
    top: 12px;
    right: 12px;
    left: auto;
    line-height: 1;
    min-height: auto;
    min-width: auto;
}

/* Star Ratings */
.star-rating span::before,
.star-rating::before {
    color: var(--harvest-gold);
}

.star-rating {
    color: var(--gray-medium);
}

/* ==========================================================================
   PRODUCT ATTRIBUTES DISPLAY
   ========================================================================== */
.product-attributes {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    margin: 30px 0;
}

.product-attribute-card {
    background: var(--cream);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 20px;
    text-align: center;
    transition: all var(--transition-base);
}

.product-attribute-card:hover {
    border-color: var(--olive-light);
    box-shadow: var(--shadow-sm);
}

.product-attribute-card .attr-icon {
    font-size: 28px;
    margin-bottom: 10px;
    display: block;
}

.product-attribute-card .attr-label {
    display: block;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--gray-text);
    margin-bottom: 4px;
    font-weight: 500;
}

.product-attribute-card .attr-value {
    display: block;
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 600;
    color: var(--olive-green);
}

/* ==========================================================================
   PRODUCT COMPARISON TABLE
   ========================================================================== */
.nyriana-compare-table-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 40px 0;
    padding: 0 20px;
}

.nyriana-compare-table {
    width: 100%;
    min-width: 700px;
    border-collapse: separate;
    border-spacing: 0;
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.nyriana-compare-table thead th {
    background: var(--olive-green);
    color: var(--white);
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 600;
    padding: 24px 20px;
    text-align: center;
    border: none;
}

.nyriana-compare-table thead th:first-child {
    background: var(--olive-dark);
    text-align: left;
}

.nyriana-compare-table thead th.highlight {
    background: var(--harvest-gold);
    position: relative;
}

.nyriana-compare-table thead th.highlight::before {
    content: 'En Popüler';
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gold-dark);
    color: var(--white);
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 4px 16px;
    border-radius: 12px;
    white-space: nowrap;
}

.nyriana-compare-table tbody tr {
    transition: background var(--transition-fast);
}

.nyriana-compare-table tbody tr:nth-child(even) {
    background: var(--cream);
}

.nyriana-compare-table tbody tr:hover {
    background: rgba(218, 165, 32, 0.08);
}

.nyriana-compare-table tbody td {
    padding: 18px 20px;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
    font-size: 15px;
    color: var(--dark);
}

.nyriana-compare-table tbody td:first-child {
    text-align: left;
    font-weight: 600;
    font-family: var(--font-heading);
    color: var(--olive-green);
}

.nyriana-compare-table tbody td.highlight {
    background: rgba(218, 165, 32, 0.05);
    font-weight: 600;
}

.nyriana-compare-table tfoot td {
    padding: 24px 20px;
    text-align: center;
    border: none;
    background: var(--gray-light);
}

.nyriana-compare-table .compare-atc-btn {
    display: inline-block;
    padding: 12px 32px;
    background: var(--olive-green);
    color: var(--white);
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all var(--transition-base);
    text-decoration: none;
}

.nyriana-compare-table .compare-atc-btn:hover {
    background: var(--olive-dark);
    color: var(--white);
}

.nyriana-compare-table .compare-atc-btn.highlight-btn {
    background: var(--harvest-gold);
}

.nyriana-compare-table .compare-atc-btn.highlight-btn:hover {
    background: var(--gold-dark);
}

/* ==========================================================================
   STICKY MOBILE ADD-TO-CART BAR
   ========================================================================== */
.sticky-atc {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background: var(--white);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
    padding: 12px 16px;
    display: none;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    border-top: 2px solid var(--harvest-gold);
    transform: translateY(100%);
    transition: transform var(--transition-base);
}

.sticky-atc.visible {
    display: flex;
    transform: translateY(0);
}

.sticky-atc .sticky-atc-info {
    flex: 1;
    min-width: 0;
}

.sticky-atc .sticky-atc-title {
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 600;
    color: var(--dark);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sticky-atc .sticky-atc-price {
    font-size: 16px;
    font-weight: 700;
    color: var(--olive-green);
}

.sticky-atc .sticky-atc-btn {
    flex-shrink: 0;
    padding: 12px 28px;
    background: var(--olive-green);
    color: var(--white);
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: background var(--transition-fast);
}

.sticky-atc .sticky-atc-btn:hover {
    background: var(--olive-dark);
}

/* ==========================================================================
   LIVE SEARCH BAR
   ========================================================================== */
.nyriana-live-search {
    position: relative;
    max-width: 600px;
    margin: 0 auto;
}

.nyriana-live-search input[type="search"] {
    width: 100%;
    padding: 14px 50px 14px 20px;
    font-family: var(--font-body);
    font-size: 15px;
    color: var(--dark);
    background: var(--white);
    border: 2px solid var(--border-color);
    border-radius: 50px;
    outline: none;
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.nyriana-live-search input[type="search"]:focus {
    border-color: var(--olive-green);
    box-shadow: 0 0 0 4px rgba(85, 107, 47, 0.1);
}

.nyriana-live-search .search-icon {
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--olive-green);
    font-size: 18px;
    pointer-events: none;
}

.nyriana-live-search .search-results {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    max-height: 400px;
    overflow-y: auto;
    z-index: 1000;
    display: none;
}

.nyriana-live-search .search-results.active {
    display: block;
}

.nyriana-live-search .search-result-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 14px 20px;
    border-bottom: 1px solid var(--border-color);
    transition: background var(--transition-fast);
    text-decoration: none;
    color: var(--dark);
}

.nyriana-live-search .search-result-item:last-child {
    border-bottom: none;
}

.nyriana-live-search .search-result-item:hover {
    background: var(--cream);
}

.nyriana-live-search .search-result-item img {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: var(--radius-sm);
}

.nyriana-live-search .search-result-item .result-title {
    font-weight: 600;
    font-size: 14px;
}

.nyriana-live-search .search-result-item .result-price {
    color: var(--olive-green);
    font-weight: 700;
    font-size: 15px;
}

.nyriana-live-search .search-loading {
    padding: 20px;
    text-align: center;
    color: var(--gray-text);
}

/* ==========================================================================
   FEATURES SECTION
   ========================================================================== */
.nyriana-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    padding: var(--section-padding) 20px;
    max-width: var(--container-max);
    margin: 0 auto;
}

.feature-item {
    text-align: center;
    padding: 40px 24px;
    background: var(--white);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    transition: all var(--transition-base);
}

.feature-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--olive-light);
}

.feature-item .feature-icon {
    width: 72px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    background: var(--cream);
    border-radius: 50%;
    font-size: 32px;
    color: var(--olive-green);
    border: 2px solid var(--border-color);
}

.feature-item h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: var(--dark);
}

.feature-item p {
    font-size: 14px;
    color: var(--gray-text);
    margin: 0;
}

/* ==========================================================================
   FREE SHIPPING NOTICE BAR
   ========================================================================== */
.nyriana-shipping-bar {
    background: linear-gradient(90deg, var(--olive-green), var(--olive-light));
    color: var(--white);
    text-align: center;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.nyriana-shipping-bar strong {
    color: var(--gold-light);
}

/* ==========================================================================
   QUANTITY SELECTOR
   ========================================================================== */
.nyriana-qty-selector {
    display: inline-flex;
    align-items: center;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-sm);
    overflow: hidden;
}

.nyriana-qty-selector .qty-btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gray-light);
    border: none;
    cursor: pointer;
    font-size: 18px;
    color: var(--dark);
    transition: background var(--transition-fast);
}

.nyriana-qty-selector .qty-btn:hover {
    background: var(--olive-green);
    color: var(--white);
}

.nyriana-qty-selector input.qty {
    width: 50px;
    height: 40px;
    text-align: center;
    border: none;
    border-left: 1px solid var(--border-color);
    border-right: 1px solid var(--border-color);
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 600;
    -moz-appearance: textfield;
}

.nyriana-qty-selector input.qty::-webkit-outer-spin-button,
.nyriana-qty-selector input.qty::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* ==========================================================================
   BACK TO TOP BUTTON
   ========================================================================== */
.nyriana-back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--olive-green);
    color: var(--white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-base);
    z-index: 9998;
    box-shadow: var(--shadow-md);
    font-size: 20px;
}

.nyriana-back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.nyriana-back-to-top:hover {
    background: var(--harvest-gold);
    transform: translateY(-3px);
}

/* ==========================================================================
   FOOTER - MEDITERRANEAN AESTHETIC
   ========================================================================== */
footer[data-id],
.site-footer {
    background: var(--dark);
    color: rgba(255, 255, 255, 0.8);
    position: relative;
}

footer[data-id]::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg,
        var(--olive-green) 0%,
        var(--harvest-gold) 50%,
        var(--olive-green) 100%
    );
}

.site-footer .widget-title,
footer h2, footer h3, footer h4 {
    font-family: var(--font-heading);
    color: var(--white);
    font-size: 18px;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 12px;
}

.site-footer .widget-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--harvest-gold);
}

footer a {
    color: rgba(255, 255, 255, 0.7);
    transition: color var(--transition-fast);
}

footer a:hover {
    color: var(--harvest-gold);
}

.footer-bottom,
.site-footer .ct-footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px 0;
    font-size: 13px;
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
}

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

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

/* Scroll animation classes */
.nyriana-animate {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.nyriana-animate.animated {
    opacity: 1;
    transform: translateY(0);
}

.nyriana-animate.delay-1 { transition-delay: 0.1s; }
.nyriana-animate.delay-2 { transition-delay: 0.2s; }
.nyriana-animate.delay-3 { transition-delay: 0.3s; }
.nyriana-animate.delay-4 { transition-delay: 0.4s; }

/* Hover transitions for general elements */
img {
    transition: opacity var(--transition-fast);
}

button, .button, input[type="submit"] {
    transition: all var(--transition-base);
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS (Mobile-First)
   ========================================================================== */

/* Small phones (up to 375px) */
@media (max-width: 375px) {
    .nyriana-hero {
        min-height: 450px;
    }

    .nyriana-trust-badges {
        gap: 12px;
        padding: 20px 12px;
    }

    .trust-badge {
        min-width: 140px;
        padding: 20px 14px;
    }
}

/* Mobile (up to 767px) */
@media (max-width: 767px) {
    :root {
        --section-padding: 50px;
    }

    .nyriana-hero {
        min-height: 500px;
    }

    .nyriana-hero h1 {
        font-size: 2rem;
    }

    .hero-trust-indicators {
        flex-direction: column;
        gap: 12px;
        align-items: center;
    }

    .nyriana-trust-badges {
        flex-direction: column;
        align-items: center;
    }

    .trust-badge {
        max-width: 100%;
        width: 100%;
    }

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

    .sticky-atc {
        padding: 10px 12px;
    }

    .sticky-atc .sticky-atc-title {
        font-size: 12px;
    }

    .sticky-atc .sticky-atc-btn {
        padding: 10px 20px;
        font-size: 12px;
    }

    .nyriana-features {
        grid-template-columns: 1fr;
        gap: 16px;
        padding: 40px 16px;
    }

    .nyriana-back-to-top {
        bottom: 80px; /* Above sticky ATC */
        right: 16px;
        width: 42px;
        height: 42px;
    }

    /* Comparison table horizontal scroll */
    .nyriana-compare-table-wrapper {
        margin: 20px -16px;
        padding: 0 16px;
    }
}

/* Tablet (768px - 1023px) */
@media (min-width: 768px) and (max-width: 1023px) {
    .nyriana-trust-badges {
        gap: 16px;
    }

    .trust-badge {
        min-width: 160px;
    }

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

/* Desktop (1024px+) */
@media (min-width: 1024px) {
    .sticky-atc {
        display: none !important; /* Only show on mobile */
    }

    .product-attributes {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Large desktop (1440px+) */
@media (min-width: 1440px) {
    :root {
        --section-padding: 100px;
    }
}

/* ==========================================================================
   PRINT STYLES
   ========================================================================== */
@media print {
    .sticky-atc,
    .nyriana-back-to-top,
    .nyriana-shipping-bar {
        display: none !important;
    }

    body {
        background: #fff;
        color: #000;
    }
}
