/* GLOBAL RESET & VARIABLES */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Palette */
    --color-primary-dark: #1D2A3C;
    --color-accent-solid: #B22B5B;
    --color-secondary-light: #86B3D1;
    --color-bg-page: #F5F5F5;
    --color-white: #FFFFFF;
    
    /* Design System: bold-editorial, rounded, dramatic */
    --radius-card: 12px;
    --radius-btn: 6px;
    --shadow-dramatic: 0 20px 60px rgba(0, 0, 0, 0.18);
    --shadow-dramatic-hover: 0 28px 72px rgba(0, 0, 0, 0.25);
    
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
}

body.editorial-theme-body {
    background-color: var(--color-bg-page);
    color: var(--color-primary-dark);
    font-family: var(--font-body);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* HEADER: logo-left, editorial styling */
.editorial-logo-left-header {
    background-color: var(--color-white);
    padding: 32px 24px;
    border-bottom: 2px solid var(--color-primary-dark);
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.header-inner-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand-logo-text {
    font-family: var(--font-heading);
    font-size: clamp(18px, 4vw, 24px);
    font-weight: 900;
    color: var(--color-primary-dark);
    line-height: 1.3;
    max-width: 800px;
    text-transform: uppercase;
    letter-spacing: -0.02em;
}

.header-ornament {
    display: none;
}

@media (min-width: 768px) {
    .header-ornament {
        display: block;
        width: 60px;
        height: 60px;
        border: 4px solid var(--color-accent-solid);
        border-radius: 50%;
    }
}

/* MAIN LAYOUT */
.editorial-main-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 64px 16px;
}

/* PRODUCT SHOWCASE: dramatic shadow, rounded 12px */
.product-editorial-showcase {
    background-color: var(--color-white);
    border-radius: var(--radius-card);
    box-shadow: var(--shadow-dramatic);
    padding: 32px;
    margin-bottom: 80px;
    transition: box-shadow 0.3s ease;
}

.product-editorial-showcase:hover {
    box-shadow: var(--shadow-dramatic-hover);
}

@media (min-width: 768px) {
    .product-editorial-showcase {
        padding: 56px;
    }
}

.product-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
}

@media (min-width: 768px) {
    .product-grid {
        grid-template-columns: 1fr 1fr;
        align-items: start;
    }
}

/* PURE CSS GALLERY (Anti Scroll Jump) */
.gallery-column {
    width: 100%;
}

.css-only-slider {
    position: relative;
    width: 100%;
}

/* Mencegah halaman melompat ke atas: gunakan position fixed yang keluar dari layar */
.anti-scroll-jump-radio {
    position: fixed;
    top: -9999px;
    left: -9999px;
    opacity: 0;
    pointer-events: none;
}

.slider-viewport-rounded {
    width: 100%;
    border-radius: var(--radius-card);
    background-color: var(--color-bg-page);
    overflow: hidden;
}

.slider-track-flex {
    display: flex;
    width: 400%;
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.slide-panel {
    width: 25%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.slide-panel img {
    max-height: 100%;
    object-fit: contain;
    border-radius: 8px;
}

/* Slide Logic */
#slide-1:checked ~ .slider-viewport-rounded .slider-track-flex { transform: translateX(0%); }
#slide-2:checked ~ .slider-viewport-rounded .slider-track-flex { transform: translateX(-25%); }
#slide-3:checked ~ .slider-viewport-rounded .slider-track-flex { transform: translateX(-50%); }
#slide-4:checked ~ .slider-viewport-rounded .slider-track-flex { transform: translateX(-75%); }

.thumbnail-navigation-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-top: 16px;
}

.thumb-selector {
    cursor: pointer;
    border-radius: 8px;
    background-color: var(--color-bg-page);
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid transparent;
    transition: all 0.2s ease;
}

.thumb-selector img {
    opacity: 0.6;
    transition: opacity 0.2s ease;
}

.thumb-selector:hover {
    border-color: var(--color-secondary-light);
}

.thumb-selector:hover img {
    opacity: 1;
}

/* Active Thumbnail States */
#slide-1:checked ~ .thumbnail-navigation-grid label[for="slide-1"],
#slide-2:checked ~ .thumbnail-navigation-grid label[for="slide-2"],
#slide-3:checked ~ .thumbnail-navigation-grid label[for="slide-3"],
#slide-4:checked ~ .thumbnail-navigation-grid label[for="slide-4"] {
    border-color: var(--color-accent-solid);
    background-color: var(--color-white);
}

#slide-1:checked ~ .thumbnail-navigation-grid label[for="slide-1"] img,
#slide-2:checked ~ .thumbnail-navigation-grid label[for="slide-2"] img,
#slide-3:checked ~ .thumbnail-navigation-grid label[for="slide-3"] img,
#slide-4:checked ~ .thumbnail-navigation-grid label[for="slide-4"] img {
    opacity: 1;
}

/* EDITORIAL TYPOGRAPHY */
.product-details-column {
    display: flex;
    flex-direction: column;
}

.editorial-category-label {
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 700;
    color: var(--color-accent-solid);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 16px;
    display: block;
}

