/*
Theme Name: Gaceria Art
Theme URI: https://gaceria.art
Author: Gaceria Art
Author URI: https://gaceria.art
Description: Custom WooCommerce theme for Gaceria Art — handmade decorations store. Features dark (Noir & Gold) and light (Ocean & Stone) theme toggle.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: gaceria-art
Tags: e-commerce, woocommerce, custom-colors, dark-mode
WooCommerce: 9.0
*/

/* ═══════════════════════════════════════════
   CSS CUSTOM PROPERTIES — DUAL THEME SYSTEM
   ═══════════════════════════════════════════ */

/* ── DARK: Noir & Gold (default) ── */
:root,
[data-theme="dark"] {
    --bg:              #0C0C0C;
    --surface:         #151515;
    --surface-hover:   #1C1C1C;
    --elevated:        #1A1A1A;
    --text:            #E8E0D4;
    --text-secondary:  #9A918A;
    --text-muted:      #8E877F;
    --accent:          #C9A84C;
    --accent-hover:    #DFC06E;
    --accent-muted:    rgba(201,168,76,0.13);
    --accent-rgb:      201,168,76;
    --border:          #242018;
    --border-light:    #1E1A14;
    --hero-start:      #141210;
    --hero-mid:        #1C1915;
    --hero-end:        #18140E;
    --hero-badge-bg:   rgba(201,168,76,0.12);
    --hero-badge-text: #C9A84C;
    --hero-dot:        #C9A84C;
    --hero-line:       rgba(201,168,76,0.15);
    --footer-bg:       #080706;
    --card-shadow:     0 2px 20px rgba(201,168,76,0.05);
    --card-shadow-hover: 0 12px 40px rgba(201,168,76,0.09);
    --badge-bg:        #C9A84C;
    --badge-text:      #0C0C0C;
    --new-badge-bg:    #80B2C2;
    --new-badge-text:  #0C0C0C;
    --header-bg:       rgba(12,12,12,0.92);
    --overlay-bg:      rgba(0,0,0,0.7);
    --star-color:      #C9A84C;
    --product-img-start: #151515;
    --product-img-end:   #1E1B16;
    --btn-primary-text:  #0C0C0C;
    --announcement-text: #0C0C0C;
}

/* ── LIGHT: Ocean & Stone ── */
[data-theme="light"] {
    --bg:              #F4F7F9;
    --surface:         #FFFFFF;
    --surface-hover:   #F0F5F8;
    --elevated:        #FFFFFF;
    --text:            #1A2C36;
    --text-secondary:  #5A7080;
    --text-muted:      #9AB0BE;
    --accent:          #4D8FA3;
    --accent-hover:    #3A7A8E;
    --accent-muted:    rgba(77,143,163,0.1);
    --accent-rgb:      77,143,163;
    --border:          #D4E0E8;
    --border-light:    #E8EFF4;
    --hero-start:      #4D8FA3;
    --hero-mid:        #5EA0B4;
    --hero-end:        #72B4C6;
    --hero-badge-bg:   rgba(255,255,255,0.18);
    --hero-badge-text: #FFFFFF;
    --hero-dot:        #FFFFFF;
    --hero-line:       rgba(255,255,255,0.12);
    --footer-bg:       #152028;
    --card-shadow:     0 2px 16px rgba(30,60,80,0.06);
    --card-shadow-hover: 0 12px 40px rgba(30,60,80,0.12);
    --badge-bg:        #DB5D50;
    --badge-text:      #FFFFFF;
    --new-badge-bg:    #4D8FA3;
    --new-badge-text:  #FFFFFF;
    --header-bg:       rgba(255,255,255,0.92);
    --overlay-bg:      rgba(255,255,255,0.85);
    --star-color:      #E8A530;
    --product-img-start: #F0F5F8;
    --product-img-end:   #E4EDF2;
    --btn-primary-text:  #FFFFFF;
    --announcement-text: #FFFFFF;
}


/* ═══════════════════════════════════════════
   RESET & BASE
   ═══════════════════════════════════════════ */

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: 'DM Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text);
    background-color: var(--bg);
    transition: background-color 0.45s ease, color 0.45s ease;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
    color: inherit;
}

ul, ol {
    list-style: none;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', Georgia, 'Times New Roman', serif;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 0.5em;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 16px 24px 32px 24px;
}

