
@font-face {
    font-family: "IBM Plex Sans Thai";
    src: url("../fonts/IBMPlexSansThai-Regular.ttf") format("truetype");
    font-weight: 400;
    font-display: swap;
}
@font-face {
    font-family: "IBM Plex Sans Thai";
    src: url("../fonts/IBMPlexSansThai-Medium.ttf") format("truetype");
    font-weight: 500;
    font-display: swap;
}
@font-face {
    font-family: "IBM Plex Sans Thai";
    src: url("../fonts/IBMPlexSansThai-SemiBold.ttf") format("truetype");
    font-weight: 600;
    font-display: swap;
}
@font-face {
    font-family: "IBM Plex Sans Thai";
    src: url("../fonts/IBMPlexSansThai-Bold.ttf") format("truetype");
    font-weight: 700;
    font-display: swap;
}

:root {
    --primary: #2563eb;
    --primary-dark: #123b70;
    --text: #243b53;
    --muted: #486581;
    --background: #eaf4ff;
    --panel: #f8fbff;
    --border: #c3d9f1;
    --price: #d84b00;
    --success: #12834d;
    --danger: #c52d43;
    --radius: 20px;
    --shadow: 0 8px 26px rgba(31, 76, 132, .09);
    --font: "IBM Plex Sans Thai", Tahoma, sans-serif;
}

* { box-sizing: border-box; }

