:root {
    --wn-ink: #1f2933;
    --wn-text: #344054;
    --wn-muted: #667085;
    --wn-soft: #f6f3ef;
    --wn-panel: #ffffff;
    --wn-line: #e7e2da;
    --wn-accent: #1f9ec2;
    --wn-accent-dark: #147fa0;
    --wn-warm: #a36a3d;
    --wn-success: #198754;
    --wn-shadow: 0 14px 40px rgba(30, 41, 51, .08);
    --wn-radius: 18px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    background: #fbfaf8;
    color: var(--wn-text);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Arial, sans-serif;
    font-size: 14px;
    line-height: 1.55;
    text-rendering: optimizeLegibility;
}
img { max-width: 100%; }
a { color: var(--wn-accent-dark); text-decoration: none; }
a:hover { color: var(--wn-accent); }
.container { max-width: 1120px; }

.wn-topbar {
    background: #f0ece6;
    color: var(--wn-muted);
    font-size: 12px;
    border-bottom: 1px solid var(--wn-line);
}
.wn-topbar a { color: var(--wn-muted); }
.wn-topbar a:hover { color: var(--wn-ink); }
.wn-header {
    background: rgba(251, 250, 248, .94);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(231, 226, 218, .8);
    position: sticky;
    top: 0;
    z-index: 1020;
}
.wn-logo {
    color: var(--wn-ink);
    font-weight: 800;
    letter-spacing: -.04em;
    font-size: clamp(28px, 3vw, 40px);
    line-height: 1;
}
.wn-logo span { color: var(--wn-accent); }
.wn-tagline { color: var(--wn-muted); font-size: 12px; margin-top: 5px; }
.wn-search {
    background: #fff;
    border: 1px solid var(--wn-line);
    border-radius: 999px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(30, 41, 51, .04);
}
.wn-search .form-control,
.wn-search .btn {
    border: 0;
    box-shadow: none !important;
}
.wn-search .form-control { min-height: 44px; padding-left: 18px; background: transparent; }
.wn-search .btn { width: 54px; color: var(--wn-muted); background: #fff; }
.wn-cart-link {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 0 18px;
    border-radius: 999px;
    background: var(--wn-ink);
    color: #fff;
    font-weight: 700;
    white-space: nowrap;
    box-shadow: 0 10px 24px rgba(31, 41, 51, .18);
}
.wn-cart-link:hover { color: #fff; background: #111827; }
.wn-nav-wrap { background: #fbfaf8; border-bottom: 1px solid var(--wn-line); }
.wn-nav-scroll {
    display: flex;
    gap: 6px;
    overflow-x: auto;
    padding: 10px 0;
    scrollbar-width: none;
}
.wn-nav-scroll::-webkit-scrollbar { display: none; }
.wn-nav-link {
    color: var(--wn-text);
    border: 1px solid transparent;
    border-radius: 999px;
    padding: 8px 14px;
    font-weight: 700;
    font-size: 13px;
    white-space: nowrap;
}
.wn-nav-link:hover,
.wn-nav-link.active {
    color: var(--wn-ink);
    background: #fff;
    border-color: var(--wn-line);
    box-shadow: 0 8px 22px rgba(30, 41, 51, .05);
}
.wn-main { min-height: 58vh; padding: 28px 0 52px; }
.wn-alert { border-radius: 14px; border-color: var(--wn-line); }

.wn-hero {
    border: 1px solid var(--wn-line);
    border-radius: 28px;
    background: linear-gradient(135deg, #f5efe7 0%, #fff 55%, #eef8fb 100%);
    overflow: hidden;
    box-shadow: var(--wn-shadow);
}
.wn-hero-copy { padding: clamp(28px, 5vw, 58px); }
.wn-eyebrow {
    color: var(--wn-warm);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .12em;
    font-size: 12px;
}
.wn-hero h1,
.wn-page-title {
    color: var(--wn-ink);
    font-weight: 850;
    letter-spacing: -.045em;
    line-height: 1.05;
}
.wn-hero h1 { font-size: clamp(34px, 5.6vw, 64px); }
.wn-hero p { color: var(--wn-muted); font-size: 16px; max-width: 520px; }
.wn-hero-media {
    height: clamp(280px, 42vw, 470px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px;
}
.wn-hero-media img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 28px 30px rgba(31, 41, 51, .13));
}
.wn-btn,
.btn-primary {
    background: var(--wn-accent);
    border-color: var(--wn-accent);
    color: #fff;
    border-radius: 999px;
    font-weight: 800;
    padding: 10px 18px;
    box-shadow: 0 12px 24px rgba(31, 158, 194, .22);
}
.wn-btn:hover,
.btn-primary:hover { background: var(--wn-accent-dark); border-color: var(--wn-accent-dark); color: #fff; }
.wn-btn-secondary,
.btn-outline-secondary {
    border-color: var(--wn-line);
    color: var(--wn-text);
    background: #fff;
    border-radius: 999px;
    font-weight: 700;
}

.wn-section { margin-top: 42px; }
.wn-section-header {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: end;
    margin-bottom: 18px;
}
.wn-section-title {
    color: var(--wn-ink);
    font-size: clamp(22px, 3vw, 32px);
    font-weight: 850;
    letter-spacing: -.035em;
    margin: 0;
}
.wn-muted, .muted { color: var(--wn-muted) !important; }

.wn-product-card {
    height: 100%;
    min-height: 430px;
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid var(--wn-line);
    border-radius: var(--wn-radius);
    overflow: hidden;
    box-shadow: 0 10px 28px rgba(30, 41, 51, .05);
    transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}
.wn-product-card:hover {
    transform: translateY(-3px);
    border-color: #d7cec2;
    box-shadow: 0 18px 44px rgba(30, 41, 51, .10);
}
.wn-product-image-frame {
    height: 230px;
    background: linear-gradient(180deg, #fbfaf8 0%, #f4f0ea 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px;
}
.wn-product-image-frame img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    mix-blend-mode: multiply;
}
.wn-product-body { padding: 16px; display: flex; flex: 1; flex-direction: column; }
.wn-product-code {
    color: var(--wn-ink);
    font-size: 17px;
    font-weight: 850;
    letter-spacing: -.02em;
}
.wn-product-desc {
    color: var(--wn-muted);
    min-height: 42px;
    font-size: 13px;
    margin: 8px 0 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.wn-price { color: var(--wn-ink); font-weight: 850; font-size: 18px; }
.wn-card-actions {
    display: flex;
    gap: 8px;
    padding: 0 16px 16px;
    margin-top: auto;
}
.wn-card-actions .btn { border-radius: 999px; font-weight: 800; }

.wn-breadcrumb {
    --bs-breadcrumb-divider-color: #b5aa9d;
    color: var(--wn-muted);
    background: #fff;
    border: 1px solid var(--wn-line);
    border-radius: 999px;
    padding: 9px 16px;
    display: inline-flex;
    margin-bottom: 20px;
}
.wn-product-layout { align-items: start; }
.wn-gallery-card,
.wn-buy-card,
.wn-content-card {
    background: #fff;
    border: 1px solid var(--wn-line);
    border-radius: 24px;
    box-shadow: var(--wn-shadow);
}
.wn-gallery-card { padding: 16px; }
.wn-main-image-frame {
    height: clamp(330px, 50vw, 560px);
    border-radius: 18px;
    background: linear-gradient(180deg, #fbfaf8 0%, #f2eee8 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: clamp(18px, 4vw, 36px);
    overflow: hidden;
}
.wn-main-image-frame img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.wn-thumb-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.wn-thumb {
    width: 76px;
    height: 76px;
    border: 1px solid var(--wn-line);
    border-radius: 14px;
    background: #fbfaf8;
    padding: 5px;
    cursor: pointer;
    transition: border-color .14s ease, transform .14s ease;
}
.wn-thumb:hover, .wn-thumb.is-active { border-color: var(--wn-accent); transform: translateY(-1px); }
.wn-thumb img { width: 100%; height: 100%; object-fit: contain; }
.wn-buy-card {
    padding: clamp(18px, 3vw, 28px);
    position: sticky;
    top: 138px;
}
.wn-product-title {
    color: var(--wn-ink);
    font-weight: 850;
    letter-spacing: -.04em;
    font-size: clamp(30px, 4vw, 46px);
    margin-bottom: 8px;
}
.wn-product-meta { color: var(--wn-muted); font-size: 13px; }
.wn-product-price { color: var(--wn-ink); font-size: 30px; font-weight: 850; margin: 18px 0; }
.wn-stock-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    border-radius: 999px;
    background: #eaf7ef;
    color: var(--wn-success);
    font-weight: 800;
    font-size: 12px;
}
.wn-form-panel {
    background: #fbfaf8;
    border: 1px solid var(--wn-line);
    border-radius: 18px;
    padding: 16px;
}
.wn-configurator {
    display: grid;
    gap: 14px;
}
.wn-option-label {
    color: var(--wn-ink);
    font-weight: 850;
    font-size: 13px;
    margin-bottom: 8px;
}
.wn-option-chip-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.wn-option-chip {
    border: 1px solid var(--wn-line);
    border-radius: 999px;
    background: #fff;
    color: var(--wn-text);
    min-height: 38px;
    padding: 8px 13px;
    font-weight: 800;
    font-size: 13px;
    text-align: left;
    transition: border-color .14s ease, background .14s ease, color .14s ease, box-shadow .14s ease;
}
.wn-option-chip:hover {
    border-color: var(--wn-accent);
    color: var(--wn-ink);
}
.wn-option-chip.is-active {
    background: var(--wn-ink);
    border-color: var(--wn-ink);
    color: #fff;
    box-shadow: 0 10px 22px rgba(31, 41, 51, .16);
}
.wn-option-chip:disabled,
.wn-option-chip.is-disabled {
    cursor: not-allowed;
    opacity: .38;
    box-shadow: none;
}
.wn-selection-summary {
    display: flex;
    justify-content: space-between;
    align-items: start;
    gap: 14px;
    margin-top: 14px;
    padding: 12px 14px;
    border: 1px solid var(--wn-line);
    border-radius: 14px;
    background: #fff;
    color: var(--wn-muted);
    font-size: 12px;
}
.wn-selection-summary strong {
    white-space: nowrap;
    color: var(--wn-ink);
    font-size: 15px;
}
.form-control, .form-select {
    border-color: var(--wn-line);
    border-radius: 12px;
    min-height: 44px;
}
.form-control:focus, .form-select:focus {
    border-color: var(--wn-accent);
    box-shadow: 0 0 0 .2rem rgba(31, 158, 194, .12);
}
.wn-description { padding: clamp(20px, 3vw, 30px); }
.wn-description img { max-width: 100%; height: auto; border-radius: 16px; }

.wn-list-header,
.wn-simple-card {
    background: #fff;
    border: 1px solid var(--wn-line);
    border-radius: 24px;
    padding: clamp(20px, 3vw, 30px);
    box-shadow: var(--wn-shadow);
}
.wn-subcategory-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.wn-subcategory-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    border: 1px solid var(--wn-line);
    background: #fbfaf8;
    color: var(--wn-text);
    border-radius: 999px;
    padding: 9px 14px;
    font-weight: 800;
    font-size: 13px;
}
.wn-subcategory-chip:hover {
    color: var(--wn-ink);
    border-color: #d7cec2;
    background: #fff;
}
.wn-table-card { background: #fff; border: 1px solid var(--wn-line); border-radius: 22px; overflow: hidden; box-shadow: var(--wn-shadow); }
.wn-cart-product {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 220px;
}
.wn-cart-thumb {
    width: 72px;
    height: 72px;
    flex: 0 0 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--wn-line);
    border-radius: 14px;
    background: linear-gradient(180deg, #fbfaf8 0%, #f4f0ea 100%);
    padding: 6px;
}
.wn-cart-thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.wn-cart-qty { max-width: 96px; }
.min-w-0 { min-width: 0; }

.pagination {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 0;
}
.pagination .page-link {
    min-width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-color: var(--wn-line);
    color: var(--wn-text);
    border-radius: 999px !important;
    font-weight: 700;
    padding: 0 12px;
}
.pagination .page-item.active .page-link {
    background: var(--wn-accent);
    border-color: var(--wn-accent);
}
.pagination .page-link svg {
    width: 16px;
    height: 16px;
}
.pagination .page-item.disabled .page-link {
    color: #b8b0a5;
    background: #fff;
}
.wn-footer {
    background: #1f2933;
    color: #d7dee5;
    padding: 42px 0 24px;
}
.wn-footer h6 { color: #fff; font-weight: 850; letter-spacing: -.01em; }
.wn-footer a { color: #c5ced7; display: inline-block; padding: 3px 0; }
.wn-footer a:hover { color: #fff; }
.wn-footer-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 24px; padding-top: 18px; color: #aeb8c2; }

@media (max-width: 991.98px) {
    .wn-header { position: static; }
    .wn-buy-card { position: static; top: auto; }
    .wn-header-actions { margin-top: 14px; }
    .wn-main { padding-top: 18px; }
}
@media (max-width: 575.98px) {
    body { font-size: 13px; }
    .container { padding-left: 16px; padding-right: 16px; }
    .wn-subcategory-strip { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
    .wn-table-card.table-responsive { overflow: visible; }
    .wn-cart-table thead { display: none; }
    .wn-cart-table,
    .wn-cart-table tbody,
    .wn-cart-table tr,
    .wn-cart-table td { display: block; width: 100%; }
    .wn-cart-table tr {
        padding: 14px;
        border-bottom: 1px solid var(--wn-line);
    }
    .wn-cart-table tr:last-child { border-bottom: 0; }
    .wn-cart-table td {
        border: 0;
        padding: 7px 0;
    }
    .wn-cart-table td:not(.wn-cart-product-cell) {
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 16px;
        text-align: right !important;
    }
    .wn-cart-table td:not(.wn-cart-product-cell)::before {
        content: attr(data-label);
        color: var(--wn-muted);
        font-weight: 800;
        text-align: left;
    }
    .wn-cart-product { min-width: 0; gap: 12px; align-items: flex-start; }
    .wn-cart-thumb { width: 72px; height: 72px; flex-basis: 72px; border-radius: 14px; }
    .wn-cart-qty { max-width: 96px; margin-left: auto; }
    .wn-subcategory-chip { white-space: normal; min-height: 42px; padding: 9px 10px; text-align: center; }
    .wn-product-card { min-height: 390px; }
    .wn-product-image-frame { height: 190px; padding: 12px; }
    .wn-main-image-frame { height: 330px; padding: 14px; }
    .wn-section-header { align-items: start; flex-direction: column; }
    .wn-card-actions { flex-direction: column; }
    .wn-topbar .container { justify-content: center !important; }
}