/* Transition utility for theme switching */
.theme-transition,
.theme-transition *,
.theme-transition *::before,
.theme-transition *::after {
    transition: background-color 0.45s ease, color 0.45s ease,
                border-color 0.45s ease, box-shadow 0.45s ease !important;
}


/* ═══════════════════════════════════════════
   HEADER
   ═══════════════════════════════════════════ */

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--header-bg);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid var(--border);
    transition: background 0.45s ease, border-color 0.45s ease;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 68px;
}

.site-logo {
    flex-shrink: 0;
}

.site-logo svg,
.site-logo img {
    width: 110px;
    height: auto;
}

/* ── Desktop Nav ── */
.main-nav {
    display: flex;
    gap: 28px;
    align-items: center;
}

.main-nav a {
    color: var(--text-secondary);
    font-size: 13.5px;
    font-weight: 500;
    letter-spacing: 0.01em;
    padding-bottom: 2px;
    border-bottom: 2px solid transparent;
    transition: color 0.2s, border-color 0.2s;
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--text);
    border-bottom-color: var(--accent);
}

/* ── Header Actions ── */
.header-actions {
    display: flex;
    align-items: center;
    gap: 6px;
}

.header-btn {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    transition: color 0.2s, background 0.2s;
}

.header-btn:hover {
    color: var(--text);
    background: var(--accent-muted);
}

.header-btn svg {
    width: 18px;
    height: 18px;
}

/* Theme toggle */
.theme-toggle {
    background: var(--accent-muted);
    color: var(--accent);
}

.theme-toggle:hover {
    background: rgba(var(--accent-rgb), 0.2);
}

/* Cart badge */
.cart-btn {
    position: relative;
}

.cart-count {
    position: absolute;
    top: 2px;
    right: 2px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--accent);
    color: var(--btn-primary-text);
    font-size: 9px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

/* ── Search ── */
.header-search {
    display: flex;
    align-items: center;
    border-radius: 12px;
    padding: 6px;
    border: 1px solid transparent;
    transition: all 0.35s cubic-bezier(0.22, 1, 0.36, 1);
    width: 36px;
    overflow: hidden;
}

.header-search.is-open {
    width: 260px;
    padding: 6px 14px;
    background: var(--surface);
    border-color: var(--border);
}

.header-search input {
    border: none;
    outline: none;
    background: transparent;
    color: var(--text);
    font-size: 13px;
    font-family: inherit;
    width: 100%;
    margin-left: 8px;
    display: none;
}

.header-search.is-open input {
    display: block;
    border: none;
    box-shadow: none;
    padding: 0;
}

.header-search.is-open input:focus {
    border: none;
    box-shadow: none;
    padding: 0;
}

.header-search.is-open:has(input:focus) {
    border-color: var(--accent);
}

.search-toggle {
    color: var(--text-secondary);
    flex-shrink: 0;
    display: flex;
}

.search-toggle svg {
    width: 18px;
    height: 18px;
}

/* ── Mobile Menu ── */
.mobile-menu-toggle {
    display: none;
}

.mobile-nav {
    display: none;
    flex-direction: column;
    padding: 12px 24px 20px;
    border-top: 1px solid var(--border);
}

.mobile-nav.is-open {
    display: flex;
}

.mobile-nav a {
    color: var(--text);
    font-size: 15px;
    font-weight: 500;
    padding: 10px 0;
    border-bottom: 1px solid var(--border-light);
}

@media (max-width: 768px) {
    .main-nav { display: none; }
    .mobile-menu-toggle { display: flex; }
    .header-btn.desktop-only { display: none; }
    .header-search.is-open { width: 180px; }
}

@media (max-width: 480px) {
    .header-search.is-open { width: 140px; }
    .site-logo svg, .site-logo img { width: 90px; }
    .header-inner { height: 58px; }
}


/* ═══════════════════════════════════════════
   HERO SECTION
   ═══════════════════════════════════════════ */

.hero {
    background: linear-gradient(160deg, var(--hero-start) 0%, var(--hero-mid) 40%, var(--hero-end) 100%);
    position: relative;
    overflow: hidden;
    transition: background 0.45s ease;
}

