/* ========================================
   Fédra Product Page Styles
   ONLY applied on WooCommerce product pages
   (header/footer/nav/mobile/search are inline in single-product.php)
   ======================================== */

:root {
    --warm-white: #FAF9F6;
    --cream: #F5F3EF;
    --dusty-blue: #B8C5CE;
    --charcoal: #1A1A1A;
    --espresso: #2C1810;
    --text-dark: #1C1C1C;
    --text-muted: #666666;
    --text-light: #8A8A8A;
    --gold: #C9A962;
    --border: #E8E4E1;
    --fedra-header-h: 88px;
}

.fedra-breadcrumb {
    padding: calc(var(--fedra-header-h) + 1.5rem) 5% 2rem;
    font-size: 0.75rem;
    color: var(--text-light);
}
body.admin-bar .fedra-breadcrumb {
    padding: calc(var(--fedra-header-h) + 32px + 1.5rem) 5% 2rem;
}
.fedra-breadcrumb .woocommerce-breadcrumb { margin: 0; padding: 0; }
.fedra-breadcrumb a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s;
}
.fedra-breadcrumb a:hover { color: var(--text-dark); }
.fedra-breadcrumb span { margin: 0 0.5rem; }

/* PRODUCT PAGE */
.fedra-product-page {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    padding: 0 5% 5rem;
    max-width: 1600px;
    margin: 0 auto;
}

/* GALLERY */
.fedra-gallery { position: relative; touch-action: manipulation; overscroll-behavior: contain; }
.fedra-gallery-main {
    position: relative;
    overflow: hidden;
    background: var(--cream);
    aspect-ratio: 3/4;
    cursor: zoom-in;
    touch-action: pan-y pinch-zoom;
}
.fedra-gallery-main-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.4s ease, transform 0.4s ease;
}
.fedra-gallery-nav {
    position: absolute; top: 50%; transform: translateY(-50%);
    width: 44px; height: 44px;
    background: rgba(255,255,255,0.9); border: none; border-radius: 50%;
    cursor: pointer; display: flex; align-items: center; justify-content: center;
    font-size: 1rem; color: var(--text-dark); transition: all 0.3s;
    opacity: 0; z-index: 10;
}
.fedra-gallery:hover .fedra-gallery-nav { opacity: 1; }
.fedra-gallery-nav:hover { background: white; box-shadow: 0 2px 12px rgba(0,0,0,0.15); }
.fedra-gallery-nav-prev { left: 1rem; }
.fedra-gallery-nav-next { right: 1rem; }
.fedra-gallery-counter {
    position: absolute; bottom: 1rem; right: 1rem;
    background: rgba(255,255,255,0.9);
    padding: 0.4rem 0.8rem; border-radius: 20px;
    font-size: 0.7rem; color: var(--text-muted); letter-spacing: 0.05em;
}

.fedra-gallery-thumbnails {
    display: flex; gap: 0.5rem; margin-top: 0.75rem;
    overflow-x: auto; scroll-behavior: smooth;
    -ms-overflow-style: none; scrollbar-width: none;
    padding-bottom: 0.25rem;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
}
.fedra-gallery-thumbnails::-webkit-scrollbar { display: none; }
.fedra-gallery-thumbnail {
    flex-shrink: 0; width: 72px; height: 96px;
    overflow: hidden; cursor: pointer;
    border: 2px solid transparent; transition: all 0.3s;
    background: var(--cream);
    scroll-snap-align: start;
}
.fedra-gallery-thumbnail img { width: 100%; height: 100%; object-fit: cover; transition: opacity 0.3s; }
.fedra-gallery-thumbnail:hover img { opacity: 0.85; }
.fedra-gallery-thumbnail.active { border-color: var(--text-dark); }
.fedra-gallery-thumbnail.active img { opacity: 1; }

/* PRODUCT INFO */
.fedra-product-info { padding-top: 1rem; }
.fedra-product-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: 300; color: var(--text-dark);
    margin-bottom: 0.5rem;
}
.fedra-product-price {
    font-size: 1.3rem; color: var(--text-dark);
    font-weight: 400; margin-bottom: 1.5rem; letter-spacing: 0.05em;
}
.fedra-product-description {
    font-size: 0.9rem; color: var(--text-muted);
    line-height: 1.8; margin-bottom: 2rem; max-width: 520px;
}
.fedra-product-details { margin-bottom: 2rem; }
.fedra-product-detail-item {
    padding: 1rem 0; border-bottom: 1px solid var(--border);
    font-size: 0.85rem;
}
.fedra-product-detail-item strong { font-weight: 500; color: var(--text-dark); }

