:root {
    --ed-bronze: #c9a46b;
    --ed-bronze-light: #f0d19b;
    --ed-bronze-dark: #8a6237;
    --ed-bg-dark: #0f0a08;
    --ed-panel: rgba(24, 17, 14, 0.72);
    --ed-panel-alt: rgba(36, 26, 20, 0.60);
    --ed-border: rgba(201, 164, 107, 0.16);
    --ed-shadow: 0 18px 50px rgba(0, 0, 0, 0.28);
    --ed-white: #ffffff;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background:
        radial-gradient(circle at 50% 18%, rgba(201,164,107,0.12), transparent 30%),
        linear-gradient(rgba(0,0,0,0.18), rgba(0,0,0,0.40)),
        url('../images/background/hero-bg.png') center center / cover fixed no-repeat;
    color: var(--ed-white);
}
body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(circle at 50% 30%, rgba(255,140,60,0.06), transparent 40%),
        radial-gradient(circle at 20% 80%, rgba(255,180,100,0.04), transparent 50%);
    z-index: 0;
}

.site-shell, .site-main, .epic-homepage { position: relative; z-index: 1; }
a { color: inherit; }
img { max-width: 100%; height: auto; }

.custom-logo {
    opacity: 0.7;
}


.footer-logo {
    opacity: 0.7;
}

.ed-container { width: min(1220px, calc(100% - 32px)); margin: 0 auto; }

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: linear-gradient(to bottom, rgba(0,0,0,0.38), rgba(0,0,0,0.02));
    backdrop-filter: blur(6px);
    border-bottom: 1px solid rgba(255,255,255,0.04);
    transition: transform 0.25s ease, background 0.25s ease;
}
.site-header.is-hidden { transform: translateY(-100%); }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 74px; gap: 24px; }
.brand-link, .brand-text, .primary-nav a, .menu-toggle { color: var(--ed-bronze-light) !important; text-decoration: none; }
.brand-text { font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase; }
.primary-nav .menu { display: flex; align-items: center; gap: 24px; list-style: none; margin: 0; padding: 0; }
.primary-nav a { font-weight: 600; opacity: 0.95; }
.primary-nav a:hover { color: var(--white) !important; }

.menu-toggle {
    display: none;
    background: none;
    border: 0;
    padding: 0;
    width: 44px;
    height: 44px;
    cursor: pointer;
}
.menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: #fff;
    margin: 5px auto;
    transition: transform 0.25s ease, opacity 0.25s ease;
}
.menu-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.is-open span:nth-child(2) { opacity: 0; }
.menu-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.ed-section {
    position: relative;
    padding: 96px 0;
    border-top: 1px solid rgba(255,255,255,0.03);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.02);
}
.ed-section:nth-of-type(even) { background: var(--ed-panel-alt); }

.ed-hero {
    position: relative;
    min-height: 94vh;
    display: flex;
    align-items: center;
    overflow: hidden;
   /* background:
        radial-gradient(circle at 50% 34%, rgba(201,164,107,0.18), rgba(0,0,0,0) 34%),
        linear-gradient(180deg, rgba(0,0,0,0.04) 0%, rgba(0,0,0,0.24) 100%),
        url('../images/background/bg-main-clean.png') center center / cover no-repeat;
    will-change: background-position, transform; */
}

.ed-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(10,8,6,0.35) 0%,
        rgba(10,8,6,0.15) 40%,
        rgba(10,8,6,0.25) 100%
    );
    pointer-events: none;
    z-index: 1;
}

.ed-hero__light {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 52% 38%, rgba(201, 164, 107, 0.20), transparent 51%);
    pointer-events: none;
    z-index: 2;
    animation: edLightPulse 6s ease-in-out infinite;
}

.ed-hero__content {
    position: relative;
    z-index: 5;
    max-width: 780px;
    padding: 0px 0 108px;
    animation: edHeroFadeUp 1s ease-out;
    will-change: transform;
}

.ed-hero__logo {
	opacity:0.7;
}

@keyframes edLightPulse {
    0%, 100% {
        opacity: 0.65;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.06);
    }
}

@keyframes edHeroFadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.ed-kicker {
    display:inline-block; margin-bottom:14px; letter-spacing:0.16em; text-transform:uppercase; font-size:12px; color:var(--ed-bronze); font-weight:700;
}
.ed-title, .ed-section-heading h2, .ed-final-cta h2, .product_title.ed-title-small {
    margin:0 0 18px; font-size: clamp(44px, 7vw, 88px); line-height:0.95; color:var(--ed-bronze-light);
    text-shadow: 0 2px 0 #5a3d21, 0 10px 30px rgba(0,0,0,0.42);
}
.ed-title-small { font-size: clamp(32px, 4vw, 52px) !important; }
.ed-subtitle,.ed-lead,.ed-section-heading p,.ed-product-card p,.ed-trust-card p,.ed-shop-preview__content p,.single-excerpt,.single-content { color: rgba(255,255,255,0.90); line-height:1.7; font-size:18px; }

.ed-hero__actions { display:flex; flex-wrap:wrap; gap:14px; margin-top:30px; }
.ed-button, .woocommerce a.button, .woocommerce button.button, .woocommerce input.button, .woocommerce #respond input#submit {
    display:inline-flex; align-items:center; justify-content:center; min-height:50px; padding:12px 24px; border-radius:999px;
    text-decoration:none; font-weight:700; letter-spacing:0.02em;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.ed-button:hover, .woocommerce a.button:hover, .woocommerce button.button:hover, .woocommerce input.button:hover { transform: translateY(-2px); }
