:root {
    --primary-bg: #f8fafc;
    --secondary-bg: #f0f7ff;
    --surface-card: #ffffff;
    --primary-accent: #0284c7;
    --primary-accent-hover: #0369a1;
    --neutral-dark: #0f172a;
    --neutral-muted: #475569;
    --subtle-border: #e2e8f0;
    --highlight-badge: #38bdf8;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    background-color: var(--primary-bg);
    color: var(--neutral-dark);
    font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, 'Noto Sans KR', sans-serif;
    font-weight: 400;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    margin-top: 0;
    margin-bottom: 0.75rem;
    font-weight: 700;
    line-height: 1.25;
}

a,
a:hover,
a:focus {
    text-decoration: none;
    transition: color 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

ul,
ol {
    margin: 0;
    padding: 0;
    list-style: none;
}

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

:focus-visible {
    outline: 2px solid var(--primary-accent);
    outline-offset: 2px;
}

#cookieConsentBanner {
    display: none;
    background-color: var(--surface-card);
    border: 1px solid var(--subtle-border);
    border-radius: 1rem;
}

@media (max-width: 768px) {
    h1 {
        font-size: 2.125rem;
    }

    h2 {
        font-size: 1.75rem;
    }

    h3 {
        font-size: 1.25rem;
    }

    h4,
    h5,
    h6 {
        font-size: 1.125rem;
    }

    a,
    p,
    span {
        overflow-wrap: break-word;
        word-break: keep-all;
    }

    #cookieConsentBanner {
        left: 0 !important;
        right: 0 !important;
        margin: 0 !important;
        max-width: 100% !important;
        border-radius: 1rem 1rem 0 0 !important;
    }
}

/* ===== header ===== */
#header {
    background-color: #ffffff;
    border-bottom: 1px solid var(--subtle-border, #e2e8f0);
    z-index: 1020;
}

.site-navbar {
    background-color: #ffffff;
}

.brand-group {
    color: var(--neutral-dark, #0f172a);
}

.brand-logo {
    max-width: 48px;
    width: 100%;
    height: auto;
    object-fit: contain;
}

.brand-name {
    font-size: 1.25rem;
    letter-spacing: -0.02em;
    color: var(--neutral-dark, #0f172a);
    white-space: nowrap;
}

.nav-item-link {
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--neutral-muted, #475569);
    transition: color 0.2s ease-in-out;
}

.nav-item-link:hover {
    color: var(--primary-accent, #0284c7);
}

.cta-btn {
    background-color: var(--primary-accent, #0284c7);
    color: #ffffff;
    padding: 0.625rem 1.25rem;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    transition: background-color 0.2s ease-in-out;
    min-height: 44px;
}

.cta-btn:hover {
    background-color: var(--primary-accent-hover, #0369a1);
    color: #ffffff;
}

.mobile-toggle-btn {
    width: 44px;
    height: 44px;
    color: var(--neutral-dark, #0f172a);
    cursor: pointer;
}

.mobile-toggle-btn:focus {
    outline: none;
}

.mobile-menu-dropdown {
    display: none;
    background-color: #ffffff;
    border-top: 1px solid var(--subtle-border, #e2e8f0);
    border-bottom: 1px solid var(--subtle-border, #e2e8f0);
    width: 100%;
}

.mobile-menu-dropdown.open {
    display: block;
}

.mobile-menu-link {
    display: flex;
    align-items: center;
    min-height: 44px;
    padding: 0 0.5rem;
    font-size: 1rem;
    font-weight: 500;
    color: var(--neutral-dark, #0f172a);
    border-radius: 0.375rem;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.mobile-menu-link:hover {
    background-color: var(--secondary-bg, #f0f7ff);
    color: var(--primary-accent, #0284c7);
}

@media (max-width: 767.98px) {
    .brand-name {
        font-size: 0.8rem;
    }

    .brand-logo {
        max-width: 40px;
    }
}

/* ===== hero_section ===== */
#hero {
    overflow: hidden;
    background: linear-gradient(135deg, #f0f7ff 0%, #e0f2fe 100%);
    min-height: 80vh;
    display: flex;
    align-items: center
}

#hero .badge-tag {
    background-color: rgba(2, 132, 199, 0.1);
    border: 1px solid rgba(2, 132, 199, 0.2)
}

#hero .hero-badge-icon {
    color: var(--primary-accent);
    font-size: 16px
}

#hero .hero-badge-text {
    color: var(--primary-accent);
    font-size: 0.875rem;
    font-weight: 600
}

#hero .hero-title {
    color: var(--neutral-dark);
    font-weight: 800;
    letter-spacing: -0.02em;
    font-size: 2.75rem;
    line-height: 1.2;
    word-break: keep-all;
    hyphens: auto
}

#hero .hero-description {
    color: var(--neutral-muted);
    font-size: 1.125rem;
    line-height: 1.6;
    max-width: 520px;
    word-break: keep-all
}

#hero .hero-btn-primary {
    background-color: var(--primary-accent);
    color: #ffffff;
    border: 1px solid var(--primary-accent);
    padding: 0.875rem 1.75rem;
    font-weight: 600;
    border-radius: 0.5rem;
    transition: background-color 0.2s ease, border-color 0.2s ease
}

#hero .hero-btn-primary:hover {
    background-color: var(--primary-accent-hover);
    border-color: var(--primary-accent-hover);
    color: #ffffff
}

#hero .hero-btn-secondary {
    background-color: transparent;
    color: var(--neutral-dark);
    border: 1px solid var(--neutral-dark);
    padding: 0.875rem 1.75rem;
    font-weight: 600;
    border-radius: 0.5rem;
    transition: background-color 0.2s ease, color 0.2s ease
}

#hero .hero-btn-secondary:hover {
    background-color: var(--neutral-dark);
    color: #ffffff
}

#hero .hero-btn-secondary:hover .hero-icon-dark {
    color: #ffffff
}

#hero .hero-icon-light {
    color: #ffffff;
    font-size: 1.125rem
}

#hero .hero-icon-dark {
    color: var(--neutral-dark);
    font-size: 1.125rem
}

