:root {
    --jw-brand: #262422;
    --jw-accent: #c4a475;
    --jw-accent-strong: #80613b;
    --jw-bg: #fff;
    --jw-surface: #faf8f5;
    --jw-product-bg: #f5f2ed;
    --jw-hero-bg: #ede4d8;
    --jw-footer-bg: #f1ede7;
    --jw-text: #33312e;
    --jw-muted: #716b63;
    --jw-border: #e5e0d8;
    --jw-control-border: #8c847a;
    --jw-primary-hover: #474039;
    --jw-primary-active: #151413;
    --jw-disabled-bg: #eae6e0;
    --jw-disabled-text: #716b63;
    --jw-sale: #b33137;
    --jw-error: #b33137;
    --jw-success: #347451;
    --jw-warning: #855a18;
    --jw-info: #365e79;
    --jw-focus: #80613b;
    --jw-overlay: rgba(38,36,34,.45);
    --jw-font-heading: 'Cormorant Garamond', Georgia, serif;
    --jw-font-body: Inter, system-ui, -apple-system, sans-serif;
    --jw-radius: 4px;
    --jw-radius-card: 2px;
    --jw-container: 1440px;
    --jw-gutter: 16px;
    --jw-gap: 12px;
    --jw-section: 36px;
    --jw-columns: 2;
    --jw-transition: 160ms ease;
}
@media (min-width: 768px) {
    :root { --jw-gutter: 24px; --jw-gap: 20px; --jw-section: 48px; --jw-columns: 3; }
}
@media (min-width: 1024px) {
    :root { --jw-gutter: 40px; --jw-gap: 24px; --jw-section: 64px; --jw-columns: 4; }
}
@media (prefers-reduced-motion: reduce) {
    :root { --jw-transition: 0ms; }
}
body {
    font: 400 16px/1.6 var(--jw-font-body);
    color: var(--jw-text);
    background: var(--jw-bg);
}
body > .container, .main-wrapper > .container { width: 100%; max-width: none; padding: 0; }
body .main-container, .footer-wrapper .container, .jw-categories, .jw-hero {
    box-sizing: border-box;
    max-width: var(--jw-container);
    width: 100%;
    margin-inline: auto;
    padding-inline: var(--jw-gutter);
}
body .main-container { margin-block: 0 var(--jw-section); }
body .main-container .main { padding: 0; min-width: 0; }
body .main-container .col-main { padding-block: 0; min-width: 0; }
body .main-container .breadcrumbs { margin: 20px 0; padding: 0; background: none; }
.breadcrumbs ul { display: flex; flex-wrap: wrap; gap: 4px; }
.breadcrumbs li, .breadcrumbs li a, .breadcrumbs li strong { color: var(--jw-muted); font: 400 13px/1.5 var(--jw-font-body); overflow-wrap: anywhere; }
body .main-container .page-title { margin: 28px 0 20px; padding: 0; border: 0; background: none; }
body .page-title h1, .jw-hero h1, #contactForm .legend, .product-view .product-shop .product-name h1,
#jimei-osc .jimei-osc__header h1 {
    color: var(--jw-brand);
    font: 500 clamp(25px, 3vw, 36px)/1.16 var(--jw-font-heading);
    letter-spacing: -.035em;
    text-transform: none;
    overflow-wrap: break-word;
}
body .jw-section-heading, .jw-categories h2, .account-login .content h2, #jimei-osc .jimei-osc__section h2 {
    color: var(--jw-brand); font: 500 clamp(28px, 3vw, 40px)/1.2 var(--jw-font-heading);
    letter-spacing: -.025em; text-transform: none;
}
body :is(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
    outline: 2px solid var(--jw-focus); outline-offset: 3px;
}
body .std p a, .cart-empty p a, .registered-users .buttons-set a { text-decoration: underline; text-underline-offset: 3px; }
body a:hover { text-underline-offset: 3px; }
body .jw-primary, .main-container button.button, .main-container .btn-proceed-checkout,
#accept-cookies #btn-cookie-allow {
    display: inline-flex; justify-content: center; align-items: center; gap: 8px;
    min-height: 48px; padding: 10px 23px; box-sizing: border-box;
    color: white; background: var(--jw-brand); border: 1px solid var(--jw-brand);
    border-radius: var(--jw-radius); box-shadow: none; text-shadow: none;
    font: 500 14px/1.25 var(--jw-font-body); text-transform: none; text-decoration: none;
    transition: background-color var(--jw-transition);
}
body .jw-primary:hover, .main-container button.button:hover, #accept-cookies #btn-cookie-allow:hover { color: white; background: var(--jw-primary-hover); }
body .jw-primary:active, .main-container button.button:active { color: white; background: var(--jw-primary-active); }
.main-container button.button span, .main-container button.button span span {
    display: inline; height: auto; padding: 0; background: none; color: inherit; border: 0; font: inherit; text-transform: none;
}
.main-container button.button:disabled { color: var(--jw-disabled-text); background: var(--jw-disabled-bg); border-color: var(--jw-border); cursor: default; }
.main-container :is(.form-list,.product-options,.discount-form,.shipping-form) :is(input.input-text, input[type="search"], select, textarea) {
    box-sizing: border-box; max-width: 100%; width: 100%; height: auto; min-height: 48px; padding: 10px 12px;
    background-color: white; color: var(--jw-text); border: 1px solid var(--jw-control-border);
    border-radius: var(--jw-radius); font: 400 16px/1.45 var(--jw-font-body); box-shadow: none;
}
.main-container textarea.input-text { min-height: 112px; }
.main-container .form-list label, .main-container .product-options dt label { color: var(--jw-text); font: 500 14px/1.5 var(--jw-font-body); }
.main-container .validation-advice, .main-container .out-of-stock, .main-container .out-of-stock span { color: var(--jw-error); }
.main-container .in-stock span { color: var(--jw-success); }
.main-container .form-list .input-box, .main-container .form-list .field { max-width: 100%; }
.main-container .note-msg, .main-container .notice-msg { overflow-wrap: anywhere; }
.main-container .price-box .price { color: var(--jw-brand); font: 500 clamp(16px,1.5vw,18px)/1.4 var(--jw-font-body); }
.main-container .price-box .old-price .price { font-size: 14px; color: var(--jw-muted); text-decoration: line-through; }
.main-container .price-box .special-price .price { color: var(--jw-sale); }

