/* I font Google sono caricati via <link> nell'HTML (con preconnect): niente @import bloccante qui. */

:root {
    --bg-color: #121212;
    --text-primary: #F5F5F5;
    --text-secondary: #AAAAAA;
    --accent-color: #D4AF37;
    --overlay-color: rgba(0, 0, 0, 0.95);

    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;

    --font-heading: 'Playfair Display', serif;
    --font-body: 'Montserrat', sans-serif;

    --header-height: 70px;
    --border-radius-card: 12px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

img {
    max-width: 100%;
    height: auto;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: var(--spacing-xs);
    color: var(--text-primary);
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
    color: var(--accent-color);
}

p {
    color: var(--text-secondary);
    margin-bottom: var(--spacing-sm);
}

a {
    text-decoration: none;
    color: inherit;
    transition: opacity 0.3s ease;
}

.container {
    width: 100%;
    padding: 0 var(--spacing-sm);
    max-width: 1200px;
    margin: 0 auto;
}

.text-center {
    text-align: center;
}

.flex {
    display: flex;
}

.flex-col {
    flex-direction: column;
}

.items-center {
    align-items: center;
}

.justify-center {
    justify-content: center;
}

.gap-sm {
    gap: var(--spacing-sm);
}

.gap-md {
    gap: var(--spacing-md);
}

.btn {
    display: inline-block;
    padding: 12px 24px;
    border: 1px solid var(--accent-color);
    background-color: transparent;
    color: var(--accent-color);
    font-family: var(--font-body);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 4px;
}

.btn-primary {
    background-color: var(--accent-color);
    color: var(--bg-color);
    font-weight: 600;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.2);
}

.btn-outline {
    border-color: var(--text-primary);
    color: var(--text-primary);
}

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background-color: rgba(18, 18, 18, 0.9);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 var(--spacing-sm);
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.logo {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5rem;
    font-weight: 500;
    letter-spacing: 2px;
    color: var(--text-primary);
    z-index: 1002;
    text-transform: uppercase;
}

/* Navigazione desktop sempre visibile (crawlabilità + sitelink) */
.main-nav {
    display: none;
}

.main-nav ul {
    display: flex;
    gap: 1.75rem;
    list-style: none;
}

.main-nav a {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-primary);
}

.main-nav a:hover {
    color: var(--accent-color);
}

@media (min-width: 900px) {
    .main-nav {
        display: block;
    }

    .hamburger {
        display: none;
    }
}

/* Breadcrumb */
.breadcrumb {
    padding: 85px 0 0;
    font-size: 0.85rem;
}

.breadcrumb ol {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    color: var(--text-secondary);
}

.breadcrumb li+li::before {
    content: "›";
    margin-right: 0.4rem;
    color: var(--text-secondary);
}

.breadcrumb a {
    color: var(--accent-color);
}

/* FAQ */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* ===== Recensioni Google ===== */
.reviews-section {
    padding: 4.5rem 0;
    background: linear-gradient(180deg, #0f0f0f 0%, #121212 100%);
    border-top: 1px solid rgba(212, 175, 55, 0.12);
    border-bottom: 1px solid rgba(212, 175, 55, 0.12);
}

.reviews-header {
    text-align: center;
    margin-bottom: 2.75rem;
}

.reviews-header h2 {
    margin-bottom: 1.25rem;
}

.reviews-rating {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    background: #1a1a1a;
    border: 1px solid rgba(212, 175, 55, 0.35);
    border-radius: 999px;
    padding: 0.65rem 1.35rem 0.65rem 0.85rem;
}

.reviews-score {
    font-family: var(--font-heading);
    font-size: 1.85rem;
    font-weight: 700;
    color: var(--accent-color);
    line-height: 1;
    min-width: 2.4rem;
    text-align: center;
}

.reviews-rating-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.15rem;
    text-align: left;
}

.reviews-stars {
    color: var(--accent-color);
    letter-spacing: 2px;
    font-size: 0.95rem;
    line-height: 1;
}