#hero .highlight-icon {
    color: var(--primary-accent);
    font-size: 1.125rem
}

#hero .highlight-text {
    color: var(--neutral-muted);
    font-size: 0.9rem;
    font-weight: 500
}

#hero .hero-image-wrapper {
    background-color: var(--surface-card);
    border: 1px solid var(--subtle-border)
}

#hero .hero-img {
    aspect-ratio: 4/3;
    object-fit: cover;
    display: block
}

#hero .border-light-subtle {
    border-color: var(--subtle-border) !important
}

@media (max-width:767.98px) {
    #hero .hero-title {
        font-size: 1.125rem;
        line-height: 1.25
    }

    #hero .hero-description {
        font-size: 0.875rem;
        line-height: 1.3
    }

    #hero .hero-actions .btn {
        width: 100%
    }
}

/* ===== clothing_categories ===== */
#categories {
    overflow: hidden;
    word-break: keep-all;
    hyphens: auto;
}

#categories .category-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08) !important;
}

#categories .category-card:hover .card-image {
    transform: scale(1.06);
}

#categories .category-card:hover .icon-circle {
    background-color: var(--primary-accent) !important;
    color: #ffffff !important;
    transition: background-color 0.2s ease, color 0.2s ease;
}

#categories .category-card:hover .category-title {
    color: var(--primary-accent) !important;
    transition: color 0.2s ease;
}

@media (max-width: 767.98px) {
    #categories h2 {
        font-size: 1rem !important;
        line-height: 1.25;
    }

    #categories h3 {
        font-size: 0.875rem !important;
        line-height: 1.2;
    }

    #categories .card-img-wrapper {
        height: 180px !important;
    }
}

/* ===== product_catalog ===== */
#catalog {
    position: relative;
    width: 100%;
}

#catalog .product-card {
    transition: transform .25s ease, box-shadow .25s ease;
    border: 1px solid var(--subtle-border) !important;
}

#catalog .product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(15, 23, 42, .08) !important;
}

#catalog .product-img-wrapper {
    height: 280px;
    background-color: #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
}

#catalog .product-img {
    height: 280px;
    width: 100%;
    object-fit: cover;
    transition: transform .35s ease;
}

#catalog .product-card:hover .product-img {
    transform: scale(1.04);
}

#catalog .color-dot {
    width: 14px;
    height: 14px;
    display: inline-block;
}

#catalog .size-chip {
    border: 1px solid var(--subtle-border);
    background: #fff;
    color: var(--neutral-muted);
    font-size: .75rem;
    padding: 2px 8px;
    border-radius: 4px;
    cursor: pointer;
    transition: all .2s ease;
}

