/* =========================
   PRODUCT LIST PAGE — v3
   Mobile-first · Modern · Clean
========================= */

/* ── Design tokens ───────────────────────────────── */
:root {
    --accent:        #C8780A;
    --accent-dark:   #9A5A06;
    --accent-light:  #FBF3E3;
    --danger:        #E53E3E;
    --text-primary:  #0F1117;
    --text-secondary:#52586A;
    --text-muted:    #9BA3AF;
    --border:        rgba(0,0,0,0.09);
    --border-focus:  rgba(200,120,10,0.4);
    --surface:       #fff;
    --bg:            #F4F6FA;
    --radius-sm:     8px;
    --radius-md:     14px;
    --radius-lg:     20px;
    --shadow-card:   0 2px 12px rgba(0,0,0,0.07);
    --shadow-lift:   0 8px 28px rgba(0,0,0,0.11);
    --ease:          cubic-bezier(.22,.68,0,1.2);
}

/* ── Page structure ───────────────────────────────── */
.woocommerce ul.products {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
    margin: 0;
    padding: 16px 16px 40px;
    box-sizing: border-box;
    list-style: none;
}

/* ── Top hero image ───────────────────────────────── */
.page-top-image {
    width: 100%;
    margin: 0;
    position: relative;
    overflow: hidden;
}

.page-top-image .top-image {
    width: 100%;
    height: 44vw;
    min-height: 160px;
    max-height: 340px;
    object-fit: cover;
    object-position: center 30%;
    display: block;
}

/* ── Page header section ──────────────────────────── */
.page-header-section {
    text-align: center;
    padding: 22px 20px 8px;
}

.page-title {
    font-size: clamp(20px, 5vw, 30px);
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--text-primary);
    margin: 0 0 6px;
}

.page-header p {
    font-size: 14px;
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.5;
}

/* ── Product card ─────────────────────────────────── */
li.custom-product-item {
    list-style: none;
    width: 100%;
    max-width: 560px; /* phone default — overridden in grid */
    margin: 0 auto;
    display: block;
    box-sizing: border-box;
}

li.custom-product-item .product-container {
    background: var(--surface);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-card);
    overflow: hidden;
    transition: box-shadow 0.25s ease;
    position: relative;
}

li.custom-product-item.expanded .product-container {
    box-shadow: var(--shadow-lift);
}

/* ── Card: top section (image + details) ────────── */
li.custom-product-item .top-section {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    min-height: 180px;
    position: relative;
}

/* ── Product image ───────────────────────────────── */
li.custom-product-item .product-image {
    width: 52%;
    flex-shrink: 0;
    position: relative;
    background: var(--bg);
    overflow: hidden;
    border-radius: var(--radius-lg) 0 0 var(--radius-lg);
}

li.custom-product-item .product-image img {
    position: absolute;
    inset: 0;
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    object-position: center !important;
    display: block;
    padding: 12px;
    box-sizing: border-box;
    transition: opacity 0.25s ease;
}

li.custom-product-item .product-image img.no-link {
    pointer-events: none;
}

/* Image swap with opacity crossfade */
li.custom-product-item .solfeno-img-edit    { opacity: 0; }
li.custom-product-item .solfeno-img-default { opacity: 1; }
li.custom-product-item.expanded .solfeno-img-default { opacity: 0; }
li.custom-product-item.expanded .solfeno-img-edit    { opacity: 1; }

/* ── Product details ─────────────────────────────── */
li.custom-product-item .product-details {
    flex: 1;
    padding: 18px 16px 16px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 10px;
    min-width: 0;
}

li.custom-product-item .product-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.01em;
    line-height: 1.25;
    margin: 0;
}

li.custom-product-item .product-price {
    font-size: 15px;
    font-weight: 600;
    color: var(--accent);
    display: block;
}

li.custom-product-item .product-price del {
    color: var(--text-muted);
    font-weight: 400;
    font-size: 13px;
    margin-right: 4px;
    text-decoration: line-through;
}