.reviews-count {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.reviews-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
}

@media (min-width: 640px) {
    .reviews-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .reviews-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }
}

.review-card {
    display: flex;
    flex-direction: column;
    background: #1a1a1a;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-left: 3px solid var(--accent-color);
    border-radius: var(--border-radius-card);
    padding: 1.5rem;
    min-height: 180px;
    transition: border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.review-card:hover {
    border-color: rgba(212, 175, 55, 0.35);
    border-left-color: var(--accent-color);
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
}

.review-stars {
    color: var(--accent-color);
    letter-spacing: 2px;
    font-size: 0.95rem;
    margin-bottom: 0.85rem;
}

.review-text {
    color: var(--text-primary);
    font-size: 0.98rem;
    line-height: 1.65;
    margin: 0 0 1.25rem;
    flex-grow: 1;
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.review-text::before {
    content: "“";
    color: var(--accent-color);
    font-family: var(--font-heading);
    font-size: 1.6rem;
    line-height: 0;
    margin-right: 0.15rem;
    opacity: 0.85;
}

.review-meta {
    margin: auto 0 0;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    font-size: 0.78rem;
    letter-spacing: 0.02em;
    color: rgba(255, 255, 255, 0.45);
    font-weight: 400;
}

/* Separatore sezioni (FAQ e simili) */
.section-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.section-header h2 {
    margin-bottom: 0.85rem;
}

.section-ornament {
    display: block;
    width: 64px;
    height: 2px;
    margin: 0 auto 1rem;
    background: linear-gradient(90deg, transparent, var(--accent-color), transparent);
    position: relative;
}

.section-ornament::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 7px;
    height: 7px;
    transform: translate(-50%, -50%) rotate(45deg);
    background: var(--accent-color);
    box-shadow: 0 0 12px rgba(212, 175, 55, 0.45);
}

.section-lead {
    max-width: 520px;
    margin: 0 auto;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* Italian Lookmaker */
.lookmaker-section {
    padding: 4rem 0;
    background: #0f0f0f;
    border-top: 1px solid rgba(212, 175, 55, 0.12);
}

/* Prima sezione sotto header fisso (pagina Eventi) */
.lookmaker-section--page {
    padding-top: calc(var(--header-height) + 3rem);
    border-top: none;
}

.salon-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.85rem;
    padding: 0 1rem 4rem;
    max-width: 1100px;
    margin: 0 auto;
}

@media (min-width: 800px) {
    .salon-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
    }
}

.salon-grid figure,
.salon-grid .gallery-item {
    margin: 0;
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: var(--border-radius-card);
    border: 1px solid rgba(255, 255, 255, 0.06);
    background: #1a1a1a;
}

.salon-grid img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.35s ease;
}

.salon-grid figure:hover img,
.salon-grid .gallery-item:hover img {
    transform: scale(1.04);
}

.lookmaker-grid {
    display: grid;
    gap: 2rem;
    align-items: center;
}

@media (min-width: 900px) {
    .lookmaker-grid {
        grid-template-columns: 1.1fr 0.9fr;
        gap: 2.5rem;
    }
}

.lookmaker-badge {
    display: inline-block;
    font-size: 0.75rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--accent-color);
    border: 1px solid rgba(212, 175, 55, 0.45);
    border-radius: 999px;
    padding: 0.35rem 0.85rem;
    margin-bottom: 1rem;
}

.lookmaker-video {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: var(--border-radius-card);
    background: #000;
    border: 1px solid rgba(212, 175, 55, 0.2);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
}

.lookmaker-video iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.lookmaker-copy p {
    color: #ccc;
    line-height: 1.75;
    margin-bottom: 1rem;
}

.img-focus-top {
    object-position: center 20%;
}

.reviews-cta {
    text-align: center;
    margin: 2.5rem 0 0;
}