body {
    margin: 0;
    background: linear-gradient(145deg,#e6f2ff,#f0f7ff);
    color: var(--text);
    font: 400 15px/1.75 var(--font);
}

a { color: var(--primary); text-decoration: none; }
button, input { font: inherit; }
button, summary { cursor: pointer; }
h1,h2,h3,p { margin: 0; }
h2,h3 { color: var(--primary-dark); }
p { color: var(--muted); }
img,svg { max-width: 100%; }

.container {
    width: min(1320px, calc(100% - 48px));
    margin-inline: auto;
}

.component { margin-bottom: 24px; }
#announcement_bar, #site_header { margin-bottom: 0; }
#hero_banner { margin-top: 24px; }

.announcement {
    background: #153c80;
    color: #e9f4ff;
    padding: 8px 16px;
    text-align: center;
    font-size: 13px;
    font-weight: 500;
}

.site-header {
    background: #f4f9ff;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    padding-block: 22px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.brand-mark {
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    border-radius: 16px;
    background: linear-gradient(145deg,#4196ff,#174db6);
    color: white;
    font-size: 23px;
    font-weight: 700;
    box-shadow: 0 6px 15px #2463bf35;
}

.brand strong {
    display: block;
    color: var(--primary-dark);
    font-size: 23px;
    line-height: 1.3;
}

.brand small {
    display: block;
    color: var(--muted);
    font-size: 12px;
    letter-spacing: .4px;
}

.search-form {
    display: flex;
    width: min(650px,100%);
    padding: 5px;
    background: #fff;
    border: 1px solid #a9c8ec;
    border-radius: 14px;
}

.search-form input {
    width: 100%;
    min-width: 0;
    border: 0;
    background: transparent;
    padding: 10px 14px;
    color: var(--text);
}

.search-form button {
    border: 1px solid #194db2;
    border-radius: 10px;
    padding: 10px 24px;
    color: white;
    font-weight: 600;
    background: linear-gradient(#3883ed,#1d56bc);
    white-space: nowrap;
}

.hero {
    position: relative;
    overflow: hidden;
    min-height: 350px;
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    align-items: center;
    padding: 48px;
    border-radius: 28px;
    border: 1px solid #4083dc;
    background: linear-gradient(120deg,#123d91,#2563eb 58%,#54a7ff);
    box-shadow: 0 16px 36px #16499e26;
}

.hero-content { position: relative; z-index: 1; }

.eyebrow {
    display: inline-block;
    border: 1px solid #ffffff60;
    background: #ffffff20;
    border-radius: 30px;
    color: #fff;
    padding: 5px 14px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2px;
}

.hero h1 {
    margin: 15px 0;
    color: white;
    font-size: clamp(32px,4vw,54px);
    line-height: 1.35;
    font-weight: 700;
}

.hero p {
    color: #e4efff;
    font-size: 17px;
    max-width: 560px;
}

.hero-button {
    display: inline-block;
    margin-top: 24px;
    padding: 12px 26px;
    border: 1px solid #c7ddff;
    border-radius: 12px;
    background: #f0f7ff;
    color: #174ca6;
    font-weight: 700;
    box-shadow: 0 6px 20px #092e7335;
}

.hero-art {
    position: relative;
    display: grid;
    place-items: center;
    min-height: 260px;
}

.art-orbit {
    position: absolute;
    border: 1px solid #ffffff50;
    border-radius: 50%;
}

.orbit-one { width: 250px; height: 250px; }
.orbit-two { width: 310px; height: 310px; }

.art-bag {
    position: relative;
    width: 180px;
    transform: rotate(-8deg);
    filter: drop-shadow(0 18px 20px #11347760);
}

.art-label {
    position: absolute;
    bottom: 0;
    color: #eaf4ff;
    font-size: 12px;
    letter-spacing: 3px;
    font-weight: 600;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3,minmax(0,1fr));
    gap: 16px;
}

.feature-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 20px;
    border: 1px solid var(--border);
    border-radius: 16px;
    background: var(--panel);
    box-shadow: var(--shadow);
}

.feature-icon {
    display: grid;
    place-items: center;
    flex-shrink: 0;
    width: 46px;
    height: 46px;
    border-radius: 14px;
    background: #dceaff;
    color: #2156ad;
    font-weight: 700;
}

.feature-card:nth-child(2) .feature-icon {
    background: #e8e2ff;
    color: #7045bc;
}

.feature-card:nth-child(3) .feature-icon {
    background: #d7f3e6;
    color: #12834d;
}

.feature-card h3 { font-size: 16px; }
.feature-card p { font-size: 13px; }

.panel {
    padding: 24px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--panel);
    box-shadow: var(--shadow);
}

.section-heading {
    border-left: 4px solid var(--primary);
    padding-left: 14px;
    margin-bottom: 20px;
}

.section-heading h2 {
    font-size: 23px;
    font-weight: 700;
}

.section-heading p {
    font-size: 14px;
    font-weight: 500;
}

.empty-state {
    display: grid;
    justify-items: center;
    text-align: center;
    gap: 4px;
    padding: 24px 16px;
    border: 1px dashed #b7cee8;
    border-radius: 14px;
    background: #edf5ff;
}

.empty-state strong {
    color: #345b91;
    font-size: 15px;
}

.empty-state p { font-size: 13px; }

.empty-icon {
    color: #5488cf;
    font-size: 28px;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(6,minmax(0,1fr));
    gap: 12px;
}

.category-card {
    padding: 20px 12px;
    text-align: center;
    font-weight: 600;
    color: var(--primary-dark);
    background: #e7f1ff;
    border: 1px solid var(--border);
    border-radius: 14px;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(4,minmax(0,1fr));
    gap: 16px;
}

.product-card {
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 16px;
    background: #fafdff;
}

.product-image-placeholder {
    aspect-ratio: 1;
    display: grid;
    place-items: center;
    background: #e4effb;
    color: var(--muted);
    font-size: 13px;
}

.product-body { padding: 16px; }
.product-body h3 { font-size: 16px; overflow-wrap: anywhere; }
.product-body small { color: var(--muted); }
.product-body p { font-size: 13px; }
.price { display: block; color: var(--price); font-size: 22px; }
del { color: var(--muted); font-size: 13px; }

.seo-panel h2 { margin-bottom: 12px; }
.seo-panel p { font-size: 15px; line-height: 1.9; }

.faq {
    margin-bottom: 10px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: #edf5ff;
}

.faq summary {
    padding: 14px 18px;
    color: var(--primary-dark);
    font-weight: 600;
}

.faq p { padding: 0 18px 16px; }

.footer {
    background: linear-gradient(135deg,#153e7d,#102d59);
    padding: 40px 0;
    color: #e0edff;
}

.footer h2 { color: #fff; }
.footer p { color: #d3e4fa; }
.footer small { color: #b8cfe9; }

.disclosure {
    margin: 16px 0;
    font-size: 13px;
}

#site_footer { margin-bottom: 0; }

:focus-visible {
    outline: 3px solid #e69b28;
    outline-offset: 3px;
}

/* Shared capsule switch design for future editor integration. */
.capsule-switch {
    appearance: none;
    position: relative;
    width: 54px;
    height: 30px;
    border-radius: 30px;
    border: 1px solid #a92539;
    background: #d73b50;
    cursor: pointer;
    transition: background .18s ease;
}

.capsule-switch::after {
    content: "";
    position: absolute;
    width: 22px;
    height: 22px;
    top: 3px;
    left: 3px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 2px 5px #0003;
    transition: transform .18s ease;
}

.capsule-switch:checked {
    background: #15945a;
    border-color: #087746;
}

.capsule-switch:checked::after {
    transform: translateX(24px);
}

@media (min-width: 769px) {
    .hide-desktop { display: none !important; }
}

@media (max-width: 768px) {
    .hide-mobile { display: none !important; }
    .container { width: calc(100% - 24px); }
    .header-inner { flex-direction: column; gap: 16px; padding-block: 16px; }
    .search-form { width: 100%; }
    .search-form input { font-size: 16px; }
    .search-form button { padding-inline: 18px; }
    .hero { grid-template-columns: 1fr; padding: 28px; }
    .hero h1 { font-size: 34px; }
    .hero p { font-size: 15px; }
    .hero-art { min-height: 220px; margin-top: 16px; }
    .art-bag { width: 135px; }
    .orbit-one { width: 180px; height: 180px; }
    .orbit-two { width: 215px; height: 215px; }
    .feature-grid { grid-template-columns: 1fr; gap: 10px; }
    .feature-card { padding: 14px; }
    .panel { padding: 16px; }
    .section-heading h2 { font-size: 20px; }
    .category-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
    .product-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
    .product-body { padding: 12px; }
    .product-body h3 { font-size: 14px; }
    .price { font-size: 18px; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { transition: none !important; }
}


/* ========================================
   FASHIONCLOTHES FULL MODULE UI V1.1.0
   HEADER NAVIGATION BANNER CATEGORY
   ======================================== */

[hidden] {
    display: none !important;
}

html {
    scroll-behavior: smooth;
}

#main_navigation {
    margin-bottom: 0;
}

.fc-navigation {
    background: linear-gradient(180deg,#f4f9ff,#e0edff);
    border-bottom: 1px solid #bdd4ef;
    box-shadow: 0 4px 12px #244d8210;
}

.fc-nav-inner {
    display: flex;
    align-items: center;
    gap: 9px;
    padding-block: 12px;
    overflow-x: auto;
    scrollbar-width: thin;
}

.fc-nav-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    gap: 8px;
    padding: 9px 17px;
    color: #214c83;
    background: #f8fbff;
    border: 1px solid #bdd4ee;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    transition: background .18s,color .18s;
}

.fc-nav-link span {
    color: #3474cb;
    font-size: 18px;
}

.fc-nav-link:hover {
    color: #fff;
    background: #2563eb;
    border-color: #2563eb;
}

.fc-nav-link:hover span {
    color: #fff;
}

.fc-slider {
    position: relative;
}

.fc-slide {
    min-height: 380px;
    padding-bottom: 72px;
}

.fc-slide-blue {
    background:
        radial-gradient(circle at 85% 20%,#ffffff22,transparent 35%),
        linear-gradient(120deg,#123d91,#2563eb 58%,#54a7ff);
}

.fc-slide-purple {
    background:
        radial-gradient(circle at 85% 20%,#ffffff22,transparent 35%),
        linear-gradient(120deg,#37207e,#7353cc 58%,#a28bf1);
    border-color: #9479dd;
}

.fc-slide-teal {
    background:
        radial-gradient(circle at 85% 20%,#ffffff22,transparent 35%),
        linear-gradient(120deg,#07546a,#07879a 58%,#45c1c9);
    border-color: #36a6b5;
}

.fc-slider-controls {
    position: absolute;
    z-index: 2;
    bottom: 16px;
    left: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

.fc-slider-controls > button {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid #ffffff80;
    background: #ffffff26;
    color: #fff;
    font-size: 27px;
    line-height: 1;
}

.fc-slider-controls > button:hover {
    background: #ffffff45;
}

.fc-slider-dots {
    display: flex;
    align-items: center;
    gap: 8px;
}

.fc-slider-dots button {
    width: 18px;
    height: 12px;
    border-radius: 20px;
    border: 1px solid #ffffff70;
    background: #ffffff50;
    padding: 0;
    transition: width .2s,background .2s;
}

.fc-slider-dots button[aria-pressed="true"] {
    width: 32px;
    background: #fff;
}

.fc-category-grid {
    display: grid;
    grid-template-columns: repeat(8,minmax(0,1fr));
    gap: 14px;
}

.fc-category-card {
    --category-color: #dceaff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 18px 8px;
    min-height: 145px;
    text-align: center;
    border: 1px solid #c5d9ef;
    border-radius: 16px;
    background: linear-gradient(160deg,#f8fbff,var(--category-color));
    box-shadow: 0 5px 12px #244d8210;
    transition: transform .18s,box-shadow .18s;
}

.fc-category-card:nth-child(2) {
    --category-color: #fce2ef;
}

.fc-category-card:nth-child(3) {
    --category-color: #e4e5ff;
}

.fc-category-card:nth-child(4) {
    --category-color: #ffecd8;
}

.fc-category-card:nth-child(5) {
    --category-color: #d8f3e8;
}

.fc-category-card:nth-child(6) {
    --category-color: #e2f3d6;
}

.fc-category-card:nth-child(7) {
    --category-color: #eee2ff;
}

.fc-category-card:nth-child(8) {
    --category-color: #fff0d0;
}

.fc-category-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 9px 18px #244d8220;
}

.fc-category-icon {
    display: grid;
    place-items: center;
    width: 62px;
    height: 62px;
    border: 1px solid #ffffffb0;
    border-radius: 20px;
    background: #ffffff90;
    font-size: 31px;
    line-height: 1;
}

.fc-category-card strong {
    color: #183e70;
    font-size: 14px;
    font-weight: 600;
    overflow-wrap: anywhere;
}

.fc-category-card small {
    color: #526d91;
    font-size: 12px;
    font-weight: 500;
}

.fc-promotion {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 30px 36px;
    border: 1px solid #e4c99a;
    border-radius: 20px;
    background:
        radial-gradient(circle at 90% 0%,#fff9dd,transparent 45%),
        linear-gradient(120deg,#fff1d6,#ffe0ad);
    box-shadow: 0 8px 20px #ac742013;
}

.fc-promotion-label {
    display: inline-block;
    color: #9a4e09;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
}

.fc-promotion h2 {
    margin: 5px 0;
    color: #834307;
    font-size: 26px;
}

.fc-promotion p {
    color: #8a633b;
    font-size: 14px;
    font-weight: 500;
}

.fc-promotion-button {
    flex-shrink: 0;
    padding: 12px 24px;
    border: 1px solid #bd6c17;
    border-radius: 12px;
    background: linear-gradient(#ed9c36,#c7751c);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    box-shadow: 0 5px 12px #a66b2030;
}

@media (max-width: 1100px) {
    .fc-category-grid {
        grid-template-columns: repeat(4,minmax(0,1fr));
    }
}

@media (max-width: 768px) {
    .fc-nav-inner {
        gap: 7px;
        padding-block: 10px;
    }

    .fc-nav-link {
        font-size: 13px;
        padding: 8px 12px;
    }

    .fc-slide {
        min-height: 470px;
        padding-bottom: 70px;
    }

    .fc-category-grid {
        grid-template-columns: repeat(4,minmax(0,1fr));
        gap: 8px;
    }

    .fc-category-card {
        min-height: 118px;
        padding: 10px 4px;
    }

    .fc-category-icon {
        width: 45px;
        height: 45px;
        border-radius: 14px;
        font-size: 24px;
    }

    .fc-category-card strong {
        font-size: 12px;
    }

    .fc-category-card small {
        font-size: 10px;
    }

    .fc-promotion {
        flex-direction: column;
        align-items: flex-start;
        padding: 22px;
        gap: 16px;
    }

    .fc-promotion h2 {
        font-size: 21px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .fc-category-card,
    .fc-slider-dots button,
    .fc-nav-link {
        transition: none;
    }
}


/* ========================================
   PRODUCT MODULES V1.2.0
   SHARED PRODUCT CARD DESIGN SYSTEM
   ======================================== */

.fc-product-panel {
    --module-accent: #2563eb;
    --module-light: #e5efff;
    --module-heading: #173e80;
    --module-border: #bfd4ee;
    border-color: var(--module-border);
    overflow: hidden;
}

.fc-panel-orange {
    --module-accent: #d66a15;
    --module-light: #fff0de;
    --module-heading: #9b440a;
    --module-border: #ebd1b2;
}

.fc-panel-purple {
    --module-accent: #7853c7;
    --module-light: #eee7ff;
    --module-heading: #563396;
    --module-border: #d7c8ed;
}

.fc-panel-green {
    --module-accent: #12834d;
    --module-light: #e0f4e9;
    --module-heading: #14633d;
    --module-border: #badfcd;
}

.fc-product-panel .section-heading {
    margin: -24px -24px 24px;
    padding: 18px 24px;
    border-left: 5px solid var(--module-accent);
    border-bottom: 1px solid var(--module-border);
    background: linear-gradient(
        110deg,
        var(--module-light),
        #f8fbff
    );
}

.fc-product-panel .section-heading h2 {
    color: var(--module-heading);
    font-size: 23px;
    font-weight: 700;
}

.fc-product-panel .section-heading p {
    color: #526b88;
    font-size: 14px;
    font-weight: 500;
}

.fc-product-panel .empty-state {
    background: var(--module-light);
    border-color: var(--module-border);
}

.fc-product-panel .empty-state strong,
.fc-product-panel .empty-icon {
    color: var(--module-heading);
}

.fc-product-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    height: 100%;
    border: 1px solid #bcd2eb;
    border-radius: 17px;
    background: #f8fbff;
    box-shadow: 0 6px 18px #244d8210;
    transition: transform .18s, box-shadow .18s;
}

.fc-product-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 24px #244d8220;
}

.fc-product-media {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    border-bottom: 1px solid #c8dcef;
    background: linear-gradient(
        145deg,
        #edf5ff,
        #dce9f9
    );
}

.fc-product-placeholder {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
    gap: 10px;
    color: #6689b4;
}

.fc-product-placeholder svg {
    width: 54px;
    height: 54px;
}

.fc-product-placeholder small {
    color: #526e91;
    font-size: 12px;
    font-weight: 500;
}

.fc-product-badges {
    position: absolute;
    top: 12px;
    left: 12px;
    right: 12px;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.fc-badge-discount,
.fc-badge-featured {
    padding: 4px 10px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 600;
}

.fc-badge-discount {
    background: #ce3147;
    border: 1px solid #b52439;
    color: #fff;
}

.fc-badge-featured {
    background: #e3efff;
    border: 1px solid #b6d1f5;
    color: #174da1;
}

.fc-product-card .product-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 8px;
    padding: 17px;
}

.fc-product-brand {
    color: #6944b0;
    font-size: 12px;
    font-weight: 600;
}

.fc-product-card h3 {
    color: #173a66;
    font-size: 16px;
    line-height: 1.6;
    font-weight: 600;
    overflow-wrap: anywhere;
}

.fc-product-prices {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 7px;
}

.fc-product-prices .price {
    color: #c64d0b;
    font-size: 25px;
    font-weight: 700;
}

.fc-product-prices del {
    color: #687e98;
    font-size: 12px;
}

.fc-price-missing {
    color: #657c99;
    font-size: 13px;
}

.fc-product-rating {
    color: #956013;
    font-size: 13px;
    font-weight: 600;
}

.fc-product-rating span {
    color: #d18a12;
    font-size: 17px;
}

.fc-product-seller {
    color: #35618e;
    font-size: 12px;
    font-weight: 500;
    overflow-wrap: anywhere;
}

.fc-product-description {
    color: #536e8e;
    font-size: 13px;
    line-height: 1.8;
    overflow-wrap: anywhere;
}

.fc-directory-grid {
    display: grid;
    grid-template-columns: repeat(6,minmax(0,1fr));
    gap: 14px;
}

.fc-directory-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 118px;
    padding: 14px;
    gap: 5px;
    border: 1px solid var(--module-border);
    border-radius: 14px;
    background: linear-gradient(
        145deg,
        #f8fbff,
        var(--module-light)
    );
}

.fc-directory-card > span {
    font-size: 25px;
    color: var(--module-accent);
}

.fc-directory-card strong {
    color: var(--module-heading);
    font-size: 14px;
    overflow-wrap: anywhere;
}

.fc-directory-card small {
    color: #526b88;
    font-size: 12px;
}

.fc-catalog-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 10px;
    padding: 10px 20px;
    border: 1px solid #1a50b5;
    border-radius: 10px;
    background: linear-gradient(#4389ee,#2459b9);
    color: #fff;
    font-size: 13px;
    font-weight: 600;
}

@media (max-width: 1100px) {
    .fc-directory-grid {
        grid-template-columns: repeat(4,minmax(0,1fr));
    }
}

@media (max-width: 768px) {
    .fc-product-panel .section-heading {
        margin: -16px -16px 16px;
        padding: 14px 16px;
    }

    .fc-product-panel .section-heading h2 {
        font-size: 20px;
    }

    .fc-product-panel .section-heading p {
        font-size: 13px;
    }

    .fc-product-card .product-body {
        padding: 12px;
        gap: 6px;
    }

    .fc-product-card h3 {
        font-size: 14px;
    }

    .fc-product-prices .price {
        font-size: 20px;
    }

    .fc-product-description {
        font-size: 12px;
    }

    .fc-product-badges {
        top: 8px;
        left: 8px;
        right: 8px;
    }

    .fc-badge-discount,
    .fc-badge-featured {
        font-size: 10px;
        padding: 3px 7px;
    }

    .fc-directory-grid {
        grid-template-columns: repeat(2,minmax(0,1fr));
        gap: 10px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .fc-product-card {
        transition: none;
    }
}


/* ========================================
   FASHIONCLOTHES SEARCH & DETAIL V1.3.0
   ======================================== */

.fc-filter-panel {
    margin-bottom: 20px;
    padding: 20px;
    border: 1px solid #bfd4ee;
    border-radius: 16px;
    background: linear-gradient(145deg,#edf5ff,#e0edff);
}

.fc-filter-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 16px;
}

.fc-filter-heading h3 {
    color: #173e80;
    font-size: 19px;
    font-weight: 700;
}

.fc-filter-heading a {
    color: #a62d43;
    font-size: 13px;
    font-weight: 600;
}

.fc-filter-grid {
    display: grid;
    grid-template-columns: repeat(3,minmax(0,1fr));
    gap: 15px;
}

.fc-filter-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
}

.fc-filter-field > span {
    color: #214c83;
    font-size: 14px;
    font-weight: 600;
}

.fc-filter-field input,
.fc-filter-field select {
    width: 100%;
    min-width: 0;
    min-height: 44px;
    padding: 10px 12px;
    border: 1px solid #afc9e7;
    border-radius: 10px;
    background: #f8fbff;
    color: #243b53;
    font: inherit;
    font-size: 14px;
}

.fc-filter-field input::placeholder {
    color: #657f9f;
}

.fc-filter-field input:focus,
.fc-filter-field select:focus {
    border-color: #2563eb;
    outline: 2px solid #93b9f8;
}

.fc-filter-actions {
    display: flex;
    align-items: flex-end;
    grid-column: 1 / -1;
}

.fc-primary-button,
.fc-card-detail-button,
.fc-secondary-button,
.fc-buy-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 43px;
    padding: 10px 20px;
    border: 1px solid #1d52b3;
    border-radius: 11px;
    background: linear-gradient(#4389ee,#2459b9);
    color: #fff;
    font: inherit;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 4px 10px #174da120;
}

.fc-card-detail-button {
    margin-top: auto;
    width: 100%;
    font-size: 13px;
}

.fc-secondary-button {
    border-color: #b5cce8;
    background: linear-gradient(#f8fbff,#e4efff);
    color: #214c83;
    box-shadow: none;
}

.fc-search-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 18px;
    padding: 12px 16px;
    border: 1px solid #badfcd;
    border-radius: 11px;
    background: #e4f5eb;
    color: #14633d;
    font-size: 14px;
}

.fc-search-summary span {
    color: #426d5b;
    font-size: 13px;
}

.fc-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 25px;
}

.fc-pagination a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    min-height: 40px;
    padding: 8px 12px;
    border: 1px solid #bfd4ee;
    border-radius: 9px;
    background: #edf5ff;
    color: #214c83;
    font-size: 13px;
    font-weight: 600;
}

.fc-pagination a.active {
    background: #2563eb;
    border-color: #1c52ba;
    color: #fff;
}

.fc-detail-page {
    padding-block: 22px 35px;
}

.fc-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 18px;
    color: #526b88;
    font-size: 13px;
}

.fc-breadcrumb a {
    color: #2459b9;
    font-weight: 600;
}

.fc-detail-page > .panel {
    margin-bottom: 24px;
}

.fc-detail-grid {
    display: grid;
    grid-template-columns: minmax(0,1fr) minmax(0,1.15fr);
    gap: 32px;
}

.fc-detail-gallery {
    min-width: 0;
}

.fc-detail-image {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    aspect-ratio: 1;
    border: 1px solid #bfd4ee;
    border-radius: 18px;
    background: linear-gradient(145deg,#edf5ff,#dce9f9);
    color: #6689b4;
}

.fc-detail-image svg {
    width: 90px;
    height: 90px;
}

.fc-detail-discount {
    position: absolute;
    top: 16px;
    left: 16px;
    padding: 6px 14px;
    border: 1px solid #b52439;
    border-radius: 30px;
    background: #ce3147;
    color: #fff;
    font-weight: 700;
}

.fc-detail-information {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    min-width: 0;
}

.fc-detail-information h1 {
    color: #173a66;
    font-size: 30px;
    font-weight: 700;
    line-height: 1.5;
    overflow-wrap: anywhere;
}

.fc-detail-brand {
    padding: 5px 12px;
    border: 1px solid #d7c8ed;
    border-radius: 30px;
    background: #eee7ff;
    color: #6944b0;
    font-size: 13px;
    font-weight: 600;
}

.fc-detail-price-box {
    display: flex;
    flex-direction: column;
    gap: 5px;
    width: 100%;
    padding: 20px;
    border: 1px solid #ebd1b2;
    border-radius: 15px;
    background: linear-gradient(120deg,#fff4e6,#ffe7ca);
}

.fc-detail-price-box small {
    color: #9b440a;
    font-size: 14px;
    font-weight: 600;
}

.fc-detail-price {
    color: #c64d0b;
    font-size: 38px;
    font-weight: 700;
}

.fc-detail-price-box del {
    color: #806c58;
    font-size: 14px;
}

.fc-price-note {
    color: #8a633b;
    font-size: 12px;
}

.fc-detail-seller {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    padding: 14px;
    border: 1px solid #bfd4ee;
    border-radius: 11px;
    background: #edf5ff;
    color: #214c83;
    overflow-wrap: anywhere;
}

.fc-buy-button {
    width: 100%;
    min-height: 52px;
    border-color: #c94b13;
    background: linear-gradient(#ff873b,#e95018);
    font-size: 17px;
    box-shadow: 0 5px 12px #e9501825;
}

.fc-link-notice {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #e4c99a;
    border-radius: 11px;
    background: #fff1d6;
    color: #834307;
    font-size: 14px;
}

.fc-affiliate-disclosure {
    color: #526b88;
    font-size: 12px;
}

.fc-description-text {
    color: #35516f;
    font-size: 15px;
    line-height: 1.9;
    overflow-wrap: anywhere;
}

@media (max-width: 768px) {
    .fc-filter-panel {
        padding: 14px;
    }

    .fc-filter-grid {
        grid-template-columns: repeat(2,minmax(0,1fr));
        gap: 10px;
    }

    .fc-filter-field input,
    .fc-filter-field select {
        font-size: 16px;
    }

    .fc-filter-heading h3 {
        font-size: 16px;
    }

    .fc-filter-actions button {
        width: 100%;
    }

    .fc-detail-grid {
        grid-template-columns: minmax(0,1fr);
        gap: 20px;
    }

    .fc-detail-information h1 {
        font-size: 23px;
    }

    .fc-detail-price {
        font-size: 30px;
    }

    .fc-card-detail-button {
        padding: 8px;
        font-size: 12px;
    }

    .fc-pagination {
        gap: 5px;
    }
}


/* =========================================
   FASHIONCLOTHES SHARED FOOTER V1.4.0
   ========================================= */

#fc-page-top {
    height: 0;
    overflow: hidden;
}

.fc-site-footer {
    padding: 38px 0 18px;
    margin-bottom: 0;
    border-top: 4px solid #4389ee;
    background: linear-gradient(
        135deg,
        #102f59,
        #19477d 65%,
        #153963
    );
    color: #d9eaff;
}

.fc-footer-grid {
    display: grid;
    grid-template-columns:
        repeat(auto-fit,minmax(min(100%,220px),1fr));
    gap: 28px;
    padding-bottom: 28px;
}

.fc-footer-column {
    min-width: 0;
}

.fc-footer-column h3 {
    margin: 0 0 16px;
    padding-left: 10px;
    border-left: 3px solid #74b4ff;
    color: #f0f7ff;
    font-size: 17px;
    font-weight: 600;
}

.fc-footer-column p {
    margin-top: 10px;
    color: #c5dcf8;
    font-size: 14px;
    line-height: 1.85;
    overflow-wrap: anywhere;
}

.fc-footer-brand-link {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #fff;
}

.fc-footer-brand-link strong {
    display: block;
    color: #fff;
    font-size: 22px;
    font-weight: 700;
}

.fc-footer-brand-link small {
    display: block;
    color: #bcd8ff;
    font-size: 12px;
    font-weight: 500;
}

.fc-footer-logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 54px;
    height: 54px;
    border: 1px solid #92bdff;
    border-radius: 15px;
    background: linear-gradient(
        145deg,#4e99ff,#2458b7
    );
    color: #fff;
    font-size: 23px;
    font-weight: 700;
    box-shadow: 0 5px 16px #09204440;
}

.fc-footer-links {
    display: grid;
    gap: 9px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.fc-footer-links a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #cde2ff;
    font-size: 14px;
    font-weight: 500;
    overflow-wrap: anywhere;
}

.fc-footer-links a::before {
    content: "›";
    color: #7eb8ff;
    font-weight: 700;
}

.fc-footer-links a:hover,
.fc-footer-bottom a:hover {
    color: #fff;
    text-decoration: underline;
}

.fc-footer-disclosure {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 14px 16px;
    border: 1px solid #6385ad;
    border-radius: 12px;
    background: #ffffff0d;
}

.fc-footer-disclosure > span {
    color: #9dcbff;
    font-size: 19px;
}

.fc-footer-disclosure p {
    margin: 0;
    color: #d1e3fa;
    font-size: 13px;
}

.fc-footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
    padding-top: 17px;
    border-top: 1px solid #ffffff26;
}

.fc-footer-bottom small,
.fc-footer-bottom a {
    color: #c1d9f6;
    font-size: 12px;
    font-weight: 500;
}

/* Mobile navigation */

.fc-mobile-navigation {
    position: fixed;
    z-index: 80;
    right: 0;
    bottom: 0;
    left: 0;
    padding: 6px 8px
        calc(6px + env(safe-area-inset-bottom,0px));
    border-top: 1px solid #a9c8ed;
    background: linear-gradient(
        180deg,#f8fbff,#dcecff
    );
    box-shadow: 0 -5px 24px #183f7620;
}

.fc-mobile-nav-inner {
    display: flex;
    align-items: stretch;
    justify-content: center;
    gap: 5px;
    max-width: 720px;
    margin: auto;
}

.fc-mobile-nav-item {
    display: flex;
    flex: 1 1 0;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    min-width: 0;
    min-height: 57px;
    padding: 4px;
    border: 1px solid transparent;
    border-radius: 12px;
    color: #355d8f;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.4;
    text-align: center;
}

.fc-mobile-nav-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 33px;
    height: 30px;
}

.fc-mobile-nav-icon svg {
    width: 23px;
    height: 23px;
}

.fc-mobile-nav-item.active {
    border-color: #a7c8f7;
    background: #d6e8ff;
    color: #1755b2;
}

.fc-mobile-nav-item.active .fc-mobile-nav-icon {
    border-radius: 10px;
    background: linear-gradient(
        #4d93f4,#2863c4
    );
    color: #fff;
}

.fc-back-to-top {
    position: fixed;
    right: 22px;
    bottom: 24px;
    z-index: 70;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border: 1px solid #194caa;
    border-radius: 15px;
    background: linear-gradient(
        #4d93f4,#245bbd
    );
    color: #fff;
    box-shadow: 0 5px 16px #174da140;
}

.fc-back-to-top svg {
    width: 25px;
    height: 25px;
}

.fc-back-to-top:hover {
    background: #194eae;
}

.fc-mobile-nav-item:focus-visible,
.fc-back-to-top:focus-visible,
.fc-footer-links a:focus-visible {
    outline: 3px solid #f5b942;
    outline-offset: 3px;
}

@media (min-width: 769px) {

    body:has(.fc-mobile-navigation:not(.hide-desktop)) {
        padding-bottom:
            calc(78px + env(safe-area-inset-bottom,0px));
    }

    body:has(.fc-mobile-navigation:not(.hide-desktop))
    .fc-back-to-top {
        bottom:
            calc(94px + env(safe-area-inset-bottom,0px));
    }
}

@media (max-width: 768px) {

    .fc-site-footer {
        padding: 26px 0 18px;
    }

    .fc-footer-grid {
        grid-template-columns:
            repeat(2,minmax(0,1fr));
        gap: 20px 14px;
    }

    .fc-footer-brand {
        grid-column: 1 / -1;
        padding-bottom: 16px;
        border-bottom: 1px solid #ffffff26;
    }

    .fc-footer-column h3 {
        font-size: 15px;
    }

    .fc-footer-links a {
        font-size: 13px;
    }

    .fc-footer-disclosure {
        padding: 12px;
    }

    .fc-footer-disclosure p {
        font-size: 12px;
    }

    .fc-footer-bottom {
        justify-content: center;
        text-align: center;
    }

    body:has(.fc-mobile-navigation:not(.hide-mobile)) {
        padding-bottom:
            calc(78px + env(safe-area-inset-bottom,0px));
    }

    .fc-back-to-top {
        right: 14px;
        bottom: 16px;
        width: 42px;
        height: 42px;
        border-radius: 13px;
    }

    body:has(.fc-mobile-navigation:not(.hide-mobile))
    .fc-back-to-top {
        bottom:
            calc(90px + env(safe-area-inset-bottom,0px));
    }
}

@media (prefers-reduced-motion: no-preference) {
    html {
        scroll-behavior: smooth;
    }
}