.hero-dots {
    position: absolute;
    inset: 0;
    opacity: 0.04;
    background-image:
        radial-gradient(circle at 15% 25%, var(--hero-dot) 1px, transparent 1px),
        radial-gradient(circle at 85% 75%, var(--hero-dot) 1px, transparent 1px),
        radial-gradient(circle at 50% 50%, var(--hero-dot) 0.5px, transparent 0.5px);
    background-size: 80px 80px, 120px 120px, 40px 40px;
    pointer-events: none;
}

[data-theme="light"] .hero-dots {
    opacity: 0.07;
}

.hero-line {
    position: absolute;
    top: 0;
    right: 15%;
    width: 1px;
    height: 100%;
    background: linear-gradient(to bottom, transparent, var(--hero-line), transparent);
    pointer-events: none;
}

.hero-inner {
    padding: 40px 24px 48px;
    position: relative;
}


/* ── Hero Category Grid (Bento) ── */
.hero-categories {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 180px;
    gap: 14px;
}

.hero-cat-tile {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
                box-shadow 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.hero-cat-tile:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}

.hero-cat-tile--featured {
    grid-column: span 2;
    grid-row: span 2;
}

.hero-cat-tile img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.hero-cat-tile:hover img {
    transform: scale(1.06);
}

.hero-cat-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.05) 60%);
    pointer-events: none;
    transition: background 0.3s ease;
}

.hero-cat-tile:hover .hero-cat-overlay {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.1) 60%);
}

.hero-cat-info {
    position: relative;
    z-index: 1;
    padding: 16px 18px;
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex: 1;
}

.hero-cat-name {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 16px;
    font-weight: 700;
    color: #FFFFFF;
    line-height: 1.2;
}

.hero-cat-tile--featured .hero-cat-name {
    font-size: 28px;
}

.hero-cat-tile--featured .hero-cat-count {
    font-size: 14px;
}

.hero-cat-count {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 500;
}