/* Keep the header module's own menu, search suggestions, cart and keyboard controls. */
body .jimei-hdr-header, body .jimei-hdr-panel {
    --jimei-hdr-head-bg: var(--jw-brand); --jimei-hdr-head-fg: white;
    --jimei-hdr-shell-fill: white; --jimei-hdr-shell-ink: var(--jw-brand);
    --jimei-hdr-promo-bg: var(--jw-brand); --jimei-hdr-promo-bg-end: var(--jw-brand); --jimei-hdr-promo-fg: white;
    --jimei-hdr-menu-link: var(--jw-brand); --jimei-hdr-accent: var(--jw-accent-strong);
    --jimei-hdr-border: var(--jw-border); --jimei-hdr-menu-hl: var(--jw-surface);
}
body .jimei-hdr-header .jimei-hdr-promo { background: var(--jw-brand); color: white; padding: 6px 16px; font: 500 13px/1.5 var(--jw-font-body); }
body .jimei-hdr-header .jimei-hdr-desktop .jimei-hdr-main {
    max-width: var(--jw-container); margin-inline: auto; padding: 19px var(--jw-gutter); min-height: 78px;
}
.jimei-hdr-header .jimei-hdr-main .jimei-hdr-search-wrap { grid-column: 1; grid-row: 1; justify-self: start; max-width: 280px; }
.jimei-hdr-header .jimei-hdr-main .jimei-hdr-brand { grid-column: 2; grid-row: 1; justify-self: center; }
.jimei-hdr-header .jimei-hdr-main .jimei-hdr-links { grid-column: 3; grid-row: 1; justify-self: end; }
.jimei-hdr-header .jimei-hdr-desktop-nav { background: white; border-block: 1px solid var(--jw-border); }
.jimei-hdr-header .jimei-hdr-navigation > li > a { padding: 10px clamp(8px,1.1vw,18px); color: var(--jw-brand); font: 500 14px/24px var(--jw-font-body); text-transform: none; }
.jimei-hdr-header .jimei-hdr-navigation > li:is(:hover,:focus-within) > a { color: var(--jw-brand); background: var(--jw-surface); text-decoration: underline; }
body .jimei-hdr-header form.jimei-hdr-search { border: 1px solid var(--jw-control-border); border-radius: var(--jw-radius); box-shadow: none; background: white; }
body .jimei-hdr-header form.jimei-hdr-search input { font-family: var(--jw-font-body); }
body #jimei-hdr-shoppingbag { max-width: min(420px,100vw); }