/* ADD TO CART */
.fedra-add-to-cart form.cart { display: flex; gap: 1rem; margin-bottom: 2rem; }
.fedra-add-to-cart .quantity {
    display: flex; align-items: center; border: 1px solid var(--border);
}
.fedra-add-to-cart .quantity input.qty {
    width: 50px; height: 48px; border: none;
    border-left: 1px solid var(--border); border-right: 1px solid var(--border);
    text-align: center; font-family: 'Inter', sans-serif;
    font-size: 0.9rem; color: var(--text-dark);
    background: transparent; -moz-appearance: textfield;
}
.fedra-add-to-cart .quantity input.qty::-webkit-inner-spin-button,
.fedra-add-to-cart .quantity input.qty::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.fedra-add-to-cart .single_add_to_cart_button {
    flex: 1; max-width: 320px; padding: 1rem 2rem;
    font-size: 0.7rem; font-weight: 500; letter-spacing: 0.15em;
    text-transform: uppercase;
    background: var(--text-dark) !important; color: white !important;
    border: 1px solid var(--text-dark) !important; cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4,0,0.2,1);
    font-family: 'Inter', sans-serif !important; border-radius: 0 !important;
}
.fedra-add-to-cart .single_add_to_cart_button:hover {
    background: transparent !important; color: var(--text-dark) !important;
}

/* META */
.fedra-product-meta {
    font-size: 0.8rem; color: var(--text-light); line-height: 1.8;
}
.fedra-product-meta a {
    color: var(--text-muted); text-decoration: none;
    border-bottom: 1px solid var(--border); transition: all 0.3s;
}
.fedra-product-meta a:hover { color: var(--text-dark); border-color: var(--text-dark); }

/* LIGHTBOX */
.fedra-lightbox {
    position: fixed; inset: 0; background: rgba(0,0,0,0.95);
    z-index: 2000; display: flex; align-items: center; justify-content: center;
    opacity: 0; visibility: hidden; transition: all 0.3s;
}
.fedra-lightbox.active { opacity: 1; visibility: visible; }
.fedra-lightbox-close {
    position: absolute; top: 1.5rem; right: 1.5rem;
    width: 44px; height: 44px; background: transparent; border: none;
    color: white; font-size: 2rem; cursor: pointer; z-index: 10;
}
.fedra-lightbox-close:hover { opacity: 0.7; }
.fedra-lightbox-image { max-width: 90%; max-height: 90vh; object-fit: contain; }
.fedra-lightbox-nav {
    position: absolute; top: 50%; transform: translateY(-50%);
    width: 50px; height: 50px;
    background: rgba(255,255,255,0.1); border: none; border-radius: 50%;
    cursor: pointer; display: flex; align-items: center; justify-content: center;
    font-size: 1.2rem; color: white; z-index: 10;
}
.fedra-lightbox-nav:hover { background: rgba(255,255,255,0.2); }
.fedra-lightbox-prev { left: 1.5rem; }
.fedra-lightbox-next { right: 1.5rem; }
.fedra-lightbox-counter {
    position: absolute; bottom: 1.5rem; left: 50%; transform: translateX(-50%);
    color: rgba(255,255,255,0.6); font-size: 0.8rem; letter-spacing: 0.1em;
}

/* RELATED PRODUCTS */
.fedra-related { padding: 5rem 5%; background: var(--cream); }
.fedra-related h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 300;
    text-align: center; margin-bottom: 3rem; color: var(--text-dark);
}
.fedra-related-grid {
    display: grid; grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem; max-width: 1200px; margin: 0 auto;
}
.fedra-related-card {
    background: white; overflow: hidden;
    transition: all 0.5s cubic-bezier(0.4,0,0.2,1);
}
.fedra-related-card:hover { transform: translateY(-8px); }
.fedra-related-image {
    position: relative; aspect-ratio: 1; overflow: hidden; background: var(--cream);
}
.fedra-related-image img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.4,0,0.2,1);
}
.fedra-related-card:hover .fedra-related-image img { transform: scale(1.03); }
.fedra-related-info { padding: 1.2rem; text-align: center; }
.fedra-related-name {
    font-family: 'Playfair Display', serif;
    font-size: 1rem; font-weight: 400; color: var(--text-dark);
    margin-bottom: 0.3rem;
}
.fedra-related-price { font-size: 0.85rem; color: var(--text-muted); }
.fedra-related-btn {
    display: inline-block; margin-top: 0.8rem;
    padding: 0.6rem 1.5rem; font-size: 0.65rem; font-weight: 400;
    letter-spacing: 0.12em; text-transform: uppercase;
    text-decoration: none; background: var(--text-dark); color: white;
    border: 1px solid var(--text-dark); transition: all 0.4s;
}
.fedra-related-btn:hover { background: transparent; color: var(--text-dark); }