.ed-button--primary, .woocommerce a.button, .woocommerce button.button, .woocommerce input.button, .woocommerce #respond input#submit {
    background: linear-gradient(145deg, #ddb679, #8a6237) !important; color:#111 !important;
    box-shadow: 0 12px 24px rgba(0,0,0,0.20), 0 0 0 1px rgba(255,255,255,0.06) inset;
    border: none !important;
}
.ed-button--primary:hover, .woocommerce a.button:hover, .woocommerce button.button:hover, .woocommerce input.button:hover {
    box-shadow: 0 14px 32px rgba(0,0,0,0.28), 0 0 22px rgba(201,164,107,0.24);
}
.ed-button--secondary,.ed-button--ghost {
    border:1px solid rgba(201,164,107,0.55); color:var(--ed-bronze-light); background:rgba(255,255,255,0.03); backdrop-filter: blur(6px);
}
.ed-button--secondary:hover,.ed-button--ghost:hover { background: rgba(201,164,107,0.10); color:#fff4db; }

.ed-section-heading { margin-bottom:36px; }
.ed-section-heading--center { text-align:center; max-width:760px; margin-inline:auto; margin-bottom:44px; }
.ed-section-heading h2,.ed-final-cta h2 { font-size: clamp(32px, 4vw, 54px); line-height:1.04; }

.ed-product-grid, ul.products {
    display:grid !important; grid-template-columns: repeat(3, minmax(0, 1fr)); gap:28px; list-style:none; padding:0; margin:0;
}
.ed-product-card, .woo-card {
    overflow:hidden; border-radius:24px;
    background: linear-gradient(180deg, rgba(42,30,24,0.86), rgba(15,11,9,0.95));
    border:1px solid rgba(201,164,107,0.18); box-shadow:0 22px 44px rgba(0,0,0,0.24);
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
    position:relative; animation: cardReveal 0.7s ease both; animation-delay: var(--card-delay, 0s);
}
.ed-product-card::before, .woo-card::before {
    content:""; position:absolute; inset:0; background: linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0)); pointer-events:none;
}
.ed-product-card:hover, .woo-card:hover {
    transform: translateY(-8px); border-color:rgba(201,164,107,0.40); box-shadow:0 28px 58px rgba(0,0,0,0.34);
    background: linear-gradient(180deg, rgba(54,38,30,0.90), rgba(16,12,10,0.96));
}
.ed-product-card__media { padding:28px 26px 10px; text-align:center; overflow:hidden; }
.ed-product-card__media img {
    display:inline-block; max-width:100%; max-height:500px; width:auto; height:auto; object-fit:contain;
    filter: drop-shadow(0 18px 24px rgba(0,0,0,0.34)); transition: transform 0.25s ease, filter 0.25s ease;
	margin-bottom: -130px;
	margin-top: -26px;
}
.ed-product-card:hover .ed-product-card__media img, .woo-card:hover .ed-product-card__media img {
    transform: translateY(-4px) scale(1.08); filter: drop-shadow(0 24px 34px rgba(0,0,0,0.40));
}
.ed-product-card__content { padding:0 24px 24px; }
.ed-product-card__eyebrow { display:inline-block; margin-bottom:8px; color:var(--ed-bronze); font-size:12px; text-transform:uppercase; letter-spacing:0.12em; font-weight:700; }
.ed-product-card h3, .woo-card h3 { margin:0 0 10px; color:#fff; font-size:28px; line-height:1.05; }
.ed-product-card h3 a, .woo-card h3 a { text-decoration:none; color:#fff; }
.ed-product-card p { min-height:120px; margin-bottom:18px; color:rgba(255,255,255,0.82); }
.woo-price, .price { color: var(--ed-bronze-light) !important; font-weight: 700; margin-bottom: 16px; }

.ed-compare-table-wrap { overflow-x:auto; border-radius:20px; box-shadow: var(--ed-shadow); }
.ed-compare-table { width:100%; border-collapse:collapse; background: rgba(20,14,12,0.94); border:1px solid rgba(201,164,107,0.16); }
.ed-compare-table th,.ed-compare-table td { padding:18px 20px; text-align:left; border-bottom:1px solid rgba(255,255,255,0.05); }
.ed-compare-table th { color:var(--ed-bronze-light); font-size:15px; background: rgba(201,164,107,0.08); }
.ed-compare-table td { color: rgba(255,255,255,0.84); }

.ed-shop-preview { display:grid; grid-template-columns:1.2fr 0.8fr; gap:28px; align-items:center; }
.ed-shop-preview__badges { display:grid; gap:16px; }
.ed-badge-card,.ed-trust-card {
    padding:24px; border-radius:20px; background: linear-gradient(180deg, rgba(38,27,22,0.88), rgba(18,14,12,0.96));
    border:1px solid rgba(201,164,107,0.15); box-shadow:0 14px 32px rgba(0,0,0,0.16);
}
.ed-badge-card strong,.ed-trust-card h3 { display:block; margin-bottom:8px; color:var(--ed-bronze-light); font-size:20px; }
.ed-badge-card span,.ed-trust-card p { color: rgba(255,255,255,0.82); }
.ed-trust-grid { display:grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap:22px; }
.ed-final-cta { text-align:center; max-width:840px; }
.ed-final-cta .ed-hero__actions { justify-content:center; }

.single-grid { display:grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items:start; }
.single-gallery, .single-summary, .single-content {
    padding: 24px; border-radius: 20px; background: linear-gradient(180deg, rgba(38,27,22,0.88), rgba(18,14,12,0.96));
    border: 1px solid rgba(201,164,107,0.15);
}
.single-content { margin-top: 24px; }

.site-footer { padding: 28px 0; background: rgba(0,0,0,0.35); border-top: 1px solid rgba(255,255,255,0.04); }
.footer-inner { text-align:center; color: rgba(255,255,255,0.8); }

@keyframes cardReveal {
    from { opacity: 0; transform: translateY(24px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 1100px) {
    .ed-product-grid, ul.products, .ed-trust-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
    .ed-shop-preview, .single-grid { grid-template-columns: 1fr; }
	.ed-product-card__media img{
		max-height: 700px;
		margin-bottom: -186px;
	}
}
@media (max-width: 860px) {
    .menu-toggle { display: inline-block; }
    .primary-nav {
        position: fixed;
        inset: 74px 16px auto 16px;
        background: rgba(18,14,12,0.96);
        border: 1px solid rgba(201,164,107,0.15);
        border-radius: 18px;
        padding: 14px 16px;
        transform: translateY(-20px);
        opacity: 0;
        visibility: hidden;
        transition: all 0.22s ease;
    }
    .primary-nav.is-open {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    .primary-nav .menu { flex-direction: column; align-items: flex-start; gap: 14px; }
}
@media (max-width: 700px) {
    .ed-section { padding: 72px 0; }
    .ed-product-grid, ul.products, .ed-trust-grid { grid-template-columns: 1fr; }
    .ed-title { font-size: 42px; }
    .ed-subtitle { font-size: 16px; }
    .ed-product-card p { min-height: auto; }
    .ed-compare-table th,.ed-compare-table td { padding: 14px; font-size: 14px; }
    .ed-hero__content { padding: 108px 0 86px; }
    .header-inner { min-height: 64px; }
    .primary-nav { inset-top: 64px; }
}
.screen-reader-text {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}


/* WooCommerce polish */
.woo-card .price,
.ed-product-price,
.woo-price {
    color: var(--ed-bronze-light);
    font-weight: 700;
    font-size: 1.15rem;
    margin: 14px 0;
}

.ed-card-short {
    min-height: 72px;
    color: rgba(255,255,255,0.82);
}

.ed-card-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.woo-card .button,
.ed-card-actions .button,
.ed-product-add-to-cart .single_add_to_cart_button,
.ed-shop-toolbar select {
    border-radius: 999px;
}

.woo-card .button,
.ed-card-actions .button,
.ed-product-add-to-cart .single_add_to_cart_button {
    border: 0;
    background: linear-gradient(145deg, #ddb679, #8a6237);
    color: #111;
    padding: 12px 18px;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 10px 20px rgba(0,0,0,0.18);
}

.woo-card .added_to_cart {
    color: var(--ed-bronze-light);
    font-size: 0.95rem;
}

.ed-shop-toolbar {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: center;
    margin: 0 0 28px;
    padding: 16px 18px;
    background: rgba(20,14,12,0.85);
    border: 1px solid rgba(201,164,107,0.16);
    border-radius: 18px;
    box-shadow: var(--ed-shadow);
}

.ed-shop-toolbar p {
    margin: 0;
}

.ed-shop-toolbar form {
    margin: 0;
}

.ed-shop-toolbar select,
.ed-product-summary select,
.ed-product-summary input.qty,
.ed-product-summary input[type="number"] {
    background: rgba(255,255,255,0.04);
    color: #fff;
    border: 1px solid rgba(201,164,107,0.25);
    padding: 12px 14px;
}

.ed-shop-page ul.products {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.ed-pagination {
    margin-top: 28px;
}

.ed-pagination .page-numbers {
    display: inline-flex;
    gap: 8px;
    flex-wrap: wrap;
}

.ed-pagination .page-numbers a,
.ed-pagination .page-numbers span {
    min-width: 42px;
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(201,164,107,0.16);
    color: #fff;
    text-decoration: none;
}

.ed-pagination .page-numbers .current {
    background: linear-gradient(145deg, #ddb679, #8a6237);
    color: #111;
}

.ed-product-page .woocommerce-notices-wrapper {
    margin-bottom: 22px;
}

.ed-product-hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 36px;
    align-items: start;
    margin-bottom: 36px;
}

.ed-product-gallery,
.ed-product-summary,
.ed-product-panel {
    background: linear-gradient(180deg, rgba(38,27,22,0.88), rgba(18,14,12,0.96));
    border: 1px solid rgba(201,164,107,0.16);
    border-radius: 24px;
    box-shadow: var(--ed-shadow);
}

.ed-product-gallery {
    padding: 24px;
}

.ed-product-gallery .woocommerce-product-gallery {
    margin: 0 !important;
}

.ed-product-gallery .flex-control-thumbs {
    margin-top: 18px !important;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
}

.ed-product-gallery .flex-control-thumbs li {
    list-style: none;
}

.ed-product-summary {
    padding: 28px;
}

.ed-title-small {
    margin: 0 0 10px;
    font-size: clamp(34px, 4vw, 52px);
    line-height: 1;
    color: var(--ed-bronze-light);
    text-shadow: 0 8px 28px rgba(0,0,0,0.22);
}

.ed-product-short p {
    margin: 0 0 16px;
    color: rgba(255,255,255,0.86);
    line-height: 1.7;
}

.ed-product-meta-badges {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin: 18px 0 22px;
}

.ed-meta-badge {
    padding: 14px 16px;
    border-radius: 18px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(201,164,107,0.14);
}

.ed-meta-badge strong {
    display: block;
    color: var(--ed-bronze-light);
    margin-bottom: 6px;
}

.ed-meta-badge span {
    color: rgba(255,255,255,0.82);
    font-size: 0.95rem;
}

.ed-product-add-to-cart form.cart {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
}

.ed-product-add-to-cart table.variations {
    width: 100%;
    margin-bottom: 14px;
    border-collapse: separate;
    border-spacing: 0 10px;
}

.ed-product-add-to-cart table.variations td,
.ed-product-add-to-cart table.variations th {
    padding: 0;
    color: #fff;
}

.ed-product-add-to-cart .quantity {
    margin-right: 0 !important;
}

.ed-product-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

.ed-product-trust__item {
    padding: 10px 14px;
    border-radius: 999px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(201,164,107,0.14);
    color: rgba(255,255,255,0.82);
    font-size: 0.94rem;
}

.ed-product-sections {
    display: grid;
    gap: 24px;
}

.ed-product-description,
.ed-product-description p,
.ed-product-description li {
    color: rgba(255,255,255,0.85);
    line-height: 1.8;
}

.ed-product-panel {
    padding: 28px;
}

.ed-product-grid-panels {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.ed-feature-list {
    margin: 12px 0 0;
    padding-left: 18px;
    color: rgba(255,255,255,0.84);
    line-height: 1.9;
}

.ed-product-panel--cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.woocommerce div.product p.price,
.woocommerce div.product span.price {
    color: var(--ed-bronze-light);
}

.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
    background: rgba(20,14,12,0.9);
    color: #fff;
    border-top-color: var(--ed-bronze);
    border-radius: 18px;
}

@media (max-width: 1024px) {
    .ed-shop-page ul.products {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .ed-product-hero,
    .ed-product-grid-panels {
        grid-template-columns: 1fr;
    }

    .ed-product-meta-badges {
        grid-template-columns: 1fr;
    }

    .ed-product-panel--cta {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 700px) {
    .ed-shop-page ul.products {
        grid-template-columns: 1fr;
    }

    .ed-shop-toolbar {
        flex-direction: column;
        align-items: stretch;
    }

    .ed-product-gallery,
    .ed-product-summary,
    .ed-product-panel {
        border-radius: 18px;
    }

    .ed-product-summary {
        padding: 22px;
    }
}

.ed-divider {
    text-align: center;
    margin: 34px 0 10px;
    opacity: 0.95;
	min-height: 100px;
}

.ed-divider img {
    max-width: 440px;
    width: 100%;
    height: auto;
    filter: drop-shadow(0 6px 18px rgba(0,0,0,0.20));
}

.ed-divider--skull {
    margin-top: 44px;
}

.ed-divider--skull img {
    max-width: 360px;
}


.ed-shop-grid {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.ed-shop-grid > li {
    margin: 0 !important;
    width: auto !important;
    float: none !important;
}

.ed-shop-card .ed-card-short {
    min-height: 72px;
    color: rgba(255,255,255,0.82);
}

.ed-card-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.ed-shop-card .button,
.ed-card-actions .button {
    border: 0;
    border-radius: 999px;
    background: linear-gradient(145deg, #ddb679, #8a6237);
    color: #111;
    padding: 12px 18px;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 10px 20px rgba(0,0,0,0.18);
}

.ed-shop-toolbar {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: center;
    margin: 0 0 28px;
    padding: 16px 18px;
    background: rgba(20,14,12,0.85);
    border: 1px solid rgba(201,164,107,0.16);
    border-radius: 18px;
    box-shadow: 0 18px 50px rgba(0,0,0,0.18);
}

.ed-shop-toolbar p,
.ed-shop-toolbar form {
    margin: 0;
}

.ed-shop-toolbar select {
    background: rgba(255,255,255,0.04);
    color: #fff;
    border: 1px solid rgba(201,164,107,0.25);
    padding: 12px 14px;
    border-radius: 999px;
}

.ed-pagination {
    margin-top: 28px;
}

@media (max-width: 1024px) {
    .ed-shop-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 700px) {
    .ed-shop-grid {
        grid-template-columns: 1fr;
    }

    .ed-shop-toolbar {
        flex-direction: column;
        align-items: stretch;
    }
}

.ed-global-bottom {
    position: relative;
    width: 100%;
    margin-top: 60px;
    display: flex;
    justify-content: center;
    pointer-events: none;
    z-index: 2;
}

.ed-global-bottom img {
    width: min(900px, 90%);
    height: auto;
    opacity: 0.95;

    /* Blend it nicely into background */
    mix-blend-mode: normal;

    /* Soft integration */
    filter:
        drop-shadow(0 -20px 40px rgba(0,0,0,0.6))
        brightness(1.05)
        contrast(1.05);
}



.ed-footer-cinematic {
    position: relative;
    overflow: hidden;
    padding: 120px 0 30px;
    background:
        linear-gradient(180deg, rgba(8,6,5,0.45) 0%, rgba(8,6,5,0.92) 30%, rgba(5,4,3,1) 100%);
    border-top: 1px solid rgba(201,164,107,0.08);
}

.ed-footer-cinematic__bg,
.ed-footer-cinematic__embers,
.ed-footer-cinematic__glow {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.ed-footer-cinematic__bg {
    background:
        radial-gradient(circle at 50% 0%, rgba(201,164,107,0.08), transparent 28%),
        linear-gradient(180deg, rgba(255,255,255,0.015), rgba(0,0,0,0));
    z-index: 1;
}

.ed-footer-cinematic__glow {
    background:
        radial-gradient(circle at 50% 75%, rgba(201,164,107,0.10), transparent 50%);
    z-index: 2;
    animation: edFooterGlow 7s ease-in-out infinite;
}

.ed-footer-cinematic__embers {
    z-index: 2;
    overflow: hidden;
}

.ed-footer-cinematic__embers::before,
.ed-footer-cinematic__embers::after {
    content: "";
    position: absolute;
    inset: -10%;
    background-image:
        radial-gradient(circle, rgba(255,180,90,0.8) 0 1px, transparent 2px),
        radial-gradient(circle, rgba(255,120,40,0.55) 0 1px, transparent 2px),
        radial-gradient(circle, rgba(255,220,160,0.35) 0 1px, transparent 2px);
    background-size: 200px 200px, 280px 280px, 360px 360px;
    background-position: 20% 80%, 70% 40%, 40% 60%;
}

.ed-footer-cinematic__embers::before {
    opacity: 0.12;
    animation: edFooterEmbers 18s linear infinite;
}

.ed-footer-cinematic__embers::after {
    opacity: 0.07;
    animation: edFooterEmbers 26s linear infinite reverse;
}

.ed-footer-cinematic__inner {
    position: relative;
    z-index: 5;
}

.ed-footer-cinematic__cta {
    max-width: 820px;
    margin: 0 auto;
    text-align: center;
    padding: 0 0 40px;
}

.ed-footer-cinematic__cta h2 {
    margin: 0 0 14px;
    font-size: clamp(34px, 4vw, 58px);
    line-height: 1.02;
    color: var(--ed-bronze-light);
    text-shadow: 0 6px 22px rgba(0,0,0,0.28);
}

.ed-footer-cinematic__cta p {
    max-width: 720px;
    margin: 0 auto;
    color: rgba(255,255,255,0.84);
    line-height: 1.75;
    font-size: 17px;
}

.ed-footer-cinematic__actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 26px;
}

.ed-footer-cinematic__meta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    align-items: start;
    margin-top: 10px;
    padding: 34px 0 28px;
    border-top: 1px solid rgba(201,164,107,0.10);
}

.ed-footer-brand__title {
    font-size: 28px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--ed-bronze-light);
    margin-bottom: 10px;
}

.ed-footer-brand p {
    margin: 0;
    color: rgba(255,255,255,0.75);
    line-height: 1.7;
}

.ed-footer-links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.ed-footer-links__col h3 {
    margin: 0 0 12px;
    color: var(--ed-bronze-light);
    font-size: 18px;
}

.ed-footer-links__col ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.ed-footer-links__col li + li {
    margin-top: 10px;
}

.ed-footer-links__col a {
    color: rgba(255,255,255,0.78);
    text-decoration: none;
    transition: color 0.2s ease, transform 0.2s ease;
}

.ed-footer-links__col a:hover {
    color: var(--ed-bronze-light);
}

.ed-footer-cinematic__ornament {
    display: flex;
    justify-content: center;
    margin: 26px 0 12px;
}

.ed-footer-cinematic__ornament img {
    width: min(760px, 92%);
    height: auto;
    opacity: 0.96;
    filter:
        drop-shadow(0 -16px 34px rgba(0,0,0,0.45))
        brightness(1.05)
        contrast(1.04);
}

.ed-footer-cinematic__bottom {
    text-align: center;
    padding-top: 18px;
}

.ed-footer-cinematic__bottom p {
    margin: 0;
    font-size: 14px;
    color: rgba(255,255,255,0.60);
}

@keyframes edFooterGlow {
    0%, 100% {
        opacity: 0.65;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.04);
    }
}

@keyframes edFooterEmbers {
    0% {
        transform: translateY(36px);
        opacity: 0;
    }
    20% {
        opacity: 0.14;
    }
    100% {
        transform: translateY(-56px);
        opacity: 0;
    }
}

@media (max-width: 900px) {
    .ed-footer-cinematic {
        padding: 90px 0 24px;
    }

    .ed-footer-cinematic__meta,
    .ed-footer-links {
        grid-template-columns: 1fr;
    }

    .ed-footer-cinematic__cta h2 {
        font-size: 36px;
    }
}

.ed-shop-grid > li,
.ed-shop-page ul.products > li.product {
    display: flex !important;
    flex-direction: column;
    height: 100%;
}

.ed-shop-card,
.woo-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.ed-shop-card .ed-card-actions,
.woo-card .ed-card-actions,
.woocommerce ul.products li.product .button {
    margin-top: auto;
}

.ed-shop-card .ed-card-short,
.woo-card .ed-card-short {
    min-height: 90px;
}

.woocommerce .ed-shop-page ul.products::before,
.woocommerce .ed-shop-page ul.products::after {
    content: none !important;
    display: none !important;
}

.woocommerce .ed-shop-page ul.products {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 28px !important;
}

.woocommerce .ed-shop-page ul.products li.product {
    float: none !important;
    clear: none !important;
    width: auto !important;
    margin: 0 !important;
}
.woocommerce ul.products li.product {
    float: none !important;
    clear: none !important;
    width: auto !important;
}


.ed-header-cart {
    position: relative;
    z-index: 120;
}

.ed-cart-trigger {
    min-width: 48px;
    height: 48px;
    padding: 0 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: 999px;
    background: rgba(20,14,12,0.76);
    border: 1px solid rgba(201,164,107,0.28);
    color: var(--ed-bronze-light);
    text-decoration: none;
    box-shadow: 0 12px 28px rgba(0,0,0,0.22);
}

.ed-cart-count {
    min-width: 22px;
    height: 22px;
    padding: 0 7px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: linear-gradient(145deg, #ddb679, #8a6237);
    color: #111;
    font-size: 12px;
    font-weight: 800;
}

.ed-mini-cart-panel {
    position: absolute;
    top: calc(100% + 14px);
    right: 0;
    width: min(360px, calc(100vw - 32px));
    padding: 18px;
    border-radius: 22px;
    background: linear-gradient(180deg, rgba(38,27,22,0.96), rgba(14,10,8,0.98));
    border: 1px solid rgba(201,164,107,0.22);
    box-shadow: 0 24px 60px rgba(0,0,0,0.42);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.22s ease;
}

.ed-header-cart:hover .ed-mini-cart-panel,
.ed-header-cart:focus-within .ed-mini-cart-panel {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.ed-mini-cart-panel ul.cart_list {
    max-height: 360px;
    overflow-y: auto;
    margin: 0 0 16px;
    padding: 0;
}

.ed-mini-cart-panel li {
    color: rgba(255,255,255,0.86);
    border-bottom: 1px solid rgba(201,164,107,0.12);
    padding: 10px 0 !important;
}

.ed-mini-cart-panel a {
    color: #fff;
    text-decoration: none;
}

.ed-mini-cart-panel .total {
    color: var(--ed-bronze-light);
    border-top: 1px solid rgba(201,164,107,0.18);
    padding-top: 14px;
}

.ed-mini-cart-panel .buttons {
    display: grid;
    gap: 10px;
}

.ed-mini-cart-panel .button {
    width: 100%;
}

@media (max-width: 860px) {
    .header-inner {
        gap: 12px;
    }

    .ed-header-cart {
        margin-left: auto;
    }

    .ed-mini-cart-panel {
        right: -54px;
    }
}
.ed-mini-cart-panel {
    overflow: visible;
}

.ed-mini-cart-panel ul.cart_list {
    max-height: none;
    overflow: visible;
}

.ed-mini-cart-panel li.mini_cart_item {
    display: grid;
    grid-template-columns: 72px 1fr;
    gap: 12px;
    align-items: start;
    padding: 12px 0 !important;
}

.ed-mini-cart-panel li.mini_cart_item img {
    width: 72px !important;
    height: 72px !important;
    object-fit: cover;
    border-radius: 12px;
    float: none !important;
    margin: 0 !important;
    grid-column: 1;
    grid-row: 1 / span 2;
}

.ed-mini-cart-panel li.mini_cart_item a:not(.remove) {
    display: contents;
}

.ed-mini-cart-panel li.mini_cart_item .remove {
    position: static !important;
    grid-column: 2;
    color: var(--ed-bronze-light) !important;
    background: transparent !important;
}

.ed-mini-cart-panel li.mini_cart_item .quantity {
    grid-column: 2;
    color: rgba(255,255,255,0.82);
    font-size: 14px;
}

.ed-mini-cart-panel .woocommerce-mini-cart__total {
    margin-top: 14px;
}

.ed-mini-cart-panel .woocommerce-mini-cart__buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.ed-mini-cart-panel li.mini_cart_item {
    display: flex !important;
    align-items: flex-start;
    gap: 14px;
    padding: 12px 0 !important;
    position: relative;
}

.ed-mini-cart-panel li.mini_cart_item img {
    width: 72px !important;
    height: 72px !important;
    min-width: 72px !important;
    object-fit: cover;
    border-radius: 12px;
    margin: 0 !important;
    float: none !important;
}

.ed-mini-cart-panel li.mini_cart_item > a:not(.remove) {
    display: block !important;
    flex: 1;
    line-height: 1.4;
    padding-right: 24px;
}

.ed-mini-cart-panel li.mini_cart_item .quantity {
    display: block;
    margin-top: 6px;
    color: rgba(255,255,255,.75);
}

.ed-mini-cart-panel li.mini_cart_item .remove {
    position: absolute !important;
    top: 10px;
    right: 0;
    width: 18px;
    height: 18px;
    line-height: 18px;
    text-align: center;
    color: var(--ed-bronze-light) !important;
}

.ed-mini-cart-panel .woocommerce-mini-cart__buttons {
    display: flex;
    gap: 12px;
}

.ed-mini-cart-panel .woocommerce-mini-cart__buttons a {
    background: linear-gradient(145deg, #ddb679, #8a6237) !important;
    color: #111 !important;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.20), 0 0 0 1px rgba(255, 255, 255, 0.06) inset;
    border: none !important;
		    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 12px 24px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 700;
    letter-spacing: 0.02em;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}


.ed-mini-cart-panel .woocommerce-mini-cart__buttons a:hover {
    color: #111 !important;
    transform: translateY(-2px);
    box-shadow: 0 14px 32px rgba(0,0,0,0.28);
}

.ed-product-card .ed-button--ghost,
.ed-hero__actions .ed-button--secondary {
    background: linear-gradient(145deg, #ddb679, #8a6237) !important;
    color: #111 !important;
    border: none !important;
    box-shadow: 0 10px 20px rgba(0,0,0,0.18);
}

.ed-product-card .ed-button--ghost:hover,
.ed-hero__actions .ed-button--secondary:hover {
    color: #111 !important;
    transform: translateY(-2px);
    box-shadow: 0 14px 32px rgba(0,0,0,0.28);
}
/* ---------------------------------------------------------
   Epic Dermis WooCommerce Cart + Checkout polish
   Semi-transparent frontpage-style panels and card sections
--------------------------------------------------------- */

.ed-page-main {
    position: relative;
    z-index: 1;
}

.ed-page-section {
    min-height: 62vh;
    padding-top: 96px;
}

.ed-page-panel,
.woocommerce-cart .woocommerce,
.woocommerce-checkout .woocommerce {
    position: relative;
    overflow: hidden;
    border-radius: 28px;
    background: linear-gradient(180deg, rgba(38,27,22,0.82), rgba(15,11,9,0.92));
    border: 1px solid rgba(201,164,107,0.18);
    box-shadow: 0 24px 60px rgba(0,0,0,0.34);
    backdrop-filter: blur(10px);
}

.ed-page-panel::before,
.woocommerce-cart .woocommerce::before,
.woocommerce-checkout .woocommerce::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(circle at 50% 0%, rgba(201,164,107,0.12), transparent 34%),
        linear-gradient(180deg, rgba(255,255,255,0.035), rgba(255,255,255,0));
    z-index: 0;
}

.ed-page-panel > *,
.woocommerce-cart .woocommerce > *,
.woocommerce-checkout .woocommerce > * {
    position: relative;
    z-index: 1;
}

.ed-page-panel {
    padding: clamp(24px, 4vw, 42px);
}

.ed-page-panel .ed-section-heading h1,
.woocommerce-cart .ed-page-panel .ed-section-heading h1,
.woocommerce-checkout .ed-page-panel .ed-section-heading h1 {
    margin: 0;
    font-size: clamp(36px, 5vw, 64px);
    line-height: 1;
    color: var(--ed-bronze-light);
    text-shadow: 0 6px 24px rgba(0,0,0,0.35);
}

.woocommerce-cart .woocommerce,
.woocommerce-checkout .woocommerce {
    padding: clamp(20px, 3vw, 34px);
}

.woocommerce-cart .woocommerce-notices-wrapper,
.woocommerce-checkout .woocommerce-notices-wrapper {
    margin-bottom: 20px;
}

.woocommerce-cart .woocommerce-message,
.woocommerce-cart .woocommerce-info,
.woocommerce-cart .woocommerce-error,
.woocommerce-checkout .woocommerce-message,
.woocommerce-checkout .woocommerce-info,
.woocommerce-checkout .woocommerce-error {
    background: rgba(15,10,8,0.72) !important;
    border: 1px solid rgba(201,164,107,0.22) !important;
    border-top: 1px solid rgba(201,164,107,0.45) !important;
    border-radius: 18px;
    color: rgba(255,255,255,0.88) !important;
    box-shadow: 0 14px 30px rgba(0,0,0,0.20);
}

.woocommerce-cart .woocommerce-message::before,
.woocommerce-cart .woocommerce-info::before,
.woocommerce-checkout .woocommerce-message::before,
.woocommerce-checkout .woocommerce-info::before {
    color: var(--ed-bronze-light) !important;
}

/* Cart layout */
.woocommerce-cart form.woocommerce-cart-form,
.woocommerce-cart .cart-collaterals .cart_totals,
.woocommerce-cart .cross-sells,
.woocommerce-checkout form.checkout .col2-set,
.woocommerce-checkout #order_review,
.woocommerce-checkout #order_review_heading,
.woocommerce-checkout .woocommerce-form-coupon,
.woocommerce-checkout .woocommerce-form-login {
    border-radius: 24px;
    background: linear-gradient(180deg, rgba(27,19,15,0.82), rgba(10,7,6,0.90));
    border: 1px solid rgba(201,164,107,0.16);
    box-shadow: 0 18px 44px rgba(0,0,0,0.24);
    backdrop-filter: blur(8px);
}

.woocommerce-cart form.woocommerce-cart-form,
.woocommerce-cart .cart-collaterals .cart_totals,
.woocommerce-cart .cross-sells {
    padding: clamp(18px, 3vw, 28px);
}

.woocommerce-cart .cart-collaterals {
    margin-top: 28px;
}

.woocommerce-cart .cart-collaterals::before,
.woocommerce-cart .cart-collaterals::after {
    content: none !important;
}

.woocommerce-cart .cart-collaterals .cart_totals {
    width: min(460px, 100%) !important;
    float: right !important;
}

.woocommerce-cart table.shop_table,
.woocommerce-checkout table.shop_table {
    border: 0 !important;
    border-collapse: separate !important;
    border-spacing: 0 12px !important;
    margin: 0 !important;
    background: transparent !important;
    color: rgba(255,255,255,0.86);
}

.woocommerce-cart table.shop_table th,
.woocommerce-checkout table.shop_table th {
    color: var(--ed-bronze-light);
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.10em;
    border: 0 !important;
    padding: 10px 14px !important;
}

.woocommerce-cart table.shop_table td,
.woocommerce-checkout table.shop_table td,
.woocommerce-cart table.shop_table tbody th,
.woocommerce-checkout table.shop_table tbody th,
.woocommerce-cart table.shop_table tfoot td,
.woocommerce-checkout table.shop_table tfoot td,
.woocommerce-cart table.shop_table tfoot th,
.woocommerce-checkout table.shop_table tfoot th {
    border: 0 !important;
    color: rgba(255,255,255,0.84);
    padding: 16px 14px !important;
}

.woocommerce-cart table.shop_table tbody tr.cart_item,
.woocommerce-checkout table.shop_table tbody tr.cart_item,
.woocommerce-checkout table.shop_table tfoot tr,
.woocommerce-cart .cart_totals table.shop_table tr {
    background: rgba(255,255,255,0.035);
    box-shadow: inset 0 0 0 1px rgba(201,164,107,0.10);
}

.woocommerce-cart table.shop_table tbody tr.cart_item td:first-child,
.woocommerce-checkout table.shop_table tbody tr.cart_item td:first-child,
.woocommerce-checkout table.shop_table tfoot tr th:first-child,
.woocommerce-cart .cart_totals table.shop_table tr th:first-child {
    border-radius: 16px 0 0 16px;
}

.woocommerce-cart table.shop_table tbody tr.cart_item td:last-child,
.woocommerce-checkout table.shop_table tbody tr.cart_item td:last-child,
.woocommerce-checkout table.shop_table tfoot tr td:last-child,
.woocommerce-cart .cart_totals table.shop_table tr td:last-child {
    border-radius: 0 16px 16px 0;
}

.woocommerce-cart .product-thumbnail img {
    width: 86px !important;
    height: 86px !important;
    object-fit: cover;
    border-radius: 16px;
    box-shadow: 0 12px 28px rgba(0,0,0,0.28);
}

.woocommerce-cart .product-name a,
.woocommerce-checkout .product-name {
    color: #fff !important;
    font-weight: 800;
    text-decoration: none;
}

.woocommerce-cart .product-name a:hover {
    color: var(--ed-bronze-light) !important;
}

.woocommerce-cart .variation,
.woocommerce-checkout .variation {
    margin-top: 7px;
    color: rgba(255,255,255,0.66);
    font-size: 0.94rem;
}

.woocommerce-cart .variation dt,
.woocommerce-cart .variation dd,
.woocommerce-checkout .variation dt,
.woocommerce-checkout .variation dd {
    display: inline;
    margin: 0;
}

.woocommerce-cart .product-remove a.remove {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    color: var(--ed-bronze-light) !important;
    background: rgba(201,164,107,0.08) !important;
    border: 1px solid rgba(201,164,107,0.20);
    font-weight: 400;
}

.woocommerce-cart .product-remove a.remove:hover {
    color: #111 !important;
    background: linear-gradient(145deg, #ddb679, #8a6237) !important;
}

.woocommerce-cart .quantity .qty,
.woocommerce-checkout .quantity .qty,
.woocommerce-cart input.qty {
    width: 84px;
    min-height: 44px;
    border-radius: 999px;
    background: rgba(255,255,255,0.04);
    color: #fff;
    border: 1px solid rgba(201,164,107,0.25);
    text-align: center;
    font-weight: 700;
}

.woocommerce-cart .coupon {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    align-items: center;
}

.woocommerce-cart .coupon input.input-text {
    min-width: min(260px, 100%);
}

.woocommerce-cart .actions {
    padding-top: 20px !important;
}

.woocommerce-cart .cart_totals h2,
.woocommerce-cart .cross-sells h2,
.woocommerce-checkout #order_review_heading,
.woocommerce-checkout h3,
.woocommerce-checkout .woocommerce-billing-fields h3,
.woocommerce-checkout .woocommerce-shipping-fields h3 {
    margin: 0 0 18px;
    color: var(--ed-bronze-light);
    font-size: clamp(24px, 3vw, 34px);
    line-height: 1.05;
    text-shadow: 0 6px 22px rgba(0,0,0,0.24);
}

.woocommerce-cart .wc-proceed-to-checkout {
    padding: 20px 0 0 !important;
}

/* Checkout layout */
.woocommerce-checkout form.checkout {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(340px, 0.9fr);
    gap: 28px;
    align-items: start;
}

.woocommerce-checkout form.checkout .col2-set {
    width: auto !important;
    float: none !important;
    padding: clamp(18px, 3vw, 28px);
    grid-column: 1;
}

.woocommerce-checkout form.checkout .col2-set::before,
.woocommerce-checkout form.checkout .col2-set::after {
    content: none !important;
}

.woocommerce-checkout form.checkout .col-1,
.woocommerce-checkout form.checkout .col-2 {
    width: 100% !important;
    float: none !important;
}

.woocommerce-checkout form.checkout .col-2 {
    margin-top: 24px;
}

.woocommerce-checkout #order_review_heading {
    grid-column: 2;
    padding: 24px 24px 0;
    margin: 0;
    border-radius: 24px 24px 0 0;
    border-bottom: 0;
}

.woocommerce-checkout #order_review {
    grid-column: 2;
    padding: 0 24px 24px;
    margin-top: -28px;
    border-radius: 0 0 24px 24px;
    position: sticky;
    top: 104px;
}

.woocommerce-checkout .form-row {
    margin-bottom: 16px !important;
}

.woocommerce-checkout label,
.woocommerce-cart label {
    color: rgba(255,255,255,0.86);
    font-weight: 700;
    margin-bottom: 7px;
}

.woocommerce-checkout input.input-text,
.woocommerce-checkout textarea,
.woocommerce-checkout select,
.woocommerce-cart input.input-text,
.woocommerce-cart select,
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select {
    min-height: 48px;
    border-radius: 16px;
    background: rgba(255,255,255,0.045) !important;
    color: #fff !important;
    border: 1px solid rgba(201,164,107,0.20) !important;
    padding: 12px 14px !important;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.035);
}

.woocommerce-checkout textarea,
.woocommerce form .form-row textarea {
    min-height: 120px;
}

.woocommerce-checkout input.input-text:focus,
.woocommerce-checkout textarea:focus,
.woocommerce-checkout select:focus,
.woocommerce-cart input.input-text:focus,
.woocommerce-cart select:focus {
    outline: none;
    border-color: rgba(201,164,107,0.55) !important;
    box-shadow: 0 0 0 3px rgba(201,164,107,0.12);
}

.woocommerce-checkout .select2-container .select2-selection--single {
    min-height: 48px;
    border-radius: 16px !important;
    background: rgba(255,255,255,0.045) !important;
    color: #fff !important;
    border: 1px solid rgba(201,164,107,0.20) !important;
}

.woocommerce-checkout .select2-container--default .select2-selection--single .select2-selection__rendered {
    color: #fff !important;
    line-height: 48px !important;
    padding-left: 14px;
}

.woocommerce-checkout .select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 48px !important;
}

.woocommerce-checkout #payment {
    border-radius: 22px;
    background: rgba(255,255,255,0.035) !important;
    border: 1px solid rgba(201,164,107,0.12);
}

.woocommerce-checkout #payment ul.payment_methods {
    border-bottom: 1px solid rgba(201,164,107,0.12) !important;
    padding: 18px !important;
}

.woocommerce-checkout #payment div.payment_box {
    border-radius: 16px;
    background: rgba(0,0,0,0.26) !important;
    color: rgba(255,255,255,0.80) !important;
}

.woocommerce-checkout #payment div.payment_box::before {
    border-bottom-color: rgba(0,0,0,0.26) !important;
}

.woocommerce-checkout #payment div.form-row {
    padding: 18px !important;
}

.woocommerce-privacy-policy-text,
.woocommerce-terms-and-conditions-wrapper,
.woocommerce-cart .cart_totals,
.woocommerce-checkout .woocommerce-additional-fields,
.woocommerce-checkout .woocommerce-account-fields {
    color: rgba(255,255,255,0.74);
    line-height: 1.7;
}

/* Buttons */
.woocommerce-cart .button,
.woocommerce-checkout .button,
.woocommerce-cart button.button,
.woocommerce-checkout button.button,
.woocommerce-cart a.checkout-button,
.woocommerce-checkout #place_order {
    min-height: 50px !important;
    padding: 12px 24px !important;
    border-radius: 999px !important;
    background: linear-gradient(145deg, #ddb679, #8a6237) !important;
    color: #111 !important;
    border: none !important;
    font-weight: 800 !important;
    letter-spacing: 0.02em;
    text-decoration: none !important;
    box-shadow: 0 12px 24px rgba(0,0,0,0.22), 0 0 0 1px rgba(255,255,255,0.06) inset;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.woocommerce-cart .button:hover,
.woocommerce-checkout .button:hover,
.woocommerce-cart button.button:hover,
.woocommerce-checkout button.button:hover,
.woocommerce-cart a.checkout-button:hover,
.woocommerce-checkout #place_order:hover {
    color: #111 !important;
    transform: translateY(-2px);
    box-shadow: 0 14px 32px rgba(0,0,0,0.30), 0 0 22px rgba(201,164,107,0.22);
}

.woocommerce-cart .button:disabled,
.woocommerce-cart .button:disabled[disabled],
.woocommerce-checkout .button:disabled,
.woocommerce-checkout .button:disabled[disabled] {
    opacity: 0.55 !important;
    color: #111 !important;
}

.woocommerce-checkout #place_order {
    width: 100%;
    margin-top: 12px;
}

.woocommerce a.restore-item,
.woocommerce-cart a,
.woocommerce-checkout a {
    color: var(--ed-bronze-light);
}

/* Empty cart */
.woocommerce-cart .cart-empty,
.woocommerce-cart .return-to-shop,
.woocommerce-checkout .woocommerce-form-coupon-toggle,
.woocommerce-checkout .woocommerce-form-login-toggle {
    border-radius: 22px;
    background: rgba(255,255,255,0.035);
    border: 1px solid rgba(201,164,107,0.14);
    padding: 22px;
    color: rgba(255,255,255,0.84);
}

.woocommerce-cart .return-to-shop {
    margin-top: 16px;
}

/* Mobile cart and checkout */
@media (max-width: 980px) {
    .woocommerce-checkout form.checkout {
        grid-template-columns: 1fr;
    }

    .woocommerce-checkout form.checkout .col2-set,
    .woocommerce-checkout #order_review_heading,
    .woocommerce-checkout #order_review {
        grid-column: 1;
    }

    .woocommerce-checkout #order_review {
        position: relative;
        top: auto;
        margin-top: -28px;
    }

    .woocommerce-cart .cart-collaterals .cart_totals {
        float: none !important;
        width: 100% !important;
    }
}