/* The Rings menu has 22 direct children. Let the header keep its hover and drawer behavior. */
.jimei-hdr-header .jimei-hdr-navigation > li > a[href$="/c/rings.html"] + ul {
    width: 390px; padding: 8px; grid-template-columns: repeat(2,minmax(0,1fr)); column-gap: 8px;
    max-height: 65vh; overflow-y: auto;
}
.jimei-hdr-header .jimei-hdr-navigation > li:is(:hover,:focus-within) > a[href$="/c/rings.html"] + ul { display: grid; }
.jimei-hdr-header .jimei-hdr-navigation > li ul a {
    padding: 6px 10px; font: 500 13px/1.4 var(--jw-font-body);
}
@media (max-width: 1024px) {
    .jimei-hdr-panel a[href$="/c/rings.html"] + ul,
    .jimei-hdr-mm-menu .jimei-hdr-mm-listview:has(> li > a[href$="/c/jewinston-design.html"]) {
        display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0 4px;
    }
    #jimei-hdr-menu ul[class*="jimei-hdr-tree-level"] {
        --jimei-hdr-menu-font: 13px; --jimei-hdr-menu-family: var(--jw-font-body);
    }
    #jimei-hdr-menu ul[class*="jimei-hdr-tree-level"] > li > a:not(.jimei-hdr-mm-btn_next) {
        display: flex; align-items: center; min-height: 44px; padding: 5px 10px;
        white-space: normal; font: 500 13px/1.35 var(--jw-font-body);
    }
}

