/* =========================================================
   HANAYA CREATION
   Main Stylesheet
   ========================================================= */


/* =========================================================
   RESET
   ========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family:
        Inter,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;

    background: #fffaf8;
    color: #33282a;
    line-height: 1.6;

    overflow-x: hidden;

    transition:
        background-color 0.3s ease,
        color 0.3s ease;
}

body.cart-open,
body.modal-open {
    overflow: hidden;
}

button,
input,
textarea,
select {
    font: inherit;
}

button {
    cursor: pointer;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    display: block;
    max-width: 100%;
}

.container {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
}


/* =========================================================
   LOADING SCREEN
   ========================================================= */

.loading-screen {
    position: fixed;
    inset: 0;
    z-index: 99999;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    gap: 22px;

    background: #fffaf8;

    transition:
        opacity 0.5s ease,
        visibility 0.5s ease;
}

.loading-screen.hide {
    opacity: 0;
    visibility: hidden;
}

.loading-logo {
    font-family: Georgia, serif;
    font-size: 2rem;
    font-weight: 700;
    color: #9c5f6c;
}

.loader {
    width: 38px;
    height: 38px;

    border: 4px solid #eadadd;
    border-top-color: #9c5f6c;

    border-radius: 50%;

    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}


/* =========================================================
   HEADER
   ========================================================= */

.header {
    position: sticky;
    top: 0;
    z-index: 5000;

    background: rgba(255, 250, 248, 0.94);

    border-bottom: 1px solid #f0e3e2;

    backdrop-filter: blur(15px);

    transition:
        box-shadow 0.3s ease,
        background 0.3s ease;
}

.header.scrolled {
    box-shadow:
        0 5px 25px rgba(90, 55, 60, 0.08);
}

.header-inner {
    min-height: 78px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 30px;
}


/* =========================================================
   LOGO
   ========================================================= */

.logo {
    display: inline-flex;
    align-items: center;

    gap: 10px;
    flex-shrink: 0;
}

.logo-icon {
    width: 42px;
    height: 42px;

    display: grid;
    place-items: center;

    background: #f7e3e4;

    border-radius: 50%;

    font-size: 1.35rem;
}

.logo strong {
    display: block;

    font-family: Georgia, serif;
    font-size: 1.35rem;

    line-height: 1;

    color: #8f5361;
}

.logo small {
    display: block;

    margin-top: 4px;

    font-size: 0.72rem;
    letter-spacing: 2px;

    text-transform: uppercase;

    color: #8d7b7d;
}


/* =========================================================
   NAVIGATION
   ========================================================= */

.main-nav {
    display: flex;
    align-items: center;

    gap: 30px;
}

.main-nav a {
    position: relative;

    font-size: 0.95rem;
    font-weight: 600;

    color: #5c4b4e;

    transition: color 0.25s ease;
}

.main-nav a::after {
    content: "";

    position: absolute;

    left: 0;
    bottom: -7px;

    width: 0;
    height: 2px;

    background: #9c5f6c;

    transition: width 0.25s ease;
}

.main-nav a:hover {
    color: #9c5f6c;
}

.main-nav a:hover::after {
    width: 100%;
}


/* =========================================================
   HEADER ACTIONS
   ========================================================= */

.header-actions {
    display: flex;
    align-items: center;

    gap: 9px;
}

.nav-icon-btn,
.mobile-menu-btn {
    position: relative;

    width: 42px;
    height: 42px;

    display: grid;
    place-items: center;

    border: 1px solid #eadbdd;
    border-radius: 50%;

    background: #ffffff;
    color: #59484b;

    font-size: 1.05rem;

    transition:
        transform 0.2s ease,
        background 0.2s ease,
        color 0.2s ease;
}

.nav-icon-btn:hover,
.mobile-menu-btn:hover {
    transform: translateY(-2px);

    background: #f7e5e6;
    color: #8f5361;
}

.nav-count {
    position: absolute;

    top: -5px;
    right: -5px;

    min-width: 19px;
    height: 19px;

    padding: 0 4px;

    display: inline-flex;
    justify-content: center;
    align-items: center;

    border-radius: 50%;

    background: #9c5f6c;
    color: white;

    font-size: 0.68rem;
    font-weight: 700;
}

.wishlist-count {
    display: none;
}

.wishlist-count.show {
    display: inline-flex;
}

.mobile-menu-btn {
    display: none;
}


/* =========================================================
   MOBILE MENU
   ========================================================= */

.mobile-menu {
    position: fixed;

    top: 78px;
    left: 0;
    right: 0;

    z-index: 4900;

    display: none;
    flex-direction: column;

    background: #fffaf8;

    border-bottom: 1px solid #eedfe0;

    box-shadow:
        0 15px 30px rgba(70, 45, 50, 0.08);
}

.mobile-menu.active,
.mobile-menu.open {
    display: flex;
}

.mobile-menu a {
    padding: 15px 25px;

    border-bottom: 1px solid #f1e7e6;

    font-weight: 600;

    color: #59484b;
}

.mobile-menu a:hover {
    background: #f9eeee;
    color: #9c5f6c;
}


/* =========================================================
   HERO
   ========================================================= */

.hero {
    position: relative;

    overflow: hidden;

    min-height: 650px;

    display: flex;
    align-items: center;

    background:
        radial-gradient(
            circle at 80% 20%,
            #f9e4e4 0,
            transparent 30%
        ),
        linear-gradient(
            135deg,
            #fffaf8,
            #f9eeee
        );
}

.hero-content {
    display: grid;

    grid-template-columns:
        1.05fr 0.95fr;

    align-items: center;

    gap: 50px;

    padding: 75px 0;
}

.eyebrow {
    display: inline-block;

    margin-bottom: 12px;

    color: #a25f6e;

    font-size: 0.75rem;
    font-weight: 800;

    letter-spacing: 2.2px;

    text-transform: uppercase;
}

.hero h1 {
    max-width: 700px;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size:
        clamp(3rem, 6vw, 5.6rem);

    line-height: 1.02;

    color: #392b2e;
}

.hero h1 span {
    display: block;

    color: #a25f6e;
}

.hero-text > p {
    max-width: 600px;

    margin-top: 24px;

    font-size: 1.1rem;

    color: #715f62;
}

.hero-buttons {
    display: flex;

    flex-wrap: wrap;

    gap: 14px;

    margin-top: 32px;
}


/* =========================================================
   BUTTONS
   ========================================================= */