@media (max-width: 700px) {
    .ed-page-section {
        padding-top: 72px;
    }

    .ed-page-panel,
    .woocommerce-cart .woocommerce,
    .woocommerce-checkout .woocommerce {
        border-radius: 20px;
        padding: 18px;
    }

    .woocommerce-cart form.woocommerce-cart-form,
    .woocommerce-cart .cart-collaterals .cart_totals,
    .woocommerce-checkout form.checkout .col2-set,
    .woocommerce-checkout #order_review_heading,
    .woocommerce-checkout #order_review {
        border-radius: 18px;
        padding: 18px;
    }

    .woocommerce-cart table.cart thead {
        display: none;
    }

    .woocommerce-cart table.cart,
    .woocommerce-cart table.cart tbody,
    .woocommerce-cart table.cart tr.cart_item,
    .woocommerce-cart table.cart td {
        display: block;
        width: 100%;
    }

    .woocommerce-cart table.cart tr.cart_item {
        padding: 16px;
        margin-bottom: 14px;
        border-radius: 18px;
        background: rgba(255,255,255,0.035);
        box-shadow: inset 0 0 0 1px rgba(201,164,107,0.12);
    }

    .woocommerce-cart table.cart tr.cart_item td {
        padding: 8px 0 !important;
        text-align: left !important;
        border-radius: 0 !important;
        background: transparent !important;
        box-shadow: none !important;
    }

    .woocommerce-cart table.cart .product-remove {
        text-align: right !important;
    }

    .woocommerce-cart table.cart .product-thumbnail img {
        width: 100% !important;
        height: auto !important;
        max-height: 220px;
        object-fit: cover;
    }

    .woocommerce-cart table.cart td.actions {
        padding-top: 12px !important;
    }

    .woocommerce-cart .coupon {
        display: grid;
        grid-template-columns: 1fr;
    }

    .woocommerce-cart .coupon input.input-text,
    .woocommerce-cart .coupon .button,
    .woocommerce-cart table.cart td.actions .button {
        width: 100% !important;
    }
}