/* Diretta Live (iniettata da Firestore) */
.live-event-section {
    background: linear-gradient(135deg, #1a1a1a 0%, #0f0f0f 100%);
    padding: 3rem 0;
    border-top: 1px solid rgba(212, 175, 55, 0.15);
    border-bottom: 1px solid rgba(212, 175, 55, 0.15);
}

.live-event-section .live-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #e60023;
    color: #fff;
    font-weight: 700;
    letter-spacing: 1px;
    padding: 0.4rem 1rem;
    border-radius: 999px;
    font-size: 0.85rem;
    text-transform: uppercase;
    box-shadow: 0 0 0 0 rgba(230, 0, 35, 0.6);
    animation: liveGlow 1.8s ease-out infinite;
}

.live-event-section .live-dot {
    width: 10px;
    height: 10px;
    background: #fff;
    border-radius: 50%;
    display: inline-block;
    animation: liveBlink 1s ease-in-out infinite;
}

@keyframes liveBlink {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.35; transform: scale(0.8); }
}

@keyframes liveGlow {
    0% { box-shadow: 0 0 0 0 rgba(230, 0, 35, 0.6); }
    70% { box-shadow: 0 0 0 14px rgba(230, 0, 35, 0); }
    100% { box-shadow: 0 0 0 0 rgba(230, 0, 35, 0); }
}

.live-video-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: var(--border-radius-card);
    background: #000;
    margin: 0 auto 1.5rem;
    max-width: 860px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.live-video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.faq-section {
    padding: 4rem 0 4.5rem;
}

.faq-item {
    background: #1a1a1a;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--border-radius-card);
    padding: 0 1.5rem;
}

.faq-item summary {
    cursor: pointer;
    padding: 1.25rem 0;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: "+";
    color: var(--accent-color);
    font-size: 1.5rem;
    flex-shrink: 0;
}

.faq-item[open] summary::after {
    content: "–";
}

.faq-item summary h3 {
    margin: 0;
    font-size: 1.1rem;
    color: var(--text-primary);
}

.faq-item p {
    padding-bottom: 1.25rem;
}

.faq-item a {
    color: var(--accent-color);
}

/* Footer nav */
.footer-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.25rem;
    margin: 1rem 0 1.5rem;
}

.footer-nav a {
    color: var(--text-secondary);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-nav a:hover {
    color: var(--accent-color);
}

.footer-social a {
    color: var(--accent-color);
}

.hamburger {
    cursor: pointer;
    z-index: 1002;
    display: flex;
    flex-direction: column;
    gap: 6px;
    width: 30px;
}

.line {
    width: 100%;
    height: 2px;
    background-color: var(--text-primary);
    transition: all 0.3s ease;
}

.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: var(--overlay-color);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 1001;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.mobile-menu.active {
    opacity: 1;
    pointer-events: auto;
}

.mobile-menu nav ul {
    list-style: none;
    text-align: center;
}

.mobile-menu nav ul li {
    margin: var(--spacing-lg) 0;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s ease;
}

.mobile-menu.active nav ul li {
    opacity: 1;
    transform: translateY(0);
}

.mobile-menu nav ul li:nth-child(1) {
    transition-delay: 0.1s;
}

.mobile-menu nav ul li:nth-child(2) {
    transition-delay: 0.2s;
}

.mobile-menu nav ul li:nth-child(3) {
    transition-delay: 0.3s;
}

.mobile-menu nav ul li:nth-child(4) {
    transition-delay: 0.4s;
}

.mobile-menu nav ul li:nth-child(5) {
    transition-delay: 0.5s;
}

.mobile-menu nav ul li:nth-child(6) {
    transition-delay: 0.6s;
}

.mobile-menu nav a {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--text-primary);
}

.mobile-menu nav a:hover {
    color: var(--accent-color);
}

.hamburger.active .line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
}

.hamburger.active .line:nth-child(2) {
    opacity: 0;
}

.hamburger.active .line:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px);
}

.hamburger.active .line {
    background-color: var(--accent-color);
}

.fab-whatsapp {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
    z-index: 999;
    transition: transform 0.3s ease;
}

.fab-whatsapp:hover {
    transform: scale(1.1);
}