.btn {
    min-height: 48px;

    display: inline-flex;

    justify-content: center;
    align-items: center;

    padding: 0 23px;

    border-radius: 30px;

    border: 1px solid transparent;

    font-weight: 700;

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        background 0.2s ease;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-primary {
    background: #9c5f6c;

    color: #ffffff;

    box-shadow:
        0 10px 25px rgba(156, 95, 108, 0.2);
}

.btn-primary:hover {
    background: #874e5b;

    box-shadow:
        0 14px 28px rgba(156, 95, 108, 0.25);
}

.btn-secondary {
    background: #ffffff;

    color: #8f5361;

    border-color: #dfc8cb;
}

.btn-secondary:hover {
    background: #f9eeee;
}


/* =========================================================
   HERO ART
   ========================================================= */

.hero-art {
    position: relative;

    min-height: 470px;

    display: grid;
    place-items: center;
}

.hero-circle {
    position: absolute;

    border-radius: 50%;
}

.hero-circle-one {
    width: 360px;
    height: 360px;

    background: #f3dfe1;

    animation:
        floatOne 5s ease-in-out infinite;
}

.hero-circle-two {
    width: 260px;
    height: 260px;

    border: 2px dashed #d29ba5;

    animation:
        spinSlow 20s linear infinite;
}

.hero-yarn {
    position: relative;

    z-index: 2;

    width: 190px;
    height: 190px;

    display: grid;
    place-items: center;

    border-radius: 50%;

    background: #ffffff;

    font-size: 7rem;

    box-shadow:
        0 25px 60px rgba(120, 75, 82, 0.16);
}

.floating-card {
    position: absolute;

    z-index: 3;

    padding: 13px 18px;

    border-radius: 16px;

    background:
        rgba(255, 255, 255, 0.9);

    box-shadow:
        0 15px 35px rgba(90, 55, 60, 0.12);

    font-weight: 700;

    color: #684d52;
}

.card-one {
    top: 75px;
    left: 4%;

    animation:
        floatTwo 4s ease-in-out infinite;
}

.card-two {
    right: 2%;
    bottom: 75px;

    animation:
        floatTwo 4.5s ease-in-out infinite reverse;
}

@keyframes floatOne {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

@keyframes floatTwo {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-9px);
    }
}

@keyframes spinSlow {

    to {
        transform: rotate(360deg);
    }
}


/* =========================================================
   INFO SECTION
   ========================================================= */

.info-section {
    padding: 35px 0;

    background: #ffffff;

    border-bottom:
        1px solid #f0e5e4;
}

.info-grid {
    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 18px;
}

.info-card {
    padding: 22px;

    text-align: center;

    border-radius: 18px;

    background: #fffaf8;

    border:
        1px solid #f0e1e2;
}

.info-icon {
    font-size: 1.7rem;

    margin-bottom: 8px;
}

.info-card h3 {
    margin-bottom: 4px;

    font-size: 1rem;

    color: #59484b;
}

.info-card p {
    font-size: 0.85rem;

    color: #857477;
}


/* =========================================================
   SECTION HEADING
   ========================================================= */

.section-heading {
    max-width: 700px;

    margin: 0 auto 42px;

    text-align: center;
}

.section-heading h2 {
    font-family: Georgia, serif;

    font-size:
        clamp(2.1rem, 4vw, 3.2rem);

    line-height: 1.15;

    color: #392b2e;
}

.section-heading p {
    margin-top: 12px;

    color: #796a6d;
}


/* =========================================================
   PRODUCTS
   ========================================================= */

.products-section {
    padding: 90px 0;

    background: #fffaf8;
}


/* =========================================================
   SHOP TOOLBAR
   ========================================================= */

.shop-toolbar {
    display: flex;

    justify-content: space-between;
    align-items: center;

    gap: 15px;

    margin-bottom: 20px;
}

.search-box {
    width: min(450px, 100%);

    height: 48px;

    display: flex;
    align-items: center;

    gap: 10px;

    padding: 0 16px;

    border:
        1px solid #e8d7d9;

    border-radius: 14px;

    background: #ffffff;

    color: #8d7478;
}

.search-box input {
    width: 100%;

    border: 0;

    outline: 0;

    background: transparent;

    color: #493b3e;
}

.search-box input::placeholder {
    color: #a79699;
}

.sort-select {
    min-width: 190px;

    height: 48px;

    padding: 0 14px;

    border:
        1px solid #e8d7d9;

    border-radius: 14px;

    background: #ffffff;

    color: #5d4b4e;

    outline: none;
}


/* =========================================================
   CATEGORY FILTERS
   ========================================================= */

.category-filters { display:flex; flex-direction:column; align-items:center; gap:12px; margin-bottom:35px; width:100%; }
.category-filters .category-all-row { display:flex; justify-content:center; width:100%; }
.category-filters .category-other-row { display:flex; justify-content:flex-start; align-items:center; flex-wrap:nowrap; gap:10px; width:100%; overflow-x:auto; overflow-y:hidden; padding:4px 12px 10px; scroll-behavior:smooth; scrollbar-width:thin; }
.category-filters .category-other-row .category-filter { flex:0 0 auto; }

.category-filter {
    padding: 10px 18px;

    border:
        1px solid #e2ced1;

    border-radius: 25px;

    background: #ffffff;

    color: #685558;

    font-size: 0.88rem;

    font-weight: 650;

    transition:
        background 0.2s ease,
        color 0.2s ease,
        transform 0.2s ease;
}

.category-filter:hover {
    transform: translateY(-1px);

    background: #f8e9ea;
}

.category-filter.active {
    background: #9c5f6c;

    color: #ffffff;

    border-color: #9c5f6c;
}


/* =========================================================
   PRODUCT GRID
   ========================================================= */

.products-grid {
    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap: 24px;
}


/* =========================================================
   PRODUCT CARD
   ========================================================= */

.product-card {
    overflow: hidden;

    display: flex;

    flex-direction: column;

    border:
        1px solid #eadbdd;

    border-radius: 20px;

    background: #ffffff;

    box-shadow:
        0 8px 25px rgba(75, 48, 53, 0.05);

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.product-card:hover {
    transform: translateY(-6px);

    box-shadow:
        0 18px 40px rgba(75, 48, 53, 0.11);
}


/* =========================================================
   PRODUCT IMAGE
   ========================================================= */

.product-image {
    position: relative;

    aspect-ratio: 1 / 1;

    overflow: hidden;

    background: #f6eeee;
}

.product-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition:
        transform 0.45s ease;
}

.product-card:hover
.product-image img {
    transform: scale(1.05);
}


/* =========================================================
   WISHLIST
   ========================================================= */

.wishlist-btn {
    position: absolute;

    top: 12px;
    right: 12px;

    z-index: 3;

    width: 38px;
    height: 38px;

    display: grid;
    place-items: center;

    border: 0;

    border-radius: 50%;

    background:
        rgba(255, 255, 255, 0.94);

    color: #9c5f6c;

    font-size: 1.35rem;

    box-shadow:
        0 5px 15px rgba(60, 35, 40, 0.1);

    transition:
        transform 0.2s ease,
        background 0.2s ease;
}

.wishlist-btn:hover {
    transform: scale(1.08);
}

.wishlist-btn.active {
    background: #9c5f6c;

    color: #ffffff;
}


/* =========================================================
   QUICK VIEW
   ========================================================= */

.quick-view-btn {
    position: absolute;

    left: 50%;
    bottom: 15px;

    transform:
        translate(-50%, 12px);

    opacity: 0;

    padding: 9px 16px;

    border: 0;

    border-radius: 20px;

    background:
        rgba(255, 255, 255, 0.95);

    color: #754b55;

    font-size: 0.82rem;

    font-weight: 700;

    box-shadow:
        0 8px 20px rgba(70, 40, 45, 0.12);

    transition:
        opacity 0.25s ease,
        transform 0.25s ease;
}

.product-card:hover
.quick-view-btn {
    opacity: 1;

    transform:
        translate(-50%, 0);
}


/* =========================================================
   PRODUCT INFO
   ========================================================= */

.product-info {
    display: flex;

    flex-direction: column;

    flex: 1;

    padding: 18px;
}

.product-category {
    margin-bottom: 5px;

    font-size: 0.7rem;

    font-weight: 800;

    letter-spacing: 1px;

    text-transform: uppercase;

    color: #a26b77;
}