/* RESPONSIVE */
@media (min-width: 768px) {
    .fedra-related-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1024px) {
    .fedra-product-page { grid-template-columns: 1.2fr 1fr; gap: 5rem; align-items: start; }
    .fedra-gallery-main { aspect-ratio: 3/4; height: auto; min-height: auto; }
    .fedra-gallery-thumbnail { width: 80px; height: 107px; }
    .fedra-related-grid { grid-template-columns: repeat(4, 1fr); }
}
@media (min-width: 1280px) {
    .fedra-gallery-main { height: 80vh; min-height: 700px; }
}
@media (max-width: 1023px) {
    .fedra-product-page { gap: 3rem; }
    .fedra-gallery-main { aspect-ratio: 3/4; min-height: auto; height: auto; }
    .fedra-gallery-thumbnail { width: 72px; height: 96px; }
}
@media (max-width: 767px) {
    .fedra-gallery-thumbnails { scroll-snap-type: none; -webkit-overflow-scrolling: auto; }
    .fedra-breadcrumb { padding: calc(var(--fedra-header-h) + 1.5rem) 5% 1.5rem; font-size: 0.7rem; }
    body.admin-bar .fedra-breadcrumb { padding: calc(var(--fedra-header-h) + 46px + 1.5rem) 5% 1.5rem; }
    .fedra-product-page { padding: 0 5% 3rem; gap: 2rem; }
    .fedra-product-title { font-size: 1.6rem; }
    .fedra-product-price { font-size: 1.1rem; }
    .fedra-product-description { font-size: 0.85rem; }
    .fedra-add-to-cart form.cart { flex-direction: column; align-items: stretch; }
    .fedra-add-to-cart .quantity { justify-content: center; }
    .fedra-add-to-cart .single_add_to_cart_button { max-width: none; width: 100%; }
    .fedra-gallery-thumbnails { gap: 0.4rem; }
    .fedra-gallery-thumbnail { width: 60px; height: 80px; }
    .fedra-gallery-nav { width: 36px; height: 36px; font-size: 0.8rem; opacity: 1; }
    .fedra-gallery-nav-prev { left: 0.5rem; }
    .fedra-gallery-nav-next { right: 0.5rem; }
    .fedra-gallery-counter { bottom: 0.75rem; right: 0.75rem; font-size: 0.65rem; padding: 0.3rem 0.6rem; }
    .fedra-related { padding: 3rem 5%; }
    .fedra-related h2 { font-size: 1.3rem; margin-bottom: 2rem; }
    .fedra-related-grid { grid-template-columns: repeat(2, 1fr); gap: 0.75rem; }
    .fedra-related-name { font-size: 0.85rem; }
    .fedra-related-price { font-size: 0.75rem; }
    .fedra-related-btn { padding: 0.5rem 1rem; font-size: 0.6rem; }
}
@media (max-width: 480px) {
    .fedra-breadcrumb { padding: calc(var(--fedra-header-h) + 1.5rem) 4% 1rem; }
    body.admin-bar .fedra-breadcrumb { padding: calc(var(--fedra-header-h) + 46px + 1.5rem) 4% 1rem; }
    .fedra-product-page { padding: 0 4% 2.5rem; }
    .fedra-product-title { font-size: 1.4rem; }
    .fedra-product-detail-item { font-size: 0.8rem; padding: 0.8rem 0; }
    .fedra-gallery-thumbnail { width: 52px; height: 69px; }
    .fedra-related-grid { grid-template-columns: 1fr 1fr; gap: 0.5rem; }
    .fedra-related-info { padding: 0.6rem; }
}

/* ========================================
   KADENCE CSS OVERRIDES
   Applied on ALL pages (shop, cart, checkout, account)
   to match Fédra design
   ======================================== */

/* Override Kadence CSS variables */
:root {
    --global-palette1: #3c312f !important;
    --global-palette2: #B8C5CE !important;
    --global-palette3: #1C1C1C !important;
    --global-palette4: #666 !important;
    --global-palette5: #8A8A8A !important;
    --global-palette6: #B8C5CE !important;
    --global-palette7: #F5F3EF !important;
    --global-palette8: #FAF9F6 !important;
}

/* Body */
body {
    font-family: 'Inter', sans-serif !important;
    font-weight: 300 !important;
    color: var(--text-dark) !important;
    background: var(--warm-white) !important;
}
h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif !important;
    font-weight: 300 !important;
}

/* Site Header */
.site-header {
    background: rgba(250, 249, 246, 0.95) !important;
    backdrop-filter: blur(20px) !important;
    border-bottom: 1px solid var(--border) !important;
}
.site-header .site-branding a {
    font-family: 'Playfair Display', serif !important;
    font-size: 1.6rem !important;
    font-weight: 400 !important;
    letter-spacing: 0.35em !important;
    color: #3c312f !important;
}
.main-navigation a {
    font-size: 0.7rem !important;
    font-weight: 400 !important;
    letter-spacing: 0.12em !important;
    text-transform: uppercase !important;
    color: #3c312f !important;
}
.header-actions a {
    color: #3c312f !important;
    font-size: 1rem !important;
}