/* Editorial image comes from the live gallery for RI5090508. */
.jw-hero { display: grid; margin-top: 20px; }
.jw-hero-copy { padding: 28px 24px 32px; background: var(--jw-hero-bg); display: flex; flex-direction: column; align-items: flex-start; justify-content: center; }
.jw-hero-copy::before { content: ""; width: 48px; height: 2px; margin-bottom: 18px; background: var(--jw-accent); }
.jw-hero h1 { margin: 0; }
.jw-hero p { max-width: 32ch; margin: 14px 0 22px; font: 400 16px/1.6 var(--jw-font-body); color: var(--jw-text); }
.jw-hero-photo { grid-row: 1; width: 100%; height: clamp(190px,55vw,340px); object-fit: cover; object-position: center 48%; }
.jw-categories { margin-top: var(--jw-section); }
.jw-categories h2, .jw-featured .jw-section-heading { margin: 0 0 16px; }
.jw-categories ul { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0 var(--jw-gap); padding: 0; margin: 0; list-style: none; }
.jw-categories li { margin: 0; border-block: 1px solid var(--jw-border); }
.jw-categories a { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 12px 2px; color: var(--jw-brand); font: 500 clamp(20px,2vw,26px)/1.3 var(--jw-font-heading); }
.jw-categories a span { color: var(--jw-accent-strong); font: 400 18px/1 var(--jw-font-body); }
.jw-categories a:hover { color: var(--jw-accent-strong); text-decoration: underline; }
body .home-content, body .jw-featured { margin: 0; padding: 0; }
body .jw-featured { margin-top: var(--jw-section); }
.jw-featured .product-tabs, .product-view .product-collateral > .product-tabs {
    display: flex; flex-wrap: wrap; align-items: center; gap: 0 18px;
    width: auto; margin: 0 0 20px; padding: 0; list-style: none; border: 0; border-bottom: 1px solid var(--jw-border); background: none;
}
body :is(.jw-featured,.product-view) .product-tabs li { width: auto; float: none; margin: 0; padding: 0; }
body :is(.jw-featured,.product-view) .product-tabs li a {
    display: inline-flex; align-items: center; min-height: 44px; padding: 6px 0;
    color: var(--jw-muted); background: none; border: 0; border-radius: 0; font: 500 14px/1.4 var(--jw-font-body); text-transform: none;
}
body :is(.jw-featured,.product-view) .product-tabs li.active a { color: var(--jw-brand); box-shadow: inset 0 -2px var(--jw-accent-strong); }
body :is(.jw-featured,.product-view) .product-tabs li a:hover { text-decoration: underline; }
body :is(.jw-featured,.product-view) .product-tabs-content { padding: 0; margin: 0; border: 0; }
body :is(.jw-featured,.category-products) .products-grid.row {
    display: grid; grid-template-columns: repeat(var(--jw-columns),minmax(0,1fr));
    gap: clamp(12px,1.4vw,20px) var(--jw-gap); margin: 0; padding: 0; list-style: none;
}
body :is(.jw-featured,.category-products) .products-grid.row::before, body :is(.jw-featured,.category-products) .products-grid.row::after { content: none; }
body :is(.jw-featured,.category-products) .products-grid.row > * { width: auto; min-width: 0; margin: 0; padding: 0; float: none; }
body .products-grid .item-inner { margin: 0; padding: 0; box-shadow: none; border: 0; }
body .products-grid .box-images { width: 100%; margin: 0 0 5px; border: 0; border-radius: var(--jw-radius-card); background: transparent; }
body .products-grid .box-images a.product-image { display: grid; place-items: center; width: 100%; aspect-ratio: 1; padding: 0; background: transparent; }
body .products-grid .box-images .product-image img { display: block; width: 100%; max-width: 100%; height: auto; margin: 0; object-fit: contain; }
body .products-grid .product-shop { text-align: start; margin: 0; padding: 0; }
body .products-grid .product-shop .product-name { margin: 0 0 5px; padding: 0; height: auto; max-height: none; white-space: normal; font: 400 clamp(14px,1.2vw,15px)/1.45 var(--jw-font-body); }
body .products-grid .product-shop .product-name a { color: var(--jw-text); font: inherit; text-transform: none; white-space: normal; overflow-wrap: anywhere; }
body .products-grid .product-name a:hover { text-decoration: underline; }
body .products-grid .price-box { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 8px; margin: 0; }
body .products-grid .price-box p { margin: 0; }

.category-description.std .row { margin: 0; }
.category-description.std .row > div { padding: 0 8px 0 0; }
.category-description.std .row a { display: inline-flex; align-items: center; min-height: 44px; color: var(--jw-brand); font: 500 14px/1.35 var(--jw-font-body); text-decoration: underline; }

