:root {
    --red: #ce1938;
    --red-dark: #a70e2b;
    --ink: #202a2f;
    --muted: #738087;
    --line: #e7e9e9;
    --cream: #f6f7f5;
    --white: #fff;
    --radius: 8px;
}
* {
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
}
body {
    margin: 0;
    color: var(--ink);
    background: #fff;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}
a {
    color: inherit;
    text-decoration: none;
}
button,
input,
select,
textarea {
    font: inherit;
}
button,
a,
input,
select,
textarea {
    -webkit-tap-highlight-color: transparent;
}
button {
    cursor: pointer;
}
img {
    display: block;
    max-width: 100%;
}
button {
    border: 0;
}
h1,
h2,
h3,
h4,
p {
    margin-top: 0;
}
h1,
h2,
h3,
h4 {
    line-height: 1.2;
    letter-spacing: -0.035em;
}
h1 {
    font-size: 44px;
    font-weight: 750;
}
h2 {
    font-size: 30px;
    font-weight: 750;
}
h3 {
    font-size: 17px;
}
h4 {
    font-size: 15px;
}
p {
    color: #707b80;
}
a,
button {
    transition:
        color 0.18s,
        background 0.18s,
        box-shadow 0.18s,
        transform 0.18s;
}
a:focus-visible,
button:focus-visible {
    outline: 3px solid #e998a7;
    outline-offset: 4px;
}
input:focus,
textarea:focus,
select:focus {
    outline: 2px solid #e998a7;
    outline-offset: 2px;
}
.container {
    width: min(1180px, calc(100% - 80px));
    margin-inline: auto;
}
.icon {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
    vertical-align: middle;
}
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 46px;
    background: var(--red);
    color: white;
    padding: 12px 23px;
    border: 1px solid var(--red);
    border-radius: 4px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.01em;
    white-space: nowrap;
}
.btn:hover {
    background: var(--red-dark);
    border-color: var(--red-dark);
    transform: translateY(-1px);
}
.btn .icon {
    width: 17px;
    height: 17px;
}
.btn-white {
    background: #fff;
    color: var(--ink);
    border-color: #fff;
}
.btn-white:hover {
    background: #f2f2f2;
    border-color: #f2f2f2;
}
.btn-outline {
    background: transparent;
    border-color: #d9dfe1;
    color: var(--ink);
}
.btn-outline:hover {
    background: #fdf1f3;
    border-color: var(--red);
    color: var(--red);
}
.text-link {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: var(--red);
    font-weight: 700;
    font-size: 12px;
}
.text-link .icon {
    width: 18px;
}
.text-link:hover {
    color: var(--red-dark);
}
.eyebrow {
    display: block;
    letter-spacing: 2.1px;
    font-size: 10px;
    font-weight: 750;
    color: var(--red);
    margin-bottom: 13px;
}
.eyebrow.light {
    color: #fff;
    opacity: 0.9;
}
.muted {
    color: var(--muted);
}
.topbar {
    background: var(--red);
    color: #fff;
    font-size: 10px;
}
.topbar-inner {
    min-height: 33px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}