/* Site Footer */
.site-footer {
    background: var(--warm-white) !important;
}
.site-footer .footer-widget-area a {
    font-size: 0.8rem !important;
    color: var(--text-muted) !important;
}
.site-footer .footer-widget-area a:hover {
    color: var(--text-dark) !important;
}

/* WooCommerce Buttons */
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button {
    font-family: 'Inter', sans-serif !important;
    font-weight: 500 !important;
    letter-spacing: 0.15em !important;
    text-transform: uppercase !important;
    font-size: 0.7rem !important;
    background: var(--text-dark) !important;
    color: white !important;
    border-radius: 0 !important;
    padding: 1rem 2rem !important;
}
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover {
    background: transparent !important;
    color: var(--text-dark) !important;
    border: 1px solid var(--text-dark) !important;
}

/* ========================================
   WOOCOMMERCE SHOP ARCHIVE
   ======================================== */

.woocommerce ul.products {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)) !important;
    gap: 2rem !important;
}
@media (min-width: 1024px) {
    .woocommerce ul.products {
        grid-template-columns: repeat(3, 1fr) !important;
    }
}
.woocommerce ul.products li.product {
    background: white !important;
    overflow: hidden !important;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1) !important;
    width: auto !important;
    float: none !important;
    margin: 0 !important;
    padding: 0 !important;
}
.woocommerce ul.products li.product:hover {
    transform: translateY(-8px) !important;
}
.woocommerce ul.products li.product a img {
    margin: 0 !important;
    aspect-ratio: 3/4 !important;
    transition: transform 0.8s !important;
    width: 100% !important;
    height: auto !important;
}
.woocommerce ul.products li.product:hover a img {
    transform: scale(1.03) !important;
}
.woocommerce ul.products li.product .woocommerce-loop-product__title {
    font-family: 'Playfair Display', serif !important;
    font-size: 1.1rem !important;
    font-weight: 400 !important;
    color: var(--text-dark) !important;
    padding: 1.2rem 1.2rem 0.3rem !important;
    text-align: center !important;
}
.woocommerce ul.products li.product .price {
    font-size: 0.8rem !important;
    color: var(--text-muted) !important;
    text-align: center !important;
    padding-bottom: 1.2rem !important;
    margin: 0 !important;
}
.woocommerce ul.products.woo-archive-action-on-hover li.product .product-action-wrap {
    position: relative !important;
    margin-top: 0.5rem !important;
    bottom: auto !important;
    left: auto !important;
    right: auto !important;
    width: auto !important;
}
.woocommerce ul.products li.product .button {
    display: block !important;
    margin: 0 auto 1.2rem !important;
    text-align: center !important;
    max-width: 200px !important;
}
@media (max-width: 767px) {
    .woocommerce ul.products.woo-archive-action-on-hover li.product .product-action-wrap {
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        transition: none !important;
    }
}

/* Shop page header/title */
.woocommerce-page .page-title {
    font-family: 'Playfair Display', serif !important;
    font-weight: 300 !important;
    color: var(--text-dark) !important;
}
.woocommerce-page .woocommerce-result-count,
.woocommerce-page .woocommerce-ordering select {
    font-size: 0.8rem !important;
    color: var(--text-muted) !important;
}

/* ========================================
   WOOCOMMERCE CART & CHECKOUT
   ======================================== */

.woocommerce-cart .cart-collaterals .cart_totals table th,
.woocommerce-cart .cart-collaterals .cart_totals table td {
    font-family: 'Inter', sans-serif !important;
}
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button {
    font-size: 0.7rem !important;
    padding: 1rem 2rem !important;
}
.woocommerce-checkout .checkout h3 {
    font-family: 'Playfair Display', serif !important;
    font-weight: 300 !important;
}
.woocommerce-checkout .form-row label {
    font-size: 0.8rem !important;
    color: var(--text-dark) !important;
}
.woocommerce-checkout .form-row input,
.woocommerce-checkout .form-row textarea {
    font-family: 'Inter', sans-serif !important;
    font-size: 0.9rem !important;
    border-color: var(--border) !important;
    border-radius: 0 !important;
}

/* ========================================
   CUSTOM FÉDRA HEADER & FOOTER
   Used on ALL pages via header.php / footer.php
   (Homepage inline CSS overrides these - that's correct)
   ======================================== */

body {
    margin: 0; background: var(--warm-white);
    color: var(--text-dark); line-height: 1.7;
    overflow-x: hidden;
}
h1, h2, h3 {
    font-family: 'Playfair Display', serif;
    font-weight: 300;
}