#catalog .size-chip:hover,
#catalog .size-chip.active {
    background-color: var(--primary-accent);
    color: #fff;
    border-color: var(--primary-accent);
}

#catalog .modal-img-container {
    height: 340px;
    background-color: #f8fafc;
}

#catalog .modal-product-img {
    height: 340px;
    object-fit: cover;
}

#catalog .btn-outline-primary {
    color: var(--primary-accent);
    border-color: var(--primary-accent);
}

#catalog .btn-outline-primary:hover {
    background-color: var(--primary-accent);
    color: #fff;
}

@media(max-width:767.98px) {
    #catalog h2 {
        font-size: 1rem;
        line-height: 1.2;
        hyphens: auto;
    }

    #catalog h3 {
        font-size: .875rem;
        line-height: 1.2;
        hyphens: auto;
    }

    #catalog .product-img-wrapper,
    #catalog .product-img {
        height: 220px;
    }
}

/* ===== new_arrivals_section ===== */
#new-arrivals {
    width: 100%;
}

#new-arrivals .card {
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

#new-arrivals .card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 20px rgba(15, 23, 42, 0.08) !important;
}

#new-arrivals .btn:hover {
    background-color: var(--primary-accent-hover) !important;
}

@media (max-width: 767.98px) {
    #new-arrivals h2 {
        font-size: 1rem !important;
        line-height: 1.2 !important;
    }

    #new-arrivals h3 {
        font-size: 0.875rem !important;
        line-height: 1.2 !important;
    }

    #new-arrivals p {
        font-size: 0.8125rem !important;
    }

    #new-arrivals .card img {
        height: 260px !important;
    }
}

/* ===== featured_collection_section ===== */
#featured-collection {
    position: relative;
    width: 100%;
    hyphens: auto;
}

#featured-collection .collection-title {
    font-size: 2.25rem;
    line-height: 1.2;
    word-break: keep-all;
}

#featured-collection .collection-desc {
    font-size: 1.05rem;
    word-break: keep-all;
}

#featured-collection .btn-collection-cta {
    background-color: var(--primary-accent);
    color: #ffffff;
    border: 1px solid var(--primary-accent);
    border-radius: 8px;
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

#featured-collection .btn-collection-cta:hover,
#featured-collection .btn-collection-cta:focus {
    background-color: var(--primary-accent-hover);
    border-color: var(--primary-accent-hover);
    color: #ffffff;
}

#featured-collection .btn-collection-share {
    background-color: var(--surface-card);
    color: var(--primary-accent);
    border: 1px solid var(--primary-accent);
    border-radius: 8px;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

#featured-collection .btn-collection-share:hover,
#featured-collection .btn-collection-share:focus {
    background-color: var(--primary-accent);
    color: #ffffff;
    border-color: var(--primary-accent);
}

#featured-collection .btn-collection-share:hover i,
#featured-collection .btn-collection-share:focus i {
    color: #ffffff;
}

#featured-collection .collection-img-wrap {
    border: 1px solid var(--subtle-border);
}

#featured-collection .collection-hero-img {
    height: 420px;
    object-fit: cover;
    display: block;
}

@media (max-width: 767.98px) {
    #featured-collection .collection-title {
        font-size: 1rem;
        line-height: 1.25;
    }

    #featured-collection .collection-desc {
        font-size: 0.875rem;
        line-height: 1.5;
    }

    #featured-collection .collection-hero-img {
        height: 260px;
    }

    #featured-collection .btn-collection-cta,
    #featured-collection .btn-collection-share {
        width: 100%;
        font-size: 0.875rem;
    }
}

/* ===== style_inspiration_section ===== */
#style-inspiration {
    overflow: hidden;
    hyphens: auto;
}

.style-inspiration-section .style-main-title {
    font-size: 2rem;
    line-height: 1.25;
}

.style-inspiration-section .style-subtitle {
    font-size: 1rem;
    line-height: 1.6;
}

.style-inspiration-section .lookbook-card {
    background-color: var(--surface-card);
    border: 1px solid var(--subtle-border);
    box-shadow: 0 4px 18px rgba(15, 23, 42, 0.04);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.style-inspiration-section .lookbook-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.12);
    border-color: var(--primary-accent);
}

.style-inspiration-section .lookbook-img-box {
    height: 460px;
    width: 100%;
}

.style-inspiration-section .lookbook-img {
    object-fit: cover;
    transition: transform 0.5s ease;
}