.topbar-inner > span:first-child,
.top-email {
    display: flex;
    gap: 7px;
    align-items: center;
}
.top-email {
    margin-left: 14px;
}
.topbar .icon {
    width: 12px;
    height: 12px;
}
.topbar a {
    display: flex;
    align-items: center;
    gap: 8px;
}
.header {
    background: white;
    position: sticky;
    top: 0;
    z-index: 40;
}
.header-main {
    height: 90px;
    display: flex;
    align-items: center;
    gap: 50px;
}
.brand {
    display: block;
    white-space: nowrap;
}
.brand > span {
    display: block;
    font-size: 25px;
    font-weight: 850;
    letter-spacing: -1px;
    line-height: 1.1;
}
.brand > span > span {
    color: var(--red);
}
.brand i {
    font-style: normal;
    color: var(--red);
    font-size: 27px;
    padding-left: 4px;
    font-weight: 600;
}
.brand small {
    display: block;
    font-size: 7px;
    letter-spacing: 1.75px;
    margin-top: 8px;
    color: #7a8083;
}
.search {
    display: flex;
    align-items: center;
    flex: 1;
    background: #f6f7f8;
    border: 1px solid #f0f1f2;
    border-radius: 4px;
    overflow: hidden;
    min-width: 0;
}
.search input {
    width: 100%;
    border: 0;
    background: none;
    padding: 13px 16px;
    font-size: 11px;
    min-width: 0;
}
.search button {
    background: var(--red);
    color: #fff;
    align-self: stretch;
    width: 44px;
    flex-shrink: 0;
}
.search .icon {
    width: 17px;
}
.header-actions {
    display: flex;
    align-items: center;
    gap: 27px;
}
.header-actions > a {
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: 11px;
    white-space: nowrap;
}
.header-actions .icon {
    width: 20px;
}
.cart-link,
.wishlist-link {
    position: relative;
}
.cart-link b,
.wishlist-link b {
    position: absolute;
    right: -7px;
    top: -8px;
    font-size: 8px;
    line-height: 15px;
    width: 15px;
    text-align: center;
    color: white;
    background: var(--red);
    border-radius: 50%;
}
.nav {
    border-top: 1px solid #f3f3f3;
    border-bottom: 1px solid var(--line);
}
.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 47px;
}
.nav-links {
    display: flex;
    gap: 39px;
    height: 100%;
}
.nav-links a {
    display: flex;
    align-items: center;
    gap: 10px;
    position: relative;
    text-transform: uppercase;
    font-size: 10px;
    letter-spacing: 0.5px;
    font-weight: 700;
}
.nav-links a .icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}
.nav-links a.active {
    color: var(--red);
}
.nav-links a.active:after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--red);
}
.nav-links a:hover {
    color: var(--red);
}
.partner-nav {
    font-size: 11px;
    color: #7b8287;
    display: flex;
    align-items: center;
    gap: 10px;
}
.partner-nav .icon {
    width: 15px;
}
.menu-toggle {
    display: none;
    background: none;
    font-size: 24px;
}
.menu-toggle-lines { display: flex; flex-direction: column; gap: 5px; width: 20px; }
.menu-toggle-lines > span {
    display: block;
    width: 20px;
    height: 2px;
    border-radius: 2px;
    background: currentColor;
    transition: transform .18s ease, opacity .18s ease;
}
.menu-toggle-lines > span:nth-child(2) { width: 15px; align-self: flex-end; }
.menu-toggle[aria-expanded="true"] .menu-toggle-lines > span:first-child { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle-lines > span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] .menu-toggle-lines > span:last-child { transform: translateY(-7px) rotate(-45deg); }
.hero {
    position: relative;
    height: 455px;
    isolation: isolate;
    background: #657b79;
    overflow: hidden;
}
.hero-slide {
    height: 100%;
    position: absolute;
    inset: 0;
}
.hero-slide[hidden] {
    display: none;
}
.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 43%;
}
.hero-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        rgba(21, 42, 46, 0.81) 0%,
        rgba(21, 42, 46, 0.6) 37%,
        rgba(21, 42, 46, 0.05) 75%
    );
}
.hero-content {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding-bottom: 8px;
}
.hero-content h1 {
    color: #fff;
    font-size: 58px;
    max-width: 530px;
    line-height: 1.04;
    letter-spacing: -2px;
    margin: 5px 0 21px;
}
.hero-content p {
    max-width: 365px;
    color: #e5e9e8;
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 27px;
}
.hero-buttons {
    display: flex;
    gap: 12px;
}
.hero .eyebrow {
    font-size: 10px;
    letter-spacing: 2.5px;
}
.hero-controls {
    position: absolute;
    bottom: 24px;
    left: 50%;
    display: flex;
    gap: 8px;
}
.hero-controls button {
    width: 6px;
    height: 6px;
    padding: 0;
    border-radius: 50%;
    background: #ffffff75;
}
.hero-controls button.selected {
    width: 20px;
    border-radius: 8px;
    background: white;
}
.hero-side-note {
    position: absolute;
    right: 32px;
    top: 50%;
    writing-mode: vertical-rl;
    color: #fff9;
    font-size: 8px;
    letter-spacing: 2px;
}
.benefits {
    background: #f8f9f8;
    border-bottom: 1px solid #f0f2f1;
}
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    padding: 25px 0;
}
.benefits-grid > div {
    display: flex;
    gap: 18px;
    align-items: center;
    padding: 0 40px;
    border-right: 1px solid #dfe5e3;
}
.benefits-grid > div:first-child {
    padding-left: 15px;
}
.benefits-grid > div:last-child {
    border: 0;
}
.benefits .icon {
    width: 30px;
    height: 30px;
    color: var(--red);
}
.benefits h3 {
    font-size: 12px;
    letter-spacing: 0;
    margin: 0 0 5px;
}
.benefits p {
    font-size: 10px;
    margin: 0;
}
.about-section {
    display: grid;
    grid-template-columns: 1.05fr 1.05fr 0.58fr;
    gap: 36px;
    align-items: center;
    padding-block: 57px;
}
.about-image {
    height: 278px;
    position: relative;
}
.about-image > img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    object-position: center 27%;
    border-radius: 6px;
}
.image-note {
    position: absolute;
    bottom: 16px;
    left: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    background: #fffffff2;
    backdrop-filter: blur(10px);
    padding: 12px 17px;
    border-radius: 4px;
    font-size: 10px;
    line-height: 1.6;
}
.image-note .icon {
    color: var(--red);
    width: 25px;
    height: 25px;
}
.about-copy h2 {
    font-size: 29px;
    margin-bottom: 17px;
}
.about-copy p {
    font-size: 12px;
    line-height: 1.95;
}
.about-copy .text-link {
    margin-top: 7px;
}
.about-values {
    border-left: 1px solid var(--line);
    padding-left: 27px;
}
.about-values > div + div {
    margin-top: 24px;
}
.about-values .icon {
    color: var(--red);
    margin-bottom: 9px;
    width: 24px;
    height: 24px;
}
.about-values h4 {
    font-size: 12px;
    letter-spacing: 0;
    margin: 0 0 7px;
}
.about-values p {
    font-size: 10px;
    line-height: 1.65;
    margin: 0;
}
.section {
    padding-block: 40px;
}
.section-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 24px;
}
.section-heading h1,
.section-heading h2 {
    margin: 0;
}
.section-heading .eyebrow {
    font-size: 9px;
    letter-spacing: 1.6px;
    margin-bottom: 9px;
}
.section-heading .text-link {
    padding-bottom: 4px;
}
.category-section {
    background: #f7f8f6;
    padding-block: 35px 39px;
}
.category-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.category-card {
    background: white;
    border: 1px solid #e8ebe7;
    border-radius: 6px;
    overflow: hidden;
    transition: box-shadow 0.2s;
}
.category-card:hover {
    box-shadow: 0 6px 25px #20352b0c;
}
.category-photo {
    height: 164px;
    overflow: hidden;
}
.category-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}
.category-card:hover img {
    transform: scale(1.035);
}
.category-card > div:last-child {
    position: relative;
    padding: 17px 15px;
}
.category-card h3 {
    font-size: 14px;
    margin: 0 0 5px;
    letter-spacing: -0.3px;
}
.category-card p {
    font-size: 9px;
    margin: 0;
    max-width: 90%;
}
.circle-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    right: 12px;
    top: 20px;
    width: 22px;
    height: 22px;
    border: 1px solid #edcbd0;
    border-radius: 50%;
    color: var(--red);
    background: white;
}
.circle-arrow .icon {
    width: 12px;
}
.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.product-card {
    border: 1px solid var(--line);
    border-radius: 7px;
    overflow: hidden;
    background: #fff;
    transition:
        box-shadow 0.2s,
        transform 0.2s;
}
.product-card:hover {
    box-shadow: 0 8px 30px #25333b0d;
    transform: translateY(-3px);
}
.product-quick-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.product-quick-actions form { margin: 0; }
.quick-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 44px;
    padding: 8px 12px;
    border: 1px solid var(--red);
    border-radius: 22px;
    background: var(--red);
    color: #fff;
    font: inherit;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
}
.whatsapp-badge { background: #e8f6ed; border-color: #b8dfc6; color: #176b3b; }
.quick-badge:hover { filter: brightness(.94); }
.quick-badge:focus-visible { outline: 3px solid #176b3b; outline-offset: 3px; }
.quick-badge:disabled { opacity: .55; cursor: not-allowed; }
.quick-badge .icon { width: 17px; height: 17px; flex-shrink: 0; }
.quick-cart-feedback { font-size: 12px; color: #176b3b; margin: 6px 0 0; }
.quick-cart-feedback:empty { display: none; }
.quick-cart-feedback.is-error { color: #a22020; }
.product-photo {
    display: block;
    height: 218px;
    position: relative;
    overflow: hidden;
    background: #f7f8f6;
}
.product-photo img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}
.product-card:hover img {
    transform: scale(1.04);
}
.badge {
    position: absolute;
    left: 12px;
    top: 12px;
    background: var(--red);
    color: #fff;
    font-size: 7px;
    font-weight: 700;
    letter-spacing: 0.65px;
    padding: 5px 7px;
    border-radius: 2px;
}
.badge.pale {
    background: #fff;
    color: #65766b;
}
.product-copy {
    padding: 16px;
}
.product-category {
    font-size: 8px;
    text-transform: uppercase;
    letter-spacing: 1.1px;
    color: #8a9498;
}
.product-name {
    display: block;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.35;
    margin: 6px 0;
}
.product-small {
    font-size: 10px;
    margin: 0 0 11px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}
.price {
    font-size: 16px;
    font-weight: 700;
    color: var(--red);
    margin-bottom: 12px;
    line-height: 1.1;
}
.price del {
    font-size: 11px;
    color: #9aa0a3;
    font-weight: 400;
    margin-left: 6px;
}
.product-btn {
    width: 100%;
    font-size: 10px;
    min-height: 34px;
    padding: 7px 12px;
    justify-content: space-between;
    border-radius: 3px;
}
.product-btn .icon {
    width: 14px;
    height: 14px;
}
.offer-banner {
    min-height: 277px;
    background: #ae0e2a;
    position: relative;
    overflow: hidden;
    border-radius: 6px;
    isolation: isolate;
}
.offer-banner > img {
    position: absolute;
    right: 0;
    top: 0;
    width: 57%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 54%;
    z-index: -2;
}
.offer-banner:after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, #b30e2c 0%, #ba1332 38%, #b50e2c20 75%);
    z-index: -1;
}
.offer-copy {
    padding: 34px 40px;
    color: #fff;
    max-width: 530px;
}
.offer-copy h2 {
    font-size: 33px;
    line-height: 1.1;
    margin-bottom: 12px;
}
.offer-copy p {
    color: #fff9;
    font-size: 11px;
    margin-bottom: 20px;
}
.offer-copy .eyebrow {
    font-size: 8px;
    letter-spacing: 2px;
}
.offer-copy .btn {
    min-height: 35px;
    padding: 8px 14px;
    font-size: 10px;
}
.offer-seal {
    position: absolute;
    right: 30px;
    top: 25px;
    border-radius: 50%;
    background: #ce1938;
    color: #fff;
    width: 105px;
    height: 105px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    font-size: 7px;
    letter-spacing: 1px;
    line-height: 1.3;
    border: 1px solid #ffffff60;
    outline: 5px solid #ce1938;
    transform: rotate(9deg);
}
.offer-seal strong {
    font-family: Georgia, serif;
    font-style: italic;
    font-size: 30px;
    font-weight: 400;
    line-height: 1;
}
.help-section {
    background: #f1f4f2;
    margin-top: 5px;
}
.help-inner {
    display: flex;
    align-items: center;
    gap: 24px;
    padding-block: 35px;
}
.help-icon {
    width: 64px;
    height: 64px;
    border: 1px solid #d8e0db;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--red);
    flex-shrink: 0;
}
.help-icon .icon {
    width: 28px;
    height: 28px;
}
.help-inner h2 {
    font-size: 24px;
    margin-bottom: 9px;
}
.help-inner p {
    font-size: 11px;
    margin: 0;
}
.help-inner .eyebrow {
    font-size: 8px;
    margin-bottom: 9px;
}
.help-inner > .btn {
    margin-left: auto;
}
.newsletter {
    background: var(--red);
    color: white;
}
.newsletter-inner {
    padding-block: 23px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}
.newsletter-title {
    display: flex;
    gap: 16px;
    align-items: center;
}
.newsletter-title > .icon {
    width: 29px;
    height: 29px;
}
.newsletter h3 {
    font-size: 15px;
    letter-spacing: -0.1px;
    margin-bottom: 5px;
}
.newsletter p {
    color: #ffffffb3;
    font-size: 10px;
    margin: 0;
}
.newsletter form {
    display: flex;
    min-width: 380px;
    border: 1px solid #ffffff60;
    border-radius: 3px;
    overflow: hidden;
}
.newsletter input {
    border: 0;
    padding: 11px 13px;
    font-size: 10px;
    min-width: 0;
    flex: 1;
    background: #fff;
    color: var(--ink);
}
.newsletter button {
    background: transparent;
    color: #fff;
    font-size: 10px;
    padding: 0 18px;
    display: flex;
    align-items: center;
    gap: 12px;
}
.newsletter button:hover {
    background: var(--red-dark);
}
.newsletter button .icon {
    width: 14px;
}
.footer {
    background: #1d272c;
    color: #fff;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 0.8fr 1fr 1.2fr;
    gap: 60px;
    padding-block: 43px;
}
.footer-brand > span {
    font-size: 22px;
}
.footer-brand small {
    font-size: 6px;
    color: #c1c6c8;
}
.footer-about p {
    font-size: 10px;
    line-height: 1.8;
    margin-top: 18px;
    color: #9fa9af;
    max-width: 235px;
}
.footer-note {
    font-size: 10px;
    color: #c5cccf;
    font-style: italic;
}
.footer h4 {
    font-size: 11px;
    letter-spacing: 0;
    margin-bottom: 17px;
}
.footer-grid > div > a:not(.brand) {
    display: block;
    color: #aeb7bc;
    font-size: 10px;
    margin-bottom: 7px;
}
.footer-grid > div > a:hover {
    color: white;
}
.footer-grid > div > p {
    font-size: 10px;
    color: #aeb7bc;
    margin-bottom: 10px;
}
.footer-grid .icon {
    width: 12px;
    height: 12px;
    margin-right: 5px;
}
.footer-bottom {
    border-top: 1px solid #ffffff16;
    display: flex;
    justify-content: space-between;
    padding-block: 18px;
    font-size: 8px;
    color: #87949c;
}
.footer-bottom > div {
    display: flex;
    gap: 22px;
}
.skip-link {
    position: absolute;
    z-index: 100;
    top: -60px;
    left: 15px;
    padding: 10px;
    background: white;
    color: var(--red);
}
.skip-link:focus {
    top: 10px;
}
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
}
.page-content {
    padding-block: 45px 65px;
    min-height: 500px;
}
.page-heading {
    text-align: center;
    padding: 18px 0 30px;
}
.page-heading h1 {
    margin: 0 0 16px;
}
.page-heading p {
    font-size: 13px;
}
.catalog-toolbar {
    display: flex;
    gap: 12px;
    padding: 20px;
    background: var(--cream);
    border-radius: 6px;
    margin: 10px 0 22px;
}
.catalog-toolbar .search {
    background: white;
    border-color: var(--line);
}
.catalog-toolbar.catalog-filters {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr)) auto;
    align-items: end;
    gap: 16px;
}
.catalog-filters > .search { grid-column: 1 / -1; }
#catalog-results { scroll-margin-top: 24px; }
.catalog-filter-heading { display: none; }
.catalog-filter {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
    font-size: 13px;
    font-weight: 600;
}
.catalog-filter select { width: 100%; min-height: 46px; font-weight: 400; }
@media (max-width: 1000px) {
    .catalog-toolbar.catalog-filters { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .catalog-filters > .btn { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
    .catalog-toolbar.catalog-filters { grid-template-columns: minmax(0, 1fr); }
    .catalog-filter select { font-size: 16px; }
}
input,
select,
textarea {
    border: 1px solid #dfe3e4;
    border-radius: 4px;
    background: white;
    color: var(--ink);
    padding: 11px 12px;
    max-width: 100%;
}
textarea {
    resize: vertical;
    min-height: 95px;
}
select {
    font-size: 12px;
}
.pagination {
    display: flex;
    justify-content: center;
    gap: 7px;
    margin-top: 30px;
}
.pagination a {
    border: 1px solid var(--line);
    padding: 7px 15px;
    border-radius: 3px;
}
.pagination .selected {
    background: var(--red);
    color: white;
    border-color: var(--red);
}
.empty-state {
    text-align: center;
    padding: 65px 20px;
}
.empty-state > .icon {
    width: 44px;
    height: 44px;
    color: var(--red);
    margin-bottom: 23px;
}
.empty-state h1 {
    font-size: 35px;
}
.empty-state h2 {
    font-size: 26px;
}
.empty-state .btn {
    margin-top: 15px;
}
.empty-state .button-row {
    justify-content: center;
}
.breadcrumbs {
    display: flex;
    gap: 13px;
    font-size: 11px;
    color: #8d969b;
    margin-bottom: 27px;
    flex-wrap: wrap;
}
.breadcrumbs a:hover {
    color: var(--red);
}
.product-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 65px;
    margin-bottom: 55px;
}
.detail-left {
    min-width: 0;
}
.detail-information {
    margin-top: 20px;
}
.detail-information h2 {
    font-size: 25px;
    margin-top: 0;
}
.detail-information .product-audience {
    margin-top: 24px;
    margin-bottom: 24px;
}
.detail-copy > .qr-panel {
    margin-top: 30px;
}
.detail-image {
    background: var(--cream);
    border-radius: 9px;
    overflow: hidden;
    align-self: start;
}
.detail-image img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 540px;
    object-fit: contain;
}
.product-image-open { display: block; cursor: zoom-in; }
.product-pdf-download { width: min(800px, calc(100% - 32px)); }
.product-pdf-download .public-list-product { display: block; }
.product-pdf-download .public-list-product > img { width: 180px; height: auto; }
.product-pdf-download.public-list-pdf-copy { width: 800px; }
.product-image-dialog {
    width: min(1100px, calc(100% - 24px));
    max-height: calc(100dvh - 24px);
    margin: auto;
    padding: 52px 12px 12px;
    border: 0;
    border-radius: 12px;
    background: #fff;
    overflow: auto;
}
.product-image-dialog::backdrop { background: #202a2fcc; }
.product-image-dialog > img { width: 100%; height: auto; object-fit: contain; }
.product-image-close {
    position: absolute; top: 6px; right: 8px;
    width: 44px; height: 44px; border-radius: 50%;
    background: #fff0f3; color: var(--red); font-size: 28px;
}
.detail-copy {
    padding-block: 20px;
}
.detail-copy h1 {
    font-size: 37px;
    margin-bottom: 15px;
}
.detail-package {
    font-size: 13px;
}
.detail-price {
    font-size: 29px;
    font-weight: 700;
    color: var(--red);
    margin-block: 15px;
}
.detail-price del {
    font-size: 17px;
    color: #9da5a9;
    font-weight: 400;
    margin-left: 10px;
}
.stock {
    font-size: 11px;
    color: #437558;
}
.stock.out {
    color: var(--red);
}
.description {
    border-top: 1px solid var(--line);
    padding-top: 22px;
    margin-top: 24px;
    line-height: 1.9;
}
.fine-print {
    font-size: 10px;
    line-height: 1.8;
    color: #899399;
    margin-top: 17px;
}
.info-box {
    padding: 16px;
    background: #f5f7f5;
    border: 1px solid #e5eae5;
    border-radius: 5px;
    font-size: 12px;
    color: #5a6966;
    margin-block: 20px;
}
.info-box a {
    color: var(--red);
    text-decoration: underline;
}
.info-box p:last-child {
    margin-bottom: 0;
}
.add-cart {
    display: flex;
    gap: 13px;
    align-items: flex-end;
}
.add-cart label {
    font-size: 11px;
}
.add-cart input {
    display: block;
    width: 80px;
    margin-top: 5px;
}
.detail-bottom {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 65px;
    margin-block: 40px 55px;
}
.detail-bottom h2 {
    font-size: 25px;
}
details {
    border-bottom: 1px solid var(--line);
    padding-block: 15px;
}
summary {
    font-weight: 700;
    cursor: pointer;
    font-size: 13px;
}
details p {
    font-size: 12px;
    margin-top: 16px;
}
.qr-panel {
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 24px;
    background: #fbfcfa;
}
.qr-header {
    display: flex;
    align-items: center;
    gap: 12px;
}
.qr-header .icon {
    color: var(--red);
    width: 27px;
    height: 27px;
}
.qr-header h3 {
    margin-bottom: 5px;
    font-size: 17px;
}
.qr-header p {
    font-size: 11px;
    margin: 0;
}
.qr-body {
    display: flex;
    align-items: center;
    gap: 22px;
    margin-top: 15px;
}
.qr-body > img {
    width: 145px;
    height: 145px;
}
.qr-body > div {
    display: flex;
    flex-direction: column;
    gap: 9px;
    align-items: flex-start;
}
.qr-body .btn {
    min-height: 37px;
    font-size: 10px;
    padding: 8px 16px;
}
.product-qr-panel { max-width: 460px; padding: 16px; }
.product-qr-panel .qr-header { gap: 10px; }
.product-qr-panel .qr-header h3 { font-size: 15px; }
.product-qr-panel .qr-header p { font-size: 12px; }
.product-qr-panel .qr-body { gap: 14px; margin-top: 0; }
.product-qr-panel .qr-body > img { width: 110px; height: 110px; }
.product-qr-panel .qr-body .btn { min-height: 34px; padding: 6px 12px; font-size: 12px; }
.product-qr-panel .fine-print { margin: 12px 0 0; font-size: 10px; }
.small-link {
    font-size: 11px;
    color: var(--red);
}
.story-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.story-grid > img {
    height: 420px;
    width: 100%;
    object-fit: cover;
    border-radius: 8px;
}
.story-grid p {
    line-height: 1.9;
}
.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 45px;
    text-align: center;
}
.values-grid > div {
    background: var(--cream);
    padding: 35px 25px;
    border-radius: 7px;
}
.values-grid .icon {
    width: 34px;
    height: 34px;
    color: var(--red);
    margin-bottom: 18px;
}
.values-grid p {
    font-size: 12px;
    margin-bottom: 0;
}
.two-column {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}
.panel {
    padding: 25px;
    border: 1px solid var(--line);
    border-radius: 7px;
    background: white;
    margin-bottom: 20px;
}
.panel h2 {
    font-size: 22px;
}
.panel p {
    font-size: 12px;
}
.form-stack {
    display: flex;
    flex-direction: column;
    gap: 17px;
}
.form-stack > h2,
.form-stack > p {
    margin-bottom: 0;
}
.form-stack label,
.form-grid label,
fieldset label {
    display: flex;
    flex-direction: column;
    gap: 7px;
    font-size: 11px;
    font-weight: 600;
}
.form-stack .btn {
    align-self: flex-start;
}
.form-stack small {
    font-size: 10px;
    color: var(--muted);
}
.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 17px;
}
.form-stack .check-label,
.check-label {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 8px;
    font-weight: 400;
    font-size: 12px;
}
.check-label input {
    width: 16px;
    height: 16px;
    accent-color: var(--red);
}
.check-label a {
    color: var(--red);
}
fieldset {
    border: 1px solid var(--line);
    border-radius: 5px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding: 20px;
}
legend {
    font-weight: 700;
    font-size: 13px;
    padding-inline: 8px;
}
.contact-info {
    padding: 25px 45px;
}
.contact-info h2 {
    font-size: 34px;
}
.contact-info h3 {
    margin-top: 32px;
}
.contact-info .icon {
    color: var(--red);
    width: 18px;
    margin-right: 8px;
}
.honeypot {
    display: none;
}
.auth-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    max-width: 1000px;
    margin: 15px auto;
}
.auth-intro h1 {
    font-size: 48px;
}
.auth-intro p {
    max-width: 350px;
}
.auth-intro > img {
    height: 200px;
    width: 100%;
    object-fit: cover;
    border-radius: 7px;
    margin-top: 28px;
}
.auth-form {
    padding: 35px;
    align-self: center;
}
.auth-form .btn {
    width: 100%;
}
.auth-form > p:last-child {
    font-size: 12px;
}
.auth-form h2 {
    font-size: 28px;
}
.auth-form > .small-link {
    align-self: flex-end;
}
.button-row {
    display: flex;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
}
.notice {
    padding: 17px 20px;
    margin-block: 22px;
    border-radius: 6px;
    background: #fff7e5;
    border: 1px solid #ead8b4;
    font-size: 12px;
}
.notice a {
    color: var(--red);
    text-decoration: underline;
}
.notice.error {
    background: #fff0f2;
    color: #a90c2b;
    border-color: #eac6ce;
}
.notice.success {
    background: #edf7f0;
    color: #347348;
    border-color: #c4dfcc;
}
.checkout-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    gap: 35px;
}
.cart-row {
    display: flex;
    align-items: center;
    gap: 22px;
    border-bottom: 1px solid var(--line);
    padding-block: 20px;
}
.cart-row > img {
    width: 75px;
    height: 80px;
    object-fit: cover;
    border-radius: 5px;
}
.cart-row > a {
    font-weight: 700;
    flex: 1;
    font-size: 13px;
}
.cart-row label {
    font-size: 10px;
}
.cart-row input {
    width: 70px;
    display: block;
}
.order-summary {
    align-self: flex-start;
}
.order-summary p {
    display: flex;
    justify-content: space-between;
}
.order-summary .summary-total {
    border-top: 1px solid var(--line);
    padding-top: 20px;
    font-size: 17px;
    color: var(--ink);
}
.order-summary .btn {
    width: 100%;
}
.legal-copy {
    max-width: 760px;
    margin: 25px auto;
    min-height: 350px;
}
.legal-copy > div {
    line-height: 2;
    color: #69777e;
}
.partner-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
}
.partner-product {
    display: flex;
    gap: 22px;
    margin: 0;
}
.partner-product-image > img {
    width: 135px;
    height: 180px;
    object-fit: cover;
    border-radius: 5px;
}
.partner-product h2 {
    font-size: 20px;
    margin-bottom: 10px;
}
.partner-product .detail-price {
    font-size: 24px;
}
.partner-product .eyebrow {
    font-size: 8px;
}
.partner-product > div {
    min-width: 0;
    flex: 1;
}
.partner-specific-note {
    color: #b91c1c;
    font-weight: 700;
    overflow-wrap: anywhere;
}
.partner-product-details dt {
    font-weight: 600;
    margin-top: 12px;
}
.partner-product-details dd {
    margin: 4px 0 0;
    white-space: normal;
    overflow-wrap: anywhere;
}
.partner-order-form {
    display: flex;
    align-items: end;
    gap: 12px;
    margin-top: 18px;
    flex-wrap: wrap;
}
.partner-order-form input[type="number"] {
    width: 100px;
}
.partner-order-history {
    margin-top: 36px;
    scroll-margin-top: 100px;
}
.wholesale-order {
    margin-bottom: 18px;
    overflow-wrap: anywhere;
}
.admin-page {
    background: #f7f8fa;
}
.admin-layout {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 35px;
    padding-block: 35px 60px;
    align-items: start;
}
.admin-sidebar {
    position: sticky;
    top: 25px;
}
.admin-sidebar > .eyebrow {
    font-size: 8px;
    letter-spacing: 1px;
}
.admin-sidebar h2 {
    font-size: 22px;
    margin-bottom: 25px;
}
.admin-sidebar nav {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.admin-sidebar nav > a {
    display: flex;
    justify-content: space-between;
    padding: 12px 14px;
    font-size: 12px;
    border-radius: 4px;
    color: #6f7b84;
}
.admin-sidebar nav > a > span {
    opacity: 0.4;
}
.admin-sidebar nav > a > .admin-nav-badge {
    min-width: 20px;
    height: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding-inline: 5px;
    border-radius: 10px;
    background: #e8ecef;
    color: #34404a;
    font-size: 10px;
    font-weight: 700;
    opacity: 1;
}
.admin-sidebar nav > a.active > .admin-nav-badge {
    background: rgba(255, 255, 255, 0.22);
    color: white;
}
.admin-sidebar nav > a:hover {
    background: #edf0f2;
}
.admin-sidebar nav > a.active {
    background: var(--red);
    color: white;
}
.public-list-admin {
    margin-bottom: 20px;
}
.public-list-share {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 220px;
    align-items: center;
    gap: 25px;
}
.public-list-share > img {
    width: 220px;
    aspect-ratio: 1;
}
.public-list-page {
    max-width: 1000px;
}
.public-list-actions {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 22px;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}
.public-list-pdf-status { font-size: 14px; color: var(--muted); }
.public-list-pdf-status[hidden] { display: none; }
.public-list-actions .btn:disabled { cursor: progress; opacity: .75; }
.public-list-actions .btn.is-loading::before {
    content: ''; width: 16px; height: 16px;
    border: 2px solid #ffffff70; border-top-color: #fff;
    border-radius: 50%; animation: public-list-pdf-spin .8s linear infinite;
}
@keyframes public-list-pdf-spin { to { transform: rotate(360deg); } }
.public-list-pdf-copy {
    position: absolute; left: 0; top: 0; z-index: -1;
    max-width: none; margin: 0; background: #fff; pointer-events: none;
}
@media (prefers-reduced-motion: reduce) {
    .public-list-actions .btn.is-loading::before { animation: none; }
}
.public-list-header {
    padding: 35px 0;
    border-bottom: 1px solid var(--line);
}
.public-list-logo {
    display: block;
    max-width: 190px;
    max-height: 90px;
    object-fit: contain;
    object-position: left;
    margin-bottom: 20px;
}
.public-list-header h1 {
    font-size: 38px;
}
.public-list-contact {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 22px;
    font-size: 13px;
}
.public-list-about {
    max-width: 760px;
    margin-top: 26px;
}
.public-list-about h2,
.public-list-category h2 {
    font-size: 24px;
}
.public-list-category {
    padding-top: 30px;
}
.public-list-category-dropdown > summary {
    position: relative;
    padding-right: 36px;
    cursor: pointer;
    list-style: none;
}
.public-list-category-dropdown > summary::-webkit-details-marker { display: none; }
.public-list-category-dropdown > summary::after {
    content: '';
    position: absolute;
    right: 10px;
    width: 10px;
    height: 10px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
}
.public-list-category-dropdown[open] > summary::after { transform: rotate(225deg); }
.public-list-category-dropdown > summary:focus-visible { outline: 2px solid var(--red); outline-offset: 4px; }
.public-list-category-label { margin: 30px 0 20px; font-size: clamp(24px, 4vw, 32px); line-height: 1.25; color: var(--red); }
.public-list-all-products { margin-top: 40px; }
.public-list-all-products > h2 { font-size: 24px; }
@media screen {
    .public-list-page:not(.public-list-pdf-copy) .public-list-products {
        --product-divider-offset: 12px;
        --product-divider-color: #e9a3b0;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0 24px;
    }
    .public-list-page:not(.public-list-pdf-copy) .public-list-product {
        position: relative;
        grid-template-columns: 90px minmax(0, 1fr);
        gap: 12px;
        min-width: 0;
        border-bottom-color: var(--product-divider-color);
    }
    .public-list-page:not(.public-list-pdf-copy) .public-list-product:nth-child(odd)::before {
        content: '';
        position: absolute;
        top: 0;
        bottom: 0;
        right: calc(-1 * var(--product-divider-offset));
        border-right: 1px solid var(--product-divider-color);
        pointer-events: none;
    }
    .public-list-page:not(.public-list-pdf-copy) .public-list-product::after {
        content: '';
        position: absolute;
        bottom: -1px;
        left: 0;
        right: calc(-1 * var(--product-divider-offset));
        border-bottom: 1px solid var(--product-divider-color);
        pointer-events: none;
    }
    .public-list-page:not(.public-list-pdf-copy) .public-list-product:nth-child(even)::after {
        left: calc(-1 * var(--product-divider-offset));
        right: 0;
    }
    .public-list-page:not(.public-list-pdf-copy) .public-list-product > img { width: 90px; }
    .public-list-page:not(.public-list-pdf-copy) .public-list-product-copy { min-width: 0; overflow-wrap: anywhere; }
    .public-list-page:not(.public-list-pdf-copy) .public-list-specifications > div {
        grid-template-columns: minmax(70px, .35fr) minmax(0, 1fr);
        gap: 8px;
    }
}
@media screen and (max-width: 700px) {
    .public-list-page:not(.public-list-pdf-copy) .public-list-products { --product-divider-offset: 8px; gap: 0 16px; }
    .public-list-page:not(.public-list-pdf-copy) .public-list-product { grid-template-columns: minmax(0, 1fr); align-content: start; }
    .public-list-page:not(.public-list-pdf-copy) .public-list-specifications > div { grid-template-columns: minmax(0, 1fr); gap: 4px; }
}
@media print {
    body[data-print-public-list] .public-list-category-dropdown > .public-list-product { display: grid !important; }
    body[data-print-public-list] .public-list-category-dropdown > summary::after { display: none; }
}
.public-list-category-heading {
    display: grid;
    grid-template-columns: 150px minmax(0, 1fr);
    align-items: center;
    gap: 20px;
    padding-bottom: 18px;
    border-bottom: 2px solid var(--ink);
}
.public-list-category-heading > img {
    width: 150px;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 4px;
}
.public-list-category-heading h2,
.public-list-product h3 {
    margin: 5px 0;
}
.public-list-product {
    display: grid;
    grid-template-columns: 150px minmax(0, 1fr);
    gap: 20px;
    padding: 20px 0;
    border-bottom: 1px solid var(--line);
}
.public-list-product > img {
    width: 150px;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 4px;
}
.public-list-product-copy > p {
    margin: 8px 0;
}
.public-list-description > p { margin: 8px 0; }
.public-list-product-details { padding: 0; border: 0; }
.public-list-product-details > summary { color: var(--red); min-height: 44px; padding-block: 10px; list-style: none; }
.public-list-product-details > summary::-webkit-details-marker { display: none; }
.public-list-product-details > summary:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }
@media print {
    .public-list-product-details > summary { display: none; }
    .public-list-product-details > :not(summary) { display: block !important; }
}
.public-list-price {
    color: var(--ink);
}
.public-list-price del {
    margin-left: 8px;
    color: #77828a;
}
.public-list-specifications {
    margin: 12px 0 0;
    font-size: 12px;
}
.public-list-specifications > div {
    display: grid;
    grid-template-columns: minmax(130px, 0.35fr) minmax(0, 1fr);
    gap: 12px;
    padding: 6px 0;
    border-top: 1px solid var(--line);
}
.public-list-specifications dt {
    font-weight: 700;
}
.public-list-specifications dd {
    margin: 0;
    color: #65717a;
    overflow-wrap: anywhere;
}
@media (max-width: 700px) {
    .public-list-share {
        grid-template-columns: minmax(0, 1fr);
    }
    .public-list-share > img {
        width: 180px;
    }
    .public-list-category-heading,
    .public-list-product {
        grid-template-columns: 90px minmax(0, 1fr);
        gap: 12px;
    }
    .public-list-category-heading > img,
    .public-list-product > img {
        width: 90px;
    }
    .public-list-specifications > div {
        grid-template-columns: minmax(90px, 0.4fr) minmax(0, 1fr);
        gap: 8px;
    }
    .public-list-header h1 {
        font-size: 32px;
    }
}
.sidebar-note {
    margin-top: 25px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 20px;
    border-top: 1px solid var(--line);
}
.sidebar-note .icon {
    color: var(--red);
}
.sidebar-note p {
    font-size: 10px;
    margin: 0;
}
.admin-main {
    min-width: 0;
}
.admin-main > .section-heading h1 {
    font-size: 31px;
}
.admin-main > .section-heading {
    margin-bottom: 25px;
}
.admin-main .two-column {
    gap: 20px;
}
.admin-main > h2 {
    font-size: 23px;
    margin-top: 32px;
}
.stat-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}
.stat-grid .panel {
    padding: 22px 18px;
}
.stat-grid .muted {
    font-size: 10px;
}
.stat-grid strong {
    display: block;
    font-size: 27px;
    margin-top: 10px;
    line-height: 1.1;
}
.activity-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 15px 0;
    border-bottom: 1px solid var(--line);
    font-size: 12px;
}
.activity-row small {
    display: block;
    color: #879299;
    font-size: 10px;
}
.table-wrap {
    width: 100%;
    overflow: auto;
    border: 1px solid var(--line);
    border-radius: 7px;
    background: white;
}
table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    font-size: 12px;
}
th {
    padding: 14px;
    background: #f1f3f4;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
}
td {
    padding: 14px;
    border-top: 1px solid var(--line);
}
.table-product {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 170px;
}
.table-product > img {
    height: 52px;
    width: 47px;
    object-fit: cover;
    border-radius: 3px;
}
.table-product strong {
    font-size: 11px;
    display: block;
}
.table-product small {
    display: block;
    font-size: 9px;
    color: var(--muted);
    margin-top: 3px;
}
.table-qr {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 8px;
    color: var(--red);
}
.table-qr img {
    width: 65px;
    height: 65px;
    max-width: none;
}
.table-wrap .btn {
    padding: 5px 10px;
    font-size: 10px;
    min-height: 30px;
}
.upload-preview {
    width: 110px;
    height: 110px;
    object-fit: cover;
    border-radius: 5px;
}
.admin-qr {
    display: flex;
    gap: 25px;
    align-items: center;
}
.admin-qr > img {
    width: 190px;
    height: 190px;
}
.admin-qr .btn {
    margin: 5px 5px 5px 0;
    font-size: 10px;
    padding: 10px 15px;
}
.wrap-anywhere {
    overflow-wrap: anywhere;
}
.category-admin {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 16px;
}
.category-admin > img {
    width: 70px;
    height: 65px;
    object-fit: cover;
    border-radius: 4px;
}
.category-qr > img {
    width: 160px;
    height: 160px;
    object-fit: contain;
}
.category-admin h3 {
    font-size: 15px;
    margin: 0 0 6px;
}
.category-admin p {
    margin: 0;
    font-size: 10px;
}
.partner-list {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px;
    font-size: 12px;
}
.partner-list:hover {
    border-color: var(--red);
}
.partner-list span {
    font-size: 10px;
    color: var(--muted);
}
.partner-access-form {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 14px;
    align-items: center;
    padding: 18px;
}
.partner-access-form > label:not(.check-label) {
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 10px;
}
.partner-access-form textarea {
    min-height: 55px;
    height: 65px;
}
.partner-access-form .btn {
    justify-self: end;
}
.token-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
}
.token-row strong {
    font-size: 12px;
}
.token-row p,
.token-row small {
    font-size: 10px;
    margin: 6px 0;
}
.token-row .btn {
    font-size: 10px;
    min-height: 35px;
    padding: 8px 14px;
}
.qr-directory-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 16px;
}
.qr-directory-header {
    padding: 24px 0;
    text-align: center;
    border-bottom: 1px solid #ddd;
    break-inside: avoid;
}
.qr-directory-header .qr-directory-logo {
    display: block;
    width: auto;
    height: auto;
    max-width: 220px;
    max-height: 90px;
    object-fit: contain;
    margin: 0 auto 12px;
}
.qr-directory-header h1 { margin: 0 0 8px; }
.qr-directory-title { margin: 0 0 12px; }
.qr-directory-contacts p { margin: 4px 0; overflow-wrap: anywhere; }
.qr-directory-group { margin: 24px 0; }
.qr-directory-card {
    border: 1px solid #ddd;
    padding: 12px;
    text-align: center;
    background: #fff;
    color: #000;
    break-inside: avoid;
}
.qr-directory-card img { width: 160px; height: 160px; margin: 0 auto; }
.qr-directory-card h3 { font-size: 14px; overflow-wrap: anywhere; margin: 8px 0 0; }
@media print {
    body > .print-sheet.qr-directory { padding: 0; }
    .print-sheet .qr-directory-header { padding: 0 0 5mm; }
    .print-sheet .qr-directory-header .qr-directory-logo {
        width: auto;
        height: auto;
        max-width: 55mm;
        max-height: 22mm;
        margin: 0 auto 3mm;
        image-rendering: auto;
    }
    .print-sheet .qr-directory-contacts a { color: #000; text-decoration: none; }
    .print-sheet.qr-directory h1 { font-size: 16pt; }
    .print-sheet .qr-directory-group h2 { font-size: 12pt; break-after: avoid; text-align: left; }
    .print-sheet .qr-directory-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4mm; }
    .print-sheet .qr-directory-card { padding: 3mm; }
    .print-sheet .qr-directory-card img { width: 38mm; height: 38mm; margin: 0 auto; }
    .print-sheet .qr-directory-card h3 { font-size: 9pt; }
}
.print-sheet {
    display: none;
}
@media (min-width: 1500px) {
    .container {
        width: min(1280px, calc(100% - 120px));
    }
    .hero {
        height: 510px;
    }
    .hero-content h1 {
        font-size: 65px;
    }
    .category-photo {
        height: 185px;
    }
    .product-photo {
        height: 250px;
    }
}
@media (max-width: 1100px) {
    .container {
        width: calc(100% - 48px);
    }
    .header-main {
        gap: 28px;
    }
    .brand > span {
        font-size: 22px;
    }
    .header-actions > a > span {
        display: none;
    }
    .about-section {
        gap: 25px;
        grid-template-columns: 1fr 1fr;
    }
    .about-values {
        display: none;
    }
    .benefits-grid > div {
        padding-inline: 20px;
    }
    .product-photo {
        height: 190px;
    }
    .category-photo {
        height: 145px;
    }
    .footer-grid {
        gap: 30px;
    }
    .admin-layout {
        grid-template-columns: 180px 1fr;
        gap: 25px;
    }
    .admin-main .two-column {
        grid-template-columns: 1fr;
    }
    .stat-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .partner-product {
        flex-direction: column;
    }
    .partner-product-image > img {
        width: 100%;
        height: 200px;
    }
    .hero-content h1 {
        font-size: 52px;
    }
    .newsletter form {
        min-width: 330px;
    }
}
@media (max-width: 760px) {
    .container {
        width: calc(100% - 32px);
    }
    .topbar-inner {
        justify-content: center;
        min-height: 29px;
        font-size: 9px;
    }
    .topbar-inner > span:first-child,
    .topbar-inner > a {
        display: none;
    }
    .header-main {
        height: auto;
        min-height: 76px;
        padding-block: 12px;
        gap: 20px;
        flex-wrap: wrap;
        position: relative;
    }
    .brand > span {
        font-size: 23px;
    }
    .brand small {
        font-size: 6px;
    }
    .header-main > .search {
        display: flex;
        order: 3;
        flex: 1 0 100%;
        min-height: 46px;
    }
    .header-main > .search input { font-size: 16px; }
    .header-main > .search button { width: 46px; }
    .header-actions {
        margin-left: auto;
        gap: 22px;
    }
    .menu-toggle {
        display: grid;
        place-items: center;
        flex-shrink: 0;
        width: 40px;
        height: 44px;
        padding: 0;
        border: 1px solid #f2dce1;
        border-radius: 12px;
        background: #fff4f6;
        color: var(--red);
        -webkit-appearance: none;
        appearance: none;
    }
    .menu-toggle:hover,
    .menu-toggle[aria-expanded="true"] { background: var(--red); color: #fff; border-color: var(--red); }
    .nav-inner {
        height: 42px;
    }
    .nav-links {
        gap: 24px;
    }
    .nav-links a {
        font-size: 9px;
    }
    .partner-nav {
        font-size: 9px;
    }
    .partner-nav .icon {
        display: none;
    }
    .nav.is-open .nav-links {
        display: flex;
    }
    .hero {
        height: 430px;
    }
    .hero-img {
        object-position: 62% center;
    }
    .hero-shade {
        background: linear-gradient(90deg, #152a2ecf, #152a2e33);
    }
    .hero-content h1 {
        font-size: 47px;
        max-width: 330px;
        line-height: 1.08;
    }
    .hero-content p {
        font-size: 12px;
        max-width: 290px;
    }
    .hero-content .eyebrow {
        font-size: 8px;
    }
    .hero-buttons .btn {
        font-size: 11px;
        min-height: 42px;
        padding: 10px 16px;
    }
    .hero-side-note {
        display: none;
    }
    .hero-controls {
        left: 24px;
    }
    .benefits-grid {
        padding: 19px 0;
        gap: 10px;
    }
    .benefits-grid > div {
        flex-direction: column;
        text-align: center;
        padding: 0 5px;
        gap: 8px;
    }
    .benefits-grid > div:first-child {
        padding-left: 0;
    }
    .benefits .icon {
        width: 24px;
        height: 24px;
    }
    .benefits h3 {
        font-size: 10px;
    }
    .benefits p {
        font-size: 8px;
    }
    .about-section {
        padding-block: 35px;
        gap: 24px;
    }
    .about-image {
        height: 255px;
    }
    .about-copy h2 {
        font-size: 24px;
    }
    .about-copy .eyebrow {
        font-size: 8px;
        letter-spacing: 1px;
    }
    .about-copy p {
        font-size: 11px;
        line-height: 1.8;
    }
    .image-note {
        left: 10px;
        bottom: 10px;
        font-size: 9px;
        padding: 10px;
        gap: 8px;
    }
    .image-note .icon {
        width: 20px;
    }
    .section {
        padding-block: 30px;
    }
    .section-heading {
        gap: 12px;
        align-items: center;
    }
    .section-heading h2 {
        font-size: 25px;
    }
    .section-heading .eyebrow {
        font-size: 7px;
        letter-spacing: 1px;
    }
    .section-heading .text-link {
        font-size: 10px;
        gap: 5px;
        max-width: 110px;
        line-height: 1.5;
    }
    .category-grid,
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }
    .category-photo {
        height: 170px;
    }
    .category-card h3 {
        font-size: 13px;
    }
    .category-card p {
        font-size: 8px;
    }
    .product-photo {
        height: 220px;
    }
    .product-copy {
        padding: 13px;
    }
    .product-name {
        font-size: 13px;
    }
    .product-small {
        font-size: 9px;
    }
    .offer-copy {
        padding: 28px 24px;
        max-width: 65%;
    }
    .offer-copy h2 {
        font-size: 28px;
    }
    .offer-copy p {
        font-size: 10px;
    }
    .offer-banner {
        min-height: 275px;
    }
    .offer-seal {
        right: 18px;
        top: 25px;
        width: 80px;
        height: 80px;
        font-size: 5px;
    }
    .offer-seal strong {
        font-size: 25px;
    }
    .help-inner {
        gap: 17px;
        flex-wrap: wrap;
        padding-block: 28px;
    }
    .help-icon {
        width: 50px;
        height: 50px;
    }
    .help-inner > div:nth-child(2) {
        flex: 1;
    }
    .help-inner h2 {
        font-size: 21px;
    }
    .help-inner p {
        font-size: 10px;
    }
    .help-inner > .btn {
        margin-left: 67px;
        min-height: 40px;
        font-size: 10px;
    }
    .newsletter-inner {
        flex-direction: column;
        align-items: stretch;
        gap: 17px;
    }
    .newsletter-title {
        justify-content: center;
    }
    .newsletter form {
        min-width: 0;
        width: 100%;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
        padding-block: 35px;
    }
    .footer-bottom {
        flex-direction: column;
        gap: 10px;
    }
    .footer-bottom > div {
        gap: 15px;
        flex-wrap: wrap;
    }
    .page-content {
        padding-block: 25px 40px;
    }
    .page-heading {
        padding-block: 12px 22px;
    }
    .page-heading h1 {
        font-size: 32px;
    }
    .catalog-toolbar {
        flex-wrap: wrap;
        padding: 13px;
        gap: 8px;
    }
    .catalog-toolbar .search {
        flex-basis: 100%;
    }
    .catalog-toolbar select {
        flex: 1;
        min-width: 0;
        font-size: 10px;
    }
    .catalog-toolbar .btn {
        min-height: 40px;
        font-size: 10px;
        padding: 8px 13px;
    }
    .product-detail,
    .detail-bottom {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    /* Show the product summary immediately after the photo on phones. */
    .product-detail > .detail-left { display: contents; }
    .product-detail .detail-image { order: 0; }
    .product-detail > .detail-copy { order: 1; }
    .product-detail .detail-information { order: 2; margin-top: 0; }
    .detail-image {
        max-height: 430px;
    }
    .detail-image img {
        max-height: 430px;
    }
    .detail-copy {
        padding-top: 0;
    }
    .detail-copy h1 {
        font-size: 32px;
    }
    .detail-bottom {
        margin-top: 30px;
    }
    .qr-body {
        justify-content: flex-start;
    }
    .story-grid {
        grid-template-columns: 1fr;
        gap: 27px;
    }
    .story-grid > img {
        height: 330px;
    }
    .values-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    .two-column,
    .checkout-grid,
    .auth-layout {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    .checkout-summary-first > .order-summary {
        order: -1;
    }
    .contact-info {
        padding: 10px 15px;
    }
    .auth-layout {
        max-width: 500px;
        margin-top: 0;
    }
    .auth-intro {
        display: none;
    }
    .auth-form {
        padding: 25px;
    }
    .cart-row {
        gap: 12px;
    }
    .cart-row > img {
        width: 55px;
        height: 65px;
    }
    .cart-row > a {
        font-size: 11px;
    }
    .cart-row strong {
        font-size: 12px;
    }
    .cart-row input {
        width: 55px;
        padding: 8px;
    }
    .partner-grid {
        grid-template-columns: 1fr;
    }
    .partner-product {
        flex-direction: row;
    }
    .partner-product-image > img {
        width: 125px;
        height: 180px;
    }
    .admin-layout {
        grid-template-columns: 1fr;
        padding-top: 20px;
        gap: 22px;
    }
    .admin-sidebar {
        position: static;
    }
    .admin-sidebar > .eyebrow,
    .admin-sidebar > h2,
    .sidebar-note {
        display: none;
    }
    .admin-sidebar nav {
        flex-direction: row;
        overflow: auto;
        gap: 7px;
        padding-bottom: 8px;
    }
    .admin-sidebar nav > a {
        white-space: nowrap;
        border: 1px solid var(--line);
        font-size: 10px;
        padding: 10px 12px;
    }
    .admin-sidebar nav > a > span {
        display: none;
    }
    .admin-main > .section-heading h1 {
        font-size: 27px;
    }
    .form-grid {
        gap: 13px;
    }
    .admin-qr {
        flex-direction: column;
        gap: 10px;
        align-items: flex-start;
    }
    .partner-access-form {
        grid-template-columns: 1fr;
    }
    .partner-access-form .btn {
        justify-self: start;
    }
    .token-row {
        flex-direction: column;
        align-items: flex-start;
    }
    .empty-state h1 {
        font-size: 29px;
    }
    .legal-copy h1 {
        font-size: 34px;
    }
}
@media (max-width: 420px) {
    .nav-links {
        gap: 17px;
    }
    .partner-nav {
        font-size: 8px;
    }
    .hero-content h1 {
        font-size: 42px;
        max-width: 280px;
    }
    .about-section {
        grid-template-columns: 1fr;
    }
    .about-image {
        height: 250px;
    }
    .about-copy {
        padding-top: 5px;
    }
    .about-copy h2 br {
        display: none;
    }
    .product-photo {
        height: 172px;
    }
    .category-photo {
        height: 140px;
    }
    .category-card > div:last-child {
        padding: 13px 11px;
    }
    .category-card p {
        max-width: 85%;
        min-height: 26px;
    }
    .circle-arrow {
        right: 8px;
    }
    .product-name {
        font-size: 11px;
        min-height: 30px;
    }
    .product-small {
        font-size: 8px;
    }
    .product-category {
        font-size: 7px;
    }
    .price {
        font-size: 14px;
    }
    .product-btn {
        font-size: 9px;
    }
    .offer-copy {
        max-width: 73%;
        padding: 25px 20px;
    }
    .offer-copy h2 {
        font-size: 25px;
    }
    .offer-copy .eyebrow {
        font-size: 6px;
    }
    .offer-seal {
        width: 64px;
        height: 64px;
        right: 12px;
        top: 23px;
    }
    .offer-seal strong {
        font-size: 21px;
    }
    .offer-copy p {
        max-width: 175px;
    }
    .help-inner h2 {
        font-size: 19px;
    }
    .qr-panel {
        padding: 18px;
    }
    .qr-body {
        gap: 10px;
    }
    .qr-body > img {
        width: 120px;
        height: 120px;
    }
    .qr-body .btn {
        font-size: 9px;
        padding: 8px 10px;
    }
    .form-grid {
        grid-template-columns: 1fr;
    }
    .partner-product {
        flex-direction: column;
    }
    .partner-product-image > img {
        width: 100%;
        height: 220px;
    }
}
@media (max-width: 760px) {
    .nav {
        display: none;
    }
    .nav.is-open {
        display: block;
    }
    .nav.is-open .nav-inner {
        height: auto;
        padding-block: 13px;
        align-items: flex-start;
    }
    .nav.is-open .nav-links {
        flex-direction: column;
        gap: 0;
    }
    .nav.is-open .nav-links a {
        padding-block: 9px;
    }
    .nav.is-open .nav-links a.active:after {
        display: none;
    }
    .nav.is-open .partner-nav {
        padding-top: 9px;
    }
}
.language-switch {
    display: flex;
    align-items: center;
    gap: 2px;
    padding: 3px;
    border: 1px solid var(--line);
    border-radius: 5px;
    flex-shrink: 0;
}
.language-switch a {
    font-size: 10px;
    font-weight: 700;
    line-height: 1;
    padding: 7px 6px;
    border-radius: 3px;
    color: var(--muted);
}
.language-switch a.selected {
    background: var(--red);
    color: white;
}
.language-switch a:hover {
    background: #fce8ed;
    color: var(--red);
}
.language-switch a.selected:hover {
    background: var(--red-dark);
    color: white;
}
html[lang='sq'] .hero-content h1 {
    font-size: 54px;
}
html[lang='sq'] .benefits h3 {
    line-height: 1.4;
}
.header-main > .search {
    min-width: 140px;
}
@media (max-width: 760px) {
    .header-actions {
        gap: 15px;
    }
    .header-main {
        gap: 10px;
    }
    .header-main .brand > span {
        font-size: 21px;
    }
    .header-main .brand small {
        font-size: 5px;
        letter-spacing: 1px;
    }
    .language-switch a {
        padding: 7px 5px;
        font-size: 9px;
    }
    html[lang='sq'] .hero-content h1 {
        font-size: 44px;
    }
    .hero-buttons {
        flex-wrap: wrap;
    }
    .qr-body > div {
        min-width: 0;
    }
    .qr-body .btn {
        white-space: normal;
        text-align: center;
    }
    .qr-body > img {
        flex-shrink: 0;
    }
    .section-heading {
        flex-wrap: wrap;
    }
}
@media (max-width: 420px) {
    .header-actions {
        gap: 12px;
    }
    .header-main .brand > span {
        font-size: 18px;
    }
    .header-main .brand i {
        font-size: 21px;
    }
    .header-main .brand small {
        font-size: 4.5px;
        letter-spacing: 0.6px;
    }
    .header-actions .icon {
        width: 18px;
    }
    .language-switch {
        padding: 2px;
    }
    .language-switch a {
        padding: 7px 4px;
    }
    html[lang='sq'] .hero-content h1 {
        font-size: 40px;
    }
    .qr-body {
        flex-wrap: wrap;
    }
    .qr-body > div {
        flex: 1;
        min-width: 140px;
    }
}
@media (max-width: 350px) {
    .header-actions {
        gap: 8px;
    }
    .header-main .brand > span {
        font-size: 16px;
    }
    .header-main .brand small {
        font-size: 4px;
    }
    .header-main .brand i {
        font-size: 18px;
    }
}
.delete-product-form {
    margin-top: 10px;
}
.btn-danger {
    color: var(--red);
    border-color: #e7b5bf;
}
.expiry-option {
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 5px;
    background: var(--cream);
    cursor: pointer;
}
input:disabled {
    background: #f1f2f3;
    color: #859096;
    cursor: not-allowed;
}
.category-admin > div {
    min-width: 0;
}
.category-admin h3 {
    overflow-wrap: anywhere;
}
.category-admin .button-row {
    margin-top: 12px;
}
.footer-certificate {
    display: flex;
    align-items: center;
    gap: 22px;
    border-top: 1px solid #ffffff16;
    padding-block: 24px;
}
.certificate-thumbnail {
    display: block;
    flex-shrink: 0;
    background: white;
    padding: 8px;
    border-radius: 5px;
}
.certificate-thumbnail img {
    width: 100px;
    height: 125px;
    object-fit: contain;
}
.footer-certificate h4 {
    margin-bottom: 10px;
    font-size: 15px;
}
.footer-certificate a {
    color: inherit;
    font-size: 13px;
}
.footer-certificate a:hover {
    text-decoration: underline;
}
.footer-certificate .icon {
    width: 16px;
    height: 16px;
    margin-left: 7px;
}
.certificate-preview {
    max-width: 260px;
    max-height: 320px;
    object-fit: contain;
    border: 1px solid var(--line);
    border-radius: 5px;
    padding: 8px;
}
.certificate-preview[hidden] {
    display: none;
}
.footer-bottom {
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
}
.footer-bottom > div {
    align-items: center;
    flex-wrap: wrap;
}
.developer-credit {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #b9c3c9;
    line-height: 1.5;
}
.developer-credit img {
    width: 36px;
    height: 36px;
    object-fit: contain;
    flex-shrink: 0;
}
.developer-credit span {
    font-size: 11px;
}
.developer-credit strong {
    display: block;
    color: #fff;
    font-size: 12px;
    font-weight: 600;
}
.developer-credit:hover strong {
    text-decoration: underline;
    text-underline-offset: 3px;
}
.order-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-items: flex-end;
}
.order-filters label {
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 14px;
}
.order-filters input,
.order-filters select {
    min-height: 46px;
}
.order-filters .text-link {
    align-self: center;
}
.order-filters [hidden] {
    display: none;
}
.order-status-report {
    margin-bottom: 24px;
}
.order-report-stats strong {
    font-size: clamp(18px, 2vw, 27px);
    overflow-wrap: anywhere;
}
.dimagra-hero {
    background: linear-gradient(125deg, #f9eff1, #f5f7f4);
    border-bottom: 1px solid var(--line);
}
.dimagra-hero-inner {
    padding-block: 65px;
}
.dimagra-hero h1 {
    font-size: clamp(40px, 6vw, 68px);
    margin-bottom: 20px;
    max-width: 850px;
    overflow-wrap: anywhere;
}
.dimagra-hero p {
    max-width: 760px;
    line-height: 1.9;
    font-size: 17px;
}
.dimagra-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    padding-block: 24px;
}
.dimagra-nav a {
    padding: 9px 16px;
    border: 1px solid var(--line);
    border-radius: 25px;
    font-size: 13px;
}
.dimagra-nav a:hover {
    color: var(--red);
    border-color: var(--red);
}
.dimagra-content {
    padding-bottom: 65px;
}
.dimagra-section {
    display: grid;
    grid-template-columns: 1fr 1.6fr;
    gap: 50px;
    padding: 45px 0;
    border-bottom: 1px solid var(--line);
    scroll-margin-top: 25px;
}
.dimagra-number {
    display: inline-flex;
    color: var(--red);
    background: #faedf0;
    border-radius: 50%;
    width: 45px;
    height: 45px;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
    margin-bottom: 17px;
}
.dimagra-section h2 {
    font-size: 29px;
    overflow-wrap: anywhere;
}
.dimagra-prose {
    font-size: 16px;
    line-height: 1.9;
    overflow-wrap: anywhere;
}
.dimagra-prose .muted {
    font-size: 14px;
}
.dimagra-phases {
    padding-block: 45px;
    scroll-margin-top: 25px;
}
.dimagra-phase-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}
.dimagra-phase {
    border: 1px solid var(--line);
    border-top: 3px solid var(--red);
    border-radius: 7px;
    padding: 28px;
    background: #fcfcfb;
}
.dimagra-phase h3 {
    font-size: 23px;
    overflow-wrap: anywhere;
}
.dimagra-gallery-grid {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: calc((100% - 48px) / 3);
    gap: 24px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
}
.dimagra-gallery-grid::-webkit-scrollbar {
    display: none;
}
.dimagra-gallery-grid:focus-visible {
    outline: 2px solid var(--red);
    outline-offset: 2px;
}
.dimagra-gallery figure {
    margin: 0;
    min-width: 0;
    scroll-snap-align: start;
}
.dimagra-gallery img {
    width: 100%;
    height: 280px;
    object-fit: contain;
    background: var(--cream);
    border-radius: 8px;
}
.dimagra-gallery figcaption {
    font-size: 13px;
    color: var(--muted);
    margin-top: 12px;
    overflow-wrap: anywhere;
}
.dimagra-gallery a[data-dimagra-image-open] { display: block; cursor: zoom-in; }
.dimagra-image-dialog {
    width: min(1200px, calc(100% - 24px));
    max-height: calc(100dvh - 24px);
    margin: auto;
    padding: 56px 64px 16px;
    border: 0;
    border-radius: 12px;
    background: #fff;
    overflow: auto;
}
.dimagra-image-dialog::backdrop { background: #202a2fcc; }
.dimagra-image-dialog > img {
    width: 100%;
    height: min(75dvh, 850px);
    object-fit: contain;
}
.dimagra-image-prev, .dimagra-image-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border: 1px solid #edc1cb;
    border-radius: 50%;
    background: #fff0f3;
    color: var(--red);
    font-size: 24px;
}
.dimagra-image-prev { left: 10px; }
.dimagra-image-next { right: 10px; }
.dimagra-image-caption { margin: 12px 0 0; text-align: center; overflow-wrap: anywhere; }
@media (max-width: 760px) {
    .dimagra-image-dialog { padding: 56px 12px 76px; }
    .dimagra-image-dialog > img { height: 60dvh; }
    .dimagra-image-prev, .dimagra-image-next { top: auto; bottom: 14px; transform: none; }
    .dimagra-image-prev { left: calc(50% - 54px); }
    .dimagra-image-next { right: calc(50% - 54px); }
}
.dimagra-editor-language > .form-stack {
    padding-top: 24px;
}
.dimagra-editor-language summary {
    font-size: 17px;
}
.dimagra-image-editor {
    display: flex;
    flex-direction: column;
}
.dimagra-upload-preview {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}
.dimagra-upload-preview img {
    width: 100px;
    height: 100px;
    object-fit: contain;
    border: 1px solid var(--line);
    border-radius: 5px;
}
@media (max-width: 760px) {
    .dimagra-hero-inner {
        padding-block: 40px;
    }
    .dimagra-section {
        grid-template-columns: 1fr;
        gap: 8px;
        padding-block: 30px;
    }
    .dimagra-phase-grid {
        grid-template-columns: 1fr;
    }
    .dimagra-gallery-grid {
        grid-auto-columns: calc((100% - 24px) / 2);
    }
    .dimagra-gallery img {
        height: 210px;
    }
    .dimagra-nav {
        gap: 8px;
    }
    .dimagra-nav a {
        font-size: 12px;
        padding: 8px 12px;
    }
}
@media (max-width: 420px) {
    .dimagra-gallery-grid {
        grid-auto-columns: 100%;
    }
}
.dimagra-hero-inner.has-intro-image {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    gap: 48px;
    align-items: center;
}
.dimagra-hero-copy {
    min-width: 0;
}
.dimagra-intro-image {
    min-width: 0;
}
.dimagra-intro-image img {
    display: block;
    width: 100%;
    max-height: 640px;
    object-fit: contain;
    border-radius: 12px;
}
.has-intro-image .dimagra-hero-copy p {
    max-width: none;
    overflow-wrap: anywhere;
}
@media (max-width: 760px) {
    .dimagra-hero-inner.has-intro-image {
        grid-template-columns: minmax(0, 1fr);
        gap: 28px;
    }
    .dimagra-intro-image img {
        max-height: 440px;
    }
}
.dimagra-phase {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
.dimagra-phase-photo {
    display: block;
    align-self: stretch;
    margin-bottom: 22px;
}
.dimagra-phase-photo img {
    width: 100%;
    height: 210px;
    object-fit: contain;
    border-radius: 6px;
    background: white;
}
.dimagra-phase-button {
    margin-top: auto;
    align-self: flex-start;
}
.dimagra-phase > .dimagra-prose {
    padding-bottom: 24px;
}
.dimagra-phase h3 a:hover {
    color: var(--red);
}
.dimagra-phase-detail {
    padding-block: 25px 45px;
}
.dimagra-phase-detail.with-image {
    display: flow-root;
}
.dimagra-phase-detail-photo {
    float: right;
    width: calc((100% - 50px) / 2.2);
    margin: 0 0 20px 50px;
}
.dimagra-phase-detail h1 {
    overflow-wrap: anywhere;
}
.dimagra-phase-lead {
    font-size: 18px;
    line-height: 1.8;
    overflow-wrap: anywhere;
}
.dimagra-phase-detail-photo img {
    display: block;
    width: 100%;
    max-height: 640px;
    object-fit: contain;
    border-radius: 10px;
    background: var(--cream);
}
.dimagra-phase-navigation {
    border-top: 1px solid var(--line);
    padding-top: 25px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}
@media (max-width: 760px) {
    .dimagra-phase-detail-photo {
        float: none;
        display: block;
        width: 100%;
        margin: 0 0 20px;
    }
    .dimagra-phase-detail h1 {
        font-size: 32px;
    }
    .dimagra-phase-navigation .btn {
        padding-inline: 14px;
    }
}
/* Readable text sizes for storefront content and administration. */
body {
    font-size: 16px;
}
.nav-links a,
.partner-nav,
.header-actions > a,
.search input {
    font-size: 13px;
}
.btn,
.text-link,
.section-heading .text-link {
    font-size: 14px;
}
.hero-content p {
    font-size: 16px;
}
.about-copy p,
.about-values p,
.category-card p,
.product-small,
.help-inner p {
    font-size: 13px;
}
.benefits h3,
.about-values h4,
.category-card h3,
.product-name {
    font-size: 15px;
}
.benefits p,
.product-category,
.fine-print,
.small-link,
.breadcrumbs {
    font-size: 12px;
}
.product-small {
    white-space: normal;
    line-height: 1.6;
    min-height: 42px;
}
.product-name {
    min-height: 40px;
}
.price {
    font-size: 19px;
}
.price del {
    font-size: 13px;
}
.product-btn {
    font-size: 13px;
    min-height: 40px;
}
.category-card > div:last-child {
    padding-right: 40px;
}
.category-card p {
    max-width: 100%;
}
.offer-copy p,
.newsletter p,
.newsletter input,
.newsletter button {
    font-size: 13px;
}
.newsletter h3 {
    font-size: 18px;
}
.newsletter-inner {
    gap: 24px;
}
.newsletter-title {
    min-width: 0;
}
.footer h4 {
    font-size: 14px;
}
.footer-grid > div > a:not(.brand),
.footer-grid > div > p,
.footer-about p,
.footer-note,
.footer-bottom {
    font-size: 12px;
}
.page-heading p,
.panel p,
.description,
details p,
.info-box {
    font-size: 14px;
}
.form-stack label,
.form-grid label,
fieldset label,
.check-label,
.form-stack .check-label {
    font-size: 14px;
}
input,
textarea,
select {
    font-size: 16px;
}
.form-stack small {
    font-size: 12px;
}
.admin-sidebar nav > a,
.table-product strong,
.table-wrap .btn,
.partner-list,
.activity-row {
    font-size: 13px;
}
table {
    font-size: 14px;
}
th,
.table-product small,
.table-qr,
.activity-row small,
.stat-grid .muted {
    font-size: 12px;
}
.qr-header p,
.qr-body .btn,
.admin-qr .btn {
    font-size: 13px;
}
@media (max-width: 1100px) {
    .newsletter-inner {
        flex-wrap: wrap;
    }
    .newsletter form {
        flex: 1;
    }
    .footer-grid {
        gap: 24px;
    }
}
@media (max-width: 760px) {
    .nav-links a,
    .partner-nav {
        font-size: 13px;
    }
    .hero-buttons .btn,
    .hero-content p {
        font-size: 14px;
    }
    .benefits h3 {
        font-size: 12px;
    }
    .benefits p {
        font-size: 11px;
    }
    .benefits-grid {
        gap: 5px;
    }
    .about-copy p,
    .category-card p,
    .product-small {
        font-size: 12px;
    }
    .category-card h3,
    .product-name {
        font-size: 14px;
    }
    .product-category {
        font-size: 10px;
    }
    .product-btn {
        font-size: 12px;
        padding-inline: 9px;
        gap: 5px;
    }
    .section-heading .text-link {
        font-size: 12px;
        max-width: none;
    }
    .help-inner p {
        font-size: 13px;
    }
    .help-inner > .btn {
        font-size: 13px;
    }
    .offer-copy {
        max-width: 78%;
    }
    .offer-copy p {
        font-size: 13px;
    }
    .offer-copy .btn {
        font-size: 12px;
        white-space: normal;
    }
    .newsletter form {
        flex: auto;
    }
    .newsletter h3 {
        font-size: 17px;
    }
    .newsletter p {
        font-size: 12px;
    }
    .footer-bottom > div {
        gap: 12px;
    }
    .admin-sidebar nav > a {
        font-size: 12px;
    }
    .catalog-toolbar select,
    .catalog-toolbar .btn {
        font-size: 13px;
    }
    .qr-body {
        flex-wrap: wrap;
    }
    .qr-body .btn {
        font-size: 13px;
    }
    .qr-body > div {
        min-width: 145px;
    }
    .auth-form > p:last-child {
        font-size: 14px;
    }
    .cart-row > a,
    .cart-row strong {
        font-size: 13px;
    }
}
@media (max-width: 420px) {
    .product-name {
        font-size: 13px;
    }
    .product-btn {
        font-size: 11px;
    }
    .price {
        font-size: 17px;
    }
    .category-card > div:last-child {
        padding-right: 30px;
    }
    .category-card p {
        min-height: 38px;
    }
    .offer-copy {
        padding-right: 12px;
    }
    .hero {
        min-height: 460px;
    }
    .hero-content p {
        max-width: 280px;
    }
}
@media (prefers-reduced-motion: reduce) {
    * {
        scroll-behavior: auto !important;
        transition: none !important;
    }
}
@media print {
    body > * {
        display: none !important;
    }
    body[data-print-public-list] > main {
        display: block !important;
    }
    body[data-print-public-list] .public-list-page {
        display: block !important;
        width: 100%;
        max-width: none;
        margin: 0;
        padding: 0;
    }
    body[data-print-public-list] .public-list-actions {
        display: none !important;
    }
    body[data-print-public-list] .public-list-header {
        break-inside: avoid;
    }
    body[data-print-public-list] .public-list-category-heading {
        break-inside: avoid;
        break-after: avoid;
    }
    body[data-print-public-list] .public-list-product {
        break-inside: avoid;
        grid-template-columns: 32mm minmax(0, 1fr);
        gap: 6mm;
        padding: 5mm 0;
    }
    body[data-print-public-list] .public-list-product > img {
        width: 32mm;
    }
    body[data-print-public-list] .public-list-category-heading {
        grid-template-columns: 32mm minmax(0, 1fr);
    }
    body[data-print-public-list] .public-list-category-heading > img {
        width: 32mm;
    }
    body[data-print-public-list] .public-list-header h1 {
        font-size: 24pt;
    }
    body[data-print-public-list] .public-list-category h2 {
        font-size: 17pt;
    }
    body[data-print-public-list] .public-list-product h3 {
        font-size: 12pt;
    }
    body[data-print-public-list] .public-list-specifications {
        font-size: 9pt;
    }
    body[data-print-public-list] .public-list-page img {
        print-color-adjust: exact;
        -webkit-print-color-adjust: exact;
    }
    body > .print-sheet {
        display: block !important;
        color: #000;
        text-align: center;
        padding: 20mm;
    }
    .print-sheet img {
        width: 60mm;
        height: 60mm;
        margin: 8mm auto;
        image-rendering: pixelated;
    }
    .print-sheet h1 {
        font-size: 20pt;
    }
    .print-sheet p {
        color: #000;
        font-size: 9pt;
        overflow-wrap: anywhere;
    }
    .print-sheet .print-caption {
        max-width: 130mm;
        margin: 8mm auto;
        font-size: 8pt;
    }
}

.footer-social {
    display: flex;
    flex-wrap: nowrap;
    gap: 10px;
    margin-top: 20px;
}
.footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    padding: 10px;
    border: 1px solid #ffffff40;
    border-radius: 5px;
    color: inherit;
    font-size: 12px;
}
.footer-social a:hover,
.footer-social a:focus-visible {
    background: #ffffff16;
    color: #fff;
}
.footer-social .icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.contact-social .footer-social {
    margin-top: 12px;
}

.contact-social .footer-social a {
    border-color: var(--line);
    color: var(--red);
    font-size: 14px;
}

.contact-social .footer-social a:hover,
.contact-social .footer-social a:focus-visible {
    background: var(--red);
    border-color: var(--red);
    color: #fff;
}

.btn[data-register-submit]:disabled,
.btn[data-checkout-submit]:disabled {
    background: #d1d5db;
    border-color: #d1d5db;
    color: #626973;
    cursor: not-allowed;
    box-shadow: none;
}

.brand .brand-logo {
    display: block;
    width: auto;
    max-width: 230px;
    height: 64px;
    object-fit: contain;
    object-position: left center;
}
.footer-brand .brand-logo {
    max-width: 100%;
    height: auto;
    max-height: 72px;
}
.logo-preview {
    max-width: 280px;
    width: 100%;
    max-height: 150px;
    object-fit: contain;
    object-position: left center;
    border: 1px solid var(--line);
    padding: 12px;
    border-radius: 5px;
}
.logo-preview[hidden] {
    display: none;
}
@media (max-width: 760px) {
    .header-main .brand .brand-logo {
        max-width: 160px;
        height: 48px;
    }
}
@media (max-width: 420px) {
    .header-main .brand .brand-logo {
        max-width: 125px;
        height: 42px;
    }
}

/* Product wishlist controls and removable shopping items. */
.product-card,
.detail-image {
    position: relative;
}
.wishlist-toggle {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 2;
}
.wishlist-heart,
.item-remove {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    padding: 8px;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: #fff;
    color: var(--red);
    cursor: pointer;
}
.wishlist-heart .icon {
    width: 22px;
    height: 22px;
}
.wishlist-heart.is-saved .icon {
    fill: currentColor;
}
.wishlist-heart:disabled { cursor: progress; opacity: .65; }
.wishlist-feedback {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 100;
    width: max-content;
    max-width: calc(100% - 32px);
    padding: 12px 18px;
    border: 1px solid #edc1cb;
    border-radius: 8px;
    background: #fff;
    color: #a22020;
    box-shadow: 0 4px 20px #26352d18;
}
.wishlist-heart:hover,
.item-remove:hover {
    background: #fff0f3;
    border-color: var(--red);
}
.wishlist-heart:focus-visible,
.item-remove:focus-visible {
    outline: 2px solid var(--red);
    outline-offset: 3px;
}
.item-remove {
    font-size: 25px;
    line-height: 1;
}
.wishlist-items {
    display: grid;
    gap: 18px;
}
.wishlist-item {
    display: flex;
    align-items: center;
    gap: 22px;
    margin: 0;
}
.wishlist-item > a {
    flex-shrink: 0;
}
.wishlist-item img {
    width: 95px;
    height: 110px;
    object-fit: contain;
}
.wishlist-item-copy {
    flex: 1;
    min-width: 0;
}
.wishlist-item h2 {
    font-size: 18px;
    overflow-wrap: anywhere;
}
.wishlist-item-actions {
    display: flex;
    align-items: center;
    gap: 14px;
}
@media (max-width: 600px) {
    .wishlist-item {
        flex-wrap: wrap;
        gap: 14px;
    }
    .wishlist-item-actions {
        width: 100%;
        justify-content: space-between;
    }
    .cart-row {
        flex-wrap: wrap;
        gap: 12px;
    }
    .cart-row > a {
        min-width: 90px;
    }
}
@media (max-width: 480px) {
    .header-main {
        flex-wrap: wrap;
    }
    .header-actions {
        margin-left: auto;
    }
}
.promo-entry {
    display: grid;
    gap: 12px;
    border-top: 1px solid var(--line);
    margin-top: 20px;
    padding-top: 20px;
}
.promo-entry label {
    font-weight: 700;
}
.promo-entry small {
    color: var(--muted);
    line-height: 1.6;
}
.promo-discount {
    color: var(--red);
}
[data-promo-dates][hidden] {
    display: none;
}
.banner-is-open { overflow: hidden; }
.popup-banner {
    width: min(560px, calc(100% - 32px));
    max-height: 85vh;
    max-height: 85dvh;
    margin: auto;
    padding: 32px;
    border: 0;
    border-radius: 16px;
    color: var(--ink);
    background: #fff;
    box-shadow: 0 24px 80px #0003;
    overflow: auto;
}
.popup-banner::backdrop { background: #10252cb3; }
.popup-banner h2 { margin: 0 36px 22px 0; overflow-wrap: anywhere; }
.popup-banner-close {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 50%;
    background: #f2f5f5;
    color: var(--ink);
    font-size: 28px;
    cursor: pointer;
}
.popup-banner-text { white-space: pre-wrap; overflow-wrap: anywhere; line-height: 1.7; }
.popup-banner-image { display: block; width: 100%; height: auto; border-radius: 8px; }
.banner-preview { max-width: 100%; max-height: 240px; object-fit: contain; }
[data-banner-text][hidden], [data-banner-photo][hidden], .banner-preview[hidden] { display: none; }
@media (max-width: 760px) { .popup-banner { padding: 24px; } }

/* Browse every category without making the homepage longer. */
.category-grid.category-track {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    overscroll-behavior-x: contain;
    padding: 4px 2px 14px;
    scrollbar-width: thin;
}
.category-track .category-card {
    flex: 0 0 calc((100% - 60px) / 4);
    min-width: 0;
    scroll-snap-align: start;
}
.category-carousel-controls { display: flex; justify-content: flex-end; gap: 8px; margin-bottom: 12px; }
.category-carousel-controls button {
    width: 44px; height: 44px; display: grid; place-items: center;
    border: 1px solid var(--line); border-radius: 50%; background: #fff; color: var(--red); cursor: pointer;
}
.category-carousel-controls [data-category-prev] .icon { transform: rotate(180deg); }
.category-carousel-controls button:disabled { opacity: .35; cursor: default; }
.category-carousel-controls button:focus-visible, .category-track:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }
.pagination { flex-wrap: wrap; align-items: center; }
.pagination a, .pagination .disabled { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; }
.pagination .disabled { padding: 7px 15px; border: 1px solid var(--line); border-radius: 3px; color: #767676; }
.pagination .page-gap { padding: 7px 4px; }
@media (max-width: 1000px) {
    .category-track .category-card { flex-basis: calc((100% - 20px) / 2); }
}
@media (max-width: 600px) {
    .category-track .category-card { flex-basis: 82%; }
    .pagination { gap: 5px; }
    .pagination a, .pagination .disabled { padding: 7px 11px; }
}

/* Compact product actions, aligned with the wishlist badge. */
.product-card-tools {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.product-card-tools .wishlist-toggle { position: static; margin: 0; }
.product-card-tools .wishlist-heart,
.product-action-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    padding: 9px;
    border: 1px solid #e7e9e8;
    border-radius: 50%;
    background: #fff;
    color: var(--red);
    box-shadow: 0 2px 8px #26352d08;
    cursor: pointer;
    transition: background .18s, border-color .18s, transform .18s;
}
.product-action-badge .icon { width: 20px; height: 20px; }
.product-action-badge.whatsapp-badge { color: #168047; }
.product-action-badge:hover { background: #fff3f5; border-color: #edc1cb; transform: translateY(-1px); }
.product-action-badge.whatsapp-badge:hover { background: #eef9f2; border-color: #b9dec8; }
.product-action-badge:disabled { color: #a0a5a3; background: #f7f8f7; cursor: not-allowed; transform: none; }
.product-action-badge:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
.product-details-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 44px;
    padding: 12px 0 0;
    margin-top: 16px;
    border-top: 1px solid #eef0ee;
    color: #46544b;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
}
.product-details-arrow {
    display: grid;
    place-items: center;
    flex-shrink: 0;
    width: 26px;
    height: 26px;
    border: 1px solid #f0c4cd;
    border-radius: 50%;
    color: var(--red);
    transition: background .18s, transform .18s;
}
.product-details-arrow .icon { width: 14px; height: 14px; }
.product-details-link:hover { color: var(--red); }
.product-details-link:hover .product-details-arrow { background: #fff1f4; transform: translateX(2px); }
.product-details-link:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) {
    .product-action-badge, .product-details-arrow { transition: none; }
}

/* Order tracking stays in the same position on phones and desktop. */
.nav-links > .mobile-menu-track { display: none; }
@media (max-width: 760px) {
    .nav-links > .mobile-menu-track {
        display: flex;
        align-items: center;
        gap: 10px;
        min-height: 44px;
    }
    .mobile-menu-track .icon { width: 20px; height: 20px; }
}
.header-actions > .header-track {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    min-height: 44px;
    border-radius: 50%;
}
.header-track:hover { color: var(--red); background: #fff0f3; }
.header-track:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }
@media (min-width: 761px) {
    .floating-track { display: none !important; }
}
@media (max-width: 760px) {
    .header-actions > .header-track { display: none; }
}
.public-list-picker { max-height: 360px; overflow-y: auto; padding: 16px; border: 1px solid #dce2e5; border-radius: 8px; }
.floating-whatsapp {
    position: fixed;
    right: calc(20px + env(safe-area-inset-right, 0px));
    bottom: calc(20px + env(safe-area-inset-bottom, 0px));
    z-index: 60;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    border: 0;
    border-radius: 50%;
    background: #128c4a;
    color: #fff;
    box-shadow: 0 5px 22px #0003;
    cursor: pointer;
}
.floating-whatsapp .icon { width: 32px; height: 32px; }
.floating-whatsapp:hover, .whatsapp-chat-start:hover { background: #0b713a; }
.floating-whatsapp:focus-visible, .whatsapp-chat a:focus-visible, .whatsapp-chat button:focus-visible { outline: 3px solid #26352d; outline-offset: 3px; }
.whatsapp-chat {
    position: fixed;
    right: calc(20px + env(safe-area-inset-right, 0px));
    bottom: calc(90px + env(safe-area-inset-bottom, 0px));
    width: min(340px, calc(100vw - 40px));
    max-height: calc(100dvh - 110px);
    overflow: auto;
    z-index: 60;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 8px 32px #0003;
}
.whatsapp-chat[hidden] { display: none; }
.whatsapp-chat-header { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; background: #128c4a; color: #fff; }
.whatsapp-chat-header strong { display: flex; align-items: center; gap: 8px; }
.whatsapp-chat-header button { border: 0; background: transparent; color: #fff; font-size: 28px; cursor: pointer; padding: 0 6px; }
.whatsapp-chat-body { padding: 20px; background: #f1f5ef; }
.whatsapp-chat-body p { margin: 0 0 20px; padding: 14px; background: #fff; border-radius: 8px; }
.whatsapp-chat-start { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 12px; border-radius: 24px; background: #128c4a; color: #fff; text-decoration: none; font-weight: 600; }
@media print { .floating-whatsapp, .whatsapp-chat { display: none !important; } }
.floating-track {
    position: fixed;
    top: 50%;
    right: calc(16px + env(safe-area-inset-right, 0px));
    transform: translateY(-50%);
    z-index: 50;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-direction: row-reverse;
    gap: 0;
    min-height: 52px;
    min-width: 52px;
    padding: 13px;
    border: 1px solid #ffffff33;
    border-radius: 30px;
    background: var(--red);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
    box-shadow: 0 6px 22px #b20d343d, 0 2px 5px #0002;
}
.floating-track:hover { background: #b80c32; }
.floating-track:focus-visible { outline: 3px solid #26352d; outline-offset: 3px; }
.floating-track .icon { width: 24px; height: 24px; flex-shrink: 0; }
.floating-track span {
    max-width: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-width .2s ease, opacity .2s ease, margin-right .2s ease;
}
.floating-track:focus-visible span { max-width: 200px; opacity: 1; margin-right: 10px; }
@media (hover: hover) and (pointer: fine) {
    .floating-track:hover span { max-width: 200px; opacity: 1; margin-right: 10px; }
}
@media (prefers-reduced-motion: reduce) {
    .floating-track span { transition: none; }
}
.tracking-dialog {
    width: min(480px, calc(100% - 32px));
    max-height: calc(100dvh - 32px);
    overflow-y: auto;
    border: 1px solid #edf0ed;
    border-radius: 20px;
    padding: 32px;
    margin: auto;
    background: #fff;
    color: #25333b;
    box-shadow: 0 20px 80px #0003;
}
.tracking-dialog::backdrop { background: #192d3c80; backdrop-filter: blur(3px); }
.tracking-close {
    position: absolute; top: 10px; right: 10px; width: 44px; height: 44px;
    border: 0; border-radius: 50%; background: #f4f6f5; color: #25333b;
    font-size: 27px; cursor: pointer;
}
.tracking-symbol { display: inline-grid; place-items: center; width: 52px; height: 52px; background: #fff0f3; color: var(--red); border-radius: 16px; }
.tracking-symbol .icon { width: 28px; height: 28px; }
.tracking-dialog h2, .tracking-page h1 { margin: 18px 0 10px; font-size: 26px; }
.tracking-intro { color: #65736c; font-size: 14px; }
.tracking-form { display: grid; gap: 14px; margin-top: 22px; }
.tracking-form label { display: grid; gap: 8px; font-size: 13px; font-weight: 600; }
.tracking-form input[name="reference"] { width: 100%; font-size: 16px; letter-spacing: 1px; text-transform: uppercase; }
.tracking-form button { min-height: 46px; }
.tracking-form button:disabled { opacity: .65; cursor: wait; }
.tracking-result { margin-top: 22px; padding: 20px; background: #f0f7f3; border: 1px solid #d8e8de; border-radius: 12px; }
.tracking-reference { font-size: 12px; letter-spacing: 1px; color: #5c7163; }
.tracking-result h3 { margin: 8px 0; font-size: 22px; color: #176b3b; }
.tracking-result p { margin: 0; font-size: 14px; }
.tracking-result.is-error { background: #fff3f5; border-color: #f2d4dc; color: #a22020; }
.tracking-note { font-size: 12px; color: #6f7b74; margin: 16px 0 0; }
.tracking-page { max-width: 580px; }
@media (max-width: 600px) { .tracking-dialog { padding: 26px 20px; } }

.hero-arrow {
    position: absolute;
    bottom: 12px;
    z-index: 2;
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    padding: 10px;
    border: 1px solid #ffffff80;
    border-radius: 50%;
    background: #202a2fb3;
    color: #fff;
}
.hero-arrow:hover { background: var(--red); }
.admin-mobile-navigation,
.mobile-cell-label { display: none; }

/* Dashboard grids must shrink to the viewport even with long names and fields. */
.dashboard-page :is(.two-column, .form-grid, .stat-grid, .partner-grid) > * {
    min-width: 0;
}
.dashboard-page :is(fieldset, label, .search, .panel, .token-row > div) {
    min-width: 0;
}
.dashboard-page :is(p, h1, h2, h3, summary, legend, .partner-list) {
    overflow-wrap: anywhere;
}
.dashboard-page :is(input:not([type="checkbox"]):not([type="radio"]), select, textarea) {
    max-width: 100%;
}

@media (max-width: 1000px) {
    .admin-layout { grid-template-columns: minmax(0, 1fr); gap: 24px; }
    .admin-sidebar { position: static; }
    .admin-sidebar > .eyebrow,
    .admin-sidebar > h2,
    .admin-sidebar .sidebar-note { display: none; }
    .admin-sidebar nav {
        flex-direction: row;
        flex-wrap: wrap;
    }
    .admin-sidebar.has-mobile-navigation nav { display: none; }
    .admin-sidebar.has-mobile-navigation .admin-mobile-navigation {
        display: flex;
        flex-direction: column;
        gap: 8px;
        font-size: 14px;
        font-weight: 600;
    }
    .admin-mobile-navigation select { width: 100%; min-height: 48px; font-size: 16px; }
}

@media (max-width: 760px) {
    .dashboard-page .container { width: calc(100% - 32px); }
    .dashboard-page .page-content { padding-block: 24px 36px; }
    .admin-layout { padding-block: 24px 36px; }
    .dashboard-page :is(.two-column, .form-grid, .partner-grid, .partner-access-form) {
        grid-template-columns: minmax(0, 1fr);
        gap: 18px;
    }
    .dashboard-page .panel { padding: 18px; }
    .dashboard-page fieldset { padding: 14px; }
    .dashboard-page .section-heading {
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
    }
    .dashboard-page .section-heading h1 { font-size: 28px; }
    .dashboard-page :is(.btn, .text-link) { white-space: normal; min-height: 44px; }
    .dashboard-page .btn { font-size: 14px; padding: 11px 16px; max-width: 100%; }
    .dashboard-page .text-link { font-size: 14px; }
    .dashboard-page :is(.form-stack, .form-grid, .partner-access-form) label { font-size: 14px; }
    .dashboard-page :is(input:not([type="checkbox"]):not([type="radio"]), select, textarea) {
        width: 100%;
        min-height: 46px;
        font-size: 16px;
    }
    .dashboard-page input:is([type="checkbox"], [type="radio"]) { flex-shrink: 0; }
    .dashboard-page .check-label { min-height: 44px; }
    .dashboard-page .button-row { align-items: stretch; gap: 10px; }
    .dashboard-page .button-row > :is(form, .btn) { flex: 1 1 140px; min-width: 0; }
    .dashboard-page .button-row > form .btn { width: 100%; }
    .dashboard-page .form-stack > .btn { align-self: stretch; }
    .dashboard-page :is(.catalog-toolbar, .order-filters) {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
        padding: 16px;
    }
    .dashboard-page .catalog-toolbar .search { flex-basis: auto; width: 100%; }
    .dashboard-page .order-filters > * { min-width: 0; max-width: 100%; }
    .dashboard-page .order-filters .text-link { align-self: flex-start; }
    .dashboard-page .stat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
    .dashboard-page .stat-grid .panel { padding: 16px 12px; }
    .dashboard-page .stat-grid .muted { font-size: 12px; }
    .dashboard-page .stat-grid strong { font-size: 24px; overflow-wrap: anywhere; }
    .dashboard-page :is(.activity-row, .token-row, .partner-list) {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    .dashboard-page .activity-row { font-size: 14px; }
    .dashboard-page :is(.activity-row small, .token-row small, .token-row p) { font-size: 12px; }
    .dashboard-page .category-admin { flex-wrap: wrap; gap: 12px; }
    .dashboard-page .category-admin > div { flex: 1 1 160px; }
    .dashboard-page .partner-access-form .btn { justify-self: stretch; }
    .dashboard-page .admin-qr { align-items: stretch; }
    .dashboard-page .admin-qr > img { align-self: center; }
    .dashboard-page .admin-qr .btn { margin: 4px 0; }
    .dashboard-page details > summary { line-height: 1.6; min-height: 44px; }
    .dashboard-page .partner-product { flex-direction: column; gap: 18px; }
    .dashboard-page .partner-product-image > img {
        width: 100%;
        height: 240px;
        object-fit: contain;
        background: var(--cream);
    }
    .dashboard-page .partner-product p { font-size: 14px; }
    .dashboard-page .partner-order-form { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
    .dashboard-page .partner-order-form label { display: grid; gap: 6px; font-size: 14px; }

    .dashboard-page .table-wrap { border: 0; background: transparent; }
    .dashboard-page .mobile-card-table { display: block; font-size: 14px; }
    .dashboard-page .mobile-card-table thead {
        position: absolute;
        width: 1px;
        height: 1px;
        padding: 0;
        overflow: hidden;
        clip-path: inset(50%);
    }
    .dashboard-page .mobile-card-table :is(tbody, tr, td) { display: block; width: 100%; }
    .dashboard-page .mobile-card-table tbody tr {
        margin-bottom: 16px;
        padding: 6px 16px;
        border: 1px solid var(--line);
        border-radius: 8px;
        background: #fff;
    }
    .dashboard-page .mobile-card-table td { padding: 12px 0; overflow-wrap: anywhere; }
    .dashboard-page .mobile-card-table td:first-child { border-top: 0; }
    .dashboard-page .mobile-cell-label {
        display: block;
        margin-bottom: 6px;
        color: #59666c;
        font-size: 12px;
        font-weight: 700;
    }
    .dashboard-page .table-product { min-width: 0; align-items: flex-start; }
    .dashboard-page .table-product > div { min-width: 0; }
    .dashboard-page .table-product > img { flex-shrink: 0; }
    .dashboard-page .table-product strong { font-size: 14px; }
    .dashboard-page .table-product small { font-size: 12px; }
    .dashboard-page .table-qr { align-items: flex-start; font-size: 12px; }
}

@media (max-width: 360px) {
    .dashboard-page .stat-grid { grid-template-columns: minmax(0, 1fr); }
    .dashboard-page .partner-order-form { grid-template-columns: minmax(0, 1fr); }
}
.hero-arrow-prev { left: 16px; }
.hero-arrow-next { right: 16px; }
.hero-arrow-prev .icon { transform: rotate(180deg); }

/* A compact filter card with comfortable controls on phones. */
@media (max-width: 760px) {
    .catalog-toolbar.catalog-filters {
        grid-template-columns: minmax(0, 1fr);
        gap: 18px;
        padding: 20px;
        margin-block: 12px 28px;
        border: 1px solid #ece3e5;
        border-radius: 18px;
        background: linear-gradient(150deg, #fff 55%, #fff7f8);
        box-shadow: 0 8px 28px #202a2f08;
    }
    .catalog-filters .catalog-filter-heading {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        grid-column: 1 / -1;
    }
    .catalog-filter-heading strong {
        display: inline-flex;
        align-items: center;
        gap: 10px;
        font-size: 17px;
        letter-spacing: -.3px;
    }
    .catalog-filter-heading .icon { width: 20px; height: 20px; color: var(--red); }
    .catalog-filter-heading a {
        display: inline-flex;
        align-items: center;
        min-height: 44px;
        color: var(--red);
        font-size: 13px;
        font-weight: 600;
        text-decoration: underline;
        text-underline-offset: 3px;
    }
    .catalog-filters > .search {
        min-height: 50px;
        border: 1px solid #e4e8e7;
        border-radius: 12px;
        background: #f7f8f8;
    }
    .catalog-filters .search input { padding: 13px 14px; font-size: 16px; }
    .catalog-filters .search button { width: 50px; background: transparent; color: var(--red); }
    .catalog-filters .catalog-filter { gap: 8px; font-size: 13px; color: #47545b; }
    .catalog-filters .catalog-filter select {
        min-height: 50px;
        padding: 12px;
        border: 1px solid #dfe5e3;
        border-radius: 10px;
        background-color: #fff;
        color: var(--ink);
        font-size: 16px;
    }
    .catalog-filters select:focus-visible { outline: 2px solid #e998a7; outline-offset: 2px; }
    .catalog-filters > .btn {
        min-height: 50px;
        margin-top: 2px;
        border-radius: 12px;
        font-size: 15px;
        box-shadow: 0 4px 12px #ce19381a;
    }
}
@media (min-width: 380px) and (max-width: 760px) {
    .catalog-toolbar.catalog-filters { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 12px; }
    .catalog-filters > .catalog-filter:first-of-type,
    .catalog-filters > .catalog-filter:last-of-type { grid-column: 1 / -1; }
}

/* Give the homepage introduction and contact copy their own space on phones. */
@media (max-width: 760px) {
    .about-section {
        grid-template-columns: minmax(0, 1fr);
        gap: 24px;
        padding-block: 36px;
    }
    .about-image { height: clamp(250px, 70vw, 360px); }
    .about-copy { min-width: 0; padding: 0; }
    .about-copy h2 { font-size: 28px; }
    .about-copy h2 br { display: none; }
    .about-copy p { font-size: 14px; line-height: 1.8; overflow-wrap: anywhere; }
    .image-note { left: 12px; right: 12px; bottom: 12px; padding: 12px; }
    .help-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 18px;
        padding-block: 32px;
    }
    .help-inner > div:nth-child(2) { flex: auto; width: 100%; min-width: 0; }
    .help-inner h2 { font-size: 26px; }
    .help-inner p { font-size: 14px; line-height: 1.8; }
    .help-inner > .btn { margin-left: 0; min-height: 46px; }
}

/* Unified catalog category picker. */
.catalog-toolbar.catalog-filters { grid-template-columns: minmax(0, 1fr) minmax(220px, 280px) auto; }
.category-filter-menu { position: relative; min-width: 0; justify-self: start; width: min(100%, 330px); }
.category-filter-menu summary { cursor: pointer; list-style: none; }
.category-filter-menu summary::-webkit-details-marker { display: none; }
.category-filter-menu > summary {
    display: flex; align-items: center; gap: 12px;
    min-height: 48px; padding: 12px 16px; background: #fff;
    border: 1px solid var(--line); border-radius: 8px; font-size: 16px;
}
.category-filter-menu > summary .icon { color: var(--red); flex-shrink: 0; }
.category-filter-menu summary::after {
    content: ''; width: 8px; height: 8px; flex-shrink: 0; margin-left: auto;
    border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg);
}
.category-filter-menu details[open] > summary::after,
.category-filter-menu[open] > summary::after { transform: rotate(225deg); }
.category-filter-menu[open] > summary { border-color: #e998a7; }
.category-filter-panel {
    position: absolute; top: calc(100% + 6px); left: 0; z-index: 30;
    width: 390px; max-width: calc(100vw - 48px); max-height: 65vh;
    overflow-y: auto; overscroll-behavior: contain;
    background: #fff; border: 1px solid var(--line); border-radius: 12px;
    box-shadow: 0 12px 32px #00000018;
}
.category-filter-group { border-bottom: 1px solid var(--line); }
.category-filter-group > summary { display: flex; align-items: center; gap: 12px; padding: 18px; min-height: 52px; font-weight: 600; }
.category-filter-group[open] > summary { color: var(--red); }
.category-filter-group fieldset { border: 0; margin: 0; padding: 0 18px 14px; min-width: 0; }
.category-filter-group label { display: flex; flex-direction: row; align-items: center; gap: 12px; min-height: 46px; padding: 8px 0; font-size: 15px; font-weight: 400; cursor: pointer; overflow-wrap: anywhere; }
.category-filter-group input[type="radio"] { appearance: auto; width: 20px; height: 20px; min-height: 0; margin: 0; padding: 0; accent-color: var(--red); flex-shrink: 0; }
.category-filter-actions { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 18px; background: #fff; position: sticky; bottom: 0; border-top: 1px solid var(--line); }
.category-filter-actions .text-link { background: transparent; border: 0; padding: 10px 0; cursor: pointer; }
.category-filter-menu summary:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }
.catalog-active-filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0; }
.catalog-active-filters:empty { display: none; }
.catalog-active-filters a { background: #fff0f3; color: var(--red); border-radius: 24px; padding: 8px 14px; font-size: 14px; }
.catalog-active-filters span { margin-left: 8px; }
@media (max-width: 760px) {
    .catalog-toolbar.catalog-filters { grid-template-columns: minmax(0, 1fr); gap: 14px; }
    .category-filter-menu { width: 100%; justify-self: stretch; }
    .category-filter-panel { position: static; width: 100%; max-width: 100%; max-height: 60vh; margin-top: 8px; box-shadow: 0 4px 16px #0000000c; }
    .catalog-filters > .catalog-sort { grid-column: 1 / -1; }
    .category-filter-group label { min-height: 48px; font-size: 16px; }
    .category-filter-actions .btn { min-height: 48px; }
}
/* Public catalog: one cohesive, responsive filter card. */
[data-catalog-toolbar].catalog-toolbar {
    padding: 24px; gap: 20px; border: 1px solid #ece3e6; border-radius: 22px;
    background: linear-gradient(125deg, #fff 35%, #fff7f9); box-shadow: 0 8px 30px #39202a08;
    grid-template-columns: minmax(0, 1fr) minmax(220px, 280px) auto;
}
[data-catalog-toolbar] .catalog-filter-heading { display: flex; align-items: center; justify-content: space-between; grid-column: 1 / -1; gap: 12px; }
[data-catalog-toolbar] .catalog-filter-heading strong { display: flex; align-items: center; gap: 10px; font-size: 17px; }
[data-catalog-toolbar] .catalog-filter-heading .icon { color: var(--red); }
[data-catalog-toolbar] .catalog-filter-heading a { color: var(--red); font-size: 13px; font-weight: 600; }
[data-catalog-toolbar] > .search { border: 1px solid #e6e7eb; border-radius: 14px; background: #fff; overflow: hidden; min-height: 54px; }
[data-catalog-toolbar] .search input { padding: 16px 18px; background: transparent; }
[data-catalog-toolbar] .search button { width: 58px; background: transparent; color: var(--red); border-left: 1px solid #f0e8eb; }
[data-catalog-toolbar] .search:focus-within { border-color: #e79baa; box-shadow: 0 0 0 4px #d4113a0a; }
[data-catalog-toolbar] .catalog-sort { color: #67717d; font-size: 12px; gap: 7px; }
[data-catalog-toolbar] .catalog-sort select { min-height: 52px; border-radius: 12px; border-color: #e6e7eb; background-color: #fff; padding: 12px 16px; }
[data-catalog-toolbar] > .btn { grid-column: auto; min-height: 52px; border-radius: 12px; padding-inline: 26px; box-shadow: 0 5px 14px #ce19381a; }
[data-catalog-toolbar] .category-filter-menu { width: min(100%, 360px); }
[data-catalog-toolbar] .category-filter-menu > summary { min-height: 52px; border-radius: 12px; border-color: #e6e7eb; font-size: 14px; font-weight: 600; transition: border-color .2s, box-shadow .2s, background .2s; }
[data-catalog-toolbar] .category-filter-menu > summary:hover,
[data-catalog-toolbar] .category-filter-menu[open] > summary { border-color: #e79baa; background: #fffafb; box-shadow: 0 0 0 4px #d4113a08; }
.filter-count { display: inline-grid; place-items: center; min-width: 23px; height: 23px; border-radius: 50%; color: #fff; background: var(--red); font-size: 12px; }
.filter-count[hidden], .category-filter-group label[hidden], .filter-no-options[hidden] { display: none; }
[data-catalog-toolbar] .category-filter-panel { top: calc(100% + 12px); width: 420px; border-radius: 18px; border-color: #ece3e6; box-shadow: 0 18px 55px #34202a20; scrollbar-width: thin; scrollbar-color: #dfbdc6 transparent; }
.filter-panel-heading { display: flex; flex-direction: column; gap: 5px; padding: 22px 22px 14px; }
.filter-panel-heading strong { font-size: 17px; }
.filter-panel-heading > span { font-size: 12px; color: #78818b; }
.filter-option-search { display: flex; align-items: center; gap: 10px; margin: 0 18px 12px; padding: 0 12px; background: #f7f8fa; border: 1px solid #e9eaee; border-radius: 10px; }
.filter-option-search .icon { width: 17px; height: 17px; color: #89919c; flex-shrink: 0; }
.filter-option-search input { min-width: 0; width: 100%; min-height: 42px; border: 0; background: transparent; padding: 10px 0; font-size: 13px; }
.filter-option-search:focus-within { outline: 2px solid #e998a7; outline-offset: 2px; }
[data-catalog-toolbar] .category-filter-group > summary { padding: 16px 22px; font-size: 14px; }
.category-filter-group summary > span { min-width: 0; }
.category-filter-group summary small { display: block; color: #78818b; font-size: 11px; font-weight: 400; margin-top: 4px; }
.category-filter-group summary small:empty { display: none; }
[data-catalog-toolbar] .category-filter-group fieldset { padding: 0 12px 12px; }
[data-catalog-toolbar] .category-filter-group label { padding: 10px; min-height: 42px; border-radius: 9px; font-size: 14px; margin-bottom: 3px; transition: background .15s, color .15s; }
[data-catalog-toolbar] .category-filter-group label:hover { background: #f8f8fa; }
[data-catalog-toolbar] .category-filter-group label:has(input:checked) { background: #fff0f4; color: var(--red); font-weight: 600; }
[data-catalog-toolbar] .category-filter-group input[type="radio"] { width: 17px; height: 17px; }
.filter-no-options { margin: 0; padding: 0 22px 18px; font-size: 13px; color: #78818b; }
[data-catalog-toolbar] .category-filter-actions { padding: 14px 20px; background: #fffafb; }
[data-catalog-toolbar] .category-filter-actions .btn { border-radius: 10px; min-height: 42px; font-size: 13px; }
[data-catalog-toolbar] .category-filter-actions .text-link { font-size: 13px; color: #69717b; }
@media (max-width: 760px) {
    [data-catalog-toolbar].catalog-toolbar { grid-template-columns: minmax(0, 1fr); padding: 18px; gap: 16px; border-radius: 18px; }
    [data-catalog-toolbar] .category-filter-menu { width: 100%; }
    [data-catalog-toolbar] .category-filter-panel { width: 100%; max-width: 100%; position: static; margin-top: 12px; max-height: 65vh; }
    [data-catalog-toolbar] > .btn { grid-column: 1 / -1; }
    [data-catalog-toolbar] .catalog-sort { grid-column: 1 / -1; }
    .filter-option-search input { font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) {
    [data-catalog-toolbar] .category-filter-menu > summary,
    [data-catalog-toolbar] .category-filter-group label { transition: none; }
}
.catalog-products { min-width: 0; }
.catalog-mobile-filter-toggle { display: none; }
.catalog-filter-drawer {
    position: fixed; inset: 0 auto 0 0; margin: 0;
    width: min(390px, 92vw); height: 100dvh; max-height: 100dvh; max-width: 100vw;
    padding: 60px 18px 24px; border: 0; border-radius: 0 22px 22px 0;
    background: #fff; color: var(--ink); overflow-y: auto; overscroll-behavior: contain;
    box-shadow: 12px 0 55px #202a2f26;
}
.catalog-filter-drawer::backdrop { background: #202a2f80; backdrop-filter: blur(3px); }
.catalog-filter-drawer-close {
    position: absolute; top: 12px; right: 16px; width: 40px; height: 40px;
    border-radius: 50%; background: #fff0f4; color: var(--red); font-size: 27px;
}
.catalog-filter-drawer [data-catalog-toolbar].catalog-toolbar { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; margin: 0; padding: 0; background: transparent; border: 0; box-shadow: none; }
.catalog-filter-drawer [data-catalog-toolbar] .category-filter-menu { width: 100%; padding: 0; border: 0; }
.catalog-filter-drawer [data-catalog-toolbar] .category-filter-menu > summary { display: none; }
.catalog-filter-drawer [data-catalog-toolbar] .category-filter-panel { position: static; width: 100%; max-width: 100%; max-height: none; margin: 0; overflow: visible; border: 0; box-shadow: none; background: transparent; }
.catalog-filter-drawer .filter-panel-heading { padding: 0 0 16px; }
.catalog-filter-drawer .filter-option-search { margin: 0 0 12px; }
.catalog-filter-drawer .filter-option-search input { font-size: 16px; }
.catalog-filter-drawer [data-catalog-toolbar] .category-filter-group { padding-block: 0; }
.catalog-filter-drawer [data-catalog-toolbar] .category-filter-group > summary { padding-inline: 0; }
.catalog-filter-drawer [data-catalog-toolbar] .category-filter-group fieldset { padding-inline: 0; gap: 4px; }
.catalog-filter-drawer [data-catalog-toolbar] .category-filter-group label { min-height: 46px; }
.catalog-filter-drawer [data-catalog-toolbar] .category-filter-actions { position: static; padding: 16px 0; background: transparent; }
.catalog-filter-drawer [data-catalog-toolbar] .catalog-sort,
.catalog-filter-drawer [data-catalog-toolbar] > .btn { grid-column: 1 / -1; }
.catalog-filter-drawer[open] { animation: catalog-drawer-enter .22s ease-out; }
@keyframes catalog-drawer-enter { from { transform: translateX(-100%); } to { transform: translateX(0); } }
@media (max-width: 1023px) {
    .catalog-layout > .catalog-drawer-enabled { display: none; }
    .catalog-mobile-filter-toggle {
        display: inline-flex; align-items: center; justify-content: center; gap: 11px;
        min-height: 48px; margin-bottom: 20px; padding: 12px 18px;
        border: 1px solid #e4e7ea; border-radius: 14px;
        background: linear-gradient(145deg, #fff, #f7f8fa); color: #34404a;
        font-size: 14px; font-weight: 600; box-shadow: 0 3px 10px #202a2f06;
    }
    .catalog-mobile-filter-toggle .icon { width: 19px; height: 19px; color: var(--red); }
    .catalog-mobile-filter-toggle:hover,
    .catalog-mobile-filter-toggle[aria-expanded="true"] { background: #f1f3f6; border-color: #cfd5dc; box-shadow: 0 4px 12px #202a2f0c; }
    .catalog-mobile-filter-toggle:active { transform: translateY(1px); }
}
@media (prefers-reduced-motion: reduce) {
    .catalog-filter-drawer[open] { animation: none; }
}
@media (min-width: 1024px) {
    .catalog-layout { display: grid; grid-template-columns: 290px minmax(0, 1fr); gap: 28px; align-items: start; }
    .catalog-layout [data-catalog-toolbar].catalog-toolbar {
        grid-template-columns: minmax(0, 1fr); gap: 18px; padding: 18px;
        margin: 0; border-radius: 18px;
    }
    .catalog-layout [data-catalog-toolbar] > .search { min-height: 48px; }
    .catalog-layout [data-catalog-toolbar] .search input { padding: 13px 12px; font-size: 13px; }
    .catalog-layout [data-catalog-toolbar] .search button { width: 40px; }
    .catalog-layout [data-catalog-toolbar] .category-filter-menu { width: 100%; padding: 0; border: 0; }
    .catalog-layout [data-catalog-toolbar] .category-filter-menu > summary { display: none; }
    .catalog-layout [data-catalog-toolbar] .category-filter-panel {
        position: static; width: 100%; max-width: 100%; max-height: none;
        overflow: visible; border: 0; border-radius: 0; box-shadow: none; background: transparent;
    }
    .catalog-layout .filter-panel-heading { padding: 0 0 14px; }
    .catalog-layout .filter-panel-heading strong { font-size: 15px; }
    .catalog-layout .filter-option-search { margin: 0 0 10px; background: #fff; }
    .catalog-layout [data-catalog-toolbar] .category-filter-group { padding-block: 0; }
    .catalog-layout [data-catalog-toolbar] .category-filter-group > summary { padding: 15px 2px; }
    .catalog-layout [data-catalog-toolbar] .category-filter-group fieldset { padding: 0 0 12px; gap: 4px; }
    .catalog-layout [data-catalog-toolbar] .category-filter-group label { font-size: 13px; min-height: 42px; gap: 9px; }
    .catalog-layout [data-catalog-toolbar] .category-filter-actions { position: static; padding: 14px 0 0; background: transparent; border: 0; }
    .catalog-layout [data-catalog-toolbar] .catalog-sort { grid-column: 1; padding-top: 16px; border-top: 1px solid var(--line); }
    .catalog-layout [data-catalog-toolbar] > .btn { width: 100%; }
    .catalog-products > .catalog-active-filters { margin-top: 0; }
    .catalog-products > .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
    .catalog-products .product-photo { height: 220px; }
}
.about-story {
    display: flow-root;
}

.about-story-photo {
    float: left;
    width: 40%;
    max-width: 420px;
    height: auto;
    margin: 0 30px 20px 0;
    border-radius: 16px;
}

.about-story h2 {
    margin-top: 0;
}

.about-story p {
    line-height: 1.8;
    overflow-wrap: anywhere;
}

@media (max-width: 640px) {
    .about-story-photo {
        float: none;
        display: block;
        width: 100%;
        max-width: none;
        margin: 0 0 24px;
    }
}
/* cPanel statistics */
.metrics-controls { display: flex; flex-wrap: wrap; align-items: end; gap: 1rem; }
.metrics-controls label { display: grid; gap: .5rem; }
.metrics-controls .check-label { display: flex; align-items: center; align-self: center; }
.metrics-stat-grid { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); margin-block: 1.5rem; }
.metrics-table-wrap { overflow-x: auto; }
.metrics-table { width: 100%; border-collapse: collapse; }
.metrics-table th, .metrics-table td { padding: .75rem; text-align: right; border-bottom: 1px solid #e5e7eb; white-space: nowrap; }
.metrics-table th:first-child { text-align: left; }

.nutrition-editor-row, .nutrition-editor-columns { display: flex; gap: 1rem; align-items: end; overflow-x: auto; padding-bottom: .5rem; }
.nutrition-editor-row > label, .nutrition-editor-columns > div, .nutrition-editor-columns > strong { flex: 1 0 180px; min-width: 180px; }
.nutrition-editor-row > button { flex-shrink: 0; }
.nutrition-editor-row textarea { width: 100%; }
.product-nutrition { margin-block: 1.5rem; overflow-x: auto; }
.product-nutrition table { width: 100%; border-collapse: collapse; }
.product-nutrition th, .product-nutrition td { min-width: 150px; }
.product-nutrition caption { text-align: left; color: var(--teal); font-weight: 600; padding-bottom: 1rem; }
.product-nutrition th, .product-nutrition td { border: 1px solid #d1d5d3; padding: .85rem; vertical-align: top; overflow-wrap: anywhere; }
.product-nutrition th { background: #f5f7f5; text-align: center; }

.public-list-product-link { color: inherit; text-decoration: none; }
.public-list-product-link:hover h3 { color: var(--red); }
.public-list-product-link:focus-visible { outline: 2px solid var(--red); outline-offset: 4px; }
.public-list-read-more { display: inline-block; color: var(--red); min-height: 44px; padding-block: 10px; }
/* Three inline catalog filters on desktop and mobile. */
.catalog-layout { display: block; }
.catalog-layout [data-catalog-toolbar].catalog-toolbar {
    display: grid; grid-template-columns: minmax(180px, 1fr) minmax(180px, .55fr) auto;
    gap: 16px; position: relative; top: auto; padding: 18px; margin-bottom: 24px; overflow: visible;
}
.catalog-layout .catalog-filter-heading { display: none; }
.catalog-layout [data-catalog-toolbar] > .search { grid-column: 1; grid-row: 1; }
.catalog-layout [data-catalog-toolbar] .catalog-sort { grid-column: 2; grid-row: 1; padding: 0; border: 0; }
.catalog-layout [data-catalog-toolbar] > .btn { grid-column: 3; grid-row: 1; width: auto; align-self: end; }
.catalog-layout [data-catalog-toolbar] .catalog-inline-filters {
    display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px;
    grid-column: 1 / -1; grid-row: 2; width: 100%; position: relative; z-index: 20;
}
.catalog-layout [data-catalog-toolbar] .category-filter-group { position: static; min-width: 0; padding: 0; border: 0; }
.catalog-layout [data-catalog-toolbar] .category-filter-group > summary {
    display: flex; justify-content: space-between; align-items: center; gap: 8px;
    padding: 12px 16px; min-height: 48px; border: 1px solid #e4e7ea; border-radius: 10px;
    background: #fff; color: var(--ink); font-size: 14px; font-weight: 600; cursor: pointer;
}
.catalog-layout [data-catalog-toolbar] .category-filter-group[open] > summary,
.catalog-layout [data-catalog-toolbar] .category-filter-group > summary:hover { color: var(--red); border-color: var(--red); background: #fffafb; }
.catalog-layout [data-catalog-toolbar] .category-filter-group > summary:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }
.catalog-layout .category-filter-group summary small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 100%; }
.catalog-filter-options {
    position: absolute; left: 0; right: 0; top: calc(100% - 1px); padding: 16px;
    border: 1px solid #ece3e6; border-radius: 12px; background: #fff;
    box-shadow: 0 12px 32px #34202a20; max-height: min(440px, 60vh); overflow-y: auto;
}
.catalog-layout [data-catalog-toolbar] .catalog-filter-options .filter-option-search { margin: 0 0 12px; }
.catalog-layout [data-catalog-toolbar] .catalog-filter-options fieldset {
    display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; padding: 0; margin: 0; border: 0;
}
.catalog-layout [data-catalog-toolbar] .catalog-filter-options label { display: flex; padding: 10px; margin: 0; min-height: 44px; border-radius: 8px; cursor: pointer; }
.catalog-layout [data-catalog-toolbar] .catalog-filter-options label:hover { background: #f8f8fa; }
.catalog-layout [data-catalog-toolbar] .catalog-filter-options label:has(input:checked) { color: var(--red); background: #fff0f4; }
.catalog-layout [data-catalog-toolbar] .catalog-filter-options label[hidden] { display: none; }
@media (max-width: 700px) {
    .catalog-layout [data-catalog-toolbar].catalog-toolbar { grid-template-columns: minmax(0, 1fr) auto; gap: 12px; padding: 12px; }
    .catalog-layout [data-catalog-toolbar] > .search { grid-column: 1 / -1; grid-row: 1; }
    .catalog-layout [data-catalog-toolbar] .catalog-sort { grid-column: 1; grid-row: 3; }
    .catalog-layout [data-catalog-toolbar] > .btn { grid-column: 2; grid-row: 3; }
    .catalog-layout [data-catalog-toolbar] .catalog-inline-filters { gap: 6px; }
    .catalog-layout [data-catalog-toolbar] .category-filter-group > summary { padding: 10px 6px; gap: 4px; font-size: 11px; min-height: 54px; }
    .catalog-layout [data-catalog-toolbar] .category-filter-group > summary::after { flex-shrink: 0; width: 6px; height: 6px; }
    .catalog-layout [data-catalog-toolbar] .catalog-filter-options fieldset { grid-template-columns: minmax(0, 1fr); }
    .catalog-filter-options { padding: 12px; }
}
/* The catalog toolbar contains only the three filter buttons. */
.catalog-layout [data-catalog-toolbar].catalog-toolbar {
    grid-template-columns: minmax(0, 1fr); gap: 0;
    padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none;
}
.catalog-layout [data-catalog-toolbar] .catalog-inline-filters { grid-row: 1; }

.partner-product-image { display: block; flex-shrink: 0; align-self: start; }
.partner-product-image > img { display: block; object-fit: contain; }
.partner-product h2 a { color: inherit; text-decoration: none; }
.partner-product h2 a:hover { color: var(--red); }
.partner-product-image:focus-visible, .partner-product h2 a:focus-visible { outline: 2px solid var(--red); outline-offset: 4px; }
.partner-product-information > summary { min-height: 44px; padding-block: 10px; }
.partner-product-information p { overflow-wrap: anywhere; }
@media (max-width: 1200px) {
    .partner-product-image { max-width: 100%; }
}

.catalog-layout [data-catalog-toolbar].partner-catalog-toolbar { row-gap: 14px; }
.catalog-layout [data-catalog-toolbar].partner-catalog-toolbar > .search { grid-column: 1 / -1; grid-row: 1; }
.catalog-layout [data-catalog-toolbar].partner-catalog-toolbar .catalog-inline-filters { grid-row: 2; }

.sign-out-button { min-width: 110px; min-height: 48px; font-size: 15px; box-shadow: 0 3px 10px #ce193826; }
