@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Playfair+Display:wght@600;700;800&display=swap");
:root {
    --wine: #68162f;
    --wine2: #8e2348;
    --rose: #db6f94;
    --pink: #fff0f5;
    --cream: #fff8ee;
    --gold: #d6a448;
    --ink: #21181b;
    --muted: #74686c;
    --line: #eadde1;
    --white: #fff;
    --shadow: 0 18px 50px rgba(77, 20, 42, 0.13);
    --shadow3d: 0 26px 0 #e7c9d3, 0 35px 70px rgba(77, 20, 42, 0.2);
}
* {
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
}
body {
    margin: 0;
    background: #fffdfb;
    color: var(--ink);
    font-family: "DM Sans", sans-serif;
    overflow-x: hidden;
}
.container-max {
    max-width: 1240px;
    margin: auto;
    padding: 0 20px;
}
.offer-bar {
    background: linear-gradient(90deg, var(--wine), #9b3157);
    color: #fff;
    font-size: 12px;
    padding: 8px 0;
}
.offer-bar a {
    color: #fff;
}
.site-header {
    background: rgba(255, 253, 251, 0.88);
    position: sticky;
    top: 0;
    z-index: 80;
    box-shadow: 0 8px 35px rgba(72, 26, 41, 0.08);
    backdrop-filter: blur(18px);
}
.header-row {
    display: flex;
    align-items: center;
    gap: 26px;
    padding: 14px 0;
}
.brand {
    font-family: "Playfair Display", serif;
    font-size: 30px;
    font-weight: 800;
    color: var(--wine);
    text-decoration: none;
    line-height: 0.86;
    white-space: nowrap;
}
.brand span {
    color: var(--gold);
}
.brand small {
    display: block;
    font: 600 8px "DM Sans";
    letter-spacing: 2.2px;
    text-transform: uppercase;
    margin-top: 7px;
    color: var(--muted);
}
.search-form {
    display: flex;
    flex: 1;
    max-width: 630px;
    margin: auto;
    filter: drop-shadow(0 8px 16px rgba(58, 24, 36, 0.05));
}
.search-form input {
    width: 100%;
    border: 1px solid var(--line);
    border-right: 0;
    border-radius: 999px 0 0 999px;
    padding: 13px 18px;
    background: #fff;
}
.search-form button {
    border: 0;
    border-radius: 0 999px 999px 0;
    background: linear-gradient(135deg, var(--wine), var(--wine2));
    color: #fff;
    width: 58px;
    font-size: 22px;
}
.header-actions {
    display: flex;
    align-items: center;
    gap: 18px;
}
.header-actions > a {
    color: var(--ink);
    text-decoration: none;
    font-size: 21px;
    position: relative;
    text-align: center;
}
.header-actions small {
    font-size: 10px;
    display: block;
}
.counter-wrap b {
    position: absolute;
    right: -9px;
    top: -8px;
    background: var(--rose);
    color: #fff;
    border-radius: 50%;
    font-size: 9px;
    width: 18px;
    height: 18px;
    display: grid;
    place-items: center;
}
.menu-btn {
    display: none;
    border: 0;
    background: none;
    font-size: 22px;
}
.main-nav {
    border-top: 1px solid #f3e9ec;
}
.main-nav .container-max {
    display: flex;
    justify-content: center;
    gap: 32px;
    padding-top: 11px;
    padding-bottom: 11px;
}
.main-nav a {
    font-size: 13px;
    text-decoration: none;
    color: var(--ink);
    font-weight: 700;
    white-space: nowrap;
}
.main-nav a:hover,
.main-nav .sale {
    color: var(--rose);
}
.hero3d {
    min-height: 690px;
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background:
        radial-gradient(circle at 20% 20%, #ffe1ec 0, transparent 38%),
        linear-gradient(115deg, #fff7fa 0%, #fffaf2 48%, #f1d8e1 100%);
}
.hero3d:before {
    content: "";
    position: absolute;
    inset: -20%;
    background: conic-gradient(
        from 20deg,
        transparent,
        #ffffff80,
        transparent,
        #e8b9ca55,
        transparent
    );
    animation: spin 22s linear infinite;
    z-index: -2;
}
.hero3d:after {
    content: "";
    position: absolute;
    width: 480px;
    height: 480px;
    border-radius: 50%;
    background: #d8709650;
    filter: blur(80px);
    right: -130px;
    top: 40px;
    z-index: -1;
    animation: drift 8s ease-in-out infinite;
}
.hero-grid {
    min-height: 690px;
    display: grid;
    grid-template-columns: 1.02fr 0.98fr;
    align-items: center;
    gap: 55px;
}
.eyebrow {
    color: var(--rose);
    letter-spacing: 2.7px;
    text-transform: uppercase;
    font-size: 12px;
    font-weight: 800;
}
.hero-copy h1,
.section-title,
.page-title {
    font-family: "Playfair Display", serif;
}
.hero-copy h1 {
    font-size: 68px;
    line-height: 1.01;
    margin: 16px 0 20px;
    max-width: 650px;
}
.hero-copy h1 span {
    display: inline-block;
    color: var(--wine);
    text-shadow: 0 6px 0 #f3cad8;
    transform: rotate(-1deg);
}
.hero-copy p {
    font-size: 18px;
    color: var(--muted);
    max-width: 580px;
    line-height: 1.75;
}
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    padding: 14px 25px;
    font-weight: 800;
    text-decoration: none;
    border: 1px solid var(--wine);
    cursor: pointer;
    transition: 0.25s;
    position: relative;
    overflow: hidden;
}
.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(104, 22, 47, 0.18);
}
.btn-primary {
    background: linear-gradient(135deg, var(--wine), var(--wine2));
    color: #fff;
}
.btn-light {
    background: #fff;
    color: var(--wine);
}
.hero-actions {
    display: flex;
    gap: 12px;
    margin-top: 30px;
}
.trust-row {
    display: flex;
    gap: 22px;
    margin-top: 28px;
    font-size: 13px;
    flex-wrap: wrap;
}
.hero-stage {
    position: relative;
    perspective: 1200px;
    height: 560px;
}
.video-card {
    position: absolute;
    inset: 24px 10px 32px 38px;
    border-radius: 40px;
    overflow: hidden;
    box-shadow: var(--shadow3d);
    transform: rotateY(-7deg) rotateX(3deg);
    transform-style: preserve-3d;
    background: #3a1723;
}
.video-card video,
.video-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    opacity: 0.82;
}
.video-card .video-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        transparent 45%,
        rgba(36, 10, 20, 0.72)
    );
    display: flex;
    align-items: flex-end;
    padding: 28px;
    color: #fff;
}
.video-label {
    font-weight: 800;
    font-size: 18px;
}
.gift-cube {
    position: absolute;
    width: 145px;
    height: 145px;
    right: -18px;
    top: 20px;
    transform-style: preserve-3d;
    animation: floatCube 5s ease-in-out infinite;
}
.cube-face {
    position: absolute;
    inset: 0;
    border-radius: 24px;
    background: linear-gradient(145deg, #ffedf4, #d96f95);
    border: 2px solid #fff9;
    box-shadow: inset 0 0 28px #fff8;
}
.cube-front {
    transform: translateZ(28px);
}
.cube-back {
    transform: translateZ(-28px);
}
.cube-top {
    transform: rotateX(90deg) translateZ(28px);
}
.ribbon-v,
.ribbon-h {
    position: absolute;
    background: linear-gradient(#d6a448, #f5d07b);
    z-index: 2;
}
.ribbon-v {
    width: 24px;
    top: 0;
    bottom: 0;
    left: 60px;
}
.ribbon-h {
    height: 24px;
    left: 0;
    right: 0;
    top: 60px;
}
.floating-note {
    position: absolute;
    background: rgba(255, 255, 255, 0.9);
    padding: 13px 18px;
    border-radius: 16px;
    box-shadow: 0 18px 40px rgba(70, 25, 40, 0.16);
    font-size: 13px;
    backdrop-filter: blur(12px);
    animation: bob 4s ease-in-out infinite;
}
.note-one {
    left: -15px;
    bottom: 65px;
}
.note-two {
    right: -10px;
    bottom: 130px;
    animation-delay: -2s;
}
.spark {
    position: absolute;
    border-radius: 50%;
    background: var(--gold);
    box-shadow: 0 0 20px #f2cf83;
    animation: spark 4s ease-in-out infinite;
}
.s1 {
    width: 10px;
    height: 10px;
    left: 20px;
    top: 90px;
}
.s2 {
    width: 7px;
    height: 7px;
    right: 55px;
    top: 190px;
    animation-delay: -1s;
}
.s3 {
    width: 12px;
    height: 12px;
    left: 80px;
    bottom: 20px;
    animation-delay: -2s;
}
.section {
    padding: 86px 0;
}
.section-soft {
    background: linear-gradient(180deg, var(--pink), #fff9fb);
}
.section-head {
    display: flex;
    justify-content: space-between;
    align-items: end;
    margin-bottom: 32px;
}
.section-title {
    font-size: 40px;
    margin: 5px 0;
}
.view-link {
    color: var(--wine);
    font-weight: 800;
    text-decoration: none;
}
.category-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 12px;
}
@media (max-width: 1200px) {
    .category-grid {
        grid-template-columns: repeat(5, 1fr);
    }
}
@media (max-width: 992px) {
    .category-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}
@media (max-width: 576px) {
    .category-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }
}
.category-card {
    background: #ffffff;
    border: 1px solid #f1e2e7;
    padding: 14px 10px;
    text-align: center;
    border-radius: 18px;
    text-decoration: none;
    color: var(--ink);
    transition:
        transform 0.3s cubic-bezier(0.165, 0.84, 0.44, 1),
        box-shadow 0.3s ease,
        border-color 0.3s ease;
    box-shadow: 0 4px 12px rgba(80, 24, 44, 0.03);
    overflow: hidden;
}
.category-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 24px rgba(142, 42, 78, 0.12);
    border-color: #8e2a4e;
}
.category-card .cat-img-ring {
    width: 62px;
    height: 62px;
    border-radius: 50%;
    margin: 0 auto 8px;
    overflow: hidden;
    border: 2px solid #f8e8ee;
    transition:
        border-color 0.3s ease,
        transform 0.3s ease;
}
.category-card:hover .cat-img-ring {
    border-color: #8e2a4e;
    transform: scale(1.06);
}
.category-card b {
    display: block;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.25;
    color: #1e293b;
    margin-top: 4px;
}
.category-card small {
    font-size: 11px;
    color: #94a3b8;
}
.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.product-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 22px;
    overflow: hidden;
    transition:
        transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1),
        box-shadow 0.4s ease,
        border-color 0.3s ease;
    box-shadow: 0 8px 24px rgba(65, 24, 37, 0.06);
}
.product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(65, 24, 37, 0.12);
    border-color: var(--rose);
}
.product-image {
    height: 310px;
    position: relative;
    background: #f5f0f1;
    overflow: hidden;
}
.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    will-change: transform;
}
.product-card:hover img {
    transform: scale(1.06);
}
.product-badge {
    position: absolute;
    left: 12px;
    top: 12px;
    background: #fff;
    color: var(--wine);
    border-radius: 999px;
    padding: 7px 11px;
    font-size: 10px;
    font-weight: 800;
    box-shadow: 0 7px 15px #0002;
}
.wish-btn {
    position: absolute;
    right: 12px;
    top: 12px;
    border: 0;
    background: #fff;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    font-size: 20px;
    color: var(--rose);
    box-shadow: 0 7px 15px #0002;
}
.quick-add {
    position: absolute;
    bottom: 12px;
    left: 12px;
    right: 12px;
    border: 0;
    background: linear-gradient(135deg, var(--wine), var(--wine2));
    color: #fff;
    border-radius: 999px;
    padding: 12px;
    font-weight: 800;
    transform: translateY(65px);
    transition: 0.3s;
}
.product-card:hover .quick-add {
    transform: none;
}
.product-info {
    padding: 18px;
}
.product-cat {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--rose);
    margin: 0;
}
.product-name {
    display: block;
    color: var(--ink);
    text-decoration: none;
    font-weight: 700;
    margin: 8px 0;
    min-height: 44px;
}
.rating {
    font-size: 12px;
    color: #a66b00;
}
.rating span {
    color: var(--muted);
}
.price {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 9px;
}
.price b {
    font-size: 18px;
}
.price del {
    font-size: 12px;
    color: #a0989b;
}
.price em {
    font-size: 11px;
    color: #27824b;
    font-style: normal;
}
.occasion-banner {
    background: linear-gradient(135deg, #5a122a, #8d2649);
    color: #fff;
    border-radius: 30px;
    padding: 55px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 40px;
    box-shadow:
        0 18px 0 #d7a9b9,
        0 38px 70px rgba(75, 17, 38, 0.25);
    position: relative;
    overflow: hidden;
}
.occasion-banner:after {
    content: "🎁";
    position: absolute;
    font-size: 200px;
    right: -20px;
    bottom: -85px;
    opacity: 0.09;
    transform: rotate(-15deg);
}
.occasion-banner h2 {
    font: 800 44px "Playfair Display";
    margin: 10px 0;
}
.occasion-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    position: relative;
    z-index: 1;
}
.occasion-chips a {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    text-decoration: none;
    padding: 11px 16px;
    border-radius: 999px;
    transition: 0.2s;
}
.occasion-chips a:hover {
    background: #fff;
    color: var(--wine);
    transform: translateY(-3px);
}
.features {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.feature {
    padding: 26px;
    border: 1px solid var(--line);
    border-radius: 21px;
    background: #fff;
    box-shadow:
        0 10px 0 #f0dce3,
        0 18px 34px rgba(65, 24, 37, 0.07);
}
.feature span {
    font-size: 34px;
}
.feature h3 {
    margin: 12px 0 5px;
}
.feature p {
    color: var(--muted);
    font-size: 13px;
}
.motion-strip {
    overflow: hidden;
    padding: 18px 0;
    background: #2c151d;
    color: #fff;
}
.motion-track {
    display: flex;
    gap: 55px;
    width: max-content;
    animation: marquee 22s linear infinite;
    font-weight: 800;
    letter-spacing: 1px;
}
.page-hero {
    padding: 70px 0;
    background:
        radial-gradient(circle at 90% 10%, #f7cad9, transparent 32%),
        linear-gradient(120deg, #fff6f9, #fffaf2);
}
.page-wrap {
    padding: 58px 0;
    min-height: 65vh;
}
.page-title {
    font-size: 46px;
    margin: 0;
}
.panel {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 22px;
    padding: 25px;
    box-shadow: var(--shadow);
}
.form-control {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 13px;
    padding: 13px 14px;
    background: #fff;
}
.form-label {
    display: block;
    font-size: 13px;
    font-weight: 800;
    margin-bottom: 7px;
}
.toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    margin: 25px 0;
}
.filters {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}
.chip {
    border: 1px solid var(--line);
    background: #fff;
    border-radius: 999px;
    padding: 10px 14px;
    font-weight: 700;
    cursor: pointer;
}
.chip.active {
    background: var(--wine);
    color: #fff;
}
.product-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
}
.detail-image {
    border-radius: 30px;
    overflow: hidden;
    box-shadow:
        0 18px 0 #efdae1,
        0 35px 65px rgba(70, 20, 38, 0.16);
    position: sticky;
    top: 145px;
}
.detail-image img {
    width: 100%;
    height: 590px;
    object-fit: cover;
    display: block;
}
.detail-info h1 {
    font: 800 44px "Playfair Display";
    margin: 10px 0;
}
.detail-info p {
    color: var(--muted);
    line-height: 1.7;
}
.qty-row {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 20px 0;
}
.qty-box {
    display: flex;
    border: 1px solid var(--line);
    border-radius: 999px;
    overflow: hidden;
}
.qty-box button,
.qty-box span {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border: 0;
    background: #fff;
}
.cart-grid,
.checkout-grid {
    display: grid;
    grid-template-columns: 1.5fr 0.8fr;
    gap: 28px;
}
.cart-item {
    display: grid;
    grid-template-columns: 100px 1fr auto;
    gap: 16px;
    padding: 18px 0;
    border-bottom: 1px solid var(--line);
}
.cart-item img {
    width: 100px;
    height: 100px;
    border-radius: 16px;
    object-fit: cover;
}
.summary-line {
    display: flex;
    justify-content: space-between;
    margin: 12px 0;
}
.summary-total {
    font-size: 20px;
    font-weight: 800;
    border-top: 1px solid var(--line);
    padding-top: 14px;
}
.auth-shell {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 640px;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: var(--shadow);
}
.auth-art {
    background: linear-gradient(145deg, #5e142c, #a43a61);
    color: #fff;
    padding: 55px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
}
.auth-art:after {
    content: "🎁";
    font-size: 220px;
    position: absolute;
    right: -30px;
    bottom: -80px;
    opacity: 0.12;
}
.auth-form {
    padding: 50px;
    background: #fff;
}
.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}
.toast {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 200;
    background: #2c2024;
    color: #fff;
    padding: 13px 18px;
    border-radius: 14px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    display: flex;
    gap: 8px;
}
.toast-success {
    background: #17663d;
}
.timeline {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    margin: 50px 0;
}
.timeline-step {
    text-align: center;
    position: relative;
    font-size: 12px;
    font-weight: 800;
}
.timeline-step:before {
    content: "";
    position: absolute;
    top: 17px;
    right: 50%;
    width: 100%;
    height: 3px;
    background: #e2d5d9;
    z-index: 0;
}
.timeline-step:first-child:before {
    display: none;
}
.timeline-step .dot {
    position: relative;
    z-index: 1;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #ddd0d4;
    margin: 0 auto 10px;
    display: grid;
    place-items: center;
    color: #fff;
}
.timeline-step.done:before,
.timeline-step.done .dot {
    background: #3c9b67;
}
.timeline-step.active .dot {
    background: var(--wine);
    box-shadow: 0 0 0 7px #f6dfe6;
}
footer {
    background: #241b1e;
    color: #cfc3c7;
    margin-top: 75px;
}
.footer-grid {
    padding-top: 58px;
    padding-bottom: 45px;
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1.4fr;
    gap: 40px;
}
.footer-brand {
    color: #fff;
}
.footer-grid p,
.footer-grid a,
.footer-grid span {
    color: #b9adb1;
    text-decoration: none;
    font-size: 13px;
    display: block;
    margin: 9px 0;
}
.footer-grid h4 {
    color: #fff;
}
.newsletter {
    display: flex;
}
.newsletter input {
    padding: 11px;
    border: 0;
    border-radius: 8px 0 0 8px;
    width: 100%;
}
.newsletter button {
    background: var(--gold);
    border: 0;
    padding: 0 15px;
    border-radius: 0 8px 8px 0;
}
.copyright {
    text-align: center;
    border-top: 1px solid #44383c;
    padding: 18px;
    font-size: 11px;
    color: #9f9297;
}
.reveal {
    opacity: 0;
    transform: translateY(35px);
    transition: 0.8s;
}
.reveal.visible {
    opacity: 1;
    transform: none;
}
@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}
@keyframes drift {
    50% {
        transform: translate(-50px, 45px) scale(1.12);
    }
}
@keyframes floatCube {
    50% {
        transform: translateY(-18px) rotateY(16deg) rotateX(8deg);
    }
}
@keyframes bob {
    50% {
        transform: translateY(-10px);
    }
}
@keyframes spark {
    50% {
        transform: translateY(-18px) scale(1.7);
        opacity: 0.35;
    }
}
@keyframes marquee {
    to {
        transform: translateX(-50%);
    }
}
@media (max-width: 900px) {
    .search-form {
        display: none;
    }
    .hero-grid {
        grid-template-columns: 1fr;
        min-height: auto;
        padding: 70px 0;
    }
    .hero-copy h1 {
        font-size: 50px;
    }
    .hero-stage {
        height: 470px;
    }
    .video-card {
        inset: 20px;
    }
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .category-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .features {
        grid-template-columns: repeat(2, 1fr);
    }
    .occasion-banner,
    .product-detail,
    .cart-grid,
    .checkout-grid,
    .auth-shell {
        grid-template-columns: 1fr;
    }
    .detail-image {
        position: static;
    }
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .main-nav .container-max {
        justify-content: start;
        overflow: auto;
    }
    .menu-btn {
        display: block;
    }
    .main-nav {
        display: none;
    }
    .main-nav.open {
        display: block;
    }
    .header-actions small {
        display: none;
    }
    .auth-art {
        min-height: 300px;
    }
}
@media (max-width: 560px) {
    .container-max {
        padding: 0 14px;
    }
    .header-row {
        gap: 12px;
    }
    .brand {
        font-size: 24px;
    }
    .header-actions {
        margin-left: auto;
        gap: 13px;
    }
    .hero-copy h1 {
        font-size: 42px;
    }
    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }
    .hero-stage {
        height: 390px;
    }
    .video-card {
        inset: 15px 0 25px;
    }
    .gift-cube {
        width: 100px;
        height: 100px;
    }
    .ribbon-v {
        left: 40px;
    }
    .ribbon-h {
        top: 40px;
    }
    .product-grid {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }
    .product-image {
        height: 220px;
    }
    .product-info {
        padding: 13px;
    }
    .category-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .features,
    .footer-grid,
    .grid-2 {
        grid-template-columns: 1fr;
    }
    .section {
        padding: 62px 0;
    }
    .section-title,
    .page-title {
        font-size: 34px;
    }
    .occasion-banner {
        padding: 30px;
    }
    .timeline {
        overflow: auto;
        grid-template-columns: repeat(6, 120px);
    }
    .cart-item {
        grid-template-columns: 80px 1fr;
    }
    .cart-item img {
        width: 80px;
        height: 80px;
    }
    .cart-item > div:last-child {
        grid-column: 2;
    }
    .auth-form {
        padding: 28px;
    }
    .detail-info h1 {
        font-size: 36px;
    }
}