.style-inspiration-section .lookbook-card:hover .lookbook-img {
    transform: scale(1.04);
}

.style-inspiration-section .lookbook-gradient-overlay {
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.15) 0%, rgba(15, 23, 42, 0.5) 45%, rgba(15, 23, 42, 0.95) 100%);
    z-index: 1;
}

.style-inspiration-section .lookbook-tag {
    z-index: 2;
    padding: 0.35rem 0.75rem;
    font-size: 0.75rem;
    border-radius: 9999px;
}

.style-inspiration-section .lookbook-content {
    z-index: 2;
}

.style-inspiration-section .lookbook-title {
    font-size: 1.25rem;
    line-height: 1.3;
}

.style-inspiration-section .lookbook-desc {
    line-height: 1.5;
}

.style-inspiration-section .lookbook-action-btn {
    backdrop-filter: blur(6px);
    transition: background-color 0.25s ease, border-color 0.25s ease;
}

.style-inspiration-section .lookbook-action-btn:hover {
    background-color: var(--primary-accent) !important;
    border-color: var(--primary-accent) !important;
}

@media (max-width: 767.98px) {
    .style-inspiration-section .style-main-title {
        font-size: 1rem !important;
        line-height: 1.2 !important;
    }

    .style-inspiration-section .lookbook-title {
        font-size: 0.875rem !important;
        line-height: 1.2 !important;
    }

    .style-inspiration-section .style-subtitle {
        font-size: 0.8125rem !important;
        line-height: 1.4 !important;
    }

    .style-inspiration-section .lookbook-img-box {
        height: 380px;
    }
}

/* ===== why_choose_us_section ===== */
#why-choose-us {
    background-color: var(--primary-bg);
    overflow: hidden;
}

#why-choose-us .why-choose-us__badge {
    background-color: var(--secondary-bg);
    color: var(--primary-accent);
    font-size: 0.8125rem;
    letter-spacing: 0.02em;
    border: 1px solid var(--subtle-border);
}

#why-choose-us .why-choose-us__title {
    color: var(--neutral-dark);
    font-size: 2rem;
    hyphens: auto;
}

#why-choose-us .why-choose-us__subtitle {
    color: var(--neutral-muted);
    font-size: 1rem;
    line-height: 1.6;
    hyphens: auto;
}

#why-choose-us .why-choose-us__card {
    background-color: var(--surface-card);
    border: 1px solid var(--subtle-border) !important;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.04);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

#why-choose-us .why-choose-us__card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(2, 132, 199, 0.08);
    border-color: var(--highlight-badge) !important;
}

#why-choose-us .why-choose-us__icon-wrap {
    width: 52px;
    height: 52px;
    background-color: var(--secondary-bg);
    color: var(--primary-accent);
    border: 1px solid var(--subtle-border);
}

#why-choose-us .why-choose-us__icon {
    font-size: 28px;
    line-height: 1;
    color: var(--primary-accent);
}

#why-choose-us .why-choose-us__card-title {
    color: var(--neutral-dark);
    font-size: 1.125rem;
    hyphens: auto;
}

#why-choose-us .why-choose-us__card-text {
    color: var(--neutral-muted);
    font-size: 0.9375rem;
    line-height: 1.55;
    hyphens: auto;
}

@media (max-width: 767.98px) {
    #why-choose-us .why-choose-us__title {
        font-size: 1rem;
        line-height: 1.25;
    }

    #why-choose-us .why-choose-us__card-title {
        font-size: 0.875rem;
        line-height: 1.2;
    }

    #why-choose-us .why-choose-us__subtitle {
        font-size: 0.875rem;
        line-height: 1.4;
    }

    #why-choose-us .why-choose-us__card-text {
        font-size: 0.8125rem;
        line-height: 1.45;
    }

    #why-choose-us .why-choose-us__icon-wrap {
        width: 44px;
        height: 44px;
    }

    #why-choose-us .why-choose-us__icon {
        font-size: 22px;
    }
}

/* ===== size_guide_section ===== */
.size-guide-section {
    width: 100%;
    hyphens: auto;
}

.size-guide-section .size-table th,
.size-guide-section .size-table td {
    border-color: var(--subtle-border);
    vertical-align: middle;
}

.size-guide-section .size-row {
    transition: background-color 0.2s ease;
}

.size-guide-section .size-row:hover {
    background-color: var(--secondary-bg);
}