.hero-cat-arrow {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 1;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    opacity: 0;
    transform: translateX(-6px);
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.hero-cat-arrow svg {
    width: 14px;
    height: 14px;
}

.hero-cat-tile:hover .hero-cat-arrow {
    opacity: 1;
    transform: translateX(0);
}

/* Tile without image — gradient fallback */
.hero-cat-tile:not(:has(img)) {
    background: linear-gradient(135deg, var(--hero-start) 0%, var(--hero-mid) 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

@media (max-width: 768px) {
    .hero-inner {
        padding: 28px 24px 36px;
    }
    .hero-categories {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 140px;
    }
    .hero-cat-tile--featured {
        grid-column: span 2;
        grid-row: span 1;
    }
    .hero-cat-tile--featured .hero-cat-name {
        font-size: 20px;
    }
    .hero-cat-arrow {
        opacity: 1;
        transform: translateX(0);
    }
}

@media (max-width: 480px) {
    .hero-categories {
        grid-template-columns: 1fr;
        grid-auto-rows: 130px;
    }
    .hero-cat-tile--featured {
        grid-column: span 1;
    }
}


/* ═══════════════════════════════════════════
   CATEGORY FILTERS
   ═══════════════════════════════════════════ */

.category-filters {
    padding: 32px 0 8px;
}

.category-filters-inner {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 8px;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.category-filters-inner::-webkit-scrollbar {
    display: none;
}

.cat-filter-btn {
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
    border: 1px solid var(--border);
    color: var(--text-secondary);
    background: transparent;
    transition: all 0.25s ease;
}

.cat-filter-btn:hover {
    border-color: var(--accent);
    color: var(--text);
}

.cat-filter-btn:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

.cat-filter-btn.active {
    background: var(--accent);
    color: var(--btn-primary-text);
    border-color: var(--accent);
}


/* ═══════════════════════════════════════════
   TRUST BAR
   ═══════════════════════════════════════════ */

.trust-bar {
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    background: var(--surface);
    transition: all 0.45s ease;
}

.trust-bar-inner {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 24px;
    padding: 36px 0;
    text-align: center;
}

.trust-item-icon {
    font-size: 22px;
    margin-bottom: 8px;
    color: var(--accent);
}

.trust-item-title {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 4px;
    color: var(--text);
}

.trust-item-desc {
    font-size: 12px;
    color: var(--text-secondary);
}


/* ═══════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════ */

.site-footer {
    background: var(--footer-bg);
    color: rgba(255,255,255,0.6);
    transition: background 0.45s ease;
}

.footer-inner {
    padding-top: 56px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 48px;
}

.footer-brand p {
    font-size: 13px;
    line-height: 1.6;
    margin-top: 16px;
    color: rgba(255,255,255,0.65);
    max-width: 260px;
}

.footer-brand .site-logo svg,
.footer-brand .site-logo img {
    width: 100px;
}

.footer-col h4 {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255,255,255,0.6);
    font-family: 'DM Sans', sans-serif;
    margin-bottom: 16px;
}

.footer-col a {
    display: block;
    color: rgba(255,255,255,0.7);
    font-size: 13px;
    padding: 5px 0;
    transition: color 0.2s;
}

.footer-col a:hover {
    color: rgba(255,255,255,0.9);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.footer-copyright {
    font-size: 12px;
    color: rgba(255,255,255,0.6);
}

.footer-legal {
    display: flex;
    gap: 20px;
}

.footer-legal a {
    font-size: 12px;
    color: rgba(255,255,255,0.6);
}

.footer-legal a:hover {
    color: rgba(255,255,255,0.9);
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    .footer-brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 480px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
}


/* ═══════════════════════════════════════════
   ANIMATIONS
   ═══════════════════════════════════════════ */

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

.hero-cat-tile {
    animation: fadeInUp 0.6s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hero-cat-tile:nth-child(1) { animation-delay: 0.15s; }
.hero-cat-tile:nth-child(2) { animation-delay: 0.25s; }
.hero-cat-tile:nth-child(3) { animation-delay: 0.35s; }
.hero-cat-tile:nth-child(4) { animation-delay: 0.45s; }
.hero-cat-tile:nth-child(5) { animation-delay: 0.55s; }
.hero-cat-tile:nth-child(6) { animation-delay: 0.65s; }

/* ═══════════════════════════════════════════
   WP PAGES (Regulamin, Polityka prywatności…)
   ═══════════════════════════════════════════ */

.page-container {
    padding-top: 48px;
    padding-bottom: 80px;
}

.page-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(28px, 4vw, 40px);
    color: var(--text);
    margin-bottom: 32px;
    padding-bottom: 16px;
    border-bottom: 2px solid var(--accent);
}

/* ── Entry content typography ── */

.entry-content {
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.75;
}

.entry-content h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(22px, 3vw, 28px);
    color: var(--text);
    margin: 48px 0 16px;
}

.entry-content h3 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(18px, 2.5vw, 22px);
    color: var(--text);
    margin: 40px 0 12px;
}

.entry-content h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text);
    margin: 32px 0 8px;
}

.entry-content p {
    margin: 0 0 16px;
}

.entry-content a {
    color: var(--accent);
    text-decoration: underline;
    text-underline-offset: 2px;
    transition: color 0.2s;
}

.entry-content a:hover {
    color: var(--accent-hover);
}

.entry-content strong {
    color: var(--text);
    font-weight: 600;
}

.entry-content em {
    color: var(--text-muted);
    font-style: italic;
}

/* ── Lists ── */

.entry-content ol,
.entry-content ul {
    margin: 0 0 20px;
    padding-left: 24px;
}

.entry-content li {
    margin-bottom: 8px;
}

.entry-content ol ol,
.entry-content ul ul,
.entry-content ol ul,
.entry-content ul ol {
    margin-top: 8px;
    margin-bottom: 8px;
}

.entry-content li::marker {
    color: var(--accent);
}

/* ── Tables ── */

.entry-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 24px 0;
    font-size: 14px;
}

.entry-content th {
    background: var(--surface);
    color: var(--text);
    font-weight: 600;
    text-align: left;
    padding: 12px 16px;
    border: 1px solid var(--border);
}

.entry-content td {
    padding: 10px 16px;
    border: 1px solid var(--border);
    vertical-align: top;
}

.entry-content tr:nth-child(even) td {
    background: var(--surface);
}

/* ── Blockquotes ── */

.entry-content blockquote {
    margin: 24px 0;
    padding: 16px 24px;
    border-left: 3px solid var(--accent);
    background: var(--surface);
    border-radius: 0 8px 8px 0;
    color: var(--text);
    font-style: italic;
}

/* ── Horizontal rules ── */