li.custom-product-item .product-price ins {
    text-decoration: none;
    color: var(--danger);
}

/* ── Edit / Cancel buttons ───────────────────────── */
li.custom-product-item .edit-button,
li.custom-product-item .cancel-button {
    width: 100%;
    padding: 11px 10px;
    border: none;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.01em;
    cursor: pointer;
    transition: background 0.18s ease, transform 0.12s;
    -webkit-tap-highlight-color: transparent;
}

li.custom-product-item .edit-button {
    background: var(--accent);
    color: #fff;
}

li.custom-product-item .edit-button:active {
    background: var(--accent-dark);
    transform: scale(0.97);
}

li.custom-product-item .cancel-button {
    background: #F0F2F6;
    color: var(--text-secondary);
}

li.custom-product-item .cancel-button:active {
    background: #E2E6EF;
    transform: scale(0.97);
}

/* ── Customization panel ─────────────────────────── */
li.custom-product-item .customization-section {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.38s cubic-bezier(.4,0,.2,1);
    background: var(--bg);
    border-top: 0px solid var(--border);
}

li.custom-product-item.expanded .customization-section {
    max-height: 700px;
    overflow: visible;
    border-top-width: 1px;
}

li.custom-product-item .customization-form {
    padding: 18px 16px 16px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    box-sizing: border-box;
    width: 100%;
}

/* ── Labels ──────────────────────────────────────── */
li.custom-product-item .upload-label,
li.custom-product-item .custom-text label {
    display: flex;
    align-items: baseline;
    gap: 4px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 6px;
}

li.custom-product-item .upload-label strong {
    font-weight: 600;
}

li.custom-product-item .upload-label .optional {
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 400;
}

li.custom-product-item .upload-label .optional em {
    font-style: normal;
}

li.custom-product-item .upload-label .required,
li.custom-product-item .custom-text label .required {
    color: var(--danger);
    font-size: 13px;
}

/* ── Field comment (shown below label, small + muted) ─ */
li.custom-product-item .field-comment {
    display: block;
    font-size: 12px;
    font-weight: 400;
    color: var(--text-muted);
    margin-top: 2px;
    line-height: 1.35;
    letter-spacing: 0;
}

/* ── Upload info ─────────────────────────────────── */
li.custom-product-item .upload-info {
    font-size: 11px;
    color: var(--text-muted);
    margin-bottom: 8px;
    line-height: 1.3;
}

/* ── Upload row ──────────────────────────────────── */
li.custom-product-item .upload-row {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* ── Preview SVG ─────────────────────────────────── */
li.custom-product-item .preview-svg {
    width: 52px;
    height: 52px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    background: #fff;
    display: block;
    overflow: hidden;
    flex-shrink: 0;
}

/* ── Upload button ───────────────────────────────── */
li.custom-product-item .upload-wrapper {
    flex-shrink: 0;
}

li.custom-product-item .upload-button {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    width: 60px;
    height: 52px;
    border: 1.5px dashed rgba(44,126,255,0.4);
    border-radius: var(--radius-sm);
    background: var(--accent-light);
    cursor: pointer;
    transition: border-color 0.18s, background 0.18s;
    -webkit-tap-highlight-color: transparent;
}

li.custom-product-item .upload-button:active {
    background: #D4E4FF;
    border-color: var(--accent);
}

li.custom-product-item .upload-button .upload-icon {
    width: 22px;
    height: 22px;
    background: url(https://solfeno.eu/wp-content/uploads/2025/04/Upload-Streamline-Outlined-Material-Symbols.png) center/22px no-repeat;
    opacity: 0.7;
}

li.custom-product-item .upload-button .upload-text {
    font-size: 10px;
    font-weight: 700;
    color: var(--accent);
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

/* ── Image controls (View / Replace / Delete) ────── */
li.custom-product-item .image-controls {
    display: flex;
    gap: 8px;
    margin-top: 10px;
}

li.custom-product-item .image-controls .edit-image,
li.custom-product-item .image-controls .replace-image,
li.custom-product-item .image-controls .delete-image {
    flex: 1;
    padding: 9px 0;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--surface);
    color: var(--text-secondary);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    text-align: center;
    transition: background 0.15s, border-color 0.15s, color 0.15s;
    -webkit-tap-highlight-color: transparent;
}

li.custom-product-item .image-controls .edit-image:active,
li.custom-product-item .image-controls .replace-image:active {
    background: var(--accent-light);
    border-color: var(--accent);
    color: var(--accent);
}

li.custom-product-item .image-controls .delete-image:active {
    background: #FFF0F0;
    border-color: var(--danger);
    color: var(--danger);
}

/* ── Text inputs ─────────────────────────────────── */
li.custom-product-item .customization-form input[type="text"] {
    width: 100%;
    padding: 12px 14px;
    font-size: 16px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--surface);
    color: var(--text-primary);
    box-sizing: border-box;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    -webkit-appearance: none;
}

li.custom-product-item .customization-form input[type="text"]:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--border-focus);
}