/* Header */
.fedra-header {
    position: fixed; top: 0; left: 0; right: 0;
    z-index: 1000; padding: 1.5rem 5%;
    display: flex; justify-content: space-between; align-items: center;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    background: rgba(250, 249, 246, 0.95);
    backdrop-filter: blur(20px);
}
.fedra-header.scrolled {
    background: rgba(250, 249, 246, 0.5);
    padding: 1rem 5%;
    box-shadow: 0 1px 0 var(--border);
}
.fedra-logo { position: relative; display: inline-flex; align-items: center; }
.fedra-logo img { height: 40px; width: auto; transition: opacity 0.3s; }
.fedra-logo .fedra-logo-hover { position: absolute; top: 0; left: 0; opacity: 0; }
.fedra-logo:hover .fedra-logo-default { opacity: 0; }
.fedra-logo:hover .fedra-logo-hover { opacity: 1; }

/* Nav */
.fedra-nav { display: none; gap: 2rem; list-style: none; }
.fedra-nav a {
    font-size: 0.7rem; font-weight: 400;
    letter-spacing: 0.12em; text-transform: uppercase;
    color: var(--text-dark); text-decoration: none;
    position: relative; transition: color 0.3s;
}
.fedra-nav a::after {
    content: ''; position: absolute; bottom: -4px; left: 0;
    width: 0; height: 1px; background: var(--dusty-blue);
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.fedra-nav a:hover::after { width: 100%; }
.fedra-nav a:hover { color: var(--dusty-blue); }
.fedra-nav-icons { display: flex; gap: 1.5rem; align-items: center; }
.fedra-nav-icons a { color: var(--text-dark); font-size: 1rem; transition: color 0.3s; }
.fedra-nav-icons a:hover { color: var(--dusty-blue); }
.fedra-mobile-toggle { display: flex; flex-direction: column; gap: 5px; cursor: pointer; }
.fedra-mobile-toggle span { width: 22px; height: 1px; background: var(--text-dark); transition: all 0.3s; }

/* Mobile Menu */
.fedra-mobile-menu {
    position: fixed; top: 0; left: 0; right: 0; bottom: 0;
    background: var(--warm-white); z-index: 1001;
    display: flex; flex-direction: column; justify-content: center;
    align-items: center; opacity: 0; visibility: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.fedra-mobile-menu.active { opacity: 1; visibility: visible; }
.fedra-mobile-menu-close { position: absolute; top: 2rem; right: 5%; font-size: 2rem; color: var(--text-dark); cursor: pointer; }
.fedra-mobile-menu-nav { display: flex; flex-direction: column; gap: 2rem; text-align: center; }
.fedra-mobile-menu-nav a { font-size: 1.2rem; font-weight: 400; letter-spacing: 0.15em; text-transform: uppercase; color: var(--text-dark); text-decoration: none; transition: color 0.3s; }
.fedra-mobile-menu-nav a:hover { color: var(--dusty-blue); }

/* Search Overlay */
.fedra-search-overlay {
    position: fixed; top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(250, 249, 246, 0.97); z-index: 999;
    display: flex; align-items: center; justify-content: center;
    opacity: 0; visibility: hidden; transition: all 0.3s ease;
}
.fedra-search-overlay.active { opacity: 1; visibility: visible; }
.fedra-search-close { position: absolute; top: 2rem; right: 5%; font-size: 2.5rem; color: var(--text-dark); cursor: pointer; transition: color 0.3s; }
.fedra-search-close:hover { color: var(--dusty-blue); }
.fedra-search-container { width: 80%; max-width: 600px; }
.fedra-search-form { display: flex; border-bottom: 2px solid var(--text-dark); }
.fedra-search-input { flex: 1; padding: 1.2rem 1rem; border: none; background: transparent; font-family: 'Inter', sans-serif; font-size: 1.2rem; color: var(--text-dark); outline: none; }
.fedra-search-input::placeholder { color: var(--text-light); }
.fedra-search-btn { padding: 1rem 1.5rem; border: none; background: transparent; color: var(--text-dark); font-size: 1.2rem; cursor: pointer; transition: color 0.3s; }
.fedra-search-btn:hover { color: var(--dusty-blue); }

/* Footer */
.fedra-footer { background: var(--warm-white); padding: 5rem 5% 2rem; }
.fedra-footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 4rem; max-width: 1400px; margin: 0 auto; }
.fedra-footer-brand { max-width: 280px; }
.fedra-footer-logo { transition: filter 0.3s; }
.fedra-footer-logo:hover { filter: brightness(0) saturate(100%) invert(75%) sepia(10%) saturate(800%) hue-rotate(170deg) brightness(92%) contrast(88%); }
.fedra-footer-about { font-size: 0.8rem; color: var(--text-muted); line-height: 1.8; }
.fedra-footer-social { display: flex; gap: 1.2rem; margin-top: 1.5rem; }
.fedra-footer-social a { color: var(--text-dark); font-size: 1rem; transition: color 0.3s; }
.fedra-footer-social a:hover { color: var(--dusty-blue); }
.fedra-footer-title { font-size: 0.65rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--dusty-blue); margin-bottom: 1.5rem; }
.fedra-footer-links { list-style: none; }
.fedra-footer-links li { margin-bottom: 0.8rem; }
.fedra-footer-links a { font-size: 0.8rem; color: var(--text-muted); text-decoration: none; transition: color 0.3s; }
.fedra-footer-links a:hover { color: var(--dusty-blue); }
.fedra-footer-bottom { border-top: 1px solid var(--border); margin-top: 4rem; padding-top: 2rem; display: flex; flex-direction: column; gap: 1rem; text-align: center; }
.fedra-footer-copyright { font-size: 0.7rem; color: var(--text-light); }
.fedra-footer-copyright a { color: var(--text-light); text-decoration: none; transition: color 0.3s; }
.fedra-footer-copyright a:hover { color: var(--dusty-blue); }