/* Some category descriptions store their link directory in groups of four. */
.category-description.std:where(:has(> .row > div > a):not(:has(> :not(.row)))) {
    display: grid; grid-template-columns: repeat(var(--jw-directory-columns, 2),minmax(0,1fr)); width: 100%;
}
.category-description.std:where(:has(> .row > div > a):not(:has(> :not(.row)))) > .row { display: contents; }
.category-description.std .row::before, .category-description.std .row::after { content: none; }
.category-description.std:where(:has(> .row > div > a):not(:has(> :not(.row)))) > .row > div { float: none; width: auto; padding: 0; min-width: 0; }
.category-description.std .row > div > a { width: 100%; justify-content: center; padding: 4px; text-align: center; }
@media (min-width: 600px) { .category-description.std { --jw-directory-columns: 4; } }
@media (min-width: 1200px) { .category-description.std { --jw-directory-columns: 8; } }
body .category-products .toolbar { margin: 20px 0; padding: 0; border-block: 1px solid var(--jw-border); background: white; }
body .toolbar .pager { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 18px; padding: 8px 0; margin: 0; background: none; }
body .toolbar .pager :is(.catagorySortBy,.limiter,.pages) { float: none; position: static; height: auto; margin: 0; }
body .toolbar .pager .catagorySortBy, body .toolbar .catagorySortBy ul, body .toolbar .pages ol { display: flex; flex-wrap: wrap; align-items: center; gap: 0 6px; padding: 0; }
body .toolbar .pager a, body .toolbar .pager .current { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; color: var(--jw-brand); }
body .toolbar .catagorySortBy a.selected, body .toolbar .pages .current { color: var(--jw-accent-strong); font-weight: 600; text-decoration: underline; }
body .toolbar .pager .pages { margin-inline-start: auto; }
.product-view .product-essential { padding: 0; border: 0; }
#product_addtocart_form > .row { display: grid; grid-template-columns: minmax(0,1fr); gap: var(--jw-gap); margin: 0; align-items: start; }
#product_addtocart_form > .row::before, #product_addtocart_form > .row::after { content: none; }
#product_addtocart_form > .row > div { width: auto; float: none; padding: 0; min-width: 0; }
.product-view .product-img-box .product-image { margin: 0; background: var(--jw-product-bg); border: 0; }
.product-view .product-img-box .product-image img, .product-view .swiper-slide img { display: block; max-width: 100%; height: auto; margin: auto; }
.product-view .swiper-container { width: 100%; }
.product-view .product-shop .product-name { margin: 0 0 8px; }
.product-view .product-shop .product-name h1 { margin: 0; font-size: clamp(18px,1.65vw,22px); line-height: 1.25; letter-spacing: -.02em; }
.product-essential .product-shop .price-box { margin: 12px 0; }
.product-essential .product-shop .regular-price .price, .product-essential .product-shop .special-price .price { font-size: 24px; }
.product-view .product-shop .product-options { margin-top: 20px; padding: 16px 0; border: 0; border-block: 1px solid var(--jw-border); background: white; }
.product-view .product-options dl { margin: 0; }
.product-view .product-options dd { padding: 0 0 12px; }
.product-view .product-options .options-list label.active, .product-view .product-options .options-list input:checked + span label { color: var(--jw-brand); outline: 2px solid var(--jw-brand); outline-offset: 1px; }
.product-view .product-options-bottom { background: none; border: 0; padding: 12px 0; }
.product-view .add-to-cart { width: 100%; float: none; }
.product-view .add-to-cart .input-content { float: none; display: flex; align-items: center; gap: 12px; margin: 0 0 12px; }
.product-view .add-to-cart button.btn-cart { width: 100%; float: none; margin: 0; }
.product-view .add-to-cart button.btn-cart span span::before { content: none; }
.product-view .add-to-cart .box-qty { float: none; border: 1px solid var(--jw-control-border); border-radius: var(--jw-radius); }
.product-view .add-to-cart .input-content .qty-arrows { display: inline-grid; grid-template-columns: 44px 50px 44px; width: auto; float: none; vertical-align: middle; }
.product-view .qty-arrows input { box-sizing: border-box; height: 44px; margin: 0; padding: 0; border: 0; border-radius: 0; text-align: center; color: var(--jw-brand); background: transparent; }
.product-view .add-to-cart .qty-arrows .input-text.qty { height: 44px; padding: 0; border: 0; border-inline: 1px solid var(--jw-border); font: 500 16px/1 var(--jw-font-body); }
.product-view .qty-arrows input[type="button"] { width: 44px; appearance: none; background: none; font: 400 21px/1 var(--jw-font-body); cursor: pointer; }
.product-view .qty-arrows input[type="button"]:is(:hover,:active) { color: var(--jw-accent-strong); background: var(--jw-surface); }
.product-view .qty-arrows input:focus-visible { outline-offset: -3px; }
.product-view .product-shop .link-wishlist {
    display: flex; align-items: center; justify-content: center; gap: 6px; width: fit-content; min-width: 44px; height: 44px;
    margin-left: auto; padding: 0 8px; float: none; background: none; color: var(--jw-brand); font: 500 13px/1 var(--jw-font-body);
}
.product-view .product-shop .link-wishlist:hover { color: var(--jw-accent-strong); text-decoration: none; }
.product-view .product-shop .link-wishlist svg { flex: none; }
.product-view .product-collateral { margin-block: 12px 16px; }
.product-view .product-collateral > .product-tabs { margin: 0 0 8px; }
.product-view #product_tabs_description_contents, .product-view .product-collateral > .product-tabs-content { padding: 0; margin: 0; }
.product-view .product-tabs-content > :first-child { margin-top: 0; }
.product-view .product-tabs-content > :last-child, .product-view .product-tabs-content > .std > :last-child { margin-bottom: 0; }
.product-view #product_tabs_description_contents > br:last-child { display: none; }
.product-view #product_tabs_size_guide_contents img { display: block; max-width: 100%; height: auto; }
.product-view #product_tabs_size_guide_contents p { margin: 0 0 6px; }
.product-view #product_tabs_size_guide_contents p:last-child { margin-bottom: 0; }
.product-view .product-tabs-content .std, .cms-page-view .col-main .std, .cart-empty { font: 400 16px/1.6 var(--jw-font-body); color: var(--jw-text); }
.product-tabs-content :is(img,table), .cms-page-view .std img { max-width: 100%; }
.product-tabs-content .std { overflow-x: auto; }
.cart-empty { background: var(--jw-surface); padding: clamp(24px,5vw,64px); }
.cart-empty p { margin: 0 0 16px; }
body .account-login .col2-set { width: 100%; }
body .account-login .col2-set > div { width: 100%; float: none; }
.account-login .content, .cart .discount, .cart .totals { color: var(--jw-text); background: var(--jw-surface); border-color: var(--jw-border); }
#contactForm, .customer-account-create .account-create { max-width: 54rem; margin-inline: auto; }
#contactForm .fieldset { margin: 32px 0; }
.cms-page-view .web_main_block { width: 100%; float: none; }
.cms-page-view .web_about_content { max-width: 76ch; margin-inline: auto; }
#jimei-osc .jimei-osc__section, #jimei-osc .jimei-osc__summary { border-color: var(--jw-border); }
#jimei-osc .jimei-osc__summary { background-color: var(--jw-surface); }
#jimei-osc .jimei-osc__field-label { color: var(--jw-text); }
#jimei-osc .jimei-osc__field-error { color: var(--jw-error); }