/* ── Char counter ────────────────────────────────── */
li.custom-product-item .char-counter {
    display: block;
    font-size: 11px;
    color: var(--text-muted);
    margin-top: 5px;
    letter-spacing: 0.01em;
}

/* ── Quantity + Add to cart row ──────────────────── */
li.custom-product-item .customization-form .quantity {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
}

li.custom-product-item .customization-form .quantity label {
    display: none;
}

li.custom-product-item .customization-form .quantity .quantity-controls {
    display: flex;
    align-items: center;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    overflow: hidden;
    background: var(--surface);
    flex-shrink: 0;
    height: 48px;
}

li.custom-product-item .customization-form .quantity .quantity-controls button {
    width: 40px;
    height: 100%;
    background: transparent;
    color: var(--text-secondary);
    border: none;
    font-size: 20px;
    font-weight: 400;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    transition: background 0.15s;
}

li.custom-product-item .customization-form .quantity .quantity-controls button:active {
    background: var(--bg);
}

li.custom-product-item .customization-form .quantity .quantity-controls input {
    width: 44px;
    height: 100%;
    text-align: center;
    border: none;
    border-left: 1.5px solid var(--border);
    border-right: 1.5px solid var(--border);
    background: var(--surface);
    color: var(--text-primary);
    font-size: 16px;
    font-weight: 600;
}

li.custom-product-item .customization-form .quantity .quantity-controls input[type=number] {
    -webkit-appearance: none;
    -moz-appearance: textfield;
    appearance: none;
}

li.custom-product-item .customization-form .quantity .add-to-cart {
    flex: 1;
    height: 48px;
    background: var(--accent);
    color: #fff;
    border: none;
    border-radius: var(--radius-sm);
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.01em;
    cursor: pointer;
    transition: background 0.18s ease, transform 0.12s;
    -webkit-tap-highlight-color: transparent;
    white-space: nowrap;
    display: flex;
    align-items: center;
    justify-content: center;
}

li.custom-product-item .customization-form .quantity .add-to-cart:active {
    background: var(--accent-dark);
    transform: scale(0.98);
}

/* ── Error state ─────────────────────────────────── */
li.custom-product-item .custom-image.error .preview-svg {
    border-color: var(--danger);
    box-shadow: 0 0 0 2px rgba(229,62,62,0.2);
}

/* ── Page footer ─────────────────────────────────── */
.site-footer {
    text-align: center;
    padding: 24px 20px 32px;
    margin-top: 8px;
    border-top: 1px solid var(--border);
}

.site-footer__links {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 6px 20px;
    margin-bottom: 10px;
}

.site-footer__links a {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.15s;
}

.site-footer__links a:hover {
    color: var(--accent);
}

.site-footer__copy,
.site-footer p {
    font-size: 12px;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.5;
}

.site-footer a {
    color: var(--text-muted);
    text-decoration: none;
}

/* ── Cart animations ─────────────────────────────── */
.sticky-header.is-highlight {
    animation: solfenoGlow 1200ms ease-out 1;
}