/* Content top padding (fixed header offset) */
.entry-hero {
    height: auto !important;
    min-height: 0 !important;
}
.entry-header {
    padding-top: 130px;
}
.woocommerce-page .entry-header {
    padding-top: 130px !important;
}
.content-area {
    margin-top: 0 !important;
}

/* Scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--warm-white); }
::-webkit-scrollbar-thumb { background: var(--dusty-blue); border-radius: 3px; }

@media (min-width: 768px) {
    .fedra-mobile-toggle { display: none; }
    .fedra-nav { display: flex; gap: 2rem; }
    .fedra-footer-grid { grid-template-columns: 1fr 1fr; }
    .fedra-footer-brand { grid-column: span 2; }
}
@media (min-width: 1024px) {
    .fedra-nav { gap: 3.5rem; }
    .fedra-footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1fr; }
    .fedra-footer-brand { grid-column: span 1; }
}
@media (max-width: 767px) {
    .fedra-header { padding: 1rem 5%; }
    .fedra-footer-grid { grid-template-columns: 1fr; gap: 2rem; }
    .fedra-footer-brand { grid-column: span 1; max-width: none; }
    .fedra-footer { padding: 3rem 5% 1.5rem; }
    .fedra-footer-bottom { margin-top: 2.5rem; padding-top: 1.5rem; }
}
@media (max-width: 480px) {
    .fedra-header { padding: 0.8rem 4%; }
    .fedra-logo img { height: 32px; }
    .fedra-footer { padding: 2.5rem 4% 1.5rem; }
    .fedra-footer-title { margin-bottom: 1rem; }
    .fedra-footer-links li { margin-bottom: 0.6rem; }
}

/* ========================================
   CART - REMOVE BUTTON
   ======================================== */

.woocommerce-cart .cart .product-remove .remove {
    color: var(--text-dark) !important;
    background: transparent !important;
}
.woocommerce-cart .cart .product-remove .remove:hover {
    color: var(--dusty-blue) !important;
    background: transparent !important;
}
.woocommerce-cart .cart .actions .button {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    line-height: normal !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    vertical-align: middle !important;
}

/* ========================================
   MY ACCOUNT PAGE
   ======================================== */

.woocommerce-account .form-row label {
    font-family: 'Inter', sans-serif !important;
    font-weight: 300 !important;
    color: var(--text-dark) !important;
    font-size: 0.85rem !important;
}
.woocommerce-account .form-row input {
    font-family: 'Inter', sans-serif !important;
    font-weight: 300 !important;
}
.woocommerce-account h2,
.woocommerce-account h3 {
    font-family: 'Playfair Display', serif !important;
    font-weight: 300 !important;
}
.woocommerce-account .woocommerce-MyAccount-navigation a {
    font-family: 'Inter', sans-serif !important;
    font-weight: 300 !important;
    font-size: 0.85rem !important;
}

/* ========================================
   CONTACT PAGE
   ======================================== */