.fab-whatsapp img {
    width: 32px;
    height: 32px;
    filter: brightness(0) invert(1);
}

footer {
    padding: var(--spacing-lg) var(--spacing-sm);
    text-align: center;
    background-color: #0c0c0c;
    margin-top: var(--spacing-xl);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

footer p {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

section {
    padding: var(--spacing-xl) 0;
}

/* Barre sotto header: gialla e/o rossa, stackate se entrambe attive */
.site-top-bars {
    position: fixed;
    top: var(--header-height);
    left: 0;
    width: 100%;
    z-index: 999;
    display: flex;
    flex-direction: column;
}

.site-banner {
    background-color: var(--accent-color);
    color: #000;
    text-align: center;
    padding: 8px 15px;
    font-size: 0.9rem;
    font-weight: 600;
    width: 100%;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
}

body {
    --bars-offset: 0px;
}

body.has-banner {
    --bars-offset: 36px;
}

body.has-alert:not(.has-banner) {
    --bars-offset: 42px;
}

body.has-banner.has-alert {
    --bars-offset: 78px;
}

/* Sposta il contenuto quando ci sono barre sotto l'header */
body.has-banner main,
body.has-alert main {
    padding-top: var(--bars-offset);
}

section.gallery-teaser.container,
section.services-preview.container {
    margin-top: 50px;
}

.works-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
    margin-bottom: 2rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.work-item {
    position: relative;
    border-radius: var(--border-radius-card);
    overflow: hidden;
    height: 150px;
}

.work-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.work-item:hover img {
    transform: scale(1.05);
}

.work-item.large {
    grid-column: span 2;

}

@media (min-width: 768px) {
    .works-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(2, 250px);
        gap: 1rem;
    }

    .work-item {
        height: 100%;
    }

    .work-item.large {
        grid-column: span 1;
        grid-row: span 2;
        grid-column: auto;
    }
}
.scrolling-alert {
    background: #B71C1C;
    color: #fff;
    padding: 10px 0;
    overflow: hidden;
    white-space: nowrap;
    margin: 0;
    width: 100%;
    position: relative;
    z-index: 1;
}
.scrolling-alert p {
    display: inline-block;
    padding-left: 100%;
    animation: scroll-left 15s linear infinite;
    margin: 0;
    font-weight: 600;
    font-size: 1.1rem;
    letter-spacing: 1px;
}

.salon-slider-container {
    width: 100%;
    margin-bottom: 2rem;
    overflow: hidden;
    position: relative;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.salon-slider-track {
    display: flex;
    gap: 1rem; 
    width: max-content;
    animation: scroll 40s linear infinite;
}

.salon-slider-track img {
    height: 300px;
    width: auto;
    object-fit: cover;
    border-radius: var(--border-radius-card);
    flex-shrink: 0;
}

.salon-slider-track:hover {
    animation-play-state: paused;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

@keyframes scroll-left {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-100%);
    }
}

/* ===== Shop ===== */
.shop-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.shop-card {
    display: block;
    background: #1a1a1a;
    border: 1px solid #333;
    border-radius: 8px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: transform 0.25s ease, border-color 0.25s ease;
}

.shop-card:hover {
    transform: translateY(-4px);
    border-color: var(--accent-color);
}

.shop-card-img {
    aspect-ratio: 1;
    background: #111;
    overflow: hidden;
}

.shop-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.shop-card-placeholder {
    width: 100%;
    height: 100%;
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #444;
    font-family: var(--font-heading);
    font-size: 2rem;
    background: #181818;
}

.shop-card-body {
    padding: 1.15rem 1.25rem 1.35rem;
}

.shop-card-body h2 {
    font-size: 1.15rem;
    margin: 0 0 0.5rem;
    color: var(--text-primary);
    font-family: var(--font-heading);
}

.shop-price {
    color: var(--accent-color);
    font-weight: 600;
    margin: 0;
}

.product-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    align-items: start;
    margin-bottom: 3rem;
}

.product-detail-media img {
    width: 100%;
    border-radius: 8px;
    display: block;
}

