html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 0;
  background: #f7f5f0;
  color: #17221b;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
  color: var(--bs-secondary-color);
  text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
  text-align: start;
}

.market-selector { margin-left: auto; position: relative; }
.market-selector summary { border: 1px solid #d6d4cc; border-radius: 999px; cursor: pointer; list-style: none; padding: .55rem .9rem; white-space: nowrap; }
.market-selector summary::-webkit-details-marker { display: none; }
.market-selector summary::after { content: "▾"; margin-left: .55rem; }
.market-selector[open] summary::after { content: "▴"; }
.market-selector__popup { background: #fff; border: 1px solid #dedbd2; border-radius: .8rem; box-shadow: 0 14px 35px rgb(23 34 27 / 18%); display: grid; gap: .25rem; min-width: 250px; padding: .75rem; position: absolute; right: 0; top: calc(100% + .6rem); z-index: 1050; }
.market-selector__popup > strong { font-size: .8rem; padding: .4rem .6rem; }
.market-selector__popup a { align-items: center; border-radius: .55rem; color: #17221b; display: flex; gap: .75rem; padding: .6rem; text-decoration: none; }
.market-selector__popup a:hover, .market-selector__popup a:focus { background: #eef3ef; }
.market-selector__popup b, .market-selector__popup small { display: block; }
.market-selector__popup small { color: #66716a; }
.market-selector__flag { flex: 0 0 auto; font-size: 1.6rem; line-height: 1; }

.storefront-hero { padding: 3rem; margin-bottom: 3rem; border-radius: 1.25rem; background: linear-gradient(135deg, #f3f7ff, #eef8f2); }
.storefront-hero h1 { max-width: 18ch; font-size: clamp(2.2rem, 5vw, 4.5rem); }
.storefront-hero p { max-width: 70ch; font-size: 1.1rem; }
.content-section-grid { display: grid; gap: clamp(1.25rem, 3vw, 2.5rem); grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 3rem 0 5rem; }
.content-section-card { background: var(--hov-ink, #17221b); color: #fff; display: grid; min-height: 440px; overflow: hidden; position: relative; text-decoration: none; }
.content-section-card img { height: 100%; inset: 0; object-fit: cover; object-position: center top; opacity: .72; position: absolute; transition: transform .5s ease, opacity .3s; width: 100%; }
.content-section-card::after { background: linear-gradient(transparent 30%, rgba(15,20,16,.9)); content: ""; inset: 0; position: absolute; }
.content-section-card > span { align-self: end; display: grid; gap: .55rem; padding: 2rem; position: relative; z-index: 1; }
.content-section-card strong { color: #fff; font-family: Georgia, serif; font-size: clamp(1.8rem, 4vw, 3rem); }
.content-section-card small { color: rgba(255,255,255,.82); display: -webkit-box; font-size: .95rem; line-height: 1.5; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
.content-section-card:hover { color: #fff; } .content-section-card:hover img { opacity: .85; transform: scale(1.035); }
.content-section-card:focus-visible { outline: 4px solid var(--hov-gold); outline-offset: 4px; }
.content-section-detail { align-items: start; display: grid; gap: clamp(2rem, 6vw, 6rem); grid-template-columns: minmax(280px, 1fr) minmax(280px, .85fr); margin: 3rem auto; max-width: 1200px; }
.atelier-editorial-image img { object-position: right top; }
.content-section-detail img { box-shadow: var(--hov-shadow); height: auto; width: 100%; }
.content-section-detail h1 { font-size: clamp(2.5rem, 6vw, 5rem); }
.content-section-detail p { font-size: 1.05rem; line-height: 1.8; }
@media (max-width: 700px) { .content-section-grid, .content-section-detail { grid-template-columns: 1fr; } .content-section-card { min-height: 360px; } }
.content-subsections { margin: 5rem auto; max-width: 1200px; }
.content-subsection { border-top: 1px solid var(--hov-line); display: grid; gap: 2rem; grid-template-columns: .8fr 1.2fr; padding: 4rem 0; }
.content-subsection__copy h2 { font-size: clamp(2rem, 5vw, 3.5rem); }
.content-subsection__copy p { line-height: 1.75; }
.content-subsection__gallery { display: grid; gap: .75rem; grid-template-columns: repeat(2, 1fr); }
.content-subsection__gallery img { height: auto; width: 100%; }
.content-subsection__gallery img:first-child:nth-last-child(odd) { grid-column: 1 / -1; }
.content-subsection__products { display: flex; flex-wrap: wrap; gap: .75rem; grid-column: 1 / -1; }
.content-subsection__products a { align-items: center; background: #fff; border: 1px solid var(--hov-line); color: var(--hov-ink); display: flex; gap: .75rem; padding: .6rem 1rem; text-decoration: none; }
.content-subsection__products img { height: 56px; object-fit: cover; width: 45px; }
.subsection-admin-images { display: flex; flex-wrap: wrap; gap: .75rem; }.subsection-admin-images span { display: grid; gap: .35rem; }.subsection-admin-images img { height: 100px; object-fit: cover; width: 80px; }
.admin-image-delete { margin: -1rem auto 2rem; max-width: 1080px; text-align: right; }
@media (max-width: 700px) { .content-subsection { grid-template-columns: 1fr; } }
.subsection-card-grid { margin: 1rem auto 5rem; max-width: 1200px; }
.subsection-card { height: 100%; }
.subsection-card__text { color: #66716a; display: -webkit-box; line-height: 1.65; margin-bottom: 1.5rem; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 4; }
.subsection-card__placeholder { background: linear-gradient(145deg, #e8e4d9, #f8f5ee); }
.newspaper-article { --news-ink: #211e19; color: var(--news-ink); margin: 2rem auto 6rem; max-width: 1180px; }
.newspaper-article__nav { align-items: center; border-bottom: 1px solid #afa796; display: flex; font-size: .68rem; font-weight: 800; justify-content: space-between; letter-spacing: .12em; padding: .7rem 0; text-transform: uppercase; }
.newspaper-article__nav a { color: inherit; text-decoration: none; }
.newspaper-article__layout { align-items: start; display: grid; gap: clamp(1.5rem, 4vw, 3.5rem); grid-template-columns: minmax(0, 1fr) 280px; margin-top: 2rem; }
.newspaper-article__paper { background: #fff; box-shadow: 0 12px 40px rgba(45, 39, 29, .08); padding: 0 clamp(1.25rem, 5vw, 4.5rem) clamp(2rem, 5vw, 4rem); }
.newspaper-article__layout--no-products { grid-template-columns: minmax(0, 1fr); }
.newspaper-article__paper { min-width: 0; }
.newspaper-article__featured { background: #f8f5ee; border-top: 3px double #afa796; min-width: 0; padding: 1rem; }
.newspaper-article__featured--mobile { display: none; }
.newspaper-article__featured h2 { font-family: Georgia, serif; font-size: 1.35rem; margin: 0 0 1.25rem; }
.newspaper-article__featured-list { display: grid; gap: 1.5rem; }
.newspaper-related-product { min-width: 0; }
.newspaper-related-product h3 { font-size: 1.2rem; overflow-wrap: anywhere; }
.newspaper-story-card:focus-visible { outline: 3px solid var(--hov-gold); outline-offset: 4px; }
.newspaper-article__stories { border-top: 1px solid #afa796; margin-top: 3rem; padding-top: 1.5rem; }
.newspaper-story-card { background: #fff; border: 1px solid #d7d0c3; color: inherit; display: block; margin-bottom: 1rem; text-decoration: none; transition: transform .18s ease, box-shadow .18s ease; }
.newspaper-story-card:hover { box-shadow: 0 10px 24px rgba(45, 39, 29, .12); transform: translateY(-2px); }
.newspaper-story-card img { aspect-ratio: 4 / 3; display: block; object-fit: cover; object-position: center top; width: 100%; }
.newspaper-story-card span { display: block; padding: 1rem; }
.newspaper-story-card strong { display: block; font-family: Georgia, serif; font-size: 1.12rem; }
.newspaper-story-card small { color: #6f685d; display: -webkit-box; font-size: .78rem; line-height: 1.5; margin-top: .45rem; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
.newspaper-article__header { margin: 0 auto; max-width: 1050px; padding: clamp(2.5rem, 7vw, 6rem) 0 2rem; text-align: center; }
.newspaper-article__edition { align-items: center; display: flex; gap: 1rem; justify-content: center; margin-bottom: 2rem; }
.newspaper-article__edition span { font-family: Georgia, serif; font-size: .95rem; font-weight: 700; }
.newspaper-article__edition small { border-left: 1px solid #afa796; color: #766e61; font-size: .58rem; letter-spacing: .16em; padding-left: 1rem; text-transform: uppercase; }
.newspaper-article__header h1 { font-family: Georgia, "Times New Roman", serif; font-size: clamp(3.6rem, 10vw, 8.5rem); font-weight: 500; letter-spacing: -.055em; line-height: .88; margin: 0 auto 2rem; max-width: 11ch; }
.newspaper-article__lead { font-family: Georgia, serif; font-size: clamp(1.15rem, 2.4vw, 1.55rem); font-style: italic; line-height: 1.55; margin: auto; max-width: 720px; }
.newspaper-article__rule { align-items: center; display: flex; gap: 1rem; margin-top: 2.5rem; }
.newspaper-article__rule::before, .newspaper-article__rule::after { border-top: 1px solid #8e8678; content: ""; flex: 1; }
.newspaper-article__rule span { color: #6c6458; font-size: .65rem; letter-spacing: .25em; }
.newspaper-article__hero { margin: 1rem 0 3rem; }
.newspaper-article figure img { display: block; height: auto; width: 100%; }
.newspaper-article figcaption { border-bottom: 1px solid #b9b1a3; color: #756e63; font-size: .62rem; letter-spacing: .06em; padding: .55rem 0; text-transform: uppercase; }
.newspaper-article__body { display: flow-root; font-family: Georgia, "Times New Roman", serif; font-size: 1.08rem; line-height: 1.82; margin: 3rem auto 4rem; max-width: 1000px; }
.newspaper-article__body p { break-inside: avoid; margin-top: 0; }
.newspaper-article__body p:first-child::first-letter { color: var(--hov-forest); float: left; font-size: 4.6rem; font-weight: 700; line-height: .72; margin: .15em .12em 0 0; }
.newspaper-article__float-image { float: left; margin: .25rem clamp(1.5rem, 4vw, 3rem) 1.25rem 0; width: min(48%, 470px); }
.newspaper-article__gallery { display: grid; gap: 1.2rem; grid-template-columns: repeat(2, 1fr); margin: 4rem 0; }
.newspaper-article__gallery figure { margin: 0; }
.newspaper-article__gallery figure:first-child:nth-last-child(odd) { grid-column: 1 / -1; }
.newspaper-article__products { border-bottom: 4px double #3d382f; border-top: 4px double #3d382f; margin-top: 5rem; padding: 1.5rem 0 2rem; }
.newspaper-article__section-title { font-family: Georgia, serif; font-size: 1.5rem; margin-bottom: 1.25rem; text-align: center; }
.newspaper-product-card__link { color: inherit; display: flex; flex: 1; flex-direction: column; text-decoration: none; }
.newspaper-product-card__link:hover { color: inherit; }
.newspaper-article__footer { align-items: center; color: #756e63; display: flex; font-size: .58rem; justify-content: space-between; letter-spacing: .1em; padding-top: 1rem; text-transform: uppercase; }
@media (max-width: 900px) {
  .newspaper-article__layout { grid-template-columns: minmax(0, 1fr); }
  .newspaper-article__featured--desktop { display: none; }
  .newspaper-article__featured--mobile { display: block; }
  .newspaper-article__featured-list { gap: 1rem; grid-auto-columns: min(78%, 240px); grid-auto-flow: column; overflow-x: auto; padding: .3rem .3rem .75rem; scroll-snap-type: x proximity; }
  .newspaper-related-product { scroll-snap-align: start; }
  .newspaper-article__featured--mobile .product-card__media { aspect-ratio: 4 / 3; }
  .newspaper-article__featured--mobile .product-card__media img { object-fit: contain; }
  .newspaper-story-card { margin-bottom: 0; }
}
@media (max-width: 700px) { .newspaper-article__paper { padding-inline: 1rem; } .newspaper-article__float-image { float: none; margin: 0 0 1.5rem; width: 100%; } .newspaper-article__gallery { grid-template-columns: 1fr; } .newspaper-article__gallery figure:first-child:nth-last-child(odd) { grid-column: auto; } .newspaper-article__nav span { display: none; } }
.product-linked-subsections { border-top: 1px solid var(--hov-line); margin-top: clamp(3rem, 8vw, 7rem); padding-top: 1rem; }
.product-variant-form { display: grid; gap: .65rem; min-width: 0; max-width: 100%; }
.product-variant-form select { border: 1px solid var(--hov-line); border-radius: .3rem; background: #fff; color: var(--hov-ink); padding: .75rem; width: 100%; min-width: 0; }
.product-variant-form .button-link:disabled { opacity: .5; cursor: not-allowed; transform: none; }
.product-linked-subsections > .page-header { margin-bottom: 2rem; }
.product-linked-subsections > .page-header h2 { font-size: clamp(2rem, 5vw, 3.5rem); }
.product-linked-subsections > .product-grid { grid-template-columns: repeat(auto-fill, minmax(0, min(100%, 320px))); gap: 1.25rem; }
.product-linked-subsections .product-card__media { aspect-ratio: 4 / 3; }
.product-linked-subsections .product-card__media img { object-position: center top; }
.product-linked-subsections .product-card__body { padding: 1rem; }
.product-linked-subsections .product-card h2 { font-size: 1.2rem; }
.product-linked-subsections .subsection-card__text { font-size: .85rem; margin-bottom: 1rem; -webkit-line-clamp: 3; }
.best-seller-list { list-style: none; padding: 0; display: grid; gap: .75rem; }
.best-seller-list li { display: grid; grid-template-columns: auto 1fr auto; gap: 1rem; align-items: center; padding: 1rem 1.25rem; border: 1px solid #dfe5ec; border-radius: .8rem; background: #fff; }
.best-seller-list small { display: block; color: #65707c; }
.best-seller-rank { display: grid; place-items: center; width: 2.5rem; height: 2.5rem; border-radius: 50%; background: #152238; color: #fff; font-weight: 700; }
.language-tabs { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1.5rem 0; }
.language-tabs a { padding: .45rem .75rem; border: 1px solid #ccd5df; border-radius: .5rem; text-decoration: none; }
.language-tabs a[aria-current="page"] { background: #152238; color: #fff; }
@media (max-width: 600px) { .storefront-hero { padding: 1.5rem; } .best-seller-list li { grid-template-columns: auto 1fr; } .best-seller-list li > a { grid-column: 2; } }
body .footer.storefront-footer { position: static; bottom: auto; width: 100%; height: auto; min-height: 60px; padding: 2.5rem 0 1.25rem; margin-top: 4rem; background: #f7f8fa; white-space: normal; line-height: 1.5; }
.storefront-footer__legal { margin-top: 2rem; padding-top: 1rem; border-top: 1px solid #dfe3e8; }

.page-header { margin: 3rem 0 2rem; }
.page-header h1, .product-details h1 { font-size: clamp(2.25rem, 6vw, 4.5rem); letter-spacing: -.05em; }
.eyebrow { color: #54705e; font-size: .8rem; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; }
.product-grid { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.product-card { background: #fff; border: 1px solid #dedbd2; border-radius: 1rem; overflow: hidden; }
.product-card__media, .product-details__media { align-items: center; background: #dce8df; color: #36533f; display: flex; justify-content: center; min-height: 220px; }
.product-card__media span, .product-details__media span { font-size: 5rem; font-weight: 700; }
.product-card__body { padding: 1.5rem; }
.product-card h2 { font-size: 1.4rem; }
.product-meta { color: #66716a; font-size: .875rem; }
.button-link { background: #173e27; border-radius: 999px; color: #fff; display: inline-block; padding: .7rem 1.1rem; text-decoration: none; }
.button-link:hover { background: #245b39; color: #fff; }
.pagination { align-items: center; display: flex; gap: 1rem; justify-content: center; margin: 3rem 0; }
.empty-state { background: #fff; border: 1px solid #dedbd2; border-radius: 1rem; padding: 2rem; }
.back-link { color: #36533f; display: inline-block; margin: 2rem 0; }
.product-details__layout { display: grid; gap: 3rem; grid-template-columns: minmax(280px, 1fr) 1fr; }
.product-details__media { border-radius: 1rem; min-height: 480px; }
.product-details__layout > * { min-width: 0; }
.product-gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; gap: .75rem; min-width: 0; width: 100%; }
.product-gallery__item { margin: 0; min-width: 0; }
.product-gallery-wrapper { min-width: 0; }
.product-gallery-dots { display: none; }
.product-gallery:focus-visible { outline: 2px solid var(--hov-forest, #173e27); outline-offset: 4px; }
.product-gallery__item img { display: block; width: 100%; height: auto; border: 0; border-radius: 0; box-shadow: none; }
.product-card__media { overflow: hidden; }
.product-card__media img { display: block; height: 100%; max-width: 100%; object-fit: cover; width: 100%; }
.lead { color: #49564e; line-height: 1.7; }
.shipping-logo { display: inline-block; width: 100px; height: 50px; object-fit: contain; vertical-align: middle; margin: .25rem .75rem .25rem 0; }
.product-description { margin-bottom: 1rem; }
.product-description__text { margin-bottom: .25rem; }
.product-description__text.is-collapsed { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 4; overflow: hidden; }
.product-description__toggle { background: none; border: 0; color: var(--hov-forest, #173e27); font: inherit; padding: .4rem 0; text-decoration: underline; text-underline-offset: .2em; cursor: pointer; }
.product-description__toggle[hidden] { display: none; }
.product-description__toggle:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
.product-attributes { display: grid; grid-template-columns: max-content 1fr; gap: .35rem 1.25rem; margin: 1.5rem 0; padding: 1rem 0; border-block: 1px solid #d6d4cc; }
.product-attributes dt { color: #66716a; font-weight: 600; }
.product-attributes dd { margin: 0; }
.variants { border-top: 1px solid #d6d4cc; margin-top: 2rem; padding-top: 1.5rem; }
.variants h2 { font-size: 1.15rem; }
.variants ul { list-style: none; padding: 0; }
.variants li { display: flex; justify-content: space-between; padding: .75rem 0; }

@media (max-width: 767px) {
  .product-details__layout { grid-template-columns: 1fr; }
  .product-details__media { min-height: 280px; }
}
.admin-header { align-items: end; display: flex; justify-content: space-between; margin: 3rem 0 1rem; }
.admin-header h1, .admin-form-page h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
.admin-tabs { border-bottom: 1px solid #cbc9c1; display: flex; gap: 1.5rem; margin-bottom: 1.5rem; }
.admin-tabs a { color: #36533f; padding: .75rem 0; text-decoration: none; }
.admin-tabs a[aria-current="page"] { border-bottom: 3px solid #173e27; font-weight: 700; }
.kpi-grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); margin: 1.5rem 0; }
.kpi-card { background: #fff; border: 1px solid #dedbd2; border-radius: 1rem; display: grid; gap: .35rem; min-height: 145px; padding: 1.4rem; }
.kpi-card span { color: #59665e; font-size: .85rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.kpi-card strong { color: #173e27; font-size: clamp(2rem, 4vw, 3rem); line-height: 1.1; }
.kpi-card small { color: #66716a; }
.kpi-card--primary { background: #173e27; border-color: #173e27; }
.kpi-card--primary span, .kpi-card--primary strong, .kpi-card--primary small { color: #fff; }
.kpi-card--warning { border-color: #b97816; background: #fff7e8; }
.admin-table-wrap { background: #fff; border: 1px solid #dedbd2; border-radius: .75rem; overflow-x: auto; }
.admin-table { border-collapse: collapse; width: 100%; }
.admin-table th, .admin-table td { border-bottom: 1px solid #ece9e1; padding: 1rem; text-align: left; }
.admin-form-page { margin: 2rem auto; max-width: 820px; }
.admin-form { display: grid; gap: 1.25rem; }
.admin-form fieldset { background: #fff; border: 1px solid #dedbd2; border-radius: .75rem; display: grid; gap: .5rem; padding: 1.5rem; }
.admin-form legend { float: none; font-size: 1.1rem; font-weight: 700; width: auto; }
.admin-form input:not([type="checkbox"]), .admin-form select, .admin-form textarea { border: 1px solid #aaa99f; border-radius: .4rem; padding: .7rem; width: 100%; }
.admin-form .check { align-items: center; display: flex; gap: .5rem; }
.market-price-row { align-items: end; display: grid; gap: .5rem 1rem; grid-template-columns: minmax(180px, 1fr) minmax(180px, 1fr); }
.market-price-row > div { align-items: center; display: flex; gap: .65rem; }
.market-price-row > div input { min-width: 0; }
.market-price-row > div span { font-weight: 700; }
.admin-form button { border: 0; justify-self: start; }
.status-message { background: #dce8df; border-radius: .5rem; padding: 1rem; }
.validation-summary-errors, .field-validation-error { color: #9d1c1c; }
.login-panel { background: #fff; border: 1px solid #dedbd2; border-radius: 1rem; margin: 4rem auto; max-width: 460px; padding: 2rem; }
.login-panel form { display: grid; gap: .65rem; }
.login-panel input:not([type="checkbox"]) { border: 1px solid #aaa99f; border-radius: .4rem; padding: .75rem; width: 100%; }
.login-panel button { border: 0; justify-self: start; margin-top: .75rem; }
.login-panel small { color: #686860; line-height: 1.45; }
.account-alternative { border-top: 1px solid var(--hov-line, #dedbd2); margin: 1.5rem 0 0; padding-top: 1rem; }
.account-alternative a { font-weight: 700; }
.account-navigation { align-items: center; display: flex; margin-left: .65rem; }
.account-navigation a { align-items: center; color: var(--hov-ink); display: flex; font-size: .78rem; font-weight: 750; gap: .35rem; text-decoration: none; white-space: nowrap; }
.account-navigation a:hover { color: var(--hov-gold); }
.account-navigation .bi { font-size: 1.2rem; }
.account-address { border: 1px solid var(--hov-line, #dedbd2); display: grid; gap: .65rem; margin: .5rem 0; padding: 1rem; }
.account-address legend { float: none; font-family: Georgia, serif; font-size: 1.1rem; margin: 0; padding: 0 .35rem; width: auto; }
.customer-orders { margin: 2.5rem auto; max-width: 1050px; }
.customer-orders > h2 { margin-top: 2.5rem; }
.customer-order-list { display: grid; gap: .75rem; }
.customer-order-card { align-items: center; background: #fff; border: 1px solid var(--hov-line); display: grid; gap: 1rem; grid-template-columns: 1.5fr repeat(3, 1fr) auto; padding: 1rem 1.25rem; }
.customer-order-card div { display: grid; gap: .2rem; }
.customer-order-card small { color: #686860; }
.customer-order-card a { font-weight: 700; }
.order-status { font-weight: 700; }
.customer-order-lines { background: #fff; border: 1px solid var(--hov-line); margin-bottom: 2rem; }
.customer-order-lines > div { align-items: center; border-bottom: 1px solid var(--hov-line); display: grid; gap: 1rem; grid-template-columns: 1fr auto auto; padding: 1rem; }
.customer-order-lines > div:last-child { border-bottom: 0; }
.customer-order-lines span:first-child { display: grid; }
.customer-order-lines small { color: #686860; }
.customer-order-address { display: grid; gap: 2rem; grid-template-columns: 1fr 1fr; }
@media (max-width: 767px) { .customer-order-card { grid-template-columns: 1fr 1fr; } .customer-order-card a { grid-column: 1 / -1; } .customer-order-address { grid-template-columns: 1fr; } }
.customer-order-details { max-width: 920px; }
.paper-order__back { color: var(--hov-forest); display: inline-block; font-size: .8rem; font-weight: 800; letter-spacing: .05em; margin-bottom: 1.2rem; text-decoration: none; text-transform: uppercase; }
.paper-order { background-color: #fffdf7; background-image: linear-gradient(rgba(70,57,35,.025) 1px, transparent 1px); background-size: 100% 28px; border: 1px solid #d8d0bf; box-shadow: 0 24px 60px rgba(37,30,19,.15), 0 3px 8px rgba(37,30,19,.08); color: #27241e; padding: clamp(1.5rem, 5vw, 4rem); position: relative; }
.paper-order::after { background: radial-gradient(circle at 8px 0, transparent 7px, #fffdf7 7.5px) 0 0 / 16px 9px repeat-x; bottom: -9px; content: ""; height: 10px; left: -1px; position: absolute; right: -1px; }
.paper-order__header { align-items: start; border-bottom: 3px double #383329; display: flex; gap: 2rem; justify-content: space-between; padding-bottom: 1.8rem; }
.paper-order__brand { align-items: center; display: flex; gap: .8rem; }
.paper-order__brand > span { align-items: center; background: var(--hov-forest); border-radius: 50%; color: var(--hov-gold-light); display: flex; font-family: Georgia, serif; font-size: .8rem; height: 3rem; justify-content: center; width: 3rem; }
.paper-order__brand div { display: grid; }
.paper-order__brand strong { font-family: Georgia, serif; font-size: 1.1rem; letter-spacing: .03em; }
.paper-order__brand small { color: #777064; font-size: .55rem; letter-spacing: .16em; }
.paper-order__title { text-align: right; }
.paper-order__title p { font-size: .65rem; font-weight: 800; letter-spacing: .22em; margin: 0; text-transform: uppercase; }
.paper-order__title h1 { font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: clamp(.9rem, 2.3vw, 1.25rem); letter-spacing: .02em; margin: .35rem 0 0; }
.paper-order__meta { border-bottom: 1px dashed #aaa08e; display: grid; gap: 2rem; grid-template-columns: repeat(3, 1fr); padding: 1.5rem 0; }
.paper-order__meta > div { display: grid; gap: .2rem; }
.paper-order__meta small, .paper-order__lower small { color: #777064; font-size: .63rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.paper-order__stamp { border: 2px solid #55705e; color: #385743; display: inline-block; font-size: .75rem; justify-self: start; letter-spacing: .08em; padding: .25rem .45rem; text-transform: uppercase; transform: rotate(-2deg); }
.paper-order__stamp--cancelled { border-color: #a24b43; color: #8e342d; }
.paper-order__items { padding: 2rem 0; }
.paper-order__items h2 { font-size: 1rem; letter-spacing: .08em; margin-bottom: 1rem; text-transform: uppercase; }
.paper-order__table-head, .paper-order__line { align-items: center; display: grid; gap: 1rem; grid-template-columns: minmax(0, 1fr) 80px 130px 130px; }
.paper-order__table-head { border-bottom: 2px solid #383329; color: #777064; font-size: .62rem; font-weight: 800; letter-spacing: .1em; padding: .5rem .25rem; text-transform: uppercase; }
.paper-order__table-head span:not(:first-child), .paper-order__line > span:not(:first-child), .paper-order__line > strong:last-child { text-align: right; }
.paper-order__line { border-bottom: 1px dashed #c6bdad; padding: 1rem .25rem; }
.paper-order__line > span:first-child { display: grid; }
.paper-order__line small { color: #777064; font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: .7rem; }
.paper-order__lower { border-top: 3px double #383329; display: grid; gap: 2rem; grid-template-columns: 1fr 1fr auto; padding-top: 1.75rem; }
.paper-order__lower h2 { font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; }
.paper-order__tracking { display: block; font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: .78rem; margin-top: .25rem; }
.paper-order__total { align-content: start; border-left: 1px solid #b9b09f; display: grid; min-width: 150px; padding-left: 1.5rem; text-align: right; }
.paper-order__total span { font-size: .7rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.paper-order__total strong { font-family: Georgia, serif; font-size: 2rem; line-height: 1.1; }
.paper-order__footer { border-top: 1px dashed #aaa08e; color: #8b8376; display: flex; font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: .6rem; justify-content: space-between; letter-spacing: .12em; margin-top: 2rem; padding-top: 1rem; }
.paper-order__action { display: flex; justify-content: flex-end; margin-top: 1.5rem; }
@media (max-width: 650px) { .paper-order__header { align-items: stretch; flex-direction: column; } .paper-order__title { text-align: left; } .paper-order__meta { gap: 1rem; grid-template-columns: 1fr; } .paper-order__table-head { display: none; } .paper-order__line { align-items: start; grid-template-columns: 1fr auto; } .paper-order__line > span:first-child { grid-column: 1 / -1; } .paper-order__line [data-label]::before { color: #777064; content: attr(data-label) ": "; font-size: .65rem; font-weight: 700; text-transform: uppercase; } .paper-order__lower { grid-template-columns: 1fr; } .paper-order__total { border-left: 0; border-top: 1px solid #b9b09f; padding-left: 0; padding-top: 1rem; text-align: left; } }
.variant-row { align-items: center; }
.variant-row form { margin: 0; }
.variant-row button { border: 0; }
.cart-page { margin: 3rem auto; max-width: 900px; }
.cart-page h1 { font-size: clamp(2.25rem, 6vw, 4rem); }
.cart-lines { background: #fff; border: 1px solid #dedbd2; border-radius: 1rem; overflow: hidden; }
.cart-line { align-items: center; border-bottom: 1px solid #ece9e1; display: grid; gap: 1rem; grid-template-columns: 1fr auto auto auto; padding: 1.25rem; }
.cart-line h2 { font-size: 1.15rem; margin: 0; }
.cart-line h2 a { color: #173e27; }
.cart-line p { color: #66716a; margin: .25rem 0 0; }
.cart-line input { width: 4.5rem; }
.link-button { background: none; border: 0; color: #9d1c1c; text-decoration: underline; }
.cart-total { display: flex; font-size: 1.4rem; justify-content: space-between; padding: 1.5rem; }
@media (max-width: 700px) { .cart-line { align-items: start; grid-template-columns: 1fr; } }
.checkout-link { float: right; margin-bottom: 2rem; }
.checkout-page { margin: 3rem auto; max-width: 760px; }
.checkout-page h1 { font-size: clamp(2.25rem, 6vw, 4rem); }
.shipping-options { display: grid; gap: 1rem; }
.shipping-option { align-items: center; background: #fff; border: 1px solid #dedbd2; border-radius: .75rem; display: grid; gap: 1rem; grid-template-columns: 1fr auto auto; padding: 1.25rem; }
.shipping-option h2 { font-size: 1.15rem; margin: 0; }
.shipping-option p { color: #66716a; margin: .25rem 0 0; }
.shipping-option button { border: 0; }
.checkout-summary { background: #fff; border: 1px solid #dedbd2; border-radius: .75rem; padding: 1.5rem; }
.checkout-summary dl { display: grid; grid-template-columns: 1fr auto; }
.checkout-summary dd { text-align: right; }

/* House Of Vikings — Nordic editorial storefront */
:root {
  --hov-ink: #14231c;
  --hov-forest: #18392b;
  --hov-forest-light: #285642;
  --hov-gold: #ad8950;
  --hov-gold-light: #d7be91;
  --hov-bone: #f4f0e7;
  --hov-paper: #fcfaf5;
  --hov-mist: #dfe7df;
  --hov-line: rgba(20, 35, 28, .14);
  --hov-shadow: 0 22px 60px rgba(20, 35, 28, .11);
}

html { scroll-behavior: smooth; }
body {
  background:
    radial-gradient(circle at 8% 2%, rgba(173, 137, 80, .12), transparent 27rem),
    radial-gradient(circle at 92% 35%, rgba(40, 86, 66, .08), transparent 32rem),
    var(--hov-bone);
  color: var(--hov-ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  letter-spacing: .005em;
}

body::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='90' height='90' viewBox='0 0 90 90'%3E%3Cpath d='M45 8 82 45 45 82 8 45Z' fill='none' stroke='%2314231c' stroke-opacity='.035'/%3E%3C/svg%3E");
  content: "";
  inset: 0;
  pointer-events: none;
  position: fixed;
  z-index: -1;
}

h1, h2, h3, .navbar-brand {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
}

a { color: var(--hov-forest); text-underline-offset: .2em; }
a:hover { color: var(--hov-gold); }
.container { max-width: 1320px; padding-inline: clamp(1.1rem, 3vw, 2.5rem); }
main { isolation: isolate; min-height: 55vh; position: relative; z-index: 0; }

.storefront-rune-bar {
  background: var(--hov-ink);
  color: var(--hov-gold-light);
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .42em;
  overflow: hidden;
  padding: .55rem 1rem;
  text-align: center;
  text-transform: uppercase;
  white-space: nowrap;
}

body > header {
  background: var(--hov-paper);
  isolation: isolate;
  position: sticky;
  top: 0;
  transform: translateZ(0);
  z-index: 2000;
}
body > header .navbar {
  background: var(--hov-paper) !important;
  border: 0 !important;
  border-bottom: 1px solid var(--hov-line) !important;
  box-shadow: 0 8px 35px rgba(20, 35, 28, .05) !important;
  margin: 0 !important;
  min-height: 104px;
  padding-block: .75rem;
}
.navbar .container-fluid { margin: auto; max-width: 1440px; padding-inline: clamp(1rem, 4vw, 3.5rem); }
.navbar-brand { align-items: center; color: var(--hov-ink) !important; display: flex; flex-shrink: 0; font-size: clamp(1.1rem, 2vw, 1.45rem); gap: .85rem; letter-spacing: .035em; padding-block: 0; }
.navbar-brand > span { max-width: 9ch; line-height: 1.15; text-align: left; word-break: normal; }
.brand-logo {
  display: block;
  flex: 0 0 auto;
  height: var(--brand-logo-height, 4.5rem);
  object-fit: contain;
  width: auto;
}
.navbar-nav { gap: .25rem; margin-left: clamp(1rem, 3vw, 3rem); }
.navbar .nav-link { color: var(--hov-ink) !important; font-size: .83rem; font-weight: 700; letter-spacing: .08em; padding: .7rem .9rem !important; text-transform: uppercase; }
.navbar .nav-link:hover { color: var(--hov-gold) !important; }
.storefront-cart { align-items: center; border: 1px solid var(--hov-line); border-radius: 999px; display: flex; flex: 0 0 auto; gap: .35rem; margin-left: .5rem; }
.storefront-cart .bi { font-size: 1.15rem; line-height: 1; }
.storefront-cart__icon { display: inline-grid; place-items: center; position: relative; }
.storefront-cart__badge { align-items: center; background: var(--hov-gold); border: 2px solid var(--hov-paper); border-radius: 999px; color: #fff; display: flex; font-size: .62rem; font-weight: 800; height: 1.15rem; justify-content: center; line-height: 1; min-width: 1.15rem; padding: 0 .2rem; position: absolute; right: -.7rem; top: -.7rem; }
.market-selector summary { background: rgba(255,255,255,.55); border-color: var(--hov-line); font-size: .82rem; }
.market-selector__popup { background: var(--hov-paper); border-color: var(--hov-line); box-shadow: var(--hov-shadow); }

.storefront-hero {
  background: #17212b;
  border: 1px solid rgba(215,190,145,.35);
  border-radius: 0 0 5rem 0;
  box-shadow: var(--hov-shadow);
  color: var(--hov-paper);
  isolation: isolate;
  margin: clamp(2rem, 6vw, 5rem) 0;
  overflow: hidden;
  padding: clamp(2rem, 5vw, 4.5rem);
  min-height: clamp(28rem, 43vw, 42rem);
  display: flex;
  align-items: center;
  position: relative;
  z-index: 0;
}
.storefront-hero__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: -2;
}
.storefront-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(10,19,28,.8), rgba(10,19,28,.42) 45%, transparent 75%);
  z-index: -1;
}
.storefront-hero__content { width: 48%; }
.storefront-hero h1, .storefront-hero h2 { font-size: clamp(2.5rem, 5vw, 4.5rem); letter-spacing: -.055em; line-height: 1.05; margin-bottom: 1.5rem; max-width: 13ch; overflow-wrap: anywhere; }
.hero-carousel { margin: clamp(2rem, 6vw, 5rem) 0; position: relative; container-type: inline-size; }
.hero-carousel .storefront-hero { margin: 0; }
.hero-carousel--multiple .storefront-hero { padding-bottom: 6rem; }
.hero-carousel [hidden] { display: none !important; }
.hero-carousel__controls { position: absolute; left: 50%; bottom: 1rem; transform: translateX(-50%); z-index: 2; display: flex; align-items: center; gap: .5rem; width: max-content; max-width: calc(100% - 2rem); overflow-x: auto; padding: .5rem; border: 1px solid rgba(255,255,255,.25); border-radius: 999px; background: rgba(15,25,30,.8); box-shadow: 0 3px 16px rgba(0,0,0,.2); }
.hero-carousel__controls button { flex: 0 0 auto; white-space: nowrap; }
.hero-carousel__controls button { min-width: 44px; min-height: 44px; border: 1px solid var(--hov-line); border-radius: 999px; padding: .5rem .85rem; background: var(--hov-paper); color: var(--hov-ink); }
.hero-carousel__controls button[aria-current="true"] { background: var(--hov-forest); color: white; }
.hero-carousel__controls button[data-hero-go] { display: grid; place-items: center; min-width: 28px; min-height: 28px; width: 28px; height: 28px; padding: 0; border: 0; background: transparent; }
.hero-carousel__controls button[data-hero-go]::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,.5); }
.hero-carousel__controls button[data-hero-go][aria-current="true"]::before { background: white; transform: scale(1.25); }
.hero-carousel__controls button:focus-visible { outline: 3px solid var(--hov-gold); outline-offset: 3px; }
.hero-carousel__controls button[data-hero-pause] { display: grid; place-items: center; min-width: 28px; min-height: 28px; width: 28px; height: 28px; padding: 0; font-size: 12px; line-height: 1; }
.storefront-hero p { color: rgba(252,250,245,.92); font-size: clamp(1rem, 1.5vw, 1.2rem); line-height: 1.8; max-width: 58ch; }

.page-header { border-bottom: 1px solid var(--hov-line); padding: clamp(2rem, 5vw, 4.5rem) 0 2rem; }
.category-page-header {
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
  margin-top: .5rem;
  padding-top: clamp(1rem, 2vw, 1.5rem);
  padding-left: clamp(1.25rem, 4vw, 3.5rem);
  padding-right: clamp(1.25rem, 4vw, 3.5rem);
}
.page-header h1, .product-details h1 { color: var(--hov-ink); line-height: .98; }
.eyebrow { color: var(--hov-gold); letter-spacing: .24em; }
.eyebrow::before { content: "— "; }

.product-grid { gap: clamp(1.25rem, 2.5vw, 2.25rem); grid-template-columns: repeat(auto-fit, minmax(min(100%, 270px), 1fr)); }
.product-grid--catalog { grid-template-columns: repeat(auto-fill, minmax(0, min(100%, 320px))); }
.statistics-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr)); gap: 1.5rem; margin-block: 1.5rem; }
.statistics-grid > section { min-width: 0; }
.statistics-grid h2 { font-size: 1.25rem; padding: 1rem; margin: 0; }
.statistics-grid td:first-child { overflow-wrap: anywhere; }
.product-card {
  background: rgba(252,250,245,.86);
  border: 1px solid var(--hov-line);
  border-radius: .25rem 2.2rem .25rem .25rem;
  box-shadow: 0 10px 35px rgba(20,35,28,.04);
  display: flex;
  flex-direction: column;
  transition: border-color .25s ease, box-shadow .25s ease, transform .25s ease;
}
.product-card:hover { border-color: rgba(173,137,80,.55); box-shadow: var(--hov-shadow); transform: translateY(-7px); }
.product-card--link { color: inherit; cursor: pointer; text-decoration: none; }
.product-card--link:hover { color: inherit; }
.product-card--link:focus-visible { border-color: var(--hov-gold); box-shadow: 0 0 0 4px rgba(173,137,80,.22), var(--hov-shadow); outline: none; transform: translateY(-4px); }
.product-card__media { aspect-ratio: 4 / 5; background: linear-gradient(145deg, #e8e4d9, #f8f5ee); min-height: 0; }
.product-card__media img { height: 100%; transition: transform .55s cubic-bezier(.2,.7,.2,1); }
.product-card:hover .product-card__media img { transform: scale(1.035); }
.product-card__body { display: flex; flex: 1; flex-direction: column; padding: 1.5rem 1.5rem 1.7rem; }
.product-card h2 { font-size: clamp(1.35rem, 2vw, 1.65rem); margin-bottom: .4rem; }
.product-card .button-link { align-self: flex-start; margin-top: auto; }

.button-link {
  background: var(--hov-forest);
  border: 1px solid var(--hov-forest) !important;
  border-radius: .15rem 1rem .15rem .15rem;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .09em;
  padding: .8rem 1.25rem;
  text-transform: uppercase;
  transition: background .2s ease, border-color .2s ease, transform .2s ease;
}
.button-link:hover { background: var(--hov-gold); border-color: var(--hov-gold) !important; transform: translateY(-2px); }

.product-details { padding-top: 1rem; }
.back-link { font-size: .8rem; font-weight: 800; letter-spacing: .08em; text-decoration: none; text-transform: uppercase; }
.product-details__layout { align-items: start; gap: clamp(1.5rem, 3vw, 3rem); grid-template-columns: minmax(0, 1.5fr) minmax(280px, 1fr); }
.product-details__layout > div:last-child { padding-top: .5rem; position: sticky; top: 110px; }
.product-details__media { background: var(--hov-paper); border: 1px solid var(--hov-line); border-radius: .25rem 3rem .25rem .25rem; box-shadow: var(--hov-shadow); }
.product-price { background: var(--hov-paper); border-left: 3px solid var(--hov-gold); font-size: 1.15rem; margin: 1.5rem 0; padding: 1rem 1.25rem; }
.product-purchase-row { align-items: center; display: flex; gap: 1.25rem; justify-content: space-between; margin: 1.5rem 0; }
.product-purchase-row .product-price { flex: 1 1 auto; margin: 0; }
.product-purchase-row .product-price span { color: #66716a; margin-left: .35rem; white-space: nowrap; }
.product-purchase-row form { flex: 0 0 auto; margin: 0 0 0 auto; }
.product-purchase-row button { white-space: nowrap; }
.product-attributes { border-color: var(--hov-line); padding-block: 1.4rem; }
.variants { border-color: var(--hov-line); }

.best-seller-list { counter-reset: bestseller; gap: .8rem; }
.best-seller-list li { background: rgba(252,250,245,.8); border-color: var(--hov-line); border-radius: .2rem 1.3rem .2rem .2rem; transition: transform .2s, border-color .2s; }
.best-seller-list li:hover { border-color: var(--hov-gold); transform: translateX(5px); }
.best-seller-rank { background: var(--hov-forest); color: var(--hov-gold-light); font-family: Georgia, serif; }

body .footer.storefront-footer { background: var(--hov-ink); border: 0 !important; color: rgba(252,250,245,.66) !important; margin-top: clamp(4rem, 9vw, 9rem); padding: clamp(3rem, 7vw, 6rem) 0 2rem; }
.storefront-footer__legal { border-color: rgba(252,250,245,.12); font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; }
.storefront-footer__pages { display: flex; flex-wrap: wrap; gap: 1rem 2rem; margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid rgba(252,250,245,.16); }
.storefront-footer__pages a { color: #eee7db; text-decoration: underline; text-underline-offset: .25em; }
.storefront-footer__pages a:hover, .storefront-footer__pages a:focus-visible { color: #b8a17c; }

@media (max-width: 767px) {
  .storefront-rune-bar { font-size: .55rem; letter-spacing: .25em; }
  body > header .navbar { min-height: 80px; padding-block: .5rem; }
  .navbar-brand { --brand-logo-height: 3.5rem; gap: .55rem; margin-right: .5rem; order: 1; }
  .storefront-cart { order: 2; }
  .navbar-toggler { margin-left: .35rem; order: 3; }
  .navbar-collapse { flex-basis: 100%; order: 4; }
  .navbar-nav { margin-left: 0; padding-top: 1rem; }
  .market-selector { margin: .8rem 0; }
  .market-selector__popup { left: 0; right: auto; }
  .storefront-cart { display: inline-flex !important; margin: 0 0 0 auto; padding: .55rem .7rem !important; width: max-content; }
  .storefront-cart__label { clip: rect(0, 0, 0, 0); clip-path: inset(50%); height: 1px; overflow: hidden; position: absolute; white-space: nowrap; width: 1px; }
  .storefront-hero { border-radius: 0 0 2.5rem 0; margin-top: 1.5rem; padding: 0; display: block; min-height: 0; }
  .storefront-hero__image { position: relative; height: auto; z-index: auto; }
  .storefront-hero::before { display: none; }
  .storefront-hero__content { width: 100%; padding: 2rem 1.5rem; }
  .hero-carousel--multiple .storefront-hero { padding-bottom: 0; }
  .hero-carousel .storefront-hero__image { aspect-ratio: 1672 / 941; object-fit: cover; }
  .hero-carousel--multiple .storefront-hero__content { padding-top: 5.5rem; }
  .hero-carousel__controls { top: calc(100cqw * 941 / 1672 + .75rem); bottom: auto; transform: translateX(-50%); }
  .product-details__layout { grid-template-columns: 1fr; }
  .product-details__layout > div:last-child { padding-top: 0; position: static; }
  .product-gallery {
    display: flex;
    gap: 0;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    overscroll-behavior-x: contain;
    scrollbar-width: thin;
  }
  .product-gallery__item { flex: 0 0 100%; scroll-snap-align: start; scroll-snap-stop: always; }
  .product-gallery-dots:not([hidden]) { display: flex; flex-wrap: wrap; justify-content: center; margin-top: .5rem; }
  .product-gallery-dots button { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; background: transparent; cursor: pointer; }
  .product-gallery-dots button::before { content: ""; width: 8px; height: 8px; border: 1px solid var(--hov-forest, #173e27); border-radius: 50%; }
  .product-gallery-dots button[aria-current="true"]::before { background: var(--hov-forest, #173e27); }
  .product-gallery-dots button:focus-visible { outline: 2px solid var(--hov-forest, #173e27); outline-offset: -4px; }
  .product-purchase-row { align-items: stretch; flex-direction: column; }
  .product-purchase-row form { margin-left: 0; }
  .product-purchase-row .button-link { text-align: center; width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}

/* Professional administration application */
.admin-shell {
  --admin-bg: #f3f5f8;
  --admin-panel: #ffffff;
  --admin-ink: #16202c;
  --admin-muted: #667085;
  --admin-line: #e3e7ed;
  --admin-blue: #2f67d8;
  --admin-blue-dark: #234fa9;
  --admin-navy: #111b2b;
  background: var(--admin-bg);
  color: var(--admin-ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
}
.admin-shell::before { display: none; }
.admin-shell h1, .admin-shell h2, .admin-shell h3 { font-family: inherit; font-weight: 700; letter-spacing: -.025em; }
.admin-shell main { isolation: auto; min-height: calc(100vh - 80px); padding-bottom: 4rem !important; z-index: auto; }
.admin-workspace { max-width: 1500px; padding-inline: clamp(1rem, 3vw, 3rem); }

.admin-shell > .admin-app-header {
  align-items: center;
  background: var(--admin-navy);
  box-shadow: 0 8px 30px rgba(17, 27, 43, .16);
  color: #fff;
  display: grid;
  gap: 1.5rem;
  grid-template-columns: auto minmax(0, 1fr) auto;
  isolation: isolate;
  min-height: 78px;
  padding: .75rem clamp(1rem, 3vw, 2.5rem);
  position: sticky;
  top: 0;
  transform: translateZ(0);
  z-index: 3000;
}
.admin-app-brand { align-items: center; color: #fff; display: grid; gap: 0 .75rem; grid-template-columns: 2.65rem auto; text-decoration: none; white-space: nowrap; }
.admin-app-brand > span { align-items: center; background: var(--admin-blue); border-radius: .7rem; display: flex; font-size: .75rem; font-weight: 900; grid-row: 1 / 3; height: 2.65rem; justify-content: center; letter-spacing: -.04em; width: 2.65rem; }
.admin-app-brand strong { align-self: end; font-size: .9rem; line-height: 1.1; }
.admin-app-brand small { align-self: start; color: #9ca9bc; font-size: .65rem; letter-spacing: .07em; text-transform: uppercase; }
.admin-app-brand:hover { color: #fff; }
.admin-navigation { min-width: 0; }
.admin-app-nav { align-items: center; display: flex; flex-wrap: wrap; gap: .25rem; justify-content: center; min-width: 0; }
.admin-subnav { border-top: 1px solid rgba(255,255,255,.12); display: flex; flex-wrap: wrap; gap: .25rem 1rem; justify-content: center; margin-top: .5rem; padding-top: .35rem; }
.admin-subnav a { border-bottom: 2px solid transparent; color: #aeb9ca; font-size: .76rem; padding: .3rem 0; text-decoration: none; }
.admin-subnav a:hover, .admin-subnav a[aria-current] { color: #fff; }
.admin-subnav a[aria-current] { border-bottom-color: #8bb3ff; font-weight: 700; }
.admin-navigation a:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.admin-app-nav a { align-items: center; border-radius: .55rem; color: #aeb9ca; display: flex; font-size: .76rem; font-weight: 650; gap: .42rem; padding: .62rem .72rem; text-decoration: none; white-space: nowrap; }
.admin-app-nav a:hover { background: rgba(255,255,255,.07); color: #fff; }
.admin-app-nav a.is-active { background: var(--admin-blue); color: #fff; box-shadow: 0 5px 16px rgba(47,103,216,.35); }
.admin-app-nav .bi { font-size: 1rem; }
.admin-view-store { align-items: center; border: 1px solid rgba(255,255,255,.16); border-radius: .55rem; color: #d7deea; display: flex; font-size: .75rem; font-weight: 700; gap: .45rem; padding: .62rem .8rem; text-decoration: none; white-space: nowrap; }
.admin-view-store:hover { background: #fff; color: var(--admin-navy); }

.admin-shell .admin-tabs { display: none; }
.admin-shell .admin-header { align-items: center; border-bottom: 1px solid var(--admin-line); margin: 0 0 1.75rem; min-height: 126px; padding: 2rem 0 1.5rem; }
.admin-shell .admin-header h1, .admin-shell .admin-form-page h1 { color: var(--admin-ink); font-size: clamp(1.8rem, 3vw, 2.5rem); margin: .15rem 0 0; }
.admin-shell .eyebrow { color: var(--admin-blue); font-size: .68rem; letter-spacing: .13em; margin: 0; }
.admin-shell .eyebrow::before { display: none; }
.admin-shell .button-link { background: var(--admin-blue); border-color: var(--admin-blue) !important; border-radius: .5rem; box-shadow: 0 5px 14px rgba(47,103,216,.18); font-size: .72rem; letter-spacing: .045em; padding: .72rem 1rem; }
.admin-shell .button-link:hover { background: var(--admin-blue-dark); border-color: var(--admin-blue-dark) !important; box-shadow: 0 7px 18px rgba(47,103,216,.25); }

.admin-shell .kpi-grid { gap: 1rem; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0 0 2rem; }
.admin-shell .kpi-card { border: 1px solid var(--admin-line); border-radius: .8rem; box-shadow: 0 3px 14px rgba(17,27,43,.045); min-height: 150px; padding: 1.35rem; position: relative; }
.admin-shell .kpi-card::after { background: #e8edf5; border-radius: 999px; content: ""; height: 4px; left: 1.35rem; position: absolute; right: 1.35rem; top: 0; }
.admin-shell .kpi-card span { color: var(--admin-muted); font-size: .7rem; letter-spacing: .065em; }
.admin-shell .kpi-card strong { color: var(--admin-ink); font-size: clamp(1.65rem, 2.6vw, 2.45rem); }
.admin-shell .kpi-card small { color: var(--admin-muted); line-height: 1.4; }
.admin-shell .kpi-card--primary { background: linear-gradient(145deg, #214fbe, #2f67d8); border-color: transparent; }
.admin-shell .kpi-card--primary::after { background: rgba(255,255,255,.35); }
.admin-shell .kpi-card--primary span, .admin-shell .kpi-card--primary strong, .admin-shell .kpi-card--primary small { color: #fff; }
.admin-shell .kpi-card--warning { background: #fffbeb; border-color: #f0d98b; }
.admin-shell .kpi-card--warning::after { background: #e7a91b; }

.admin-shell .admin-table-wrap { border-color: var(--admin-line); border-radius: .8rem; box-shadow: 0 4px 18px rgba(17,27,43,.045); }
.admin-shell .admin-table { font-size: .84rem; }
.admin-shell .admin-table thead { background: #f8f9fb; }
.admin-shell .admin-table th { color: #5c6678; font-size: .68rem; font-weight: 750; letter-spacing: .065em; padding: .82rem 1rem; text-transform: uppercase; white-space: nowrap; }
.admin-shell .admin-table td { border-color: #edf0f4; padding: .92rem 1rem; vertical-align: middle; }
.admin-shell .admin-table tbody tr { transition: background .15s ease; }
.admin-shell .admin-table tbody tr:hover { background: #f7f9fc; }
.admin-shell .admin-table tbody tr.admin-table__clickable-row { cursor: pointer; }
.admin-shell .admin-table tbody tr.admin-table__clickable-row:focus-visible { background: #eef4ff; outline: 2px solid var(--admin-blue); outline-offset: -2px; }
.admin-shell .admin-table code { background: #eef2f7; border-radius: .35rem; color: #344054; font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: .75rem; padding: .25rem .42rem; }
.admin-shell .admin-table a { color: var(--admin-blue); font-weight: 650; text-decoration: none; }
.admin-shell .admin-table a:hover { text-decoration: underline; }

.admin-shell .admin-form-page { margin: 0 auto; max-width: 1080px; padding: 2rem 0 4rem; }
.admin-shell .admin-form-page > a { color: var(--admin-muted); display: inline-flex; font-size: .78rem; font-weight: 650; margin-bottom: 1rem; text-decoration: none; }
.admin-shell .admin-form { gap: 1rem; }
.admin-shell .admin-form fieldset, .admin-shell .product-images { background: var(--admin-panel); border-color: var(--admin-line); border-radius: .8rem; box-shadow: 0 3px 14px rgba(17,27,43,.035); gap: .65rem; padding: 1.4rem 1.5rem 1.6rem; }
.admin-shell .admin-form legend { color: var(--admin-ink); font-size: .88rem; letter-spacing: .01em; padding: 0 .35rem; }
.admin-shell .admin-form label, .admin-shell .login-panel label { color: #475467; font-size: .76rem; font-weight: 700; margin-top: .2rem; }
.admin-shell .admin-form input:not([type="checkbox"]), .admin-shell .admin-form select, .admin-shell .admin-form textarea,
.admin-shell .login-panel input:not([type="checkbox"]) { background: #fff; border: 1px solid #cfd5de; border-radius: 0; color: var(--admin-ink); font-size: .86rem; padding: .72rem .8rem; transition: border-color .15s, box-shadow .15s; }
.admin-shell .admin-form input:focus, .admin-shell .admin-form select:focus, .admin-shell .admin-form textarea:focus,
.admin-shell .login-panel input:focus { border-color: var(--admin-blue); box-shadow: 0 0 0 3px rgba(47,103,216,.12); outline: none; }
.admin-shell .admin-form small { color: var(--admin-muted); font-size: .72rem; }
.admin-shell .admin-form .check { background: #f8f9fb; border: 1px solid #edf0f4; border-radius: .4rem; margin: .1rem 0; padding: .55rem .65rem; }
.admin-shell .admin-form .check input { accent-color: var(--admin-blue); }
.admin-shell .status-message { background: #e9f8f0; border: 1px solid #b8e4cc; color: #17633b; }
.admin-shell .validation-summary-errors, .admin-shell .field-validation-error { color: #b42318; font-size: .78rem; }

.admin-shell form.admin-form:not(.admin-form-page *) { align-items: end; background: #fff; border: 1px solid var(--admin-line); border-radius: .8rem; box-shadow: 0 3px 14px rgba(17,27,43,.035); display: flex; flex-wrap: wrap; gap: .75rem; margin-bottom: 1rem; padding: 1rem; }
.admin-shell form.admin-form:not(.admin-form-page *) fieldset { align-items: end; border: 0; box-shadow: none; display: flex; flex: 1; flex-wrap: wrap; gap: .65rem; padding: 0; }
.admin-shell .alert { border-radius: .65rem; font-size: .82rem; }
.admin-shell .product-image-admin { align-items: start; border-bottom: 1px solid var(--admin-line); display: grid; gap: 1rem; grid-template-columns: 120px 1fr auto; padding: 1rem 0; }
.admin-shell .product-image-admin img { border: 1px solid var(--admin-line); border-radius: .5rem; height: auto; width: 120px; }

@media (max-width: 1180px) {
  .admin-shell > .admin-app-header { gap: .75rem; grid-template-columns: auto minmax(0, 1fr) auto; }
  .admin-app-nav { justify-content: flex-start; overflow-x: auto; padding-bottom: .2rem; scrollbar-width: thin; }
  .admin-subnav { justify-content: flex-start; }
  .admin-app-nav a { padding: .65rem .75rem; }
  .admin-shell .kpi-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 700px) {
  .admin-shell > .admin-app-header { grid-template-columns: 1fr auto; padding: .7rem 1rem; position: relative; }
  .admin-app-brand small, .admin-view-store span { display: none; }
  .admin-navigation { border-top: 1px solid rgba(255,255,255,.1); grid-column: 1 / -1; grid-row: 2; order: 3; padding-top: .55rem; }
  .admin-app-nav a span { display: inline; }
  .admin-shell .admin-header { min-height: 105px; }
  .admin-shell .admin-header { align-items: flex-start; flex-direction: column; gap: 1rem; }
  .admin-shell .kpi-grid { grid-template-columns: 1fr; }
  .admin-shell .market-price-row { grid-template-columns: 1fr; }
  .admin-shell .product-image-admin { grid-template-columns: 80px 1fr; }
  .admin-shell .product-image-admin img { width: 80px; }
  .admin-shell .product-image-admin > form:last-child { grid-column: 2; }
}

.storefront-footer__legal a { margin-inline-start: 1rem; text-decoration: underline; }

.storefront-sales-notice { padding: 1rem 1.25rem; margin: 1rem 0; border: 1px solid #b8a17c; border-radius: .25rem; text-align: center; }