.entry-content hr {
    border: none;
    height: 1px;
    background: var(--border);
    margin: 40px 0;
}

/* ── Code blocks ── */

.entry-content code {
    font-size: 13px;
    background: var(--surface);
    padding: 2px 6px;
    border-radius: 4px;
    border: 1px solid var(--border);
    color: var(--accent);
}

/* ── Images ── */

.entry-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 16px 0;
}

/* ── Responsive ── */

@media (max-width: 600px) {
    .page-container {
        padding-top: 32px;
        padding-bottom: 48px;
    }

    .page-title {
        margin-bottom: 24px;
    }

    .entry-content table {
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
}

/* ═══════════════════════════════════════════
   WISHLIST HEADER ICON & PAGE
   ═══════════════════════════════════════════ */

.wishlist-btn {
    position: relative;
}

.wishlist-count {
    position: absolute;
    top: 2px;
    right: 2px;
    min-width: 16px;
    height: 16px;
    padding: 0 4px;
    border-radius: 99px;
    background: #DB5D50;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    line-height: 16px;
    text-align: center;
}

.wishlist-count:empty {
    display: none;
}

/* ── Page ── */


.wishlist-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.wishlist-loading {
    grid-column: 1 / -1;
    text-align: center;
    padding: 48px 0;
    color: var(--text-muted);
}

.wishlist-loading::before {
    content: '';
    display: block;
    width: 24px;
    height: 24px;
    margin: 0 auto 12px;
    border: 2px solid var(--border);
    border-top-color: var(--accent);
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
}

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

/* ── Empty state ── */

.wishlist-empty {
    text-align: center;
    padding: 80px 0;
}

.wishlist-empty-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: var(--accent-muted);
    color: var(--accent);
    margin-bottom: 24px;
}

.wishlist-empty-icon svg {
    width: 32px;
    height: 32px;
}

.wishlist-empty p {
    font-size: 18px;
    color: var(--text-secondary);
    margin: 0 0 24px;
}

.entry-content .wishlist-browse-btn,
.wishlist-browse-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 32px;
    background: var(--accent);
    color: var(--btn-primary-text);
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    transition: background 0.2s;
}

.entry-content .wishlist-browse-btn:hover,
.wishlist-browse-btn:hover {
    background: var(--accent-hover);
    color: var(--btn-primary-text);
}

@media (max-width: 900px) {
    .wishlist-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 600px) {
    .wishlist-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .wishlist-empty {
        padding: 48px 0;
    }
}

/* ═══════════════════════════════════════════
   COOKIE NOTICE
   ═══════════════════════════════════════════ */

.cookie-notice {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background: var(--elevated);
    border-top: 1px solid var(--border);
    box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.2);
    padding: 16px 0;
    animation: cookieSlideUp 0.4s ease-out;
}

.cookie-notice-inner {
    display: flex;
    align-items: center;
    gap: 24px;
}

.cookie-notice p {
    margin: 0;
    font-size: 13px;
    line-height: 1.6;
    color: var(--text-secondary);
    flex: 1;
}

.cookie-notice a {
    color: var(--accent);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.cookie-notice a:hover {
    color: var(--accent-hover);
}

.cookie-notice-btn {
    flex-shrink: 0;
    padding: 10px 28px;
    background: var(--accent);
    color: var(--btn-primary-text);
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
    white-space: nowrap;
}

.cookie-notice-btn:hover {
    background: var(--accent-hover);
}

@keyframes cookieSlideUp {
    from { transform: translateY(100%); }
    to   { transform: translateY(0); }
}

@media (max-width: 600px) {
    .cookie-notice-inner {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }

    .cookie-notice-btn {
        width: 100%;
    }
}


/* ═══════════════════════════════════════════
   ACCESSIBILITY
   ═══════════════════════════════════════════ */

/* ── Skip to content ── */
.skip-link {
    position: absolute;
    top: -100%;
    left: 16px;
    z-index: 10000;
    padding: 12px 24px;
    background: var(--accent);
    color: var(--btn-primary-text);
    font-weight: 700;
    font-size: 14px;
    border-radius: 0 0 8px 8px;
    text-decoration: none;
    transition: top 0.2s;
}

.skip-link:focus {
    top: 0;
}

/* ── Focus-visible ── */
:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

.header-btn:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

/* ── Reduced motion ── */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