/* Epic Dermis Form Fields */
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="password"],
input[type="number"],
input[type="search"],
input[type="url"],
input[type="date"],
textarea,
select,
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select,
.select2-container--default .select2-selection--single,
.select2-container--default .select2-selection--multiple {
    background: #35180bba !important;
    color: #fff !important;
    border: 1px solid rgba(201,164,107,0.25) !important;
    border-radius: 14px !important;
    backdrop-filter: blur(6px);
}

/* Placeholder text */
input::placeholder,
textarea::placeholder {
    color: rgba(255,255,255,0.55) !important;
}

/* Focus state */
input:focus,
textarea:focus,
select:focus,
.woocommerce form .form-row input.input-text:focus,
.woocommerce form .form-row textarea:focus {
    background: #35180bba !important;
    border-color: var(--ed-bronze-light) !important;
    box-shadow: 0 0 0 2px rgba(201,164,107,0.15) !important;
    outline: none !important;
}

/* Select2 (WooCommerce country/state fields) */
.select2-dropdown {
    background: #35180bfa !important;
    border: 1px solid rgba(201,164,107,0.25) !important;
}

.select2-results__option {
    background: #35180bfa !important;
    color: #fff !important;
}

.select2-results__option--highlighted {
    background: rgba(201,164,107,0.25) !important;
}