.product-name {
    margin-bottom: 7px;

    font-family: Georgia, serif;

    font-size: 1.18rem;

    color: #443538;
}

.product-description {
    display: -webkit-box;

    overflow: hidden;

    line-clamp: 2;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;

    min-height: 44px;

    font-size: 0.84rem;

    color: #827174;
}

.product-bottom {
    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 10px;

    margin-top: auto;

    padding-top: 17px;
}

.product-price {
    font-size: 1.12rem;

    font-weight: 800;

    color: #8f5361;
}

.add-to-cart-btn {
    padding: 9px 13px;

    border: 0;

    border-radius: 20px;

    background: #f4e2e4;

    color: #7f4d58;

    font-size: 0.78rem;

    font-weight: 750;

    transition:
        background 0.2s ease,
        transform 0.2s ease;
}

.add-to-cart-btn:hover {
    transform: translateY(-1px);

    background: #e9ced2;
}


/* =========================================================
   NO PRODUCTS
   ========================================================= */

.no-products {
    grid-column: 1 / -1;

    padding: 70px 20px;

    text-align: center;

    border-radius: 20px;

    border:
        1px dashed #ddc9cc;

    background: #ffffff;
}

.no-products-icon {
    margin-bottom: 10px;

    font-size: 3rem;
}

.no-products h3 {
    font-family: Georgia, serif;

    font-size: 1.7rem;
}

.no-products p {
    margin: 7px 0 20px;

    color: #827174;
}


/* =========================================================
   ABOUT
   ========================================================= */

.about-section {
    padding: 95px 0;

    background: #ffffff;
}

.about-grid {
    display: grid;

    grid-template-columns:
        0.85fr 1.15fr;

    align-items: center;

    gap: 70px;
}

.about-art {
    min-height: 390px;

    display: grid;
    place-items: center;

    border-radius: 35px;

    background:
        radial-gradient(
            circle at center,
            #f4dfe1,
            #f9eeee
        );

    font-size: 9rem;

    box-shadow:
        inset 0 0 0 1px #f0dfe0;
}

.about-content h2 {
    font-family: Georgia, serif;

    font-size:
        clamp(2.2rem, 4vw, 3.5rem);

    line-height: 1.1;

    color: #392b2e;
}

.about-content p {
    margin: 18px 0;

    color: #77686b;

    max-width: 650px;
}

.about-content .btn {
    margin-top: 8px;
}


/* =========================================================
   FAQ
   ========================================================= */

.faq-section {
    padding: 90px 0;

    background: #fffaf8;
}

.faq-list {
    width: min(850px, 100%);

    margin: 0 auto;
}

.faq-item {
    overflow: hidden;

    margin-bottom: 12px;

    border:
        1px solid #eadbdd;

    border-radius: 15px;

    background: #ffffff;
}

.faq-question {
    width: 100%;

    display: flex;

    justify-content: space-between;
    align-items: center;

    gap: 20px;

    padding: 20px;

    border: 0;

    background: transparent;

    text-align: left;

    color: #4c3b3f;

    font-weight: 750;
}

.faq-question span {
    flex-shrink: 0;

    width: 28px;
    height: 28px;

    display: grid;
    place-items: center;

    border-radius: 50%;

    background: #f5e4e5;

    color: #8f5361;

    transition:
        transform 0.25s ease;
}

.faq-item.active
.faq-question span {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;

    overflow: hidden;

    transition:
        max-height 0.3s ease;
}

.faq-answer p {
    padding: 0 20px 20px;

    color: #7d6d70;
}


/* =========================================================
   CONTACT
   ========================================================= */

.contact-section {
    padding: 75px 0;

    background: #ffffff;
}

.contact-box {
    display: flex;

    justify-content: space-between;
    align-items: center;

    gap: 30px;

    padding: 45px;

    border-radius: 28px;

    background:
        linear-gradient(
            135deg,
            #f9e7e8,
            #f6eeee
        );

    border:
        1px solid #edd9db;
}

.contact-box h2 {
    margin-bottom: 8px;

    font-family: Georgia, serif;

    font-size: 2.4rem;

    color: #422f33;
}

.contact-box p {
    color: #796a6d;
}


/* =========================================================
   FOOTER
   ========================================================= */

.footer {
    background: #33272a;

    color: #eee2e3;
}

.footer-grid {
    display: grid;

    grid-template-columns:
        1.4fr
        1fr
        1fr
        1fr;

    gap: 45px;

    padding: 65px 0;
}

.footer .logo strong {
    color: #ffffff;
}

.footer .logo small {
    color: #c7b2b5;
}

.footer-brand p {
    max-width: 300px;

    margin-top: 18px;

    color: #bfaeb1;
}

.footer-links {
    display: flex;

    flex-direction: column;

    align-items: flex-start;

    gap: 9px;
}

.footer-links h3 {
    margin-bottom: 8px;

    color: #ffffff;

    font-size: 1rem;
}

.footer-links a,
.footer-links button {
    border: 0;

    background: transparent;

    color: #bfaeb1;

    font-size: 0.9rem;

    transition:
        color 0.2s ease;
}

.footer-links a:hover,
.footer-links button:hover {
    color: #ffffff;
}

.footer-bottom {
    border-top:
        1px solid rgba(255, 255, 255, 0.08);
}

.footer-bottom .container {
    padding: 20px 0;

    text-align: center;

    color: #a99498;

    font-size: 0.82rem;
}


/* =========================================================
   CART OVERLAY
   ========================================================= */

.cart-overlay {
    position: fixed;

    inset: 0;

    z-index: 7000;

    background:
        rgba(30, 20, 22, 0.42);

    opacity: 0;

    visibility: hidden;

    transition:
        opacity 0.3s ease,
        visibility 0.3s ease;
}

body.cart-open .cart-overlay {
    opacity: 1;

    visibility: visible;
}


/* =========================================================
   CART DRAWER
   ========================================================= */

.cart-drawer {
    position: fixed;

    top: 0;
    right: 0;

    z-index: 7100;

    width: min(440px, 100%);

    height: 100vh;

    display: flex;

    flex-direction: column;

    background: #fffaf8;

    box-shadow:
        -20px 0 60px rgba(50, 30, 34, 0.15);

    transform:
        translateX(100%);

    transition:
        transform 0.35s ease;
}

.cart-drawer.active,
.cart-drawer.open {
    transform:
        translateX(0);
}

.cart-header {
    display: flex;

    justify-content: space-between;
    align-items: center;

    padding: 22px;

    border-bottom:
        1px solid #eadbdd;
}

.cart-header h2 {
    font-family: Georgia, serif;

    color: #453337;
}

.cart-header span {
    color: #88777a;

    font-size: 0.82rem;
}

.close-btn,
.modal-close {
    width: 38px;
    height: 38px;

    display: grid;
    place-items: center;

    border: 0;

    border-radius: 50%;

    background: #f4e3e5;

    color: #754b55;

    font-size: 1.5rem;
}

.cart-items {
    flex: 1;

    overflow-y: auto;

    padding: 18px;
}


/* =========================================================
   CART ITEM
   ========================================================= */

.cart-item {
    display: grid;

    grid-template-columns:
        68px 1fr;

    gap: 12px;

    padding: 13px 0;

    border-bottom:
        1px solid #efe2e2;
}

.cart-item-image {
    width: 68px;
    height: 68px;

    overflow: hidden;

    border-radius: 12px;

    background: #f5e9e9;
}

.cart-item-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;
}