.editorial-massive-h2 {
    font-family: var(--font-heading);
    font-size: clamp(28px, 5vw, 36px);
    font-weight: 900;
    line-height: 1.15;
    color: var(--color-primary-dark);
    margin-bottom: 32px;
    letter-spacing: -0.02em;
}

.editorial-prose-content {
    font-family: var(--font-body);
    font-size: 16px;
    color: #4B5563;
    line-height: 1.8;
}

.editorial-lead {
    font-size: 18px;
    font-weight: 700;
    color: var(--color-primary-dark);
    margin-bottom: 24px;
    border-left: 4px solid var(--color-secondary-light);
    padding-left: 16px;
}

.editorial-prose-content p {
    margin-bottom: 20px;
}

.editorial-prose-content strong {
    color: var(--color-primary-dark);
    font-weight: 700;
}

/* CTA BUTTON: Solid style, full width, rounded 6px */
.editorial-cta-section {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-bottom: 80px;
}

.editorial-solid-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--color-accent-solid);
    color: var(--color-white);
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    text-decoration: none;
    padding: 24px 48px;
    width: 100%;
    border-radius: var(--radius-btn);
    box-shadow: 0 10px 25px rgba(178, 43, 91, 0.35);
    transition: all 0.3s ease;
}

.editorial-solid-button:hover {
    background-color: var(--color-primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 15px 35px rgba(29, 42, 60, 0.4);
}

/* REVIEWS MODULE: Editorial layout differing from standard cards */
.editorial-reviews-section {
    background-color: var(--color-white);
    border-radius: var(--radius-card);
    box-shadow: var(--shadow-dramatic);
    padding: 40px 24px;
}

@media (min-width: 768px) {
    .editorial-reviews-section {
        padding: 64px 56px;
    }
}

.reviews-editorial-header {
    text-align: left;
    margin-bottom: 48px;
}

.reviews-massive-h3 {
    font-family: var(--font-heading);
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 900;
    color: var(--color-primary-dark);
    line-height: 1.1;
    letter-spacing: -0.03em;
}

.reviews-decorative-line {
    width: 80px;
    height: 6px;
    background-color: var(--color-accent-solid);
    margin-top: 24px;
}

.editorial-reviews-stack {
    display: flex;
    flex-direction: column;
    gap: 48px;
}

/* Article blocks imitating magazine quote styles */
.editorial-review-card {
    display: flex;
    flex-direction: column;
    padding-left: 20px;
    border-left: 1px solid var(--color-secondary-light);
    position: relative;
}

.editorial-review-card::before {
    content: "“";
    position: absolute;
    top: -20px;
    left: -15px;
    font-family: var(--font-heading);
    font-size: 80px;
    color: var(--color-bg-page);
    line-height: 1;
    z-index: 0;
}

.review-editorial-top {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
    position: relative;
    z-index: 1;
}

.review-avatar-rounded {
    width: 56px;
    height: 56px;
    border-radius: 12px; /* rounded style 12px */
    overflow: hidden;
    background-color: var(--color-bg-page);
}

.review-avatar-rounded img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.review-meta-editorial {
    display: flex;
    flex-direction: column;
}

.review-author-name {
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 700;
    color: var(--color-primary-dark);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.review-rating-line {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 4px;
}

.stars-editorial {
    color: var(--color-accent-solid);
    font-size: 14px;
    letter-spacing: 2px;
}

.review-headline-bold {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 700;
    color: var(--color-primary-dark);
    line-height: 1.3;
}

.review-specs-editorial {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 16px;
    font-family: var(--font-body);
}

.review-date-editorial,
.review-product-variant {
    font-size: 13px;
    color: #6B7280;
}

.verified-purchase-tag {
    font-size: 11px;
    font-weight: 700;
    color: #047857;
    background-color: #D1FAE5;
    padding: 4px 10px;
    border-radius: 4px;
    align-self: flex-start;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.review-body-editorial {
    font-family: var(--font-body);
    font-size: 16px;
    color: #374151;
    line-height: 1.7;
    position: relative;
    z-index: 1;
}

/* FOOTER: Asymmetrical Editorial Huge Typography */
.editorial-giant-footer {
    background-color: var(--color-primary-dark);
    color: var(--color-white);
    padding: 80px 24px;
    margin-top: 100px;
}

.footer-editorial-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 64px;
}

@media (min-width: 768px) {
    .footer-editorial-grid {
        grid-template-columns: 2fr 1fr;
        align-items: end;
    }
}

.footer-brand-huge h2 {
    font-family: var(--font-heading);
    font-size: clamp(20px, 3.5vw, 32px);
    font-weight: 700;
    line-height: 1.3;
    color: var(--color-secondary-light);
    opacity: 0.9;
}

.footer-nav-editorial {
    display: flex;
    flex-direction: column;
}

.footer-nav-title {
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--color-accent-solid);
    margin-bottom: 24px;
}

.footer-links-stack {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-links-stack a {
    font-family: var(--font-body);
    color: var(--color-white);
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.3s ease;
    border-bottom: 1px solid transparent;
    padding-bottom: 4px;
    align-self: flex-start;
}

.footer-links-stack a:hover {
    color: var(--color-secondary-light);
    border-bottom-color: var(--color-secondary-light);
}