.sticky-header .header-link.is-bounce {
    animation: solfenoShake 600ms ease-out 1;
}

.sticky-header .cart-count.is-pulse {
    animation: solfenoPulse 650ms ease-out 1;
}

@keyframes solfenoGlow {
    0%   { box-shadow: none; }
    30%  { box-shadow: 0 0 0.75rem rgba(44,126,255,0.5); }
    100% { box-shadow: none; }
}

@keyframes solfenoShake {
    0%   { transform: translateX(0); }
    20%  { transform: translateX(-3px); }
    40%  { transform: translateX(3px); }
    60%  { transform: translateX(-2px); }
    80%  { transform: translateX(2px); }
    100% { transform: translateX(0); }
}

@keyframes solfenoPulse {
    0%   { transform: scale(1); }
    40%  { transform: scale(1.25); }
    100% { transform: scale(1); }
}

/* ── Cart nudge tooltip ──────────────────────────── */
.sticky-header .header-cart {
    position: relative;
}

.sticky-header .header-cart.solfeno-nudge::after {
    content: "View cart \2192\Aor keep browsing";
    white-space: pre;
    position: absolute;
    left: 0;
    top: 125%;
    padding: 7px 10px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.15;
    background: rgba(15,17,23,0.82);
    color: #fff;
    box-shadow: 0 6px 18px rgba(0,0,0,0.14);
    z-index: 9999;
    opacity: 0;
    transform: translateY(-5px);
    animation: solfenoNudgeIn 200ms ease-out forwards, solfenoArrowWiggle 900ms ease-in-out 1 250ms;
}

.sticky-header .header-cart.solfeno-nudge::before {
    content: "";
    position: absolute;
    left: 13px;
    top: calc(125% - 5px);
    width: 0;
    height: 0;
    border-left: 7px solid transparent;
    border-right: 7px solid transparent;
    border-bottom: 7px solid rgba(15,17,23,0.82);
    z-index: 9999;
    opacity: 0;
    transform: translateY(-5px);
    animation: solfenoNudgeIn 200ms ease-out forwards;
}

@keyframes solfenoNudgeIn {
    to { opacity: 1; transform: translateY(0); }
}

@keyframes solfenoArrowWiggle {
    0%,100% { transform: translateY(0); }
    25%,75%  { transform: translateX(2px); }
    50%      { transform: translateX(0); }
}

/* ── Reduced motion ──────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
    li.custom-product-item .product-container,
    li.custom-product-item .edit-button,
    li.custom-product-item .cancel-button,
    li.custom-product-item .add-to-cart,
    li.custom-product-item .customization-section,
    li.custom-product-item .product-image img {
        transition: none !important;
    }
    .sticky-header.is-highlight,
    .sticky-header .header-link.is-bounce,
    .sticky-header .cart-count.is-pulse,
    .sticky-header .header-cart.solfeno-nudge::after,
    .sticky-header .header-cart.solfeno-nudge::before {
        animation: none !important;
        opacity: 1;
        transform: none;
    }
}

/* ── Tablet: single column, slightly wider ──────── */
@media (min-width: 640px) {
    .woocommerce ul.products {
        padding: 24px 24px 60px;
        max-width: 640px;
        margin: 0 auto;
    }

    li.custom-product-item .top-section {
        min-height: 220px;
    }

    li.custom-product-item .product-title {
        font-size: 18px;
    }

    li.custom-product-item .product-details {
        padding: 22px 20px 20px;
    }
}

/* ── Desktop 2-column grid ──────────────────────── */
@media (min-width: 900px) {
    .woocommerce ul.products {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
        max-width: 1100px;
        width: 100%;
        padding: 32px 40px 80px;
        margin: 0 auto;
        box-sizing: border-box;
    }

    /* Card fills grid cell fully */
    li.custom-product-item {
        max-width: 100%;
        width: 100%;
        margin: 0;
    }

    li.custom-product-item .product-container {
        width: 100%;
    }

    li.custom-product-item .top-section {
        min-height: 200px;
    }

    /* Image takes less width on desktop so text has room */
    li.custom-product-item .product-image {
        width: 44%;
        flex-shrink: 0;
    }

    li.custom-product-item .product-title {
        font-size: 16px;
    }

    li.custom-product-item .product-details {
        padding: 18px 16px 16px;
    }

    li.custom-product-item .edit-button,
    li.custom-product-item .cancel-button {
        font-size: 13px;
    }
}