.cart-item-info {
    min-width: 0;
}

.cart-item-info h4 {
    margin-bottom: 4px;

    font-size: 0.94rem;

    color: #4a393d;
}

.cart-item-info span {
    color: #95606b;

    font-size: 0.86rem;

    font-weight: 700;
}

.cart-item-actions {
    grid-column: 1 / -1;

    display: flex;

    justify-content: space-between;
    align-items: center;

    gap: 10px;
}

.cart-item-actions strong {
    margin-left: auto;

    color: #4d3a3e;
}

.quantity-controls {
    display: flex;

    align-items: center;

    border:
        1px solid #e1ced1;

    border-radius: 9px;

    overflow: hidden;

    background: #ffffff;
}

.quantity-controls button {
    width: 30px;
    height: 30px;

    border: 0;

    background: transparent;

    color: #8e5762;
}

.quantity-controls input {
    width: 35px;
    height: 30px;

    border: 0;

    text-align: center;

    outline: 0;

    color: #4f3d41;

    background: transparent;
}

.remove-cart-item {
    width: 30px;
    height: 30px;

    border: 0;

    border-radius: 50%;

    background: #f6e7e8;

    color: #9c5f6c;

    font-size: 1.1rem;
}


/* =========================================================
   EMPTY CART
   ========================================================= */

.empty-cart {
    padding: 70px 15px;

    text-align: center;
}

.empty-cart-icon {
    margin-bottom: 15px;

    font-size: 3.5rem;
}

.empty-cart h3 {
    font-family: Georgia, serif;

    color: #4a393d;
}

.empty-cart p {
    margin: 8px 0 20px;

    color: #88777a;
}


/* =========================================================
   CART FOOTER
   ========================================================= */

.cart-footer {
    padding: 20px;

    border-top:
        1px solid #eadbdd;

    background: #ffffff;
}

.cart-total-row {
    display: flex;

    justify-content: space-between;

    margin-bottom: 10px;

    color: #796a6d;
}

.cart-total-row strong {
    color: #574346;
}

.cart-total-row.final-total {
    margin-top: 8px;

    margin-bottom: 18px;

    padding-top: 14px;

    border-top:
        1px solid #eadbdd;

    font-size: 1.15rem;

    color: #433235;
}

.cart-total-row.final-total strong {
    color: #8f5361;
}

.checkout-btn {
    width: 100%;
}

.clear-cart-btn {
    width: 100%;

    margin-top: 9px;

    padding: 10px;

    border: 0;

    background: transparent;

    color: #98747b;

    font-size: 0.82rem;
}


/* =========================================================
   MODAL OVERLAY
   ========================================================= */

.modal-overlay {
    position: fixed;

    inset: 0;

    z-index: 8000;

    display: flex;

    justify-content: center;
    align-items: center;

    padding: 20px;

    background:
        rgba(35, 23, 26, 0.55);

    opacity: 0;

    visibility: hidden;

    transition:
        opacity 0.3s ease,
        visibility 0.3s ease;
}

.modal-overlay.active,
.modal-overlay.open {
    opacity: 1;

    visibility: visible;
}


/* =========================================================
   CHECKOUT MODAL
   ========================================================= */

.checkout-modal {
    position: relative;

    width: min(950px, 100%);

    max-height: 90vh;

    overflow-y: auto;

    padding: 35px;

    border-radius: 25px;

    background: #fffaf8;

    box-shadow:
        0 25px 80px rgba(30, 20, 22, 0.2);
}

.modal-close {
    position: absolute;

    top: 17px;
    right: 17px;
}

.modal-heading {
    margin-bottom: 28px;
}

.modal-heading h2 {
    font-family: Georgia, serif;

    font-size: 2.2rem;

    color: #423134;
}

.checkout-layout {
    display: grid;

    grid-template-columns:
        1fr 0.9fr;

    gap: 30px;
}

.checkout-form {
    display: flex;

    flex-direction: column;
}

.checkout-form label {
    margin-bottom: 6px;

    color: #5d4a4e;

    font-size: 0.85rem;

    font-weight: 700;
}