input,
textarea,
select {
    padding: 12px 16px !important;
}

/* Checkout select/dropdowns */
.wc-block-components-select .wc-block-components-select__container,
.wc-block-components-combobox .wc-block-components-combobox-control input,
.wc-block-components-text-input input {
    background: #35180bba !important;
    border: 1px solid rgba(201,164,107,.35) !important;
    border-radius: 14px !important;
    color: #fff !important;
}

.wc-block-components-select label,
.wc-block-components-text-input label {
    color: rgba(255,255,255,.78) !important;
}

/* Checkbox */
.wc-block-components-checkbox .wc-block-components-checkbox__input {
    width: 34px !important;
    height: 34px !important;
    background: #35180bba !important;
    border: 1px solid rgba(201,164,107,.55) !important;
    border-radius: 6px !important;
}

.wc-block-components-checkbox .wc-block-components-checkbox__input:checked {
    background: linear-gradient(145deg, #ddb679, #8a6237) !important;
    border-color: #ddb679 !important;
}

/* Place order button */
.wc-block-components-checkout-place-order-button,
.wc-block-components-button,
button[type="submit"],
.wp-block-woocommerce-checkout button {
    min-height: 54px !important;
    padding: 14px 28px !important;
    border-radius: 999px !important;
    background: linear-gradient(145deg, #ddb679, #8a6237) !important;
    color: #111 !important;
    border: 0 !important;
    font-weight: 800 !important;
    box-shadow: 0 12px 24px rgba(0,0,0,.22) !important;
}

.wc-block-components-checkout-place-order-button:hover,
.wc-block-components-button:hover,
button[type="submit"]:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 34px rgba(0,0,0,.32) !important;
}



/* Dropdown menu list */
.components-popover,
.wc-block-components-combobox-control__suggestions-container, .wc-blocks-components-select__container {
    background: #35180bfa !important;
    color: #fff !important;
}

.wc-block-components-combobox-control__suggestions-container li {
    background: #35180bfa !important;
    color: #fff !important;
}

.wc-block-components-combobox-control__suggestions-container li:hover {
    background: rgba(201,164,107,.25) !important;
}

.wc-block-components-form .wc-block-components-text-input input[type=email], .wc-block-components-form .wc-block-components-text-input input[type=number], .wc-block-components-form .wc-block-components-text-input input[type=password], .wc-block-components-form .wc-block-components-text-input input[type=tel], .wc-block-components-form .wc-block-components-text-input input[type=text], .wc-block-components-form .wc-block-components-text-input input[type=url], .wc-block-components-text-input input[type=email], .wc-block-components-text-input input[type=number], .wc-block-components-text-input input[type=password], .wc-block-components-text-input input[type=tel], .wc-block-components-text-input input[type=text], .wc-block-components-text-input input[type=url], .wc-blocks-components-select__select {
	height: 70px !important;
}

.woocommerce .quantity .qty {
    width: 75px;
    height: 70px;
    text-align: center;
}


/* Hide browser arrows */
input.qty::-webkit-inner-spin-button,
input.qty::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input.qty {
    -moz-appearance: textfield;
}

.woocommerce .quantity {
    display: flex;
    align-items: center;
    gap: 8px;
		margin-bottom: 20px;
}

.woocommerce .quantity .qty {
    width: 60px !important;
    height: 48px !important;
    text-align: center;
    background: #35180bba !important;
    border: 1px solid rgba(201,164,107,.35);
    border-radius: 12px;
    color: #fff;
    font-weight: 700;
}

.qty-minus,
.qty-plus {
    width: 48px;
    height: 48px;
    border: 1px solid rgba(201,164,107,.35);
    border-radius: 12px;
    background: #35180bba;
    color: var(--ed-bronze-light);
    font-size: 24px;
    font-weight: 700;
    cursor: pointer;
    transition: all .2s ease;
}

.qty-minus:hover,
.qty-plus:hover {
    background: linear-gradient(145deg, #ddb679, #8a6237);
    color: #111;
}


/* Epic Dermis product image lightbox */
.ed-product-gallery a,
.ed-product-gallery img {
    cursor: zoom-in;
}

.ed-lightbox-open {
    overflow: hidden;
}

.ed-lightbox {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 28px;
    background: rgba(5, 3, 2, 0.86);
    backdrop-filter: blur(10px);
    opacity: 0;
    visibility: hidden;
    transition: opacity .22s ease, visibility .22s ease;
}

.ed-lightbox.is-open {
    opacity: 1;
    visibility: visible;
}

.ed-lightbox__stage {
    max-width: min(980px, 92vw);
    max-height: 88vh;
    padding: 18px;
    border-radius: 26px;
    background: linear-gradient(180deg, rgba(38,27,22,.92), rgba(14,10,8,.98));
    border: 1px solid rgba(201,164,107,.24);
    box-shadow: 0 28px 80px rgba(0,0,0,.62);
}

.ed-lightbox__img {
    display: block;
    width: auto;
    max-width: 100%;
    max-height: calc(88vh - 36px);
    object-fit: contain;
    border-radius: 18px;
}

.ed-lightbox__close,
.ed-lightbox__nav {
    position: fixed;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(201,164,107,.38);
    background: #35180bba;
    color: var(--ed-bronze-light);
    cursor: pointer;
    box-shadow: 0 14px 34px rgba(0,0,0,.32);
    transition: transform .2s ease, background .2s ease, color .2s ease;
}

.ed-lightbox__close:hover,
.ed-lightbox__nav:hover {
    transform: translateY(-2px);
    background: linear-gradient(145deg, #ddb679, #8a6237);
    color: #111;
}

.ed-lightbox__close {
    top: 22px;
    right: 22px;
    width: 48px;
    height: 48px;
    border-radius: 999px;
    font-size: 34px;
    line-height: 1;
}

.ed-lightbox__nav {
    top: 50%;
    width: 54px;
    height: 72px;
    margin-top: -36px;
    border-radius: 18px;
    font-size: 50px;
    line-height: 1;
}

.ed-lightbox__nav--prev { left: 22px; }
.ed-lightbox__nav--next { right: 22px; }

@media (max-width: 700px) {
    .ed-lightbox {
        padding: 14px;
    }

    .ed-lightbox__stage {
        padding: 10px;
        max-width: 94vw;
    }

    .ed-lightbox__close {
        top: 12px;
        right: 12px;
        width: 42px;
        height: 42px;
        font-size: 30px;
    }

    .ed-lightbox__nav {
        width: 42px;
        height: 58px;
        font-size: 38px;
        border-radius: 14px;
    }

    .ed-lightbox__nav--prev { left: 10px; }
    .ed-lightbox__nav--next { right: 10px; }
}

/* === Epic Dermis Phase 2 premium pass === */
html,
body {
    max-width: 100%;
    overflow-x: hidden;
}

.site-shell,
.site-main,
.ed-section,
.ed-container,
.ed-footer-cinematic,
.ed-product-hero,
.ed-shop-preview,
.ed-trust-grid,
.ed-product-grid,
.ed-shop-grid,
ul.products {
    max-width: 100%;
}

body.ed-no-sticky-header-desktop .site-header {
    position: relative;
}

body.ed-no-sticky-header-desktop .site-header.is-hidden {
    transform: none;
}

body.ed-sticky-header-desktop .site-header {
    position: sticky;
    top: 0;
}

@media (max-width: 860px) {
    body {
        background-attachment: scroll;
    }

    body.ed-no-sticky-header-mobile .site-header {
        position: relative;
    }

    body.ed-no-sticky-header-mobile .site-header.is-hidden {
        transform: none;
    }

    body.ed-sticky-header-mobile .site-header {
        position: sticky;
        top: 0;
    }

    .site-header,
    .header-inner,
    .primary-nav,
    .ed-header-cart,
    .ed-mini-cart-panel {
        max-width: 100vw;
    }

    .primary-nav {
        left: 16px;
        right: 16px;
        width: auto;
        inset: 74px 16px auto 16px;
    }

    .ed-container {
        width: min(100% - 24px, 1220px);
    }

    .ed-product-card__media img {
        max-width: 100%;
    }
}

.current-menu-item > a,
.current_page_item > a,
.primary-nav .current-menu-item > a,
.primary-nav .current_page_item > a {
    color: var(--ed-bronze-light) !important;
    text-shadow: 0 0 14px rgba(201,164,107,.55);
}

.ed-reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity .55s ease, transform .55s ease;
}

.ed-reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.ed-product-card,
.woo-card,
.ed-shop-card,
.ed-product-panel,
.ed-product-gallery,
.ed-product-summary,
.ed-cart-checkout-card,
.woocommerce-cart-form,
.cart_totals,
.woocommerce-checkout-review-order {
    backdrop-filter: blur(8px);
}

.ed-product-card:hover,
.woo-card:hover,
.ed-shop-card:hover {
    box-shadow: 0 30px 70px rgba(0,0,0,.38), 0 0 0 1px rgba(201,164,107,.18) inset;
}

/* Premium cart drawer */
.ed-lock-scroll {
    overflow: hidden;
}

.ed-cart-backdrop {
    position: fixed;
    inset: 0;
    z-index: 998;
    border: 0;
    background: rgba(4,3,2,.58);
    backdrop-filter: blur(7px);
    opacity: 0;
    visibility: hidden;
    transition: opacity .24s ease, visibility .24s ease;
    cursor: default;
}

body.ed-cart-open .ed-cart-backdrop {
    opacity: 1;
    visibility: visible;
}

.ed-header-cart .ed-mini-cart-panel {
    position: fixed !important;
    top: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    left: auto !important;
    width: min(430px, 94vw) !important;
    max-width: 94vw;
    height: 100vh;
    padding: 28px 22px 22px !important;
    border-radius: 26px 0 0 26px !important;
    z-index: 999 !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateX(105%) !important;
    overflow-y: auto !important;
    transition: transform .28s ease !important;
}

body.ed-cart-open .ed-header-cart .ed-mini-cart-panel {
    transform: translateX(0) !important;
}

.ed-header-cart:hover .ed-mini-cart-panel,
.ed-header-cart:focus-within .ed-mini-cart-panel {
    transform: translateX(105%) !important;
}

body.ed-cart-open .ed-header-cart:hover .ed-mini-cart-panel,
body.ed-cart-open .ed-header-cart:focus-within .ed-mini-cart-panel {
    transform: translateX(0) !important;
}

.ed-cart-drawer-title {
    margin: 0 54px 18px 0;
    color: var(--ed-bronze-light);
    font-size: 28px;
    line-height: 1;
}

.ed-cart-drawer-close {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 40px;
    height: 40px;
    border-radius: 999px;
    border: 1px solid rgba(201,164,107,.35);
    background: #35180bba;
    color: var(--ed-bronze-light);
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
}

.ed-cart-drawer-close:hover {
    background: linear-gradient(145deg, #ddb679, #8a6237);
    color: #111;
}

.ed-mini-cart-panel .woocommerce-mini-cart__empty-message {
    padding: 28px 0;
    color: rgba(255,255,255,.78);
    line-height: 1.65;
}

.ed-mini-cart-panel .woocommerce-mini-cart__total {
    margin: 18px 0 14px;
    color: var(--ed-bronze-light);
}

.ed-mini-cart-panel .woocommerce-mini-cart__buttons {
    display: grid !important;
    grid-template-columns: 1fr;
    gap: 10px;
}

.ed-mini-cart-panel .woocommerce-mini-cart__buttons .button {
    width: 100%;
    justify-content: center;
}

/* Free shipping bar */
.ed-free-shipping {
    margin: 14px 0 18px;
    padding: 14px;
    border-radius: 18px;
    background: rgba(255,255,255,.035);
    border: 1px solid rgba(201,164,107,.15);
}

.ed-free-shipping__text {
    margin-bottom: 10px;
    color: rgba(255,255,255,.82);
    font-size: 14px;
    line-height: 1.35;
}

.ed-free-shipping__track {
    height: 10px;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(255,255,255,.08);
}

.ed-free-shipping__track span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(145deg, #ddb679, #8a6237);
    box-shadow: 0 0 18px rgba(201,164,107,.42);
}

/* Product page trust strip + related products */
.ed-product-trust-strip {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin: 18px 0 0;
}

.ed-product-trust-strip span {
    padding: 11px 12px;
    border-radius: 999px;
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(201,164,107,.14);
    color: rgba(255,255,255,.84);
    font-size: 14px;
    text-align: center;
}

.ed-related-products-panel {
    overflow: hidden;
}

.ed-related-products.products {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
}

/* Mobile sticky add-to-cart jump bar */
.ed-mobile-sticky-cart {
    display: none;
}

@media (max-width: 760px) {
    .single-product .ed-mobile-sticky-cart {
        position: fixed;
        left: 10px;
        right: 10px;
        bottom: 10px;
        z-index: 96;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        padding: 12px;
        border-radius: 22px;
        background: linear-gradient(180deg, rgba(38,27,22,.96), rgba(14,10,8,.98));
        border: 1px solid rgba(201,164,107,.22);
        box-shadow: 0 20px 54px rgba(0,0,0,.52);
        backdrop-filter: blur(10px);
    }

    .single-product .ed-mobile-sticky-cart__info {
        min-width: 0;
    }

    .single-product .ed-mobile-sticky-cart__info strong,
    .single-product .ed-mobile-sticky-cart__info span {
        display: block;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .single-product .ed-mobile-sticky-cart__info strong {
        color: #fff;
        font-size: 14px;
    }

    .single-product .ed-mobile-sticky-cart__info span {
        color: var(--ed-bronze-light);
        font-size: 13px;
    }

    .single-product .ed-mobile-sticky-cart .ed-button {
        min-height: 44px;
        padding: 10px 16px !important;
        white-space: nowrap;
    }

    .single-product {
        padding-bottom: 84px;
    }
}

/* Checkout/payment polish */
.wc-block-components-radio-control,
.wc-block-components-checkout-step__container,
.wc-block-components-order-summary,
.wp-block-woocommerce-checkout-order-summary-block,
.woocommerce-checkout .woocommerce-checkout-review-order,
.woocommerce-checkout form.checkout,
.woocommerce-cart .cart_totals,
.woocommerce-cart .woocommerce-cart-form {
    background: linear-gradient(180deg, rgba(38,27,22,.82), rgba(18,14,12,.94));
    border: 1px solid rgba(201,164,107,.16);
    border-radius: 24px;
    box-shadow: var(--ed-shadow);
}

.wc-block-components-checkout-step__container,
.wc-block-components-order-summary,
.wp-block-woocommerce-checkout-order-summary-block {
    padding: 18px !important;
}

@media (min-width: 900px) {
    .wp-block-woocommerce-checkout-order-summary-block,
    .woocommerce-checkout-review-order {
        position: sticky;
        top: 96px;
    }
}

.wc-block-components-radio-control__option,
.wc-block-components-payment-method-label,
.wc-block-components-checkbox__label,
.wc-block-components-address-card,
.wc-block-components-totals-item,
.wc-block-components-order-summary-item {
    color: rgba(255,255,255,.84) !important;
}

/* Mobile overflow hardening */
@media (max-width: 700px) {
    .ed-product-grid,
    .ed-shop-grid,
    ul.products,
    .ed-trust-grid,
    .ed-shop-preview,
    .single-grid,
    .ed-product-hero,
    .ed-product-grid-panels,
    .ed-footer-cinematic__meta,
    .ed-footer-links {
        grid-template-columns: 1fr !important;
    }

    .ed-product-add-to-cart form.cart,
    .ed-card-actions,
    .ed-hero__actions,
    .ed-footer-cinematic__actions,
    .ed-product-panel--cta {
        max-width: 100%;
    }

    .ed-product-add-to-cart table.variations,
    .woocommerce div.product form.cart table.variations,
    .ed-compare-table {
        width: 100% !important;
    }

    .ed-compare-table-wrap {
        max-width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .ed-product-trust-strip {
        grid-template-columns: 1fr;
    }

    .ed-footer-cinematic,
    .ed-section {
        overflow: hidden;
    }

    .ed-lightbox__nav--prev { left: 6px; }
    .ed-lightbox__nav--next { right: 6px; }
}

/* Epic Dermis cart drawer stacking-context fix
   Drawer/backdrop are body-level elements so the blurred sticky header cannot trap z-index. */
.ed-cart-backdrop {
    position: fixed !important;
    inset: 0 !important;
    z-index: 2147483000 !important;
    border: 0 !important;
    background: rgba(4,3,2,.58) !important;
    backdrop-filter: blur(7px) !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
}

body.ed-cart-open .ed-cart-backdrop {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
}

body > .ed-mini-cart-panel.ed-cart-drawer-panel {
    position: fixed !important;
    top: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    left: auto !important;
    width: min(430px, 94vw) !important;
    max-width: 94vw !important;
    height: 100dvh !important;
    padding: 28px 22px 22px !important;
    border-radius: 26px 0 0 26px !important;
    z-index: 2147483001 !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateX(105%) !important;
    overflow-y: auto !important;
    transition: transform .28s ease !important;
    pointer-events: auto !important;
}

body.ed-cart-open > .ed-mini-cart-panel.ed-cart-drawer-panel {
    transform: translateX(0) !important;
}

body:not(.ed-cart-open) > .ed-mini-cart-panel.ed-cart-drawer-panel {
    pointer-events: none !important;
}
/* Re-center header + hero after drawer patch */
.header-inner,
.ed-hero__content {
    width: min(1220px, calc(100% - 32px));
    margin-left: auto !important;
    margin-right: auto !important;
}

.ed-hero {
    display: flex;
    justify-content: center;
    align-items: center;
}

.ed-hero__content {
    text-align: center;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.ed-hero__actions {
    justify-content: center;
}

.ed-hero__logo {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

/* Header layout */
.header-inner {
    display: grid !important;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
}

.site-branding {
    justify-self: start;
}

.primary-nav {
    justify-self: center;
}

.ed-header-cart {
    justify-self: end;
}