.page-id-3268 .entry-header {
    display: none !important;
}
.page-id-3268 .entry-content {
    padding-top: 0 !important;
}
.contact {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding-top: 150px;
}
.contact .contact-image {
    position: relative;
    overflow: hidden;
    height: 100%;
    min-height: 500px;
}
.contact .contact-image img {
    width: calc(100% - 4rem);
    height: 100%;
    object-fit: cover;
    object-position: center 30%;
    position: absolute;
    top: 0;
    left: 2rem;
}
.contact .contact-form {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 6rem 8%;
    background: var(--warm-white);
}
.contact .contact-label {
    font-size: 0.65rem;
    letter-spacing: 0.4em;
    text-transform: uppercase;
    color: var(--dusty-blue);
    margin-bottom: 0.5rem;
}
.contact .contact-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 300;
    margin-bottom: 3rem;
    line-height: 1.2;
    color: var(--text-dark);
}
.form-group { margin-bottom: 2rem; }
.form-group label {
    display: block;
    font-size: 0.75rem;
    font-weight: 400;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
    letter-spacing: 0.05em;
}
.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1.2rem;
    border: 1px solid var(--border);
    background: white;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    color: var(--text-dark);
    transition: border-color 0.3s;
}
.form-group input:focus,
.form-group textarea:focus { outline: none; border-color: var(--text-dark); }
.form-group textarea { height: 140px; resize: vertical; }
.form-btn {
    display: inline-block;
    padding: 1.2rem 3.5rem;
    font-size: 0.65rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    text-decoration: none;
    background: var(--text-dark);
    color: white;
    border: 1px solid var(--text-dark);
    cursor: pointer;
    transition: all 0.4s;
    align-self: flex-start;
    margin-top: 0.5rem;
    font-family: 'Inter', sans-serif;
}
.form-btn:hover { background: transparent; color: var(--text-dark); }
.contact-info {
    margin-top: 4rem;
    padding-top: 2.5rem;
    border-top: 1px solid var(--border);
    display: flex;
    gap: 4rem;
}
.contact-info-item { font-size: 0.85rem; color: var(--text-muted); }
.contact-info-item strong {
    display: block;
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 0.3rem;
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}
@media (max-width: 1024px) {
    .contact { grid-template-columns: 1fr; padding-top: 150px; }
    .contact .contact-image { height: auto; min-height: 300px; }
    .contact .contact-image img { position: static !important; width: 100% !important; height: auto; max-height: 500px; object-fit: cover; }
    .contact-form { padding: 4rem 5%; }
}
@media (max-width: 767px) {
    .contact-title { font-size: 1.8rem; }
    .contact-info { flex-direction: column; gap: 2rem; }
}

/* ========================================
   STORY PAGE
   ======================================== */

.page-id-3270 .entry-header {
    display: none !important;
}
.page-id-3270 .entry-content {
    padding: 0 !important;
}
.story-page .container,
.page-id-3270 .container {
    max-width: 720px;
    margin: 0 auto;
    padding: 0 5%;
}
.story-page main,
.page-id-3270 .entry-content-wrap {
    padding: 12rem 5% 6rem;
}
.story-page .section-title,
.page-id-3270 .section-title {
    font-family: 'Playfair Display', serif;
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    color: var(--dusty-blue);
    margin-bottom: 1rem;
    text-transform: uppercase;
}
.story-page .big-title,
.page-id-3270 .big-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 300;
    color: var(--text-dark);
    margin-bottom: 4rem;
    line-height: 1.2;
    letter-spacing: 0.05em;
}
.story-page .story-block,
.page-id-3270 .story-block {
    margin-bottom: 4rem;
}
.story-page .story-block h3,
.page-id-3270 .story-block h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    font-weight: 400;
    color: var(--text-dark);
    margin-bottom: 1.2rem;
    letter-spacing: 0.03em;
}
.story-page .story-block p,
.page-id-3270 .story-block p {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 1.2rem;
    max-width: 600px;
}
.story-page .story-divider,
.page-id-3270 .story-divider {
    width: 40px;
    height: 1px;
    background: var(--dusty-blue);
    margin: 2.5rem 0;
}
.story-page .story-quote,
.page-id-3270 .story-quote {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    font-weight: 300;
    font-style: italic;
    color: var(--text-dark);
    line-height: 1.5;
    margin: 3rem 0;
    padding-left: 1.5rem;
    border-left: 2px solid var(--dusty-blue);
}
.story-page .back-link,
.page-id-3270 .back-link {
    display: inline-block;
    margin-top: 4rem;
    padding: 1rem 2.5rem;
    font-size: 0.65rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    text-decoration: none;
    color: white;
    background: var(--text-dark);
    border: 1px solid var(--text-dark);
    transition: all 0.4s;
    font-family: 'Inter', sans-serif;
}
.story-page .back-link:hover,
.page-id-3270 .back-link:hover {
    background: transparent;
    color: var(--text-dark);
}
.story-page .story-image-full,
.page-id-3270 .story-image-full {
    width: 100%;
    margin: 3rem 0;
    overflow: hidden;
}
.story-page .story-image-full img,
.page-id-3270 .story-image-full img {
    width: 100%;
    height: 420px;
    object-fit: cover;
}
@media (max-width: 767px) {
    .story-page .container,
    .page-id-3270 .container { padding: 0 5%; }
    .story-page main,
    .page-id-3270 .entry-content-wrap { padding: 10rem 5% 4rem; }
    .story-page .big-title,
    .page-id-3270 .big-title { font-size: 1.8rem; margin-bottom: 3rem; }
    .story-page .story-image-full img,
    .page-id-3270 .story-image-full img { height: 250px; }
}

/* ========================================
   PRIVACY POLICY PAGE
   ======================================== */