footer.footer-wrapper, .footer-wrapper .footer-information, .footer-wrapper .footer-container, .footer-wrapper .footer {
    background: var(--jw-footer-bg); color: var(--jw-text); border: 0; box-shadow: none;
}
.catalog-product-view .main-container { margin-bottom: clamp(16px,2vw,28px); }
.footer-wrapper .footer-information { padding-block: 16px; }
.footer-information .footer-info-1 { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px 20px; margin: 0; }
.footer-information .footer-info-1::before, .footer-information .footer-info-1::after { content: none; }
/* Older mobile column utilities force half width inside each grid cell. */
.footer-information .footer-info-1 > .f-col { width: 100% !important; min-width: 0; float: none; padding: 0; }
footer.footer-wrapper .footer-static-title h3 { margin: 0 0 3px; padding-bottom: 4px; color: var(--jw-brand); font: 500 20px/1.2 var(--jw-font-heading); text-transform: none; }
footer.footer-wrapper .footer-static-title h3::before { bottom: 0; }
footer.footer-wrapper .footer-static-content, footer.footer-wrapper .footer-static-content ul { margin: 0; }
footer.footer-wrapper .footer-static-content li { margin: 0; padding: 0; background: none; }
footer.footer-wrapper .footer-static-content li a { display: flex; align-items: center; height: auto; min-height: 26px; color: var(--jw-text); font: 400 14px/1.4 var(--jw-font-body); }
footer.footer-wrapper a:hover { text-decoration: underline; }
.footer-wrapper .footer { padding-block: 8px; border-top: 1px solid var(--jw-border); }
.footer-wrapper .footer > .row { display: flex; flex-wrap: wrap; align-items: center; row-gap: 4px; }
.footer-wrapper .footer > .row::before, .footer-wrapper .footer > .row::after { content: none; }
.footer-wrapper .footer .payment-methods { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 4px; margin: 0; }
footer.footer-wrapper .footer address.copyright { margin: 0; }
.footer-wrapper address.copyright, .footer-wrapper address.copyright a { color: var(--jw-muted); font: 400 13px/1.5 var(--jw-font-body); }
body #accept-cookies { inset: auto auto max(12px,env(safe-area-inset-bottom)) max(12px,env(safe-area-inset-left)); width: min(344px,calc(100% - 24px)); max-width: none; max-height: 45vh; overflow-y: auto; padding: 16px; border: 1px solid var(--jw-control-border); border-radius: var(--jw-radius); background: white; box-shadow: 0 2px 12px rgba(38,36,34,.09); color: var(--jw-text); font: 400 13px/1.5 var(--jw-font-body); }
#accept-cookies .group-action-links { display: flex; gap: 12px; align-items: center; justify-content: flex-end; margin: 10px 0 0; }
#accept-cookies .privacy-link { color: var(--jw-text); text-decoration: underline; }
#accept-cookies #btn-cookie-allow, #accept-cookies #btn-cookie-decline { min-height: 44px; margin: 0; }
#accept-cookies #btn-cookie-decline { padding: 8px 12px; color: var(--jw-brand); text-decoration: underline; }