.product-desc {
    color: var(--text-secondary);
    line-height: 1.7;
    margin: 1rem 0;
}

.product-add-form {
    margin-top: 1.5rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: flex-end;
}

.product-add-form label {
    display: block;
    width: 100%;
    font-size: 0.85rem;
    color: #aaa;
}

.product-add-form input[type="number"] {
    width: 88px;
    padding: 0.75rem;
    background: #1a1a1a;
    border: 1px solid #333;
    color: #fff;
    border-radius: 4px;
}

.cart-row {
    display: grid;
    grid-template-columns: 72px 1fr auto auto;
    gap: 1rem;
    align-items: center;
    padding: 1rem 0;
    border-bottom: 1px solid #2a2a2a;
}

.cart-row-img img {
    width: 72px;
    height: 72px;
    object-fit: cover;
    border-radius: 6px;
}

.cart-row-info a {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
}

.cart-row-info a:hover {
    color: var(--accent-color);
}

.cart-row-qty input {
    width: 64px;
    padding: 0.5rem;
    background: #1a1a1a;
    border: 1px solid #333;
    color: #fff;
    border-radius: 4px;
}

.cart-remove {
    display: block;
    margin-top: 0.4rem;
    background: none;
    border: none;
    color: #888;
    cursor: pointer;
    font-size: 0.8rem;
    padding: 0;
}

.cart-remove:hover {
    color: #f44336;
}

.cart-summary {
    margin-top: 1.5rem;
    padding-top: 1rem;
    text-align: right;
}

.cart-actions {
    display: flex;
    gap: 0.75rem;
    justify-content: flex-end;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.shop-flash {
    padding: 0.85rem 1rem;
    border-radius: 6px;
    margin-bottom: 1rem;
    background: #222;
}

.shop-flash.ok {
    color: #4CAF50;
}

.shop-flash.err {
    color: #f44336;
}

.checkout-summary {
    background: #1a1a1a;
    border: 1px solid #333;
    border-radius: 8px;
    padding: 1.25rem;
    margin-bottom: 1.75rem;
}

.checkout-line {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    color: #ccc;
    margin-bottom: 0.5rem;
}

.checkout-line.total {
    margin-top: 0.75rem;
    padding-top: 0.75rem;
    border-top: 1px solid #333;
    color: #fff;
    font-weight: 600;
}

.checkout-form .form-group {
    margin-bottom: 1rem;
}

.checkout-form label {
    display: block;
    margin-bottom: 0.4rem;
    color: #aaa;
    font-size: 0.9rem;
}

.checkout-form input,
.checkout-form textarea {
    width: 100%;
    padding: 0.85rem;
    background: #1a1a1a;
    border: 1px solid #333;
    color: #fff;
    border-radius: 4px;
    font-family: inherit;
}

.delivery-fieldset {
    border: 1px solid #333;
    border-radius: 8px;
    padding: 1rem;
    margin: 0 0 1.25rem;
}

.delivery-fieldset legend {
    padding: 0 0.4rem;
    color: var(--accent-color);
}

.delivery-option {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    padding: 0.85rem 0;
    border-bottom: 1px solid #2a2a2a;
    cursor: pointer;
}

.delivery-option:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.delivery-option strong {
    display: block;
    color: #fff;
}

.delivery-option small {
    display: block;
    color: #888;
    margin-top: 0.35rem;
    line-height: 1.4;
}

.form-row-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.nav-cart {
    color: var(--accent-color) !important;
}

@media (max-width: 768px) {
    .product-detail {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .cart-row {
        grid-template-columns: 64px 1fr;
        grid-template-rows: auto auto;
    }

    .cart-row-qty,
    .cart-row-total {
        grid-column: 2;
    }

    .cart-actions {
        justify-content: stretch;
    }

    .cart-actions .btn,
    .cart-actions .btn-outline {
        flex: 1;
        text-align: center;
    }

    .form-row-2 {
        grid-template-columns: 1fr;
    }
}