.checkout-form input,
.checkout-form textarea {
    width: 100%;

    margin-bottom: 17px;

    padding: 13px 14px;

    border:
        1px solid #e3d1d3;

    border-radius: 11px;

    outline: none;

    background: #ffffff;

    color: #49383c;

    resize: vertical;

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.checkout-form input:focus,
.checkout-form textarea:focus {
    border-color: #b47782;

    box-shadow:
        0 0 0 3px rgba(156, 95, 108, 0.1);
}

.place-order-btn {
    width: 100%;

    margin-top: 5px;
}


/* =========================================================
   CHECKOUT SUMMARY
   ========================================================= */

.checkout-summary {
    padding: 22px;

    border:
        1px solid #eadbdd;

    border-radius: 18px;

    background: #ffffff;
}

.checkout-summary h3 {
    margin-bottom: 17px;

    font-family: Georgia, serif;

    color: #4a393d;
}

.checkout-items {
    max-height: 330px;

    overflow-y: auto;
}

.checkout-item {
    display: flex;

    justify-content: space-between;

    gap: 15px;

    padding: 11px 0;

    border-bottom:
        1px solid #eee2e2;

    font-size: 0.87rem;
}

.checkout-item strong {
    color: #4d3c40;
}

.checkout-item small {
    margin-left: 5px;

    color: #988588;
}

.checkout-item span {
    flex-shrink: 0;

    color: #8f5361;

    font-weight: 700;
}

.checkout-summary-total {
    display: flex;

    justify-content: space-between;

    margin-top: 20px;

    padding-top: 17px;

    border-top:
        1px solid #e8d9da;

    font-size: 1.1rem;

    font-weight: 800;
}

.checkout-summary-total strong {
    color: #8f5361;
}


/* =========================================================
   PRODUCT MODAL
   ========================================================= */

.product-modal {
    position: relative;

    width: min(900px, 100%);

    max-height: 90vh;

    overflow-y: auto;

    padding: 25px;

    border-radius: 25px;

    background: #fffaf8;

    box-shadow:
        0 25px 80px rgba(30, 20, 22, 0.2);
}

.product-modal-grid {
    display: grid;

    grid-template-columns:
        1fr 1fr;

    gap: 35px;

    align-items: center;
}

.modal-image-wrap {
    overflow: hidden;

    aspect-ratio: 1 / 1;

    border-radius: 20px;

    background: #f5e9e9;
}

.modal-image-wrap img {
    width: 100%;
    height: 100%;

    object-fit: cover;
}

.modal-product-content {
    padding: 15px;
}

.modal-product-category {
    display: inline-block;

    margin-bottom: 7px;

    color: #a05e6d;

    font-size: 0.72rem;

    font-weight: 800;

    letter-spacing: 1.5px;

    text-transform: uppercase;
}

.modal-product-content h2 {
    margin-bottom: 12px;

    font-family: Georgia, serif;

    font-size: 2.5rem;

    line-height: 1.1;

    color: #433235;
}

.modal-product-price {
    margin-bottom: 15px;

    color: #925765;

    font-size: 1.5rem;

    font-weight: 800;
}

.modal-product-content p {
    margin-bottom: 25px;

    color: #78696c;
}

.modal-actions {
    display: flex;

    flex-wrap: wrap;

    gap: 10px;
}


/* =========================================================
   BACK TO TOP
   ========================================================= */

.back-to-top {
    position: fixed;

    right: 22px;
    bottom: 22px;

    z-index: 4000;

    width: 45px;
    height: 45px;

    display: grid;
    place-items: center;

    border: 0;

    border-radius: 50%;

    background: #9c5f6c;

    color: #ffffff;

    font-size: 1.2rem;

    box-shadow:
        0 10px 25px rgba(80, 45, 50, 0.2);

    opacity: 0;

    visibility: hidden;

    transform:
        translateY(15px);

    transition:
        opacity 0.25s ease,
        visibility 0.25s ease,
        transform 0.25s ease;
}

.back-to-top.show {
    opacity: 1;

    visibility: visible;

    transform:
        translateY(0);
}


/* =========================================================
   TOAST
   ========================================================= */

.hanaya-toast {
    position: fixed;

    left: 50%;
    bottom: 25px;

    z-index: 10000;

    transform:
        translate(-50%, 20px);

    opacity: 0;

    max-width:
        min(420px, calc(100% - 30px));

    padding: 12px 20px;

    border-radius: 30px;

    background: #3b2c30;

    color: #ffffff;

    font-size: 0.88rem;

    font-weight: 650;

    box-shadow:
        0 12px 35px rgba(40, 25, 28, 0.2);

    pointer-events: none;

    transition:
        opacity 0.25s ease,
        transform 0.25s ease;
}

.hanaya-toast.show {
    opacity: 1;

    transform:
        translate(-50%, 0);
}


/* =========================================================
   DARK MODE
   ========================================================= */

html[data-theme="dark"] body,
body[data-theme="dark"] {
    background: #211a1c;

    color: #eee2e3;
}

html[data-theme="dark"] .header,
body[data-theme="dark"] .header {
    background:
        rgba(33, 26, 28, 0.94);

    border-color: #392e31;
}

html[data-theme="dark"] .main-nav a,
body[data-theme="dark"] .main-nav a {
    color: #d8c9cb;
}

html[data-theme="dark"] .nav-icon-btn,
body[data-theme="dark"] .nav-icon-btn,
html[data-theme="dark"] .mobile-menu-btn,
body[data-theme="dark"] .mobile-menu-btn {
    background: #2d2326;

    border-color: #45363a;

    color: #eadbdd;
}

html[data-theme="dark"] .mobile-menu,
body[data-theme="dark"] .mobile-menu {
    background: #211a1c;

    border-color: #392e31;
}

html[data-theme="dark"] .mobile-menu a,
body[data-theme="dark"] .mobile-menu a {
    color: #ddd0d2;

    border-color: #392e31;
}

html[data-theme="dark"] .hero,
body[data-theme="dark"] .hero {
    background:
        radial-gradient(
            circle at 80% 20%,
            #493337 0,
            transparent 30%
        ),
        linear-gradient(
            135deg,
            #211a1c,
            #2c2023
        );
}

html[data-theme="dark"] .hero h1,
body[data-theme="dark"] .hero h1,
html[data-theme="dark"] .section-heading h2,
body[data-theme="dark"] .section-heading h2,
html[data-theme="dark"] .about-content h2,
body[data-theme="dark"] .about-content h2 {
    color: #f4e9ea;
}

html[data-theme="dark"] .hero-text > p,
body[data-theme="dark"] .hero-text > p,
html[data-theme="dark"] .section-heading p,
body[data-theme="dark"] .section-heading p,
html[data-theme="dark"] .about-content p,
body[data-theme="dark"] .about-content p {
    color: #bfaeb1;
}

html[data-theme="dark"] .hero-circle-one,
body[data-theme="dark"] .hero-circle-one {
    background: #493337;
}

html[data-theme="dark"] .hero-yarn,
body[data-theme="dark"] .hero-yarn {
    background: #302427;
}

html[data-theme="dark"] .floating-card,
body[data-theme="dark"] .floating-card {
    background:
        rgba(48, 36, 39, 0.95);

    color: #eadbdd;
}

html[data-theme="dark"] .info-section,
body[data-theme="dark"] .info-section,
html[data-theme="dark"] .about-section,
body[data-theme="dark"] .about-section,
html[data-theme="dark"] .contact-section,
body[data-theme="dark"] .contact-section {
    background: #271e21;

    border-color: #392e31;
}

html[data-theme="dark"] .info-card,
body[data-theme="dark"] .info-card,
html[data-theme="dark"] .product-card,
body[data-theme="dark"] .product-card,
html[data-theme="dark"] .faq-item,
body[data-theme="dark"] .faq-item,
html[data-theme="dark"] .search-box,
body[data-theme="dark"] .search-box,
html[data-theme="dark"] .sort-select,
body[data-theme="dark"] .sort-select {
    background: #2c2225;

    border-color: #44353a;
}

html[data-theme="dark"] .info-card h3,
body[data-theme="dark"] .info-card h3,
html[data-theme="dark"] .product-name,
body[data-theme="dark"] .product-name,
html[data-theme="dark"] .faq-question,
body[data-theme="dark"] .faq-question,
html[data-theme="dark"] .product-card,
body[data-theme="dark"] .product-card {
    color: #eee2e3;
}

html[data-theme="dark"] .info-card p,
body[data-theme="dark"] .info-card p,
html[data-theme="dark"] .product-description,
body[data-theme="dark"] .product-description,
html[data-theme="dark"] .faq-answer p,
body[data-theme="dark"] .faq-answer p {
    color: #bba9ad;
}

html[data-theme="dark"] .products-section,
body[data-theme="dark"] .products-section,
html[data-theme="dark"] .faq-section,
body[data-theme="dark"] .faq-section {
    background: #211a1c;
}

html[data-theme="dark"] .category-filter,
body[data-theme="dark"] .category-filter {
    background: #2c2225;

    border-color: #4a393e;

    color: #d6c7ca;
}

html[data-theme="dark"] .category-filter:hover,
body[data-theme="dark"] .category-filter:hover {
    background: #3a292d;
}

html[data-theme="dark"] .category-filter.active,
body[data-theme="dark"] .category-filter.active {
    background: #9c5f6c;

    color: #ffffff;
}

html[data-theme="dark"] .search-box input,
body[data-theme="dark"] .search-box input,
html[data-theme="dark"] .sort-select,
body[data-theme="dark"] .sort-select {
    color: #eee2e3;
}

html[data-theme="dark"] .sort-select option {
    background: #2c2225;
}

html[data-theme="dark"] .about-art,
body[data-theme="dark"] .about-art {
    background:
        radial-gradient(
            circle at center,
            #4a3439,
            #2d2225
        );
}

html[data-theme="dark"] .contact-box,
body[data-theme="dark"] .contact-box {
    background:
        linear-gradient(
            135deg,
            #493337,
            #38292d
        );

    border-color: #543d42;
}

html[data-theme="dark"] .contact-box h2,
body[data-theme="dark"] .contact-box h2 {
    color: #f2e5e7;
}

html[data-theme="dark"] .contact-box p,
body[data-theme="dark"] .contact-box p {
    color: #c1afb3;
}

html[data-theme="dark"] .cart-drawer,
body[data-theme="dark"] .cart-drawer,
html[data-theme="dark"] .checkout-modal,
body[data-theme="dark"] .checkout-modal,
html[data-theme="dark"] .product-modal,
body[data-theme="dark"] .product-modal {
    background: #211a1c;
}

html[data-theme="dark"] .cart-header,
body[data-theme="dark"] .cart-header,
html[data-theme="dark"] .cart-footer,
body[data-theme="dark"] .cart-footer {
    border-color: #3c3034;

    background: #2a2023;
}

html[data-theme="dark"] .cart-header h2,
body[data-theme="dark"] .cart-header h2,
html[data-theme="dark"] .modal-heading h2,
body[data-theme="dark"] .modal-heading h2,
html[data-theme="dark"] .modal-product-content h2,
body[data-theme="dark"] .modal-product-content h2,
html[data-theme="dark"] .checkout-summary h3,
body[data-theme="dark"] .checkout-summary h3 {
    color: #f1e5e7;
}

html[data-theme="dark"] .cart-item,
body[data-theme="dark"] .cart-item,
html[data-theme="dark"] .checkout-item,
body[data-theme="dark"] .checkout-item {
    border-color: #3c3034;
}

html[data-theme="dark"] .cart-item-info h4,
body[data-theme="dark"] .cart-item-info h4,
html[data-theme="dark"] .cart-total-row,
body[data-theme="dark"] .cart-total-row,
html[data-theme="dark"] .checkout-summary-total,
body[data-theme="dark"] .checkout-summary-total {
    color: #d7c7ca;
}

html[data-theme="dark"] .checkout-summary,
body[data-theme="dark"] .checkout-summary {
    background: #2a2023;

    border-color: #44353a;
}

html[data-theme="dark"] .checkout-form input,
body[data-theme="dark"] .checkout-form input,
html[data-theme="dark"] .checkout-form textarea,
body[data-theme="dark"] .checkout-form textarea {
    background: #2c2225;

    border-color: #49383d;

    color: #eee2e3;
}

html[data-theme="dark"] .loading-screen,
body[data-theme="dark"] .loading-screen {
    background: #211a1c;
}

html[data-theme="dark"] .loading-logo,
body[data-theme="dark"] .loading-logo {
    color: #e3aab4;
}


/* =========================================================
   RESPONSIVE — TABLET
   ========================================================= */

@media (max-width: 1050px) {

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

    .hero-content {
        grid-template-columns:
            1fr 0.8fr;
    }

    .hero h1 {
        font-size:
            clamp(2.8rem, 6vw, 4.5rem);
    }

    .info-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }
}