/* ── Desktop 3-column grid (very wide screens) ──── */
@media (min-width: 1400px) {
    .woocommerce ul.products {
        grid-template-columns: repeat(3, 1fr);
        max-width: 1400px;
        padding: 40px 60px 100px;
    }
}

/* ================================================
   SOLFENO HERO — CSS-only, no image required
   Customisable per page via WP post meta fields:
     solfeno_hero_eyebrow, solfeno_hero_title,
     solfeno_hero_sub, solfeno_hero_badge,
     solfeno_hero_stat1_n/l, solfeno_hero_stat2_n/l
================================================ */

.solfeno-hero {
    position: relative;
    overflow: hidden;
    height: 240px;
    background: #120802;
}

/* Warm light leak — top-right */
.solfeno-hero__leak {
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle,
        rgba(220,130,20,.28) 0%,
        rgba(180,80,10,.12) 40%,
        transparent 70%);
    top: -100px;
    right: -60px;
    animation: solfeno-leak 9s ease-in-out infinite;
    z-index: 1;
}

@keyframes solfeno-leak {
    0%,100% { transform: translate(0,0) scale(1); }
    50%      { transform: translate(-18px,22px) scale(1.06); }
}

/* Horizon glow — bottom centre */
.solfeno-hero__glow {
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    width: 340px;
    height: 120px;
    border-radius: 50%;
    background: radial-gradient(ellipse,
        rgba(200,100,10,.22) 0%,
        transparent 70%);
    z-index: 1;
}

/* Film-strip horizontal lines */
.solfeno-hero__lines {
    position: absolute;
    inset: 0;
    z-index: 2;
    background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 23px,
        rgba(255,255,255,.025) 23px,
        rgba(255,255,255,.025) 24px
    );
}

.solfeno-hero__content {
    position: relative;
    z-index: 4;
    padding: 26px 20px 22px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* Eyebrow */
.solfeno-hero__eyebrow {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: rgba(220,150,50,.85);
}

.solfeno-hero__eyebrow-line {
    display: inline-block;
    width: 20px;
    height: 1px;
    background: rgba(220,150,50,.5);
    flex-shrink: 0;
}

/* Title */
.solfeno-hero__title {
    font-size: clamp(28px, 8vw, 36px);
    font-weight: 900;
    line-height: 1.0;
    color: #fff;
    letter-spacing: -.04em;
    margin: 10px 0 0;
    text-shadow: 0 2px 20px rgba(0,0,0,.5);
}

.solfeno-hero__title em {
    font-style: normal;
    color: transparent;
    -webkit-text-stroke: 1.5px rgba(220,150,50,.85);
}

/* Sub text */
.solfeno-hero__sub {
    font-size: 13px;
    color: rgba(255,255,255,.5);
    line-height: 1.5;
    margin-top: 10px;
    max-width: 260px;
}

.solfeno-hero__sub strong {
    color: rgba(255,255,255,.85);
    font-weight: 600;
}

/* Bottom row: stats + badge */
.solfeno-hero__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.solfeno-hero__stats {
    display: flex;
    gap: 16px;
}

.solfeno-hero__stat {
    display: flex;
    flex-direction: column;
}

.solfeno-hero__stat-num {
    font-size: 17px;
    font-weight: 800;
    color: #E8A030;
    letter-spacing: -.02em;
    line-height: 1;
}

.solfeno-hero__stat-label {
    font-size: 9px;
    color: rgba(255,255,255,.4);
    text-transform: uppercase;
    letter-spacing: .08em;
    margin-top: 3px;
}

/* Live badge */
.solfeno-hero__badge {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(232,160,48,.12);
    border: 1px solid rgba(232,160,48,.3);
    font-size: 11px;
    font-weight: 700;
    color: #E8A030;
    white-space: nowrap;
}

.solfeno-hero__badge-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #E8A030;
    flex-shrink: 0;
    animation: solfeno-blink 2s infinite;
}