@media (max-width: 767.98px) {
    .size-guide-section h2 {
        font-size: 1rem !important;
        line-height: 1.2 !important;
    }

    .size-guide-section h3 {
        font-size: 0.875rem !important;
        line-height: 1.2 !important;
    }

    .size-guide-section .table {
        font-size: 0.8125rem;
    }
}

/* ===== customer_reviews ===== */
#reviews {
    overflow: hidden;
}

#reviews .js-review-card {
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    width: 100%;
    word-break: keep-all;
    hyphens: auto;
}

#reviews .js-review-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
}

@media (max-width: 767.98px) {
    #reviews h2 {
        font-size: 1rem !important;
        line-height: 1.25;
    }

    #reviews h3 {
        font-size: 0.875rem !important;
        line-height: 1.25;
    }

    #reviews p {
        font-size: 0.875rem !important;
    }
}

/* ===== faq_section ===== */
#faq {
    word-break: keep-all;
    hyphens: auto;
}

#faq .card {
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

#faq .card:hover {
    border-color: var(--primary-accent) !important;
}

#faq .js-faq-btn {
    border: none;
    text-decoration: none;
    outline: none;
}

#faq .js-faq-btn i {
    transition: transform 0.3s ease;
}

#faq .js-faq-btn:not(.collapsed) i {
    transform: rotate(180deg);
    color: var(--primary-accent-hover) !important;
}

@media (max-width: 767.98px) {
    #faq h2 {
        font-size: 1rem;
        line-height: 1.25;
    }

    #faq h3 {
        font-size: 0.875rem;
        line-height: 1.25;
    }

    #faq .card-body p {
        font-size: 0.875rem;
    }
}

/* ===== checkout_order_form ===== */
#order-form .form-control:focus {
    border-color: var(--primary-accent);
    box-shadow: 0 0 0 0.25rem rgba(2, 132, 199, 0.15);
}

#order-form .cursor-pointer {
    cursor: pointer;
}

#order-form .btn-check:checked+.btn-outline-secondary {
    background-color: var(--primary-accent);
    border-color: var(--primary-accent);
    color: #ffffff !important;
}

#order-form .form-check-input:checked {
    background-color: var(--primary-accent);
    border-color: var(--primary-accent);
}

@media (max-width: 767.98px) {
    #order-form h2 {
        font-size: 1rem;
        line-height: 1.2;
        hyphens: auto;
    }

    #order-form h3 {
        font-size: 0.875rem;
        line-height: 1.2;
        hyphens: auto;
    }
}

/* ===== footer ===== */
/* ===== policy_pages ===== */
.policy-card,
.policy-intro-box,
.policy-header,
.policy-badge,
.policy-content,
.policy-text-body,
.policy-text-body p,
.policy-text-body ul,
.policy-text-body ol,
.policy-text-body li,
.policy-text-body h2,
.policy-text-body h3,
.policy-text-body h4,
.policy-text-body blockquote,
.policy-text-body table,
.policy-text-body td,
.policy-text-body th,
.policy-page-wrapper,
.legal-page-container {
    border: 0 !important;
    box-shadow: none !important;
    background: transparent !important;
}

.policy-card {
    padding: 1.5rem 0 !important;
}

.policy-main-title {
    color: var(--neutral-dark);
    font-weight: 700;
}

.policy-badge {
    display: inline-block;
    color: var(--primary-accent);
    font-size: 0.8125rem;
    font-weight: 600;
}

.policy-meta {
    color: var(--neutral-muted);
    font-size: 0.875rem;
}

.policy-meta .meta-divider {
    margin: 0 0.5rem;
}

#footer {
    overflow: hidden;
}

#footer .footer-logo {
    max-width: 48px;
    height: auto;
    object-fit: contain;
}

#footer .policy-links a {
    font-size: 0.85rem;
    color: #94a3b8 !important;
    transition: color 0.2s ease-in-out;
}

#footer .policy-links a:hover {
    color: #ffffff !important;
}

@media (max-width: 767.98px) {
    #footer .h4 {
        font-size: 1.125rem;
    }

    #footer .h6 {
        font-size: 0.875rem;
    }

    #footer .footer-desc {
        font-size: 0.875rem;
    }

    #footer .policy-links {
        justify-content: center;
        text-align: center;
    }

    #footer .policy-links a {
        margin-right: 0.5rem !important;
    }
}