/* =========================================================
   RESPONSIVE — MOBILE
   ========================================================= */

@media (max-width: 780px) {

    .container {
        width:
            min(100% - 28px, 620px);
    }

    .header-inner {
        min-height: 70px;
    }

    .main-nav {
        display: none;
    }

    .mobile-menu-btn {
        display: grid;
    }

    .mobile-menu {
        top: 70px;
    }

    .hero {
        min-height: auto;
    }

    .hero-content {
        grid-template-columns: 1fr;

        padding:
            65px 0 50px;

        text-align: center;
    }

    .hero-text > p {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-art {
        min-height: 350px;
    }

    .hero-circle-one {
        width: 270px;
        height: 270px;
    }

    .hero-circle-two {
        width: 205px;
        height: 205px;
    }

    .hero-yarn {
        width: 140px;
        height: 140px;

        font-size: 5rem;
    }

    .floating-card {
        font-size: 0.78rem;
    }

    .card-one {
        left: 0;
        top: 40px;
    }

    .card-two {
        right: 0;
        bottom: 40px;
    }

    .shop-toolbar {
        flex-direction: column;

        align-items: stretch;
    }

    .search-box {
        width: 100%;
    }

    .sort-select {
        width: 100%;
    }

    .products-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        gap: 15px;
    }

    .product-info {
        padding: 14px;
    }

    .product-name {
        font-size: 1rem;
    }

    .product-description {
        font-size: 0.77rem;
    }

    .product-bottom {
        align-items: stretch;

        flex-direction: column;
    }

    .add-to-cart-btn {
        width: 100%;
    }

    .about-grid {
        grid-template-columns: 1fr;

        gap: 35px;
    }

    .about-art {
        min-height: 280px;

        font-size: 7rem;
    }

    .contact-box {
        flex-direction: column;

        align-items: flex-start;

        padding: 32px;
    }

    .checkout-layout {
        grid-template-columns: 1fr;
    }

    .product-modal-grid {
        grid-template-columns: 1fr;
    }

    .modal-product-content {
        padding: 5px;
    }

    .modal-product-content h2 {
        font-size: 2rem;
    }
}


/* =========================================================
   RESPONSIVE — SMALL MOBILE
   ========================================================= */

@media (max-width: 480px) {

    .container {
        width:
            calc(100% - 22px);
    }

    .logo strong {
        font-size: 1.1rem;
    }

    .logo small {
        font-size: 0.6rem;

        letter-spacing: 1.5px;
    }

    .logo-icon {
        width: 37px;
        height: 37px;
    }

    .header-actions {
        gap: 5px;
    }

    .nav-icon-btn,
    .mobile-menu-btn {
        width: 37px;
        height: 37px;

        font-size: 0.9rem;
    }

    .hero h1 {
        font-size: 2.55rem;
    }

    .hero-text > p {
        font-size: 0.95rem;
    }

    .hero-buttons {
        flex-direction: column;

        width: 100%;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    .hero-art {
        min-height: 290px;
    }

    .hero-circle-one {
        width: 225px;
        height: 225px;
    }

    .hero-circle-two {
        width: 175px;
        height: 175px;
    }

    .hero-yarn {
        width: 115px;
        height: 115px;

        font-size: 4rem;
    }

    .floating-card {
        padding: 8px 11px;

        font-size: 0.68rem;
    }

    .info-grid {
        grid-template-columns:
            1fr 1fr;

        gap: 10px;
    }

    .info-card {
        padding: 16px 9px;
    }

    .info-card h3 {
        font-size: 0.88rem;
    }

    .info-card p {
        font-size: 0.72rem;
    }

    .products-section,
    .about-section,
    .faq-section {
        padding: 65px 0;
    }

    .section-heading {
        margin-bottom: 30px;
    }

    .category-filters {
        justify-content: flex-start;

        overflow-x: auto;

        flex-wrap: nowrap;

        padding-bottom: 7px;
    }

    .category-filter {
        flex-shrink: 0;

        padding: 9px 14px;

        font-size: 0.78rem;
    }

    .products-grid {
        gap: 11px;
    }

    .product-image {
        aspect-ratio: 0.9 / 1;
    }

    .product-info {
        padding: 11px;
    }

    .product-category {
        font-size: 0.58rem;
    }

    .product-name {
        font-size: 0.9rem;
    }

    .product-description {
        display: none;
    }

    .product-price {
        font-size: 0.95rem;
    }

    .add-to-cart-btn {
        padding: 8px 5px;

        font-size: 0.7rem;
    }

    .quick-view-btn {
        display: none;
    }

    .wishlist-btn {
        width: 33px;
        height: 33px;

        font-size: 1.05rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;

        gap: 30px;
    }

    .footer {
        text-align: left;
    }

    .checkout-modal,
    .product-modal {
        padding: 20px;
    }

    .modal-product-content h2 {
        font-size: 1.8rem;
    }

    .modal-actions {
        flex-direction: column;
    }

    .modal-actions .btn {
        width: 100%;
    }

    .cart-drawer {
        width: 100%;
    }

    .back-to-top {
        right: 14px;
        bottom: 14px;
    }
}


/* =========================================================
   ACCESSIBILITY
   ========================================================= */

button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {

    outline:
        3px solid rgba(156, 95, 108, 0.3);

    outline-offset: 2px;
}


/* =========================================================
   REDUCED MOTION
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {

        animation-duration:
            0.01ms !important;

        animation-iteration-count:
            1 !important;

        transition-duration:
            0.01ms !important;
    }
}


/* =========================================================
   HERO BACKGROUND VIDEO
   ========================================================= */
.hero {
    position: relative;
    overflow: hidden;
    isolation: isolate;
}
.hero-background-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
    pointer-events: none;
}
.hero-video-overlay {
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(90deg, rgba(255,250,246,.94) 0%, rgba(255,250,246,.72) 48%, rgba(255,250,246,.18) 100%);
    pointer-events: none;
}
.hero-content {
    position: relative;
    z-index: 1;
}
@media (max-width: 700px) {
    .hero-video-overlay {
        background: rgba(255,250,246,.76);
    }
}