/* Gifts & Wraps production-style brand system */
.brand-logo {
    display: inline-flex !important;
    align-items: center;
    gap: 10px;
    line-height: 1;
    text-decoration: none;
}
.logo-mark {
    position: relative;
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    border-radius: 15px;
    background: linear-gradient(145deg, #fff7ec, #f3c5d5);
    box-shadow:
        inset 0 1px 0 #fff,
        0 8px 0 #d7a4b6,
        0 15px 25px #5b183128;
    transform: rotate(-3deg);
    flex: none;
}
.logo-mark:before,
.logo-mark:after {
    content: "";
    position: absolute;
    background: linear-gradient(#8d2649, #5b132c);
    border-radius: 10px;
}
.logo-mark:before {
    width: 8px;
    height: 100%;
    left: 19px;
}
.logo-mark:after {
    height: 8px;
    width: 100%;
    top: 19px;
}
.logo-mark i {
    position: absolute;
    inset: -7px 8px auto;
    height: 14px;
    border: 5px solid #c89a42;
    border-bottom: 0;
    border-radius: 50% 50% 0 0;
}
.logo-mark b,
.logo-mark em {
    position: absolute;
    z-index: 2;
    color: #fff;
    font: 900 13px/1 Arial;
    font-style: normal;
    text-shadow: 0 2px 4px #0005;
}
.logo-mark b {
    left: 8px;
    bottom: 8px;
}
.logo-mark em {
    right: 6px;
    top: 9px;
}
.logo-copy {
    display: flex;
    flex-direction: column;
}
.logo-copy strong {
    font:
        800 24px/1 "Playfair Display",
        serif;
    white-space: nowrap;
    color: var(--ink);
}
.logo-copy mark {
    background: none;
    color: var(--gold);
    padding: 0;
}
.logo-copy small {
    font:
        700 8px/1.6 Poppins,
        sans-serif;
    letter-spacing: 2.2px;
    text-transform: uppercase;
    color: var(--rose);
}
.footer-brand .logo-copy strong {
    color: #fff;
}
.footer-brand .logo-copy small {
    color: #dfb7c5;
}
.page-hero {
    position: relative;
    overflow: hidden;
    isolation: isolate;
}
.page-hero:before {
    content: "";
    position: absolute;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    background: linear-gradient(145deg, #fff8, #e7a8c455);
    right: 7%;
    top: -110px;
    box-shadow:
        inset -25px -25px 50px #8d264922,
        0 35px 70px #5a122a20;
    z-index: -1;
    animation: bob 5s ease-in-out infinite;
}
.page-hero:after {
    content: "🎁";
    position: absolute;
    right: 13%;
    top: 28px;
    font-size: 90px;
    filter: drop-shadow(0 24px 15px #55112733);
    transform: rotate(8deg);
    z-index: -1;
}
.panel,
.feature,
.product-card,
.category-card,
.auth-shell,
.occasion-banner {
    transform-style: preserve-3d;
    backface-visibility: hidden;
}
.panel {
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
    box-shadow:
        0 10px 0 #edd9e0,
        0 24px 50px rgba(65, 24, 37, 0.1);
}
.page-wrap:before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    background-image: radial-gradient(#8d264910 1px, transparent 1px);
    background-size: 26px 26px;
    z-index: -2;
}
.btn {
    position: relative;
    overflow: hidden;
}
.btn:after {
    content: "";
    position: absolute;
    inset: 0;
    transform: translateX(-120%) skewX(-20deg);
    background: linear-gradient(90deg, transparent, #fff6, transparent);
    transition: 0.55s;
}
.btn:hover:after {
    transform: translateX(120%) skewX(-20deg);
}
.legal-grid {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 28px;
}
.legal-nav {
    position: sticky;
    top: 150px;
    height: max-content;
}
.legal-nav a {
    display: block;
    padding: 11px 13px;
    color: var(--ink);
    text-decoration: none;
    border-radius: 10px;
}
.legal-nav a:hover {
    background: var(--pink);
    color: var(--wine);
}
.legal-content section {
    scroll-margin-top: 150px;
    margin-bottom: 24px;
}
.account-grid {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 28px;
}
.account-card {
    text-align: center;
}
.avatar3d {
    width: 100px;
    height: 100px;
    border-radius: 31px;
    margin: 0 auto 16px;
    display: grid;
    place-items: center;
    font-size: 42px;
    background: linear-gradient(145deg, #fff, #efcbd7);
    box-shadow:
        0 13px 0 #d8aaba,
        0 28px 42px #641b3622;
    transform: rotate(-4deg);
}
.stat-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}
.stat-card {
    padding: 22px;
    border-radius: 20px;
    background: linear-gradient(145deg, #fff, #fff6f9);
    border: 1px solid var(--line);
    box-shadow: 0 9px 0 #efdae1;
}
.stat-card b {
    font-size: 28px;
    display: block;
    color: var(--wine);
}
@media (max-width: 900px) {
    .legal-grid,
    .account-grid {
        grid-template-columns: 1fr;
    }
    .legal-nav {
        position: static;
    }
    .stat-grid {
        grid-template-columns: 1fr 1fr;
    }
    .logo-copy strong {
        font-size: 20px;
    }
    .logo-mark {
        width: 40px;
        height: 40px;
    }
    .logo-mark:before {
        left: 16px;
    }
    .logo-mark:after {
        top: 16px;
    }
    .logo-mark b {
        left: 6px;
    }
    .logo-mark em {
        right: 5px;
        top: 7px;
    }
}
@media (max-width: 560px) {
    .stat-grid {
        grid-template-columns: 1fr;
    }
    .page-hero:after {
        font-size: 58px;
        right: 3%;
    }
    .logo-copy small {
        display: none;
    }
    .logo-copy strong {
        font-size: 17px;
    }
    .brand-logo {
        gap: 7px;
    }
    .logo-mark {
        width: 36px;
        height: 36px;
        border-radius: 12px;
    }
    .logo-mark:before {
        left: 14px;
    }
    .logo-mark:after {
        top: 14px;
    }
    .logo-mark i {
        inset: -6px 7px auto;
    }
    .logo-mark b,
    .logo-mark em {
        font-size: 10px;
    }
}
@media (prefers-reduced-motion: reduce) {
    *,
    *:before,
    *:after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }
}

/* Commerce reliability and polish */
.product-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 16px;
}
.product-actions .btn {
    padding: 11px 10px;
    font-size: 13px;
}
.product-card .product-info {
    display: flex;
    flex-direction: column;
    height: 100%;
}
.product-card .product-actions {
    margin-top: auto;
    padding-top: 14px;
}
.result-count {
    margin: 14px 0 24px;
    color: var(--muted);
    font-weight: 700;
}
.empty-state {
    grid-column: 1/-1;
    text-align: center;
    padding: 60px 24px;
    border: 1px dashed #dabec8;
    border-radius: 28px;
    background: linear-gradient(145deg, #fff, #fff7fa);
    box-shadow: 0 20px 55px rgba(80, 22, 44, 0.08);
}
.empty-state span {
    font-size: 54px;
    display: block;
    margin-bottom: 12px;
}
.empty-state h2 {
    font-size: 28px;
    margin-bottom: 8px;
}
.empty-state p {
    color: var(--muted);
    margin-bottom: 20px;
}
.cart-item-info {
    min-width: 0;
}
.cart-item-info > a {
    color: inherit;
}
.cart-item-price {
    text-align: right;
}
.remove-btn {
    display: block;
    border: 0;
    background: none;
    color: var(--rose);
    margin: 18px 0 0 auto;
    font-weight: 700;
    cursor: pointer;
}
.add-cart-btn:hover {
    border-color: var(--rose);
    color: var(--rose);
}
@media (max-width: 640px) {
    .product-actions {
        grid-template-columns: 1fr;
    }
    .cart-item {
        grid-template-columns: 72px 1fr;
    }
    .cart-item-price {
        grid-column: 2;
        text-align: left;
    }
    .remove-btn {
        margin: 8px 0 0;
    }
}

.image-brand {
    display: flex;
    align-items: center;
    max-width: 315px;
}
.image-brand img {
    display: block;
    width: 100%;
    height: 74px;
    object-fit: contain;
    object-position: left center;
}
.footer-image-brand {
    max-width: 290px;
}
.footer-image-brand img {
    height: 110px;
    filter: drop-shadow(0 12px 22px rgba(61, 15, 25, 0.16));
}
@media (max-width: 700px) {
    .image-brand {
        max-width: 190px;
    }
    .image-brand img {
        height: 58px;
    }
    .footer-image-brand {
        max-width: 230px;
    }
    .footer-image-brand img {
        height: 90px;
    }
}

@media (max-width: 700px) {
    .image-brand {
        max-width: 190px;
    }
    .image-brand img {
        height: 58px;
    }
    .footer-image-brand {
        max-width: 230px;
    }
    .footer-image-brand img {
        height: 90px;
    }
}

@media (max-width: 900px) {
    .header-row {
        justify-content: space-between;
    }

    .image-brand {
        max-width: 160px;
    }

    .image-brand img {
        height: 55px;
    }

    .header-actions {
        gap: 12px;
    }

    .main-nav .container-max {
        flex-direction: column;
        gap: 0;
        padding: 10px 20px;
    }

    .main-nav a {
        padding: 12px 0;
        border-bottom: 1px solid var(--line);
    }
}

/* ================================
   MOBILE HEADER FIX
================================ */

@media (max-width: 900px) {
    .header-row {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 10px 15px;
    }

    /* Logo */

    .image-brand {
        flex: 0 0 auto;
        width: 120px;
    }

    .image-brand img {
        width: 100%;
        height: auto;
        object-fit: contain;
    }

    /* Hide Search */

    .search-form {
        display: none;
    }

    /* Right Icons */

    .header-actions {
        display: flex;
        align-items: center;
        gap: 12px;
        margin-left: auto;
    }

    .header-actions > a {
        font-size: 20px;
    }

    .header-actions small {
        display: none;
    }

    .menu-btn {
        display: block;
        font-size: 26px;
        padding: 0;
        margin-left: 5px;
    }

    /* Navigation */

    .main-nav {
        display: none;
        background: #fff;
    }

    .main-nav.open {
        display: block;
    }

    .main-nav .container-max {
        display: flex;
        flex-direction: column;
        padding: 10px 20px;
        gap: 0;
    }

    .main-nav a {
        padding: 13px 0;
        border-bottom: 1px solid #eee;
        text-align: left;
    }
}

/* ================================
   SMALL MOBILE
================================ */

@media (max-width: 480px) {
    .header-row {
        padding: 8px 12px;
    }

    .image-brand {
        width: 95px;
    }

    .header-actions {
        gap: 8px;
    }

    .header-actions > a {
        font-size: 17px;
    }

    .counter-wrap b {
        width: 14px;
        height: 14px;
        font-size: 8px;
    }

    .menu-btn {
        font-size: 22px;
    }
}

/* Mobile Hero Top Spacing Fix */
@media (max-width: 900px) {
    .hero3d {
        padding-top: 25px;
    }

    .hero-copy {
        padding-top: 10px;
    }

    .eyebrow {
        margin-bottom: 18px;
        display: block;
        letter-spacing: 3px;
    }
}

/* =========================================================
   FLIPKART / E-COMMERCE PROFESSIONAL PRODUCT CARD & BUTTONS
   ========================================================= */
.product-card-luxury {
    background: #ffffff !important;
    color: #0f172a !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 16px !important;
    overflow: hidden !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04) !important;
    transition: all 0.3s ease !important;
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
}

.product-card-luxury:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 12px 28px rgba(142, 42, 78, 0.12) !important;
    border-color: #cbd5e1 !important;
}

.product-image {
    height: 200px !important;
    position: relative !important;
    background: #ffffff !important;
    padding: 8px !important;
    overflow: hidden !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.product-image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    border-radius: 8px !important;
    transition: transform 0.4s ease !important;
}

.product-card:hover .product-image img {
    transform: scale(1.04) !important;
}

.product-badge-sale {
    position: absolute !important;
    top: 8px !important;
    left: 8px !important;
    background: #8e2a4e !important;
    color: #ffffff !important;
    font-size: 10px !important;
    font-weight: 700 !important;
    padding: 2px 7px !important;
    border-radius: 4px !important;
    text-transform: uppercase !important;
    z-index: 2 !important;
    line-height: 1.2 !important;
}

.product-badge-featured {
    position: absolute !important;
    top: 8px !important;
    left: 8px !important;
    background: #d4af37 !important;
    color: #ffffff !important;
    font-size: 10px !important;
    font-weight: 700 !important;
    padding: 2px 7px !important;
    border-radius: 4px !important;
    text-transform: uppercase !important;
    z-index: 2 !important;
    line-height: 1.2 !important;
}

.wish-btn {
    position: absolute !important;
    top: 8px !important;
    right: 8px !important;
    width: 32px !important;
    height: 32px !important;
    border-radius: 50% !important;
    background: #ffffff !important;
    border: 1px solid #fecdd3 !important;
    color: #e11d48 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 15px !important;
    box-shadow: 0 3px 8px rgba(225, 29, 72, 0.15) !important;
    transition: all 0.2s ease !important;
    z-index: 2 !important;
    cursor: pointer !important;
    padding: 0 !important;
}

.wish-btn:hover, .wish-btn.active {
    background: #e11d48 !important;
    color: #ffffff !important;
    border-color: #e11d48 !important;
    box-shadow: 0 4px 12px rgba(225, 29, 72, 0.35) !important;
    transform: scale(1.1) !important;
}

.product-info {
    padding: 12px !important;
    display: flex !important;
    flex-direction: column !important;
    flex-grow: 1 !important;
    justify-content: space-between !important;
    background: #ffffff !important;
    border-top: 1px solid #f1f5f9 !important;
}

.product-cat {
    font-size: 10.5px !important;
    font-weight: 700 !important;
    letter-spacing: 0.5px !important;
    text-transform: uppercase !important;
    color: #8e2a4e !important;
    margin: 0 0 4px 0 !important;
}

.product-name {
    font-size: 13.5px !important;
    font-weight: 600 !important;
    line-height: 1.35 !important;
    color: #0f172a !important;
    text-decoration: none !important;
    margin: 0 0 8px 0 !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    min-height: 38px !important;
}

.product-name:hover {
    color: #8e2a4e !important;
}

.product-cat {
    font-size: 10px !important;
    font-weight: 700 !important;
    letter-spacing: 0.5px !important;
    text-transform: uppercase !important;
    color: #64748b !important;
    margin: 0 0 2px 0 !important;
}

.product-name {
    font-size: 13.5px !important;
    font-weight: 600 !important;
    line-height: 1.35 !important;
    color: #0f172a !important;
    text-decoration: none !important;
    margin: 0 0 6px 0 !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    height: 36px !important;
}

.product-name:hover {
    color: #2874f0 !important;
}

.rating-row {
    display: flex !important;
    align-items: center !important;
    gap: 5px !important;
    font-size: 11px !important;
    margin-bottom: 6px !important;
    flex-wrap: wrap !important;
}

.rating-badge {
    background: #388e3c !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    font-size: 10.5px !important;
    padding: 2px 6px !important;
    border-radius: 4px !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 2px !important;
    line-height: 1.2 !important;
}

.review-count {
    color: #878787 !important;
    font-size: 11px !important;
}

.price-row {
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
    margin: 4px 0 8px 0 !important;
    flex-wrap: wrap !important;
}

.price-current {
    font-size: 16.5px !important;
    font-weight: 800 !important;
    color: #0f172a !important;
}

.price-old {
    font-size: 12px !important;
    color: #878787 !important;
    text-decoration: line-through !important;
}

.discount-pill {
    color: #388e3c !important;
    font-size: 11.5px !important;
    font-weight: 700 !important;
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
}

.product-actions-row {
    display: flex !important;
    flex-direction: row !important;
    gap: 6px !important;
    align-items: center !important;
    width: 100% !important;
    margin-top: 6px !important;
}

.product-actions-row form {
    flex: 1 !important;
    margin: 0 !important;
    padding: 0 !important;
}

.btn-add-cart {
    width: 100% !important;
    background: linear-gradient(135deg, #8e2a4e 0%, #691733 100%) !important;
    color: #ffffff !important;
    border: none !important;
    padding: 8px 4px !important;
    font-size: 11px !important;
    font-weight: 800 !important;
    border-radius: 6px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 3px !important;
    cursor: pointer !important;
    white-space: nowrap !important;
    text-transform: uppercase !important;
    letter-spacing: 0.3px !important;
    box-shadow: 0 3px 10px rgba(142, 42, 78, 0.3) !important;
    line-height: 1.2 !important;
    transition: all 0.25s ease !important;
}

.btn-add-cart:hover {
    background: linear-gradient(135deg, #a3325b 0%, #7d1b3d 100%) !important;
    color: #ffffff !important;
    box-shadow: 0 5px 14px rgba(142, 42, 78, 0.45) !important;
}

.btn-buy-now {
    flex: 1 !important;
    background: linear-gradient(135deg, #8e2a4e 0%, #691733 100%) !important;
    color: #ffffff !important;
    border: none !important;
    padding: 8px 4px !important;
    font-size: 11px !important;
    font-weight: 800 !important;
    border-radius: 6px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 3px !important;
    text-decoration: none !important;
    white-space: nowrap !important;
    text-transform: uppercase !important;
    letter-spacing: 0.3px !important;
    box-shadow: 0 3px 10px rgba(142, 42, 78, 0.3) !important;
    line-height: 1.2 !important;
    transition: all 0.25s ease !important;
}

.btn-buy-now:hover {
    background: linear-gradient(135deg, #a3325b 0%, #7d1b3d 100%) !important;
    color: #ffffff !important;
    box-shadow: 0 5px 14px rgba(142, 42, 78, 0.45) !important;
}