@media (min-width: 768px) {
    .jw-hero { grid-template-columns: 44% 56%; margin-top: 24px; }
    .jw-hero-copy { padding: clamp(32px,5.5vw,86px); }
    .jw-hero-photo { grid-column: 2; grid-row: 1; height: clamp(355px,34vw,475px); }
    .jw-categories ul, .footer-information .footer-info-1 { grid-template-columns: repeat(4,minmax(0,1fr)); }
    .jw-categories a { padding-block: 18px; }
    #product_addtocart_form > .row { grid-template-columns: minmax(0,56fr) minmax(0,44fr); gap: clamp(24px,4vw,64px); }
    .footer-wrapper .footer-information { padding-block: 20px; }
}
@media (max-width: 767px) {
    .jw-categories li:nth-child(n+3) { border-top: 0; }
    .jw-hero { margin-top: 12px; }
    body .main-container .page-title { margin-top: 20px; }
    .product-view .product-collateral > .product-tabs > li[id] { display: block !important; }
    .product-view .product-shop .availability { display: block; }
    .product-view .product-collateral > .product-tabs { column-gap: 12px; }
    body .toolbar .pager .pages { flex-basis: 100%; margin: 0; padding: 0; }
    body .toolbar .pager .pages strong { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
    body .toolbar .pager .pages ol { width: 100%; justify-content: center; margin: 0; float: none; }
    body .toolbar .pager .pages li { margin: 0; }
    body .toolbar .pager .pages a, body .toolbar .pager .pages .current { min-width: 36px; }
    footer.footer-wrapper .footer-static-content li a { min-height: 32px; }
    .footer-wrapper .footer .payment-methods { justify-content: flex-start; }
    .cart #shopping-cart-table, .cart #shopping-cart-table tbody { display: block; width: 100%; }
    .cart #shopping-cart-table tr { display: grid; grid-template-columns: 72px minmax(0,1fr) auto; align-items: start; gap: 8px; padding: 16px 0; border-bottom: 1px solid var(--jw-border); }
    .cart #shopping-cart-table td { width: auto; padding: 0; border: 0; min-width: 0; }
    .cart #shopping-cart-table .product-cart-image { grid-row: 1 / span 3; }
    .cart #shopping-cart-table .product-cart-image img { width: 100%; height: auto; }
    .cart #shopping-cart-table .product-cart-actions, .cart #shopping-cart-table .product-cart-price { grid-column: 2 / -1; text-align: start; }
    .cart .row > div { width: 100%; }
    .cart .totals { max-width: 100%; }
    .cms-page-view .web_about_content { overflow-wrap: anywhere; }
    .cms-page-view .web_about_content table { display: block; overflow-x: auto; }
}
@media (max-width: 1024px) {
    .jimei-hdr-header .jimei-hdr-mobile { position: relative; border-bottom: 1px solid var(--jw-border); }
    .jimei-hdr-header .jimei-hdr-mobile .jimei-hdr-mobile-bar {
        display: grid; grid-template-columns: 44px minmax(0,1fr) 44px; grid-template-rows: 44px auto;
        align-items: center; gap: 3px 0; min-height: 0; padding: 4px var(--jw-gutter) 8px; background: white; color: var(--jw-brand);
    }
    .jimei-hdr-header .jimei-hdr-mobile-bar .jimei-hdr-menu-toggle { grid-area: 1 / 1; }
    .jimei-hdr-header .jimei-hdr-mobile-bar .jimei-hdr-bag-link { grid-area: 1 / 3; }
    .jimei-hdr-header .jimei-hdr-mobile-bar :is(.jimei-hdr-menu-toggle,.jimei-hdr-bag-link) {
        display: inline-flex; justify-content: center; align-items: center; width: 44px; height: 44px; color: var(--jw-brand);
    }
    .jimei-hdr-header .jimei-hdr-bag-link .jimei-hdr-count { top: 0; right: -1px; color: white; background: var(--jw-brand); }
    .jimei-hdr-header .jimei-hdr-mobile-bar .jimei-hdr-search-wrap { grid-area: 2 / 1 / 3 / -1; }
    .jimei-hdr-header .jimei-hdr-mobile .jimei-hdr-mobile-logo {
        position: absolute; left: 50%; top: 4px; transform: translateX(-50%); height: 44px;
        display: grid; place-items: center; padding: 0; width: min(45%,190px); background: transparent;
    }
    .jimei-hdr-header .jimei-hdr-mobile .jimei-hdr-mobile-logo img { width: 100%; height: auto; }
    .jimei-hdr-header form.jimei-hdr-mobile-search { height: 44px; }
}
#product_addtocart_form > .row > .product-img-box { width: 100%; }
.product-view .product-shop .product-options-bottom .addcartaddto, .product-view .add-to-box-cart { width: 100%; float: none; }
body :is(.products-grid,.products-list) .product-shop .product-name a {
    display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2;
    height: auto; max-height: 2.9em; line-height: 1.45; overflow: hidden; text-align: start; letter-spacing: normal;
}
body .products-list .box-images, body .products-list .box-images .product-image { background: transparent; }
body .main-container .col-main .category-title h1 { font-size: clamp(25px,3vw,36px); text-align: start; }
body .toolbar .pager .pages li.current { background: var(--jw-brand); text-decoration: none; border-radius: var(--jw-radius); }
body .toolbar .pager .pages li a:hover { background: var(--jw-surface); color: var(--jw-brand); }
.product-view .product-shop .availability.in-stock span { color: var(--jw-success); }
.jimei-hdr-header .jimei-hdr-main > .jimei-hdr-links { justify-self: stretch; justify-content: flex-end; gap: 18px; padding: 0 8px; }
.jimei-hdr-header .jimei-hdr-links > a { min-width: 44px; min-height: 44px; justify-content: center; }
.jimei-hdr-header .jimei-hdr-links .jimei-hdr-icon { width: 25px; height: 25px; }
.jimei-hdr-header form.jimei-hdr-search:focus-within { outline: 2px solid var(--jw-focus); outline-offset: 2px; }
/* The gallery positions its arrows 30px outside the thumbnail strip. */
.product-img-box .more-views.thumbnail-container { box-sizing: border-box; padding-inline: 34px; }
.product-img-box .more-views .bx-wrapper .bx-controls-direction a { color: var(--jw-brand); }