/* =========================================================
   MOBILE APP EXPERIENCE — REFINED LAYOUT
   ========================================================= */
@media (max-width: 700px) {
  :root { --mobile-nav-height: 76px; }
  body { padding-bottom: calc(var(--mobile-nav-height) + env(safe-area-inset-bottom)); overflow-x:hidden; }
  .header { position:sticky; top:0; z-index:1200; backdrop-filter:blur(16px); }
  .header-inner { min-height:64px; padding:10px 14px; gap:8px; }
  .logo { gap:8px; font-size:15px; }
  .logo-icon { font-size:24px; }
  .logo small { font-size:10px; }
  .main-nav { display:none !important; }
  .header-actions { margin-left:auto; gap:4px; }
  .header-actions .nav-icon-btn { width:40px; height:40px; font-size:19px; }
  .mobile-menu-btn { display:flex !important; width:40px; height:40px; align-items:center; justify-content:center; }
  .hero { min-height:calc(100svh - 64px); padding:44px 18px 34px; display:flex; align-items:center; }
  .hero-content { width:100%; }
  .hero h1 { font-size:clamp(2rem,9vw,3.3rem); line-height:1.05; }
  .hero-actions, .cta-group { display:grid; grid-template-columns:1fr; gap:10px; }
  .hero-actions .btn, .cta-group .btn { width:100%; }
  .section { padding:48px 16px; }
  .section-heading { margin-bottom:22px; }
  .products-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
  .product-card { border-radius:18px; overflow:hidden; }
  .product-card img { aspect-ratio:1/1; object-fit:cover; }
  .product-card .product-info { padding:11px; }
  .product-card h3 { font-size:14px; line-height:1.3; }
  .product-card .price { font-size:15px; }
  .product-card .btn { width:100%; min-height:40px; padding:8px 10px; font-size:12px; }
  .filters, .search-bar { width:100%; }
  .search-bar input { min-height:46px; }
  .cart-drawer { max-width:100%; }
@media (min-width:701px) { .mobile-menu-btn { display:none !important; } }

}


/* =========================================================
   SEO MAX + UI/UX POLISH
   ========================================================= */
:root {
    --hc-primary: #9c5f6c;
    --hc-primary-dark: #7e4654;
    --hc-ink: #33282a;
    --hc-muted: #75686b;
    --hc-surface: rgba(255,255,255,.86);
    --hc-border: rgba(156,95,108,.14);
    --hc-shadow: 0 18px 55px rgba(74,45,51,.10);
}

.skip-link {
    position: fixed;
    left: 16px;
    top: 12px;
    z-index: 100000;
    transform: translateY(-160%);
    background: #33282a;
    color: #fff;
    padding: 10px 16px;
    border-radius: 999px;
    font-weight: 700;
    transition: transform .2s ease;
}
.skip-link:focus { transform: translateY(0); }

.btn,
.add-to-cart-btn,
.quick-view-btn,
.category-filter,
.nav-icon-btn,
.mobile-menu-btn,
.wishlist-btn,
.modal-close,
.clear-cart-btn {
    -webkit-tap-highlight-color: transparent;
    transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease, border-color .2s ease, opacity .2s ease;
}

.btn:not(:disabled):hover,
.add-to-cart-btn:not(:disabled):hover,
.category-filter:hover,
.nav-icon-btn:hover,
.mobile-menu-btn:hover {
    transform: translateY(-2px);
}

.btn:active,
.add-to-cart-btn:active,
.category-filter:active,
.nav-icon-btn:active,
.mobile-menu-btn:active {
    transform: translateY(0) scale(.98);
}

.btn:disabled,
.add-to-cart-btn:disabled {
    cursor: not-allowed;
    opacity: .55;
}

.products-section {
    scroll-margin-top: 92px;
}

