* {
    margin: 0; padding: 0; box-sizing: border-box;
}
 
/* ---------- COLOURS ---------- */
:root {
    --bg: #f3efec;        
    --surface: #f1e3e1;   
    --text: #2b1b26;      
    --muted: #6f5a66;     
    --accent: #a8405e;    
    --accent-dark: #86304a;
    --line: #e2cfcd;        
    --cream: #fdf8f4;   
}
 
html { scroll-behavior: smooth; }
 
body {
    font-family: 'Jost', sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
}
 
h1, h2, h3 {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 600;
    line-height: 1.15;
}
h1 { font-size: clamp(2.4rem, 6vw, 4rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.5rem); margin-bottom: 1rem; }
h3 { font-size: 1.4rem; margin-bottom: 0.4rem; }
 
a { color: inherit; }
 
img, video { max-width: 100%; height: auto; display: block; }
 
section { padding: 4rem 1.5rem; max-width: 1100px; margin: 0 auto; }
 
.site-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.75rem 1.5rem;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--line);
}
.brand {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.6rem;
    font-weight: 600;
    text-decoration: none;
}
.site-header nav { display: flex; flex-wrap: wrap; gap: 1.25rem; }
.site-header nav a { text-decoration: none; color: var(--muted); }
.site-header nav a:hover { color: var(--accent); }
 
.btn {
    display: inline-block;
    background: var(--accent);
    color: #fff;
    border: none;
    padding: 0.85rem 1.75rem;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 500;
    border-radius: 4px;
    text-decoration: none;
    cursor: pointer;
}
.btn:hover { background: var(--accent-dark); }
 
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
 
.hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}
.hero-text p {
     margin: 1.25rem 0 2rem;
      color: var(--muted);
       max-width: 45ch;
}

.hero-media video {
    width: 100%;
    border-radius: 8px;
    background: var(--surface);
    border: 3px solid #000;
}

/* ---------- REVIEW ---------- */
.review {
    border-top: 1px solid var(--line);
    text-align: center;
}
.review-media {
    max-width: 500px;
    margin: 0 auto;
}
.review-media video {
    width: 100%;
    border-radius: 8px;
    background: var(--surface);
}

.review-carousel {
    position: relative;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 1.5rem calc(50% - 110px);
    scrollbar-width: none;
}
.review-carousel::-webkit-scrollbar { display: none; }

.review-video {
    width: 220px;
    aspect-ratio: 9 / 16;
    object-fit: cover;
    border-radius: 12px;
    border: 3px solid #000;
    background: var(--surface);
    filter: blur(4px);
    opacity: 0.5;
    transform: scale(0.9);
    transition: filter 0.4s ease, opacity 0.4s ease, transform 0.4s ease;
    flex: 0 0 auto;
    scroll-snap-align: center;
}

.review-video.active {
    filter: blur(0);
    opacity: 1;
    transform: scale(1);
}

.review-controls {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1.5rem;
}

.carousel-btn {
    width: 2.5rem;
    height: 2.5rem;
    border: none;
    border-radius: 50%;
    background: var(--surface);
    color: var(--text);
    font-size: 1.5rem;
    cursor: pointer;
}
.carousel-btn:hover { background: var(--line); }

.screenshots {
    border-top: 1px solid var(--line);
    text-align: center;
}
.screenshot-grid {
    column-count: 4;
    column-gap: 1rem;
}
.screenshot-grid img {
    width: 100%;
    margin-bottom: 1rem;
    break-inside: avoid;
    border: 3px solid #000;
    border-radius: 8px;
    background: var(--surface);
}

 
.shop {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
    border-top: 1px solid var(--line);
}
.placeholder {
    aspect-ratio: 4 / 5;
    background: var(--surface);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--muted);
}
.product-photo{
    position:relative;
}
.product-photo .table-wrap {
    margin-top: 1rem;
    background: var(--cream);
    border-radius: 8px;
    border: 3px solid #000;
    padding: 1rem;
}
.product-photo table {
    font-size: 0.85rem;
}
th { background: var(--accent); color: #fff; }
td { color: var(--text); }

.product-info {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.price { color: var(--accent); font-size: 1.3rem; font-weight: 500; }

.price-original {
    text-decoration: line-through;
    color: var(--muted);
    font-size: 1rem;
    margin-right: 0.5rem;
}
.price-current {
    color: var(--accent);
    font-size: 1.3rem;
    font-weight: 500;
}
.price-bulk {
    font-size: 0.95rem;
    color: var(--muted);
}

.product-info label { margin-top: 0.6rem; font-weight: 500; }
.product-info select,
.product-info input {
    padding: 0.7rem;
    font-family: inherit;
    font-size: 1rem;
    border: 1px solid var(--line);
    border-radius: 4px;
    background: #fff;
    color: var(--text);
}
.product-info input,
.product-info select {
    width: 100%;
}
.product-info .btn {
    margin-top: 1.25rem;
    width: 83%;
}
.bill-preview {
    background: var(--cream);
    border: 3px solid #000;
    border-radius: 8px;
    padding: 1rem;
}
.bill-row {
    display: flex;
    justify-content: space-between;
    padding: 0.3rem 0;
}
.bill-total {
    border-top: 1px solid var(--line);
    margin-top: 0.3rem;
    padding-top: 0.6rem;
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--accent);
}
.note { font-size: 0.9rem; color: var(--muted); }

.slider {
    display: flex;
    overflow-x:auto;
    scroll-snap-type: x mandatory;
    gap:0.5rem;
    border-radius:8px;
}

.slider img {
    flex: 0 0 100%;
    scroll-snap-align: center;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    border-radius: 8px;
    border: 3px solid #000;
    opacity: 0.4;
    transform: scale(0.92);
    transition: opacity 0.5s ease, transform 0.5s ease;
}
.slider img.in-view {
    opacity: 1;
    transform: scale(1);
}

.slider-btn{
    position:absolute;
    top:50%;
    transform:translateY(-50%);
    width:2.5rem;
    height:2.5rem;
    border:none;
    border-radius:50%;
    background:rgba(255, 255, 255, 0.85);
    color:var(--text);
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
}

.slider-btn:hover {background:#fff;}

#prev-btn {left:0.5rem;}
#next-btn {right:0.5rem;}
 
.why { border-top: 1px solid var(--line); }
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.why-grid p { color: var(--muted); }
 
.how { border-top: 1px solid var(--line); }
.how ol { padding-left: 1.25rem; max-width: 60ch; }
.how li { margin-bottom: 0.6rem; }
 
.table-wrap { overflow-x: auto; }
table { border-collapse: collapse; width: 100%; max-width: 600px; }
th, td { text-align: left; padding: 0.8rem 1rem; border-bottom: 1px solid var(--line); }
 
.site-footer {
    background: var(--text);
    color: var(--bg);
    text-align: center;
    padding: 2rem 1.5rem;
}
 
@media (max-width: 800px) {
    .hero, .shop, .why-grid { grid-template-columns: 1fr; gap: 2rem; }
    section { padding: 3rem 1.25rem; }
    .screenshot-grid { column-count: 2; }
}