@keyframes solfeno-blink {
    0%,100% { opacity: 1; }
    50%      { opacity: .3; }
}

/* Remove old page-top-image / page-header-section styles
   (kept for backwards compat but hidden if hero present) */
.solfeno-hero ~ .page-top-image,
.solfeno-hero ~ .page-header-section { display: none; }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .solfeno-hero__leak { animation: none; }
    .solfeno-hero__badge-dot { animation: none; opacity: 1; }
}

/* ================================================
   DESKTOP OVERRIDES — hero + layout
================================================ */

/* Hero: taller on desktop, centered content with max-width */
@media (min-width: 900px) {
    .solfeno-hero {
        height: 320px;
    }

    .solfeno-hero__content {
        max-width: 1100px;
        margin: 0 auto;
        padding: 44px 48px 36px;
    }

    .solfeno-hero__title {
        font-size: 52px;
    }

    .solfeno-hero__sub {
        font-size: 15px;
        max-width: 400px;
    }

    .solfeno-hero__leak {
        width: 500px;
        height: 500px;
        top: -160px;
        right: -80px;
    }

    /* Page header text centered under hero */
    .page-header-section {
        max-width: 1100px;
        margin: 0 auto;
        padding: 28px 48px 12px;
        text-align: left;
    }

    /* Footer centered */
    .site-footer {
        max-width: 1100px;
        margin: 0 auto;
    }
}

@media (min-width: 1400px) {
    .solfeno-hero {
        height: 360px;
    }

    .solfeno-hero__content {
        max-width: 1400px;
        padding: 52px 64px 44px;
    }

    .solfeno-hero__title {
        font-size: 60px;
    }

    .page-header-section {
        max-width: 1400px;
        padding: 28px 64px 12px;
    }
}

/* ================================================
   PRIVACY POLICY / CONTENT PAGE
================================================ */

.solfeno-policy-header {
    justify-content: flex-start !important;
    display: flex !important;
}

.solfeno-policy-wrap {
    max-width: 760px;
    margin: 0 auto;
    padding: 32px 20px 60px;
}

/* WordPress the_content() output */
.solfeno-policy-content {
    color: var(--text-primary);
    line-height: 1.7;
    font-size: 15px;
}

.solfeno-policy-content h1 {
    font-size: clamp(24px, 5vw, 36px);
    font-weight: 900;
    letter-spacing: -0.03em;
    color: var(--text-primary);
    margin: 0 0 4px;
}

.solfeno-policy-content h2 {
    font-size: 20px;
    font-weight: 700;
    color: #C8780A;
    margin: 32px 0 8px;
    letter-spacing: -0.01em;
}

.solfeno-policy-content h3 {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 20px 0 6px;
}

.solfeno-policy-content p {
    margin: 0 0 12px;
    color: var(--text-secondary);
}

.solfeno-policy-content ul,
.solfeno-policy-content ol {
    margin: 0 0 14px 20px;
    padding: 0;
}

.solfeno-policy-content li {
    margin-bottom: 6px;
    color: var(--text-secondary);
}

.solfeno-policy-content strong {
    color: var(--text-primary);
    font-weight: 600;
}

.solfeno-policy-content a {
    color: #C8780A;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.solfeno-policy-content a:hover {
    color: #9A5A06;
}

/* Last updated line */
.solfeno-policy-content em {
    color: var(--text-muted);
    font-size: 13px;
}

/* Divider between sections */
.solfeno-policy-content hr {
    border: none;
    border-top: 1px solid rgba(200,120,10,0.2);
    margin: 28px 0;
}

/* Desktop */
@media (min-width: 900px) {
    .solfeno-policy-wrap {
        padding: 48px 40px 80px;
    }
}