.product-card {
    border: 1px solid var(--hc-border);
    box-shadow: 0 10px 32px rgba(74,45,51,.06);
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.product-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--hc-shadow);
    border-color: rgba(156,95,108,.26);
}
.product-image {
    background: linear-gradient(135deg,#f9eeee,#f4e4e7);
}
.product-image img {
    transition: transform .45s ease;
}
.product-card:hover .product-image img {
    transform: scale(1.035);
}

.shop-toolbar {
    position: sticky;
    top: 78px;
    z-index: 50;
    padding: 10px;
    border: 1px solid var(--hc-border);
    border-radius: 20px;
    background: rgba(255,250,248,.78);
    backdrop-filter: blur(16px);
}

.category-filter.active {
    box-shadow: 0 8px 20px rgba(156,95,108,.16);
}

.search-box:focus-within {
    border-color: rgba(156,95,108,.42);
    box-shadow: 0 0 0 4px rgba(156,95,108,.09);
}

.seo-intro-section {
    padding: 76px 0;
    background: linear-gradient(180deg,#fffaf8 0%,#f9eef0 100%);
}
.seo-intro-grid {
    display: grid;
    grid-template-columns: 1.35fr .9fr;
    gap: 42px;
    align-items: center;
}
.seo-intro-section h2 {
    margin: 10px 0 16px;
    font-family: Georgia, serif;
    font-size: clamp(2rem,4vw,3.2rem);
    line-height: 1.08;
    color: var(--hc-ink);
}
.seo-intro-section p {
    max-width: 760px;
    color: var(--hc-muted);
    font-size: 1.02rem;
}
.seo-trust-list {
    display: grid;
    gap: 12px;
}
.seo-trust-list > div {
    display: grid;
    grid-template-columns: 38px 1fr;
    column-gap: 12px;
    padding: 17px;
    border: 1px solid var(--hc-border);
    border-radius: 18px;
    background: var(--hc-surface);
    box-shadow: 0 10px 30px rgba(74,45,51,.06);
}
.seo-trust-list span {
    grid-row: span 2;
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #f3dce0;
    color: var(--hc-primary-dark);
    font-weight: 900;
}
.seo-trust-list strong { color: var(--hc-ink); }
.seo-trust-list small { color: var(--hc-muted); }

.modal-overlay.active,
.modal-overlay.open,
.cart-overlay.active,
.cart-overlay.open {
    overscroll-behavior: contain;
}

@media (max-width: 800px) {
    .shop-toolbar { top: 64px; }
    .seo-intro-grid { grid-template-columns: 1fr; gap: 26px; }
    .seo-intro-section { padding: 58px 0; }
}

@media (max-width: 520px) {
    .container { width: min(100% - 24px, 1180px); }
    .shop-toolbar { padding: 8px; border-radius: 16px; }
    .seo-intro-section h2 { font-size: 2rem; }
    .seo-intro-section p { font-size: .94rem; }
}

@media (prefers-reduced-motion: reduce) {
    .product-card:hover, .product-card:hover .product-image img { transform: none; }
}

/* =========================================================
   CATEGORY HORIZONTAL INFINITE SHELVES
   ========================================================= */
.category-shelves { display:grid; gap:46px; margin-top:34px; }
.category-shelf { min-width:0; }
.category-shelf-heading { display:flex; align-items:end; justify-content:space-between; gap:20px; margin-bottom:16px; }
.category-shelf-heading h3 { margin:5px 0 0; font-family:Georgia,serif; font-size:clamp(1.65rem,3vw,2.35rem); color:var(--hc-ink); }
.category-see-all { border:1px solid var(--hc-border); background:var(--hc-surface); color:var(--hc-ink); border-radius:999px; padding:10px 15px; font-weight:800; cursor:pointer; white-space:nowrap; }
.category-see-all:hover { transform:translateY(-2px); box-shadow:0 8px 20px rgba(74,45,51,.08); }
.category-loop { overflow:hidden; border-radius:22px; padding:2px 2px 14px; mask-image:linear-gradient(to right, transparent, black 3%, black 97%, transparent); }
.category-loop-track { display:flex; width:max-content; gap:18px; animation:none; }
.category-loop.loop-desktop-eligible .category-loop-track { animation:categoryShelfLoop var(--loop-duration-desktop, 45s) linear infinite; }
.category-loop:hover .category-loop-track { animation-play-state:paused; }
.category-loop .product-card { flex:0 0 clamp(220px,25vw,280px); width:clamp(220px,25vw,280px); }
@keyframes categoryShelfLoop { from { transform:translateX(0); } to { transform:translateX(calc(-50% - 9px)); } }
@media (prefers-reduced-motion: reduce) { .category-loop-track { animation:none; } }
@media (max-width:700px) { .category-loop:focus-within .category-loop-track { animation-play-state:running; } .category-shelves { gap:34px; } .category-shelf-heading { align-items:center; } .category-shelf-heading h3 { font-size:1.5rem; } .category-see-all { padding:8px 12px; font-size:.82rem; } .category-loop { mask-image:none; } .category-loop .product-card { flex-basis:190px; width:190px; } .category-loop-track { gap:12px; }
.category-loop.loop-mobile-eligible .category-loop-track { animation-duration:var(--loop-duration-mobile, 35s); } }


/* Policy pages and footer alignment */
.footer-links a, .footer-links button { display:block; width:100%; text-align:left; }
.policy-page { padding:120px 0 70px; min-height:70vh; }
.policy-card { max-width:860px; margin:auto; background:var(--hc-surface); border:1px solid var(--hc-border); border-radius:24px; padding:clamp(24px,5vw,56px); box-shadow:0 12px 35px rgba(74,45,51,.06); }
.policy-card h1 { margin:0 0 12px; font-family:Georgia,serif; font-size:clamp(2rem,5vw,3.4rem); }
.policy-card h2 { margin:30px 0 10px; font-size:1.2rem; }
.policy-card p, .policy-card li { line-height:1.8; color:var(--hc-muted,#6f5a60); }
.policy-back { display:inline-block; margin-bottom:24px; color:var(--hc-ink); font-weight:800; text-decoration:none; }
@media(max-width:600px){.policy-page{padding:95px 0 40px}.policy-card{padding:24px 20px;border-radius:18px}}


/* Social media footer */
.social-links .instagram-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 12px;
    color: #ffffff;
    transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.social-links .instagram-link:hover,
.social-links .instagram-link:focus-visible {
    background: rgba(255, 255, 255, 0.10);
    border-color: rgba(255, 255, 255, 0.55);
    color: #ffffff;
    transform: translateY(-2px);
}

.instagram-link svg {
    width: 23px;
    height: 23px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
}

.instagram-link .instagram-dot {
    fill: currentColor;
    stroke: none;
}

/* Category layout: keep All centered on its own row, with every other category below. */
.category-filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    column-gap: 10px;
    row-gap: 10px;
}

.category-filters > .category-filter:first-child {
    flex: 0 0 100%;
    width: max-content;
    max-width: max-content;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 700px) {
    .category-filters {
        justify-content: center;
        overflow-x: visible;
        flex-wrap: wrap;
        padding-bottom: 7px;
    }

    .category-filters > .category-filter:first-child {
        flex-basis: 100%;
    }

    .category-filter {
        flex-shrink: 0;
    }
}

/* Optional homepage image configured from Supabase */
.hero { background-image: var(--hero-image-url, none); background-size: cover; background-position: center; }

/* Hanaya Creation brand logo */
.logo-icon img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    border-radius: inherit;
}


/* =====================================================
   MAKING PROCESS VIDEO
   Responsive 16:9 video card for desktop + mobile.
   ===================================================== */
.making-process-section {
    padding: clamp(58px, 7vw, 80px) 0 clamp(65px, 8vw, 90px);
    background: linear-gradient(180deg, #fffafc 0%, #fff2f6 100%);
    text-align: center;
    overflow: hidden;
}

.making-process-heading {
    width: min(100%, 800px);
    margin: 0 auto clamp(25px, 3vw, 34px);
    padding-inline: 16px;
    box-sizing: border-box;
}

.making-process-eyebrow {
    display: inline-block;
    margin-bottom: 12px;
    font-size: .75rem;
    font-weight: 800;
    letter-spacing: .2em;
    color: #b66b87;
}

.making-process-heading h2 {
    margin: 0;
    font-family: Georgia, serif;
    font-size: clamp(2rem, 5vw, 3.5rem);
    line-height: 1.1;
    text-wrap: balance;
}

.making-process-heading h2 span {
    color: #c87595;
}

.making-process-heading p {
    margin: 14px auto 0;
    max-width: 560px;
    color: var(--hc-muted, #6f5a60);
    line-height: 1.7;
}

.making-process-video-wrap {
    position: relative;
    width: min(100% - 32px, 1000px);
    aspect-ratio: 16 / 9;
    margin: 0 auto;
    overflow: hidden;
    border: 1px solid rgba(190, 120, 145, .16);
    border-radius: clamp(16px, 2.4vw, 24px);
    background: #181216;
    box-shadow: 0 22px 55px rgba(74,45,51,.16);
    isolation: isolate;
}

.making-process-video {
    display: block;
    width: 100%;
    height: 100%;
    max-width: none;
    max-height: none;
    margin: 0;
    padding: 0;
    border: 0;
    object-fit: cover;
    object-position: center center;
    background: #181216;
}

.making-process-note {
    margin: 18px 16px 0;
    font-size: .9rem;
    font-weight: 700;
    color: #9b687a;
    letter-spacing: .04em;
}

.making-process-status {
    margin: 7px 16px 0;
    font-size: .78rem;
    color: #9f7a87;
    letter-spacing: .05em;
}

@media (max-width: 700px) {
    .making-process-section {
        padding: 58px 0 65px;
    }

    .making-process-heading {
        padding-inline: 18px;
    }

    .making-process-video-wrap {
        width: calc(100% - 24px);
        border-radius: 16px;
        box-shadow: 0 14px 32px rgba(74,45,51,.14);
    }

    .making-process-video {
        object-fit: cover;
    }
}

@media (prefers-reduced-motion: reduce) {
    .making-process-video {
        animation: none;
    }
}