.page-id-3 .entry-header {
    display: none !important;
}
.page-id-3 .entry-content {
    padding-top: 0 !important;
}
.fedra-legal-page .container {
    max-width: 780px;
    margin: 0 auto;
    padding: 0 5%;
}
.fedra-legal-page main,
.page-id-3 main {
    padding: 8rem 0 6rem;
}
.fedra-legal-page .section-label {
    font-size: 0.65rem;
    letter-spacing: 0.4em;
    text-transform: uppercase;
    color: var(--dusty-blue);
    margin-bottom: 0.5rem;
}
.fedra-legal-page .page-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 300;
    margin-bottom: 4rem;
    line-height: 1.2;
    color: var(--text-dark);
}
.fedra-legal-page .legal-section {
    margin-bottom: 4rem;
}
.fedra-legal-page .legal-section h2 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 300;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}
.fedra-legal-page .legal-section p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
    max-width: 640px;
    line-height: 1.8;
}
.fedra-legal-page .back-link {
    display: inline-block;
    margin-top: 3rem;
    padding: 1rem 2.5rem;
    font-size: 0.65rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    text-decoration: none;
    color: white;
    background: var(--text-dark);
    border: 1px solid var(--text-dark);
    transition: all 0.4s;
    font-family: 'Inter', sans-serif;
}
.fedra-legal-page .back-link:hover {
    background: transparent;
    color: var(--text-dark);
}
@media (max-width: 767px) {
    .fedra-legal-page main { padding: 6rem 0 4rem; }
    .fedra-legal-page .legal-section h2 { font-size: 1.3rem; }
}

/* ========================================
   HELP PAGE
   ======================================== */

.page-id-3272 .entry-header {
    display: none !important;
}
.page-id-3272 .entry-content {
    padding-top: 0 !important;
}
.fedra-help-page .container {
    max-width: 780px;
    margin: 0 auto;
    padding: 0 5%;
}
.fedra-help-page main {
    padding: 8rem 0 6rem;
}
.fedra-help-page .section-label {
    font-size: 0.65rem;
    letter-spacing: 0.4em;
    text-transform: uppercase;
    color: var(--dusty-blue);
    margin-bottom: 0.5rem;
}
.fedra-help-page .page-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 300;
    margin-bottom: 4rem;
    line-height: 1.2;
    color: var(--text-dark);
}
.fedra-help-page .help-section {
    margin-bottom: 4rem;
    padding-bottom: 4rem;
    border-bottom: 1px solid var(--border);
    scroll-margin-top: 150px;
}
.fedra-help-page .help-section:last-child { border-bottom: none; }
.fedra-help-page .help-section h2 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 300;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}
.fedra-help-page .help-section p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
    max-width: 640px;
}
.fedra-help-page .help-section ul {
    list-style: none;
    padding: 0;
    margin-bottom: 1rem;
}
.fedra-help-page .help-section ul li {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 0.6rem;
    padding-left: 1.2rem;
    position: relative;
}
.fedra-help-page .help-section ul li::before {
    content: '\2014';
    position: absolute;
    left: 0;
    color: var(--dusty-blue);
}
.fedra-help-page .help-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin: 2rem 0;
}
.fedra-help-page .help-card {
    background: var(--cream);
    padding: 2rem;
}
.fedra-help-page .help-card h4 {
    font-family: 'Playfair Display', serif;
    font-size: 1rem;
    font-weight: 400;
    margin-bottom: 0.8rem;
    color: var(--text-dark);
}
.fedra-help-page .help-card p {
    font-size: 0.85rem;
    margin-bottom: 0;
}
.fedra-help-page .faq-item {
    border-bottom: 1px solid var(--border);
    padding: 1.5rem 0;
    cursor: pointer;
}
.fedra-help-page .faq-item:first-child {
    border-top: 1px solid var(--border);
}
.fedra-help-page .faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.95rem;
    font-weight: 400;
    color: var(--text-dark);
}
.fedra-help-page .faq-icon {
    font-size: 1.2rem;
    color: var(--text-muted);
    transition: transform 0.3s;
}
.fedra-help-page .faq-item.active .faq-icon {
    transform: rotate(45deg);
}
.fedra-help-page .faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}
.fedra-help-page .faq-item.active .faq-answer {
    max-height: 300px;
}
.fedra-help-page .faq-answer p {
    font-size: 0.85rem;
    color: var(--text-muted);
    padding-top: 1rem;
}
.fedra-help-page .back-link {
    display: inline-block;
    margin-top: 3rem;
    padding: 1rem 2.5rem;
    font-size: 0.65rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    text-decoration: none;
    color: white;
    background: var(--text-dark);
    border: 1px solid var(--text-dark);
    transition: all 0.4s;
    font-family: 'Inter', sans-serif;
}
.fedra-help-page .back-link:hover {
    background: transparent;
    color: var(--text-dark);
}
@media (max-width: 767px) {
    .fedra-help-page main { padding: 6rem 0 4rem; }
    .fedra-help-page .help-grid { grid-template-columns: 1fr; }
    .fedra-help-page .help-section h2 { font-size: 1.3rem; }
}
