@import url("https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&display=swap");

:root {
    --xgnd-ink: #1b140f;
    --xgnd-cream: #f4efe7;
    --xgnd-paper: #fbf8f3;
    --xgnd-card: #ffffff;
    --xgnd-gold: #c2a06a;
    --xgnd-gold-soft: #d8bf91;
    --xgnd-brown: #4b301f;
    --xgnd-brown-hover: #6a4529;
    --xgnd-line: #e6dccd;
    --xgnd-muted: #7b6f63;
    --xgnd-header: #0f0c0a;
    --xgnd-serif: "Roboto", system-ui, sans-serif;
    --xgnd-sans: "Roboto", system-ui, sans-serif;
    --xgnd-wrap: min(1320px, calc(100% - 56px));
}

body {
    --primary-font: "Roboto", system-ui, sans-serif !important;
    --heading-font: "Roboto", system-ui, sans-serif !important;
    --tp-ff-body: "Roboto", system-ui, sans-serif !important;
    --tp-ff-heading: "Roboto", system-ui, sans-serif !important;
    --tp-ff-p: "Roboto", system-ui, sans-serif !important;
    --cursive-font: "Roboto", system-ui, sans-serif !important;
    background: var(--xgnd-cream);
    color: var(--xgnd-ink);
    font-family: var(--xgnd-sans);
    -webkit-font-smoothing: antialiased;
}

.xgnd-main {
    background: var(--xgnd-cream);
}

.xgnd-header__inner,
.xgnd-section,
.xgnd-footer__grid,
.xgnd-footer__bar,
.xgnd-story-band__inner {
    width: var(--xgnd-wrap);
    margin-inline: auto;
}

/* Header */

.xgnd-header {
    position: sticky;
    top: 0;
    z-index: 40;
    background: var(--xgnd-header);
    color: #f3ebdf;
    border-bottom: 1px solid rgba(194, 160, 106, 0.18);
}

.xgnd-header__inner {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 32px;
    min-height: 72px;
}

.xgnd-logo {
    display: flex;
    align-items: center;
    color: inherit;
    text-decoration: none;
}

.xgnd-logo img {
    display: block;
    height: 50px;
    width: auto;
}

.xgnd-logo--footer img {
    height: 74px;
}

.xgnd-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: clamp(18px, 2.6vw, 42px);
}

.xgnd-nav__item,
.xgnd-nav__item > a {
    position: relative;
    padding: 26px 0;
    color: #efe6d8;
    text-decoration: none;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    white-space: nowrap;
    transition: color 0.2s ease;
}

.xgnd-nav__item--drop {
    padding: 0;
}

.xgnd-nav__item:hover,
.xgnd-nav__item > a:hover {
    color: var(--xgnd-gold);
}

.xgnd-drop {
    display: none;
    position: absolute;
    top: 100%;
    left: -18px;
    min-width: 230px;
    padding: 12px 0;
    background: #17110d;
    border: 1px solid rgba(194, 160, 106, 0.22);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}

.xgnd-nav__item--drop:hover .xgnd-drop,
.xgnd-nav__item--drop:focus-within .xgnd-drop {
    display: grid;
}

.xgnd-drop a {
    padding: 9px 20px;
    color: #e9dfd0;
    text-decoration: none;
    font-size: 14px;
}

.xgnd-drop a:hover {
    color: var(--xgnd-gold);
    background: rgba(194, 160, 106, 0.08);
}

.xgnd-nav__item--drop {
    display: inline-flex;
    align-items: center;
    gap: 2px;
}

.xgnd-nav__toggle {
    display: grid;
    place-items: center;
    width: 18px;
    height: 18px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #a99a86;
    cursor: pointer;
}

.xgnd-nav__toggle svg {
    width: 13px;
    height: 13px;
    transition: transform 0.2s ease;
}

.xgnd-nav__item.is-current,
.xgnd-nav__item.is-current > a {
    color: var(--xgnd-gold);
}

.xgnd-nav > .xgnd-nav__item::after,
.xgnd-nav__item--drop > a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 18px;
    height: 1px;
    background: var(--xgnd-gold);
    transform: scaleX(0);
    transition: transform 0.25s ease;
}

.xgnd-nav > .xgnd-nav__item:not(.xgnd-nav__item--drop):hover::after,
.xgnd-nav > .xgnd-nav__item.is-current:not(.xgnd-nav__item--drop)::after,
.xgnd-nav__item--drop:hover > a::after,
.xgnd-nav__item--drop.is-current > a::after {
    transform: scaleX(1);
}

.xgnd-nav__item--drop::after {
    display: none;
}

.xgnd-tools {
    display: flex;
    align-items: center;
    gap: 6px;
}

.xgnd-icon-btn,
.xgnd-burger {
    position: relative;
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    padding: 0;
    color: #efe6d8;
    background: transparent;
    border: 0;
    cursor: pointer;
}

.xgnd-icon-btn:hover {
    color: var(--xgnd-gold);
}

.xgnd-icon-btn svg {
    width: 20px;
    height: 20px;
}

.xgnd-badge {
    position: absolute;
    top: 3px;
    right: 1px;
    min-width: 16px;
    height: 16px;
    display: grid;
    place-items: center;
    padding: 0 4px;
    border-radius: 999px;
    background: var(--xgnd-gold);
    color: #1a120c;
    font-size: 10px;
    font-weight: 600;
    line-height: 1;
}

.xgnd-burger {
    display: none;
    gap: 5px;
}

.xgnd-burger span {
    display: block;
    width: 20px;
    height: 1px;
    background: currentColor;
}

/* Hero */

.xgnd-hero {
    min-height: clamp(420px, 36vw, 540px);
    display: grid;
    align-items: center;
    background-color: #120c08;
    background-position: center right;
    background-size: cover;
    background-repeat: no-repeat;
    color: #f5eee3;
}

.xgnd-hero__copy {
    width: var(--xgnd-wrap);
    margin-inline: auto;
    padding: 56px 0;
}

.xgnd-hero__copy > * {
    max-width: 520px;
}

.xgnd-kicker {
    margin: 0 0 10px;
    color: var(--xgnd-gold);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.26em;
    text-transform: uppercase;
}

.xgnd-hero h1 {
    margin: 0;
    color: #f6efe4;
    font-family: var(--xgnd-serif);
    font-size: clamp(52px, 5.4vw, 80px);
    font-weight: 700;
    line-height: 0.95;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.xgnd-hero__tagline {
    margin: 22px 0 0;
    color: #f2e9dc;
    font-size: 18px;
    font-weight: 500;
}

.xgnd-hero__lead {
    margin: 10px 0 28px;
    color: #cfc3b2;
    font-size: 14px;
    line-height: 1.7;
    max-width: 360px !important;
}

.xgnd-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 44px;
    padding: 0 22px;
    background: #6b4a2c;
    color: #f6eee2;
    border: 1px solid #8a6440;
    text-decoration: none;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    transition: background 0.2s ease, color 0.2s ease;
}

.xgnd-btn:hover {
    background: var(--xgnd-gold);
    border-color: var(--xgnd-gold);
    color: #1a120c;
}

.xgnd-btn--dark {
    background: var(--xgnd-brown);
    border-color: var(--xgnd-brown);
}

/* Sections */

.xgnd-section {
    padding: 38px 0 6px;
}

.xgnd-section--first {
    padding-top: 44px;
}

.xgnd-section__head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 16px;
}

.xgnd-section__head h2,
.xgnd-story-band h2 {
    margin: 0;
    color: var(--xgnd-ink);
    font-family: var(--xgnd-serif);
    font-size: clamp(26px, 2.3vw, 34px);
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.xgnd-section__head p {
    margin: 6px 0 0;
    color: var(--xgnd-muted);
    font-size: 13px;
}

.xgnd-more {
    flex: 0 0 auto;
    margin-top: 8px;
    color: var(--xgnd-ink);
    text-decoration: none;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    white-space: nowrap;
}

.xgnd-more:hover {
    color: #8a6440;
}

/* Topics */

.xgnd-topics {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 14px;
}

.xgnd-topic {
    display: block;
    background: var(--xgnd-card);
    border: 1px solid var(--xgnd-line);
    color: inherit;
    text-decoration: none;
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.xgnd-topic:hover,
.xgnd-card:hover,
.xgnd-story:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 30px rgba(43, 28, 16, 0.12);
}

.xgnd-topic__media {
    display: grid;
    place-items: center;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #1d140e;
}

.xgnd-topic__media img,
.xgnd-card__media img,
.xgnd-story__media img,
.xgnd-brand img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.xgnd-topic:hover img,
.xgnd-brand:hover img,
.xgnd-story:hover img {
    transform: scale(1.05);
}

.xgnd-topic__fallback {
    color: var(--xgnd-gold);
    font-family: var(--xgnd-serif);
    font-size: 42px;
}

.xgnd-topic__body {
    display: block;
    padding: 12px 14px 14px;
}

.xgnd-topic strong {
    display: block;
    color: var(--xgnd-ink);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.xgnd-topic em {
    display: block;
    margin-top: 4px;
    color: var(--xgnd-muted);
    font-size: 12px;
    font-style: normal;
}

/* Products */

.xgnd-grid {
    display: grid;
    gap: 14px;
}

.xgnd-grid--6 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.xgnd-grid--5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.xgnd-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.xgnd-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.xgnd-card {
    display: flex;
    flex-direction: column;
    background: var(--xgnd-card);
    border: 1px solid var(--xgnd-line);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.xgnd-card__media {
    display: block;
    aspect-ratio: 1 / 0.82;
    overflow: hidden;
    background: #f7f2ea;
}

.xgnd-grid--4 .xgnd-card__media,
.xgnd-grid--3 .xgnd-card__media {
    aspect-ratio: 16 / 9;
}

.xgnd-card__media img {
    object-fit: contain;
    padding: 8px;
    mix-blend-mode: multiply;
}

.xgnd-card__body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 10px 12px 12px;
}

.xgnd-card h3 {
    margin: 0 0 10px;
    min-height: 2.8em;
    font-family: var(--xgnd-sans);
    font-size: 13px;
    font-weight: 500;
    line-height: 1.4;
    letter-spacing: 0;
    text-transform: none;
}

.xgnd-card h3 a {
    display: -webkit-box;
    overflow: hidden;
    color: var(--xgnd-ink);
    text-decoration: none;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.xgnd-card__row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    margin-top: auto;
}

.xgnd-price {
    color: var(--xgnd-ink);
    font-size: 14px;
    font-weight: 600;
}

.xgnd-cart {
    width: 30px;
    height: 30px;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    padding: 0;
    border: 0;
    border-radius: 3px;
    background: var(--xgnd-brown);
    color: #f6eee2;
    cursor: pointer;
    transition: background 0.2s ease;
}

.xgnd-cart:hover {
    background: var(--xgnd-gold);
    color: #1a120c;
}

.xgnd-cart svg {
    width: 16px;
    height: 16px;
}

/* Story band */

.xgnd-story-band {
    margin-top: 46px;
    background-color: #2a1d14;
    background-position: center left;
    background-size: cover;
}

.xgnd-story-band__inner {
    min-height: clamp(280px, 24vw, 360px);
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.xgnd-story-band__copy {
    width: min(520px, 100%);
    margin-right: 6%;
    padding: 44px 0;
}

.xgnd-story-band .xgnd-kicker {
    color: #8a6440;
}

.xgnd-story-band h2 {
    font-size: clamp(32px, 3vw, 44px);
    font-weight: 700;
    letter-spacing: 0.01em;
    text-transform: none;
}

.xgnd-story-band p:not(.xgnd-kicker) {
    margin: 12px 0 22px;
    color: #4f4338;
    font-size: 14px;
    line-height: 1.7;
}

/* Journal */

.xgnd-stories {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.xgnd-story {
    display: block;
    background: var(--xgnd-card);
    border: 1px solid var(--xgnd-line);
    color: inherit;
    text-decoration: none;
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.xgnd-story__media {
    display: block;
    aspect-ratio: 21 / 8;
    overflow: hidden;
    background: #1d140e;
}

.xgnd-story__body {
    display: block;
    padding: 12px 14px 14px;
}

.xgnd-story strong {
    display: block;
    color: var(--xgnd-ink);
    font-size: 14px;
    font-weight: 500;
    line-height: 1.45;
}

.xgnd-story em {
    display: block;
    margin-top: 6px;
    color: #9a7446;
    font-size: 11px;
    font-style: normal;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

/* Brands + services */

.xgnd-closing {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
    gap: 40px;
    padding: 40px 0 56px;
}

.xgnd-brand-wrap {
    position: relative;
}

.xgnd-brand-row {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: calc((100% - 50px) / 6);
    gap: 10px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
}

.xgnd-brand-row::-webkit-scrollbar {
    display: none;
}

.xgnd-brand {
    position: relative;
    display: block;
    aspect-ratio: 1 / 1.2;
    overflow: hidden;
    background: #1d140e;
    scroll-snap-align: start;
    text-decoration: none;
}

.xgnd-brand::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(10, 7, 5, 0) 40%, rgba(10, 7, 5, 0.85) 100%);
}

.xgnd-brand span {
    position: absolute;
    left: 6px;
    right: 6px;
    bottom: 12px;
    z-index: 1;
    color: #f6efe4;
    font-family: var(--xgnd-serif);
    font-size: clamp(11px, 0.88vw, 14px);
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: 0.02em;
    text-align: center;
    text-transform: uppercase;
}

.xgnd-brand-next {
    position: absolute;
    top: 50%;
    right: -16px;
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    padding: 0;
    transform: translateY(-50%);
    border: 1px solid var(--xgnd-line);
    border-radius: 50%;
    background: var(--xgnd-card);
    color: var(--xgnd-ink);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
    cursor: pointer;
}

.xgnd-brand-next svg {
    width: 16px;
    height: 16px;
}

.xgnd-services__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
}

.xgnd-service {
    display: grid;
    justify-items: center;
    align-content: center;
    gap: 8px;
    min-height: 92px;
    padding: 12px 8px;
    background: var(--xgnd-card);
    border: 1px solid var(--xgnd-line);
    color: var(--xgnd-ink);
    font-size: 12px;
    text-align: center;
}

.xgnd-service__icon {
    color: #8a6440;
}

.xgnd-service__icon svg {
    width: 24px;
    height: 24px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.4;
}

/* Footer */

.xgnd-footer {
    background: var(--xgnd-header);
    color: #cfc4b4;
}

.xgnd-footer__grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr 1fr 1fr 1.5fr;
    gap: 36px;
    padding: 48px 0 36px;
}

.xgnd-footer h2 {
    margin: 0 0 16px;
    color: #f2e9dc;
    font-family: var(--xgnd-sans);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.xgnd-footer__grid > div > a {
    display: block;
    margin-bottom: 9px;
    color: #b9ad9c;
    font-size: 13px;
    text-decoration: none;
}

.xgnd-footer__grid > div > a:hover {
    color: var(--xgnd-gold);
}

.xgnd-footer p {
    margin: 0 0 14px;
    color: #b9ad9c;
    font-size: 13px;
    line-height: 1.6;
}

.xgnd-social {
    display: flex;
    gap: 14px;
    margin-top: 20px;
}

.xgnd-social a {
    color: #e9dfd0;
}

.xgnd-social a:hover {
    color: var(--xgnd-gold);
}

.xgnd-social svg {
    width: 18px;
    height: 18px;
}

.xgnd-news {
    display: flex;
    border: 1px solid rgba(233, 223, 208, 0.25);
}

.xgnd-news input {
    flex: 1;
    min-width: 0;
    height: 42px;
    padding: 0 14px;
    border: 0;
    background: transparent;
    color: #f2e9dc;
    font-size: 13px;
}

.xgnd-news input::placeholder {
    color: #8e8275;
}

.xgnd-news button {
    width: 46px;
    display: grid;
    place-items: center;
    border: 0;
    background: var(--xgnd-gold);
    color: #1a120c;
    cursor: pointer;
}

.xgnd-news button svg {
    width: 18px;
    height: 18px;
}

.xgnd-footer__bar {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 0 22px;
    border-top: 1px solid rgba(233, 223, 208, 0.12);
    color: #8e8275;
    font-size: 12px;
}

.xgnd-footer__links {
    display: flex;
    gap: 20px;
}

.xgnd-footer__links a {
    color: #8e8275;
    text-decoration: none;
}

.xgnd-footer__links a:hover {
    color: var(--xgnd-gold);
}

/* Misc */

.xgnd-empty {
    color: var(--xgnd-muted);
}

.xgnd-sr {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
}

.back-to-top-wrapper {
    display: none;
}

/* Shofy overrides */

html:root {
    --primary-color: #4b301f;
    --primary-color-rgb: 75, 48, 31;
    --tp-theme-primary: #4b301f;
    --tp-theme-secondary: #c2a06a;
    --primary-font: "Roboto", system-ui, sans-serif;
}

.tp-btn {
    border: 1px solid var(--xgnd-brown);
    border-radius: 0;
    background: var(--xgnd-brown);
    color: #f6efe4;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.tp-btn:hover {
    border-color: var(--xgnd-gold);
    background: var(--xgnd-gold);
    color: var(--xgnd-ink);
}

.tp-btn.tp-btn-border {
    border-color: var(--xgnd-ink);
    background: transparent;
    color: var(--xgnd-ink);
}

.tp-btn.tp-btn-border:hover {
    border-color: var(--xgnd-ink);
    background: var(--xgnd-ink);
    color: var(--xgnd-gold-soft);
}

.cartmini__area {
    background: var(--xgnd-paper);
}

.cartmini__title h4,
.cartmini__title {
    font-family: var(--xgnd-serif);
    font-size: 24px;
    font-weight: 700;
}

.cartmini__content h5 a,
.cartmini__content a {
    color: var(--xgnd-ink);
}

.cartmini__price,
.cartmini__checkout-title span:last-child {
    color: var(--xgnd-brown);
    font-weight: 700;
}

.breadcrumb__area {
    margin-bottom: 28px !important;
    padding: 26px 0 !important;
    background: var(--xgnd-paper) !important;
    border-bottom: 1px solid var(--xgnd-line);
}

.breadcrumb__area .breadcrumb__list,
.breadcrumb__area .breadcrumb__list span,
.breadcrumb__area .breadcrumb__list a {
    color: var(--xgnd-muted);
    font-size: 13px;
    letter-spacing: 0.04em;
}

.breadcrumb__area .breadcrumb__list a:hover {
    color: var(--xgnd-gold);
}

.breadcrumb__area .breadcrumb__list span:last-child {
    color: var(--xgnd-ink);
}

/* Product detail */

.tp-product-details-area {
    padding-bottom: 24px;
}

.tp-product-details-thumb-wrapper {
    min-width: 0;
    max-width: 100%;
    overflow: hidden;
}

.tp-product-details-thumb-wrapper .bb-product-gallery,
.tp-product-details-thumb-wrapper .bb-product-gallery-wrapper,
.tp-product-details-thumb-wrapper .bb-product-gallery-images {
    max-width: 100%;
    min-width: 0;
}

.tp-product-details-thumb-wrapper .bb-product-gallery-images {
    aspect-ratio: 1 / 1;
    background: #fff;
    border: 0;
    overflow: hidden;
}

.tp-product-details-thumb-wrapper .bb-product-gallery-images:not(.slick-initialized) > :not(:first-child) {
    display: none;
}

.tp-product-details-thumb-wrapper .bb-product-gallery-images .slick-list,
.tp-product-details-thumb-wrapper .bb-product-gallery-images .slick-track,
.tp-product-details-thumb-wrapper .bb-product-gallery-images .slick-slide {
    height: 100% !important;
}

.tp-product-details-thumb-wrapper .bb-product-gallery-images a,
.tp-product-details-thumb-wrapper .bb-product-gallery-images img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    background: #fff;
}

/*
 * Match Slick's final vertical thumbnail footprint before JavaScript starts.
 * Without this, the ecommerce fallback renders the thumbnails as a horizontal
 * row inside an 80px column, which briefly looks like stacked placeholders.
 */
.tp-product-details-thumb-wrapper .bb-product-gallery-vertical .bb-product-gallery-thumbnails:not(.slick-initialized) {
    display: block;
    flex: 0 0 80px;
    width: 80px;
    min-width: 80px;
    max-width: 80px;
    height: 520px;
    max-height: 520px;
    overflow: hidden;
}

.tp-product-details-thumb-wrapper .bb-product-gallery-vertical .bb-product-gallery-thumbnails:not(.slick-initialized) > div {
    width: 70px;
    height: 70px;
    margin-bottom: 15px;
    background: #fff;
}

.tp-product-details-thumb-wrapper .bb-product-gallery-vertical .bb-product-gallery-thumbnails:not(.slick-initialized) img {
    display: block;
    width: 70px;
    height: 70px;
    object-fit: cover;
    background: #fff;
}

.tp-product-details-thumb-wrapper .bb-product-gallery-vertical {
    display: flex;
    flex-direction: row !important;
    align-items: flex-start;
    gap: 14px;
}

.tp-product-details-thumb-wrapper .bb-product-gallery-images {
    flex: 1 1 auto;
    order: 2;
}

.tp-product-details-thumb-wrapper .bb-product-gallery-thumbnails.xgnd-thumbs {
    display: flex !important;
    flex: 0 0 84px;
    flex-direction: column;
    gap: 8px;
    order: -1;
    width: 84px !important;
    min-width: 84px;
    max-width: 84px;
    height: auto !important;
    max-height: 520px;
    margin: 0;
    overflow: auto;
    scrollbar-width: thin;
}

.tp-product-details-thumb-wrapper .xgnd-thumbs > div {
    flex: 0 0 72px !important;
    width: 82px !important;
    max-width: none !important;
    height: 72px;
    border: 1px solid var(--xgnd-line);
    background: #fff;
    cursor: pointer;
}

.tp-product-details-thumb-wrapper .xgnd-thumbs > div.is-active {
    border-color: var(--xgnd-ink);
}

.tp-product-details-thumb-wrapper .xgnd-thumbs img {
    display: block;
    width: 100% !important;
    height: 70px !important;
    max-height: 70px;
    object-fit: contain;
    background: #fff;
}

.tp-product-details-wrapper .tp-product-details-rating-wrapper,
.tp-product-details-wrapper .tp-product-details-description,
.tp-product-details-wrapper .tp-product-details-query-item:has([data-bb-value="product-sku"]) {
    display: none !important;
}

.tp-product-details-thumb-wrapper .tp-product-badge {
    top: auto;
    bottom: 18px;
    right: 18px;
    left: auto;
}

.tp-product-details-thumb-wrapper .tp-product-badge span,
.tp-product-item .tp-product-badge span {
    padding: 6px 12px;
    border-radius: 0;
    background: var(--xgnd-ink);
    color: var(--xgnd-gold-soft);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.tp-product-details-wrapper {
    padding-left: 12px;
}

.tp-product-details-category,
.tp-product-details-category a {
    color: var(--xgnd-gold);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.tp-product-details-title {
    margin: 10px 0 14px;
    color: var(--xgnd-ink);
    font-family: var(--xgnd-serif);
    font-size: clamp(30px, 2.8vw, 42px);
    font-weight: 700;
    line-height: 1.12;
}

.tp-product-details-reviews,
.tp-product-details-reviews a {
    color: var(--xgnd-muted);
    font-size: 13px;
}

.tp-product-details-description {
    color: var(--xgnd-muted);
    font-size: 15px;
    line-height: 1.8;
}

.tp-product-details-price-wrapper {
    display: flex;
    align-items: baseline;
    gap: 14px;
    padding: 18px 0;
}

.tp-product-details-price.new-price,
.tp-product-details-price-wrapper .new-price {
    color: var(--xgnd-brown);
    font-family: var(--xgnd-serif);
    font-size: 36px;
    font-weight: 700;
    line-height: 1;
}

.tp-product-details-price-wrapper .old-price,
.tp-product-details-price-wrapper del {
    color: var(--xgnd-muted);
    font-size: 16px;
}

.tp-product-details-wrapper .bb-product-attribute-swatch-title,
.tp-product-details-action-title {
    margin-bottom: 10px;
    color: var(--xgnd-ink);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.tp-product-details-wrapper .text-swatch li input {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: 0;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

.tp-product-details-wrapper .text-swatch li label span,
.tp-product-details-wrapper .bb-product-attribute-text-display {
    min-width: 96px;
    padding: 10px 18px;
    border: 1px solid var(--xgnd-line);
    border-radius: 0;
    background: var(--xgnd-card);
    color: var(--xgnd-ink);
    font-size: 13px;
    font-weight: 500;
    text-align: center;
    transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.tp-product-details-wrapper .text-swatch li:hover label span {
    border-color: var(--xgnd-gold);
}

.tp-product-details-wrapper .text-swatch li input:checked ~ span,
.tp-product-details-wrapper .text-swatch li input:checked + span {
    border-color: var(--xgnd-ink);
    background: var(--xgnd-ink);
    color: var(--xgnd-gold-soft);
}

.tp-product-details-wrapper .text-swatch li.disabled label span {
    background: var(--xgnd-paper);
    color: #b1a698;
}

.tp-product-details-wrapper .number-items-available {
    margin: 14px 0 0;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.06em;
}

.tp-product-details-wrapper .number-items-available .text-danger {
    color: #9b3b25 !important;
}

.tp-product-details-wrapper .number-items-available .text-success,
.tp-product-details-wrapper .number-items-available .text-danger,
.tp-product-details-wrapper .number-items-available .text-warning {
    display: inline-flex;
    padding: 5px 10px;
    border: 1px solid currentColor;
    font-size: 12px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.tp-product-details-wrapper .number-items-available .text-success {
    color: #4f6b3a !important;
}

.tp-product-details-quantity .tp-product-quantity {
    width: 132px;
    border: 1px solid var(--xgnd-line);
    border-radius: 0;
    background: var(--xgnd-card);
}

.tp-product-details-quantity .tp-cart-input {
    border: 0;
    border-radius: 0;
    background: transparent;
    color: var(--xgnd-ink);
}

.tp-product-details-add-to-cart-btn,
.tp-product-details-buy-now-btn {
    min-height: 50px;
    border: 1px solid var(--xgnd-brown);
    border-radius: 0;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.tp-product-details-add-to-cart-btn {
    background: transparent;
    color: var(--xgnd-brown);
}

.tp-product-details-buy-now-btn {
    background: var(--xgnd-brown);
    color: #f6efe4;
}

.tp-product-details-add-to-cart-btn:not(.btn-disabled):hover,
.tp-product-details-buy-now-btn:not(.btn-disabled):hover {
    border-color: var(--xgnd-gold);
    background: var(--xgnd-gold);
    color: var(--xgnd-ink);
}

.tp-product-details-add-to-cart-btn.btn-disabled,
.tp-product-details-buy-now-btn.btn-disabled {
    border-color: #cfc4b5;
    background: #e9e1d5;
    color: #9a8f82;
    cursor: not-allowed;
    opacity: 1;
}

.tp-product-details-action-sm-btn {
    color: var(--xgnd-muted);
    font-size: 13px;
}

.tp-product-details-action-sm-btn:hover {
    color: var(--xgnd-gold);
}

.tp-product-details-query {
    padding-top: 20px;
    border-top: 1px solid var(--xgnd-line);
}

.tp-product-details-query-item span,
.tp-product-details-social span {
    color: var(--xgnd-muted);
    font-size: 13px;
}

.tp-product-details-query-item a,
.tp-product-details-query-item span + span {
    color: var(--xgnd-ink);
    font-size: 13px;
}

.tp-product-details-query-item a:hover {
    color: var(--xgnd-gold);
}

.tp-product-details-social .bb-social-sharing a {
    border-color: var(--xgnd-line);
    color: var(--xgnd-brown);
}

.tp-product-details-social .bb-social-sharing a:hover {
    border-color: var(--xgnd-gold);
    background: var(--xgnd-gold);
    color: var(--xgnd-ink);
}

.tp-product-details-bottom {
    padding-top: 40px;
    border-top: 1px solid var(--xgnd-line);
}

.tp-product-details-tab-nav .tp-product-tab {
    justify-content: center;
    gap: 40px;
    padding-bottom: 0;
    border-bottom: 1px solid var(--xgnd-line);
}

.tp-product-details-tab-nav .tp-product-tab .nav-link {
    height: auto;
    margin: 0;
    padding: 0 0 16px;
    border: 0;
    background: transparent !important;
    color: var(--xgnd-muted);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.tp-product-details-tab-nav .tp-product-tab .nav-link.active,
.tp-product-details-tab-nav .tp-product-tab .nav-link:hover {
    color: var(--xgnd-ink);
}

.tp-product-details-tab-nav .tp-product-tab .nav-link::after {
    left: 0;
    right: 0;
    bottom: -1px;
    width: auto;
    height: 2px;
    background: var(--xgnd-gold);
}

.tp-product-details-tab-nav .tp-product-tab .nav-link:not(.active)::after {
    background: transparent;
}

.tp-product-details-tab-line {
    display: none !important;
}

.tp-product-details-desc-wrapper {
    max-width: 880px;
    margin: 0 auto;
    padding-top: 40px;
    color: #3d3128;
    font-size: 16px;
    line-height: 1.85;
}

.tp-product-details-desc-wrapper h1,
.tp-product-details-desc-wrapper h2,
.tp-product-details-desc-wrapper h3,
.tp-product-details-desc-wrapper h4 {
    margin: 32px 0 14px;
    color: var(--xgnd-ink);
    font-family: var(--xgnd-serif);
    font-weight: 700;
    line-height: 1.2;
}

.tp-product-details-desc-wrapper h2 { font-size: 32px; }
.tp-product-details-desc-wrapper h3 { font-size: 26px; }

.tp-product-details-desc-wrapper a {
    color: var(--xgnd-brown);
    text-decoration: underline;
    text-decoration-color: var(--xgnd-gold);
    text-underline-offset: 3px;
}

.tp-product-details-desc-wrapper img {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 24px auto;
}

.tp-product-details-desc-wrapper iframe {
    display: block;
    width: 100%;
    max-width: 880px;
    height: auto;
    aspect-ratio: 16 / 9;
    margin: 24px auto;
}

.tp-product-details-desc-wrapper table {
    width: 100%;
    border-collapse: collapse;
}

.tp-product-details-desc-wrapper td,
.tp-product-details-desc-wrapper th {
    padding: 10px 14px;
    border: 1px solid var(--xgnd-line);
}

.tp-product-details-sticky-actions {
    background: var(--xgnd-header) !important;
    border-top: 1px solid rgba(194, 160, 106, 0.25);
    box-shadow: 0 -12px 30px rgba(0, 0, 0, 0.25);
}

.tp-product-details-sticky-actions h4,
.tp-product-details-sticky-actions .tp-product-price {
    color: #f3ebdf;
}

.tp-product-details-sticky-actions .new-price {
    color: var(--xgnd-gold-soft);
}

.tp-product-details-sticky-actions .sticky-actions-button button {
    min-height: 46px;
    padding: 0 26px;
    font-size: 12px;
    letter-spacing: 0.12em;
    white-space: nowrap;
}

.tp-product-details-sticky-actions .tp-product-details-add-to-cart-btn {
    border-color: var(--xgnd-gold);
    color: var(--xgnd-gold-soft);
}

.tp-product-details-sticky-actions .tp-product-details-buy-now-btn {
    border-color: var(--xgnd-gold);
    background: var(--xgnd-gold);
    color: var(--xgnd-ink);
}

.tp-product-details-sticky-actions .btn-disabled {
    border-color: #4a3c30 !important;
    background: #2a211a !important;
    color: #85776a !important;
}

/* Cigar profile */

.xgnd-cp {
    --xgnd-cp-ink: #2b1a10;
    --xgnd-cp-brown: #5a3417;
    display: grid;
    grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
    gap: 40px;
    align-items: center;
    margin: 36px 0;
    padding: 44px 48px;
    background: #fff;
    border: 1px solid var(--xgnd-line);
    box-shadow: 0 24px 50px rgba(43, 28, 18, 0.06);
    color: var(--xgnd-cp-ink);
    font-size: 14px;
    line-height: 1.55;
    text-align: left;
}

.xgnd-cp__media {
    display: flex;
    align-items: center;
    justify-content: center;
    align-self: stretch;
    min-height: 420px;
}

.tp-product-details-desc-wrapper .xgnd-cp__media img {
    width: auto;
    max-width: 100%;
    height: 460px;
    margin: 0;
    object-fit: contain;
}

.tp-product-details-desc-wrapper .xgnd-cp__title {
    margin: 0 0 10px;
    color: var(--xgnd-cp-brown);
    font-family: var(--xgnd-serif);
    font-size: clamp(26px, 2.4vw, 32px);
    font-weight: 700;
    line-height: 1.15;
}

.xgnd-cp__summary {
    margin: 0 0 26px;
    color: #3d3128;
    font-size: 15px;
    line-height: 1.6;
}

.xgnd-cp__metrics {
    display: grid;
    grid-template-columns: auto minmax(120px, 1fr) auto minmax(120px, 1fr);
    gap: 8px 28px;
    align-items: start;
    margin-bottom: 22px;
    padding-bottom: 18px;
    border-bottom: 1px solid #e4ddd4;
}

.xgnd-cp__metric {
    display: grid;
    justify-items: center;
    gap: 8px;
    min-width: 0;
    text-align: center;
}

.xgnd-cp__kicker {
    color: var(--xgnd-cp-ink);
    font-size: 13px;
    font-weight: 700;
    line-height: 1.2;
}

.xgnd-cp__score {
    display: grid;
    place-items: center;
    width: 58px;
    min-height: 58px;
    padding: 6px 4px 7px;
    border-radius: 8px;
    background: var(--xgnd-cp-ink);
    color: #fff;
    line-height: 1;
}

.xgnd-cp__score b {
    font-size: 22px;
    font-weight: 700;
}

.xgnd-cp__score small {
    margin-top: 2px;
    font-size: 11px;
    font-weight: 500;
}

.xgnd-cp__ring {
    display: grid;
    place-items: center;
    width: 54px;
    height: 54px;
    border: 3px solid var(--xgnd-cp-ink);
    border-radius: 50%;
    color: var(--xgnd-cp-ink);
    font-size: 18px;
    font-weight: 700;
}

.xgnd-cp__metric--gauge {
    align-content: start;
    justify-items: stretch;
    padding-top: 2px;
}

.xgnd-cp__track {
    display: block;
    height: 16px;
    border: 2px solid var(--xgnd-cp-ink);
    background: #fff;
    overflow: hidden;
}

.xgnd-cp__track i {
    display: block;
    height: 100%;
    background: var(--xgnd-cp-brown);
}

.xgnd-cp__pointer {
    position: relative;
    display: block;
    height: 36px;
    margin-top: 2px;
    color: var(--xgnd-cp-ink);
    font-size: 13px;
    font-weight: 700;
    line-height: 1.2;
}

.xgnd-cp__pointer::before {
    content: "";
    position: absolute;
    top: 0;
    left: var(--xgnd-cp-fill);
    border-right: 6px solid transparent;
    border-bottom: 8px solid var(--xgnd-cp-ink);
    border-left: 6px solid transparent;
    transform: translateX(-50%);
}

.xgnd-cp__pointer span {
    position: absolute;
    top: 12px;
    left: var(--xgnd-cp-fill);
    max-width: 148px;
    transform: translateX(-50%);
    text-align: center;
}

.xgnd-cp__split {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(140px, 220px);
    gap: 18px 24px;
    align-items: end;
}

.xgnd-cp__split--solo {
    grid-template-columns: 1fr;
}

.tp-product-details-desc-wrapper .xgnd-cp__heading {
    margin: 0 0 10px;
    color: var(--xgnd-cp-brown);
    font-family: var(--xgnd-sans);
    font-size: 15px;
    font-weight: 700;
}

.xgnd-cp__details {
    margin: 0;
}

.xgnd-cp__details > div {
    padding: 9px 0;
    border-bottom: 1px solid #d9d2c8;
    font-size: 15px;
    line-height: 1.45;
}

.xgnd-cp__details > div:last-child {
    border-bottom: 0;
}

.xgnd-cp__details dt,
.xgnd-cp__details dd {
    display: inline;
    margin: 0;
}

.xgnd-cp__details dt {
    font-weight: 700;
}

.xgnd-cp__award-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
    padding-bottom: 10px;
    border-bottom: 1px solid #cfc7bd;
}

.tp-product-details-desc-wrapper .xgnd-cp__award-row ul {
    margin: 0;
    padding: 0;
    list-style: none;
    font-size: 13px;
    line-height: 1.45;
}

.xgnd-cp__award-row li + li {
    margin-top: 6px;
}

.xgnd-cp__badge {
    display: grid;
    flex: none;
    justify-items: center;
    color: #111;
    font-family: "Roboto", system-ui, sans-serif;
    line-height: 0.9;
    text-align: center;
}

.xgnd-cp__badge small {
    font-size: 15px;
    font-weight: 900;
    letter-spacing: 0.02em;
}

.xgnd-cp__badge strong {
    font-size: 36px;
    font-weight: 900;
}

.xgnd-cp__badge small:last-child {
    margin-top: 3px;
    font-size: 9px;
    letter-spacing: 0.06em;
}

.tp-product-details-desc-wrapper .xgnd-cp__box {
    display: block;
    width: 100%;
    max-width: 220px;
    height: auto !important;
    margin: 0 0 8px auto;
    object-fit: contain;
}

.xgnd-cp__awards {
    margin-top: 18px;
}

@media (max-width: 991px) {
    .xgnd-cp {
        grid-template-columns: 1fr;
        gap: 18px;
        padding: 32px 24px;
    }

    .xgnd-cp__media { min-height: 320px; }
    .tp-product-details-desc-wrapper .xgnd-cp__media img { height: 360px; }
    .xgnd-cp__split { grid-template-columns: 1fr; }
    .tp-product-details-desc-wrapper .xgnd-cp__box { margin-left: 0; }
}

@media (max-width: 767px) {
    .tp-product-details-thumb-wrapper .bb-product-gallery-vertical .bb-product-gallery-thumbnails:not(.slick-initialized) {
        display: flex;
        flex: none;
        gap: 10px;
        width: 100%;
        min-width: 0;
        max-width: 100%;
        height: 70px;
        max-height: 70px;
        overflow: hidden;
    }

    .tp-product-details-thumb-wrapper .bb-product-gallery-vertical .bb-product-gallery-thumbnails:not(.slick-initialized) > div {
        flex: 0 0 70px;
        margin-bottom: 0;
    }
}

@media (max-width: 600px) {
    .xgnd-cp__metrics { grid-template-columns: auto minmax(0, 1fr); }
}

/* Related products */

.tp-related-product {
    padding: 72px 0 80px;
    background: var(--xgnd-paper);
    border-top: 1px solid var(--xgnd-line);
}

.tp-related-subtitle {
    color: var(--xgnd-gold);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
}

.tp-related-title {
    color: var(--xgnd-ink);
    font-family: var(--xgnd-serif);
    font-size: clamp(30px, 3vw, 42px);
    font-weight: 700;
}

.tp-related-nav-btn {
    border: 1px solid var(--xgnd-line);
    border-radius: 0;
    background: var(--xgnd-card);
    color: var(--xgnd-ink);
}

.tp-related-nav-btn:not(.swiper-button-disabled):hover {
    border-color: var(--xgnd-gold);
    background: var(--xgnd-gold);
}

.tp-related-product .tp-product-item,
.tp-shop-area .tp-product-item {
    border: 1px solid var(--xgnd-line);
    border-radius: 0;
    background: var(--xgnd-card);
    overflow: hidden;
}

.tp-related-product .tp-product-item:hover,
.tp-shop-area .tp-product-item:hover {
    border-color: var(--xgnd-gold-soft);
    box-shadow: 0 18px 40px rgba(43, 28, 18, 0.08);
}

.tp-related-product .tp-product-content,
.tp-shop-area .tp-product-content {
    padding: 16px 18px 20px;
    border-top: 1px solid var(--xgnd-line);
}

.tp-related-product .tp-product-title,
.tp-shop-area .tp-product-title {
    font-family: var(--xgnd-serif);
    font-size: 19px;
    font-weight: 700;
    line-height: 1.25;
}

.tp-related-product .tp-product-title a,
.tp-shop-area .tp-product-title a {
    color: var(--xgnd-ink);
}

.tp-related-product .tp-product-title a:hover,
.tp-shop-area .tp-product-title a:hover {
    color: var(--xgnd-brown);
}

.tp-related-product .tp-product-price.new-price,
.tp-shop-area .tp-product-price.new-price {
    color: var(--xgnd-brown);
    font-weight: 700;
}

/* Keep collection cards focused on the product, title and price. */
.tp-shop-area .tp-product-badge .product-sale,
.tp-shop-area .tp-product-action,
.tp-shop-area .tp-product-action-2,
.tp-shop-area .tp-product-add-cart-btn-large-wrapper {
    display: none !important;
}

.tp-shop-area .tp-product-price-wrapper.is-range {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 4px 9px;
}

.tp-shop-area .tp-product-price-wrapper.is-range.is-on-sale .old-price {
    display: inline !important;
    color: #9a948b !important;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.35;
    text-decoration: line-through;
    text-decoration-thickness: 1px;
}

.tp-product-add-cart-btn-large {
    border-radius: 0;
    background: var(--xgnd-ink);
    color: var(--xgnd-gold-soft);
    font-size: 12px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.tp-product-add-cart-btn-large:hover {
    background: var(--xgnd-gold);
    color: var(--xgnd-ink);
}

.tp-product-action-btn {
    border-color: var(--xgnd-line);
    border-radius: 0;
    color: var(--xgnd-ink);
}

.tp-product-action-btn:hover {
    border-color: var(--xgnd-ink);
    background: var(--xgnd-ink);
    color: var(--xgnd-gold-soft);
}

/* Page heading (breadcrumbs) */

.xgnd-crumbs {
    padding: 34px 0 30px;
    background: var(--xgnd-paper);
    border-bottom: 1px solid var(--xgnd-line);
    text-align: center;
}

.xgnd-crumbs--compact {
    padding: 16px 0;
    text-align: left;
}

.xgnd-crumbs__inner {
    width: var(--xgnd-wrap);
    margin-inline: auto;
}

.xgnd-crumbs__list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px 0;
    color: var(--xgnd-muted);
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.xgnd-crumbs--compact .xgnd-crumbs__list {
    justify-content: flex-start;
}

.xgnd-crumbs__list > * + *::before {
    content: "/";
    margin: 0 10px;
    color: #c4b6a2;
}

.xgnd-crumbs__list a {
    color: var(--xgnd-muted);
    text-decoration: none;
}

.xgnd-crumbs__list a:hover {
    color: var(--xgnd-brown);
}

.xgnd-crumbs__list [aria-current] {
    max-width: 52ch;
    overflow: hidden;
    color: var(--xgnd-ink);
    text-overflow: ellipsis;
    white-space: nowrap;
}

.xgnd-crumbs__title {
    margin: 14px 0 0;
    color: var(--xgnd-ink);
    font-family: var(--xgnd-serif);
    font-size: clamp(34px, 3.4vw, 50px);
    font-weight: 600;
    line-height: 1.08;
}

.xgnd-crumbs__title::after {
    content: "";
    display: block;
    width: 56px;
    height: 2px;
    margin: 18px auto 0;
    background: var(--xgnd-gold);
}

.xgnd-crumbs__sub {
    margin: 14px 0 0;
    color: var(--xgnd-brown);
    font-size: 13px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

/* Store locator */

body:has(#xgnd-stores) .xgnd-main {
    background: #f4f4f2 !important;
}

body:has(#xgnd-stores) .xgnd-crumbs {
    padding: 28px 0 24px;
    background: #f4f4f2 !important;
    border-bottom: 0;
    text-align: left;
}

body:has(#xgnd-stores) .xgnd-crumbs__inner {
    width: min(1280px, calc(100% - 48px));
}

body:has(#xgnd-stores) .xgnd-crumbs__list {
    justify-content: flex-start;
    color: #746f68;
    letter-spacing: 0.06em;
}

body:has(#xgnd-stores) .xgnd-crumbs__title {
    max-width: 760px;
    margin-top: 10px;
    color: #1c1916;
    font-family: var(--xgnd-sans);
    font-size: clamp(34px, 4vw, 52px);
    font-weight: 700;
    letter-spacing: -0.035em;
}

body:has(#xgnd-stores) .xgnd-crumbs__title::after {
    display: none;
}

body:has(#xgnd-stores) .xgnd-page {
    width: min(1280px, calc(100% - 48px));
    margin: 0 auto 72px;
    padding: 0;
    border: 0;
    background: transparent !important;
}

body:has(#xgnd-stores) .xgnd-page .ck-content {
    padding: 0;
}

body:has(#xgnd-stores) .xgnd-stores {
    color: #1c1916;
    font-family: var(--xgnd-sans);
    font-size: 14px;
    line-height: 1.5;
}

body:has(#xgnd-stores) .xgnd-stores__intro {
    max-width: 620px;
    margin-bottom: 26px;
}

body:has(#xgnd-stores) .xgnd-stores__eyebrow {
    display: block;
    margin-bottom: 8px;
    color: #8b6738;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

body:has(#xgnd-stores) .xgnd-stores__intro h2 {
    margin: 0;
    color: #1c1916;
    font-family: var(--xgnd-sans);
    font-size: clamp(26px, 2.8vw, 38px);
    font-weight: 700;
    letter-spacing: -0.025em;
    line-height: 1.12;
}

body:has(#xgnd-stores) .xgnd-stores__intro p {
    max-width: 54ch;
    margin: 10px 0 0;
    color: #68635d;
    font-size: 15px;
    line-height: 1.65;
}

body:has(#xgnd-stores) .xgnd-stores__layout {
    display: grid;
    grid-template-columns: minmax(320px, 400px) minmax(0, 1fr);
    gap: 20px;
    align-items: stretch;
    min-height: 0;
}

body:has(#xgnd-stores) .xgnd-stores__left,
body:has(#xgnd-stores) .xgnd-stores__panel,
body:has(#xgnd-stores) .xgnd-stores__right,
body:has(#xgnd-stores) .xgnd-stores__map {
    height: auto;
    min-height: 0;
    max-height: none;
}

body:has(#xgnd-stores) .xgnd-stores__panel {
    padding: 10px;
    background: #e9e9e6;
    border: 0;
    border-radius: 12px;
}

body:has(#xgnd-stores) .xgnd-stores__list {
    display: grid;
    gap: 8px;
    overflow: visible;
    padding: 0;
}

body:has(#xgnd-stores) .xgnd-store {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
    gap: 0 12px;
    margin: 0;
    padding: 0;
    overflow: hidden;
    background: #fbfbfa;
    border: 1px solid transparent;
    border-radius: 12px;
    transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

body:has(#xgnd-stores) .xgnd-store::before {
    display: none;
    content: none;
}

body:has(#xgnd-stores) .xgnd-store:hover {
    border-color: #cfcac2;
    transform: translateY(-1px);
}

body:has(#xgnd-stores) .xgnd-store.is-active {
    background: #1c1916;
    border-color: #1c1916;
    box-shadow: 0 12px 30px rgba(31, 27, 23, 0.14);
}

body:has(#xgnd-stores) .xgnd-store__select {
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 14px;
    align-items: start;
    width: 100%;
    padding: 20px 8px 18px 18px;
    background: transparent;
    border: 0;
    color: inherit;
    text-align: left;
}

body:has(#xgnd-stores) .xgnd-store__select:focus-visible,
body:has(#xgnd-stores) .xgnd-store__directions:focus-visible,
body:has(#xgnd-stores) .xgnd-stores__external:focus-visible {
    outline: 3px solid #c89956;
    outline-offset: 2px;
}

body:has(#xgnd-stores) .xgnd-store__select:active,
body:has(#xgnd-stores) .xgnd-store__directions:active,
body:has(#xgnd-stores) .xgnd-stores__external:active {
    transform: translateY(1px);
}

body:has(#xgnd-stores) .xgnd-store__number {
    display: grid;
    width: 40px;
    height: 40px;
    place-items: center;
    background: #eceae6;
    border-radius: 10px;
    color: #6d665e;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
}

body:has(#xgnd-stores) .xgnd-store.is-active .xgnd-store__number {
    background: #c9a66c;
    color: #1c1916;
}

body:has(#xgnd-stores) .xgnd-store__content {
    display: block;
    min-width: 0;
}

body:has(#xgnd-stores) .xgnd-store h3 {
    margin: 0;
    color: #1c1916;
    font-family: var(--xgnd-sans);
    font-size: 17px;
    font-weight: 700;
    line-height: 1.35;
}

body:has(#xgnd-stores) .xgnd-store.is-active h3 {
    color: #fffaf3;
}

body:has(#xgnd-stores) .xgnd-store__address {
    margin: 7px 0 0;
    color: #68635d;
    font-size: 13px;
    line-height: 1.55;
}

body:has(#xgnd-stores) .xgnd-store.is-active .xgnd-store__address {
    color: #d2c8bc;
}

body:has(#xgnd-stores) .xgnd-store__details {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 16px;
    margin-top: 12px;
    color: #746e67;
    font-size: 12px;
    font-weight: 600;
}

body:has(#xgnd-stores) .xgnd-store.is-active .xgnd-store__details {
    color: #c3b7a9;
}

body:has(#xgnd-stores) .xgnd-store__directions {
    align-self: end;
    margin: 0 18px 18px 0;
    color: #624721 !important;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
}

body:has(#xgnd-stores) .xgnd-store__directions:hover {
    text-decoration: underline;
    text-underline-offset: 3px;
}

body:has(#xgnd-stores) .xgnd-store.is-active .xgnd-store__directions {
    color: #e7c78f !important;
}

body:has(#xgnd-stores) .xgnd-stores__right {
    overflow: hidden;
    background: #fbfbfa;
    border: 1px solid #dedbd5;
    border-radius: 12px;
}

body:has(#xgnd-stores) .xgnd-stores__map-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    min-height: 78px;
    padding: 14px 18px;
    background: #fbfbfa;
    border-bottom: 1px solid #dedbd5;
}

body:has(#xgnd-stores) .xgnd-stores__map-head div {
    min-width: 0;
}

body:has(#xgnd-stores) .xgnd-stores__map-head span {
    display: block;
    margin-bottom: 2px;
    color: #777169;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

body:has(#xgnd-stores) .xgnd-stores__map-head strong {
    display: block;
    overflow: hidden;
    color: #1c1916;
    font-size: 16px;
    font-weight: 700;
    text-overflow: ellipsis;
    white-space: nowrap;
}

body:has(#xgnd-stores) .xgnd-stores__external {
    flex: 0 0 auto;
    padding: 10px 14px;
    background: #1c1916;
    border-radius: 10px;
    color: #fffaf3 !important;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;
    transition: background-color 180ms ease, transform 180ms ease;
}

body:has(#xgnd-stores) .xgnd-stores__external:hover {
    background: #6b4b27;
}

body:has(#xgnd-stores) .xgnd-stores__map,
body:has(#xgnd-stores) .xgnd-stores__map iframe {
    display: block;
    width: 100%;
    height: clamp(520px, 64vh, 680px);
    min-height: 0;
    border: 0;
    background: #e9e9e6;
}

body:has(#xgnd-stores) .xgnd-contact,
body:has(#xgnd-stores) .xgnd-page--contact .contact-form {
    display: none !important;
}

@media (prefers-reduced-motion: reduce) {
    body:has(#xgnd-stores) .xgnd-store,
    body:has(#xgnd-stores) .xgnd-stores__external {
        transition: none;
    }
}

@media (max-width: 991px) {
    body:has(#xgnd-stores) .xgnd-crumbs__inner,
    body:has(#xgnd-stores) .xgnd-page {
        width: calc(100% - 32px);
    }

    body:has(#xgnd-stores) .xgnd-page {
        margin-bottom: 52px;
    }

    body:has(#xgnd-stores) .xgnd-stores__layout {
        grid-template-columns: minmax(0, 1fr);
    }

    body:has(#xgnd-stores) .xgnd-stores__panel {
        padding: 0;
        background: transparent;
    }

    body:has(#xgnd-stores) .xgnd-stores__list {
        grid-auto-columns: minmax(280px, 82vw);
        grid-auto-flow: column;
        grid-template-columns: none;
        gap: 10px;
        overflow-x: auto;
        padding: 2px 2px 10px;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
    }

    body:has(#xgnd-stores) .xgnd-stores__list::-webkit-scrollbar {
        display: none;
    }

    body:has(#xgnd-stores) .xgnd-store {
        scroll-snap-align: start;
    }

    body:has(#xgnd-stores) .xgnd-stores__map,
    body:has(#xgnd-stores) .xgnd-stores__map iframe {
        height: 430px;
    }
}

@media (max-width: 575px) {
    body:has(#xgnd-stores) .xgnd-crumbs {
        padding: 22px 0 18px;
    }

    body:has(#xgnd-stores) .xgnd-crumbs__inner,
    body:has(#xgnd-stores) .xgnd-page {
        width: calc(100% - 24px);
    }

    body:has(#xgnd-stores) .xgnd-crumbs__title {
        font-size: 32px;
    }

    body:has(#xgnd-stores) .xgnd-stores__intro {
        margin-bottom: 20px;
    }

    body:has(#xgnd-stores) .xgnd-stores__intro h2 {
        font-size: 25px;
    }

    body:has(#xgnd-stores) .xgnd-store {
        grid-template-columns: minmax(0, 1fr);
    }

    body:has(#xgnd-stores) .xgnd-store__directions {
        margin: 0 18px 18px 72px;
    }

    body:has(#xgnd-stores) .xgnd-stores__map-head {
        gap: 12px;
        min-height: 72px;
        padding: 12px 14px;
    }

    body:has(#xgnd-stores) .xgnd-stores__map-head strong {
        font-size: 14px;
    }

    body:has(#xgnd-stores) .xgnd-stores__external {
        padding: 10px 11px;
        font-size: 11px;
    }

    body:has(#xgnd-stores) .xgnd-stores__map,
    body:has(#xgnd-stores) .xgnd-stores__map iframe {
        height: 340px;
    }
}

/* Product listing (collections) */

.tp-shop-area {
    padding: 44px 0 70px;
}

.tp-shop-area > .container {
    max-width: 1320px;
}

.bb-shop-sidebar {
    position: sticky;
    top: 96px;
}

.bb-shop-sidebar .tp-shop-widget,
.bb-shop-sidebar .bb-product-filter {
    margin-bottom: 18px !important;
    padding: 20px 22px;
    background: var(--xgnd-card);
    border: 1px solid var(--xgnd-line);
    border-radius: 0;
}

.bb-shop-sidebar .tp-sidebar-search {
    padding: 0;
    border: 0;
    background: transparent;
}

.bb-shop-sidebar .tp-sidebar-search-input input {
    height: 46px;
    padding: 0 46px 0 16px;
    border: 1px solid var(--xgnd-line);
    border-radius: 0;
    background: var(--xgnd-card);
    font-size: 14px;
}

.bb-shop-sidebar .tp-sidebar-search-input input:focus {
    border-color: var(--xgnd-gold);
}

.bb-shop-sidebar .tp-sidebar-search-input button {
    color: var(--xgnd-brown);
}

.bb-product-filter-title,
.bb-shop-sidebar .tp-shop-widget-title {
    margin: 0 0 12px !important;
    padding: 0 0 10px !important;
    border-bottom: 1px solid var(--xgnd-line) !important;
    color: var(--xgnd-ink);
    font-family: "Roboto", system-ui, sans-serif !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    letter-spacing: 0.04em;
    line-height: 1.4;
    text-transform: uppercase;
}

.bb-product-filter-items {
    max-height: 320px;
    overflow-y: auto;
    margin: 0;
    padding: 0;
}

.bb-product-filter-item,
.bb-product-filter-link {
    color: #4c4037;
    font-size: 14px;
}

.bb-product-filter-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 5px 0;
    text-decoration: none;
}

.bb-product-filter-link svg {
    width: 16px;
    height: 16px;
    color: #a99a86;
}

.bb-product-filter-link:hover,
.bb-product-filter-link.active {
    color: var(--xgnd-brown);
    font-weight: 600;
}

.bb-shop-sidebar .bb-product-filter-attribute-item {
    margin-bottom: 18px;
    padding-bottom: 6px;
    border-bottom: 1px solid var(--xgnd-line);
}

.bb-shop-sidebar .bb-product-filter-attribute-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: 0;
}

.bb-shop-sidebar .bb-product-filter-items.filter-checkbox {
    display: flex;
    flex-direction: column;
    gap: 2px;
    max-height: 280px;
    padding-right: 6px;
}

.bb-shop-sidebar .bb-product-filter-items.filter-checkbox > .bb-product-filter-item {
    margin: 0;
    padding: 0;
}

.bb-shop-sidebar .bb-product-filter-items.filter-checkbox > .bb-product-filter-item > input {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: 0;
    opacity: 0;
    pointer-events: none;
}

.bb-shop-sidebar .bb-product-filter-items.filter-checkbox > .bb-product-filter-item > label {
    display: grid;
    grid-template-columns: 18px minmax(0, 1fr);
    column-gap: 10px;
    align-items: start;
    margin: 0;
    padding: 7px 4px;
    color: #3d332b;
    font-family: "Roboto", system-ui, sans-serif;
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 0;
    line-height: 1.45;
    text-transform: none;
    cursor: pointer;
}

.bb-shop-sidebar .bb-product-filter-items.filter-checkbox > .bb-product-filter-item > label::before,
.bb-shop-sidebar .bb-product-filter-items.filter-checkbox > .bb-product-filter-item > label::after {
    grid-column: 1;
    grid-row: 1;
    position: static;
    top: auto;
    inset-inline-start: auto;
    width: 16px;
    height: 16px;
    margin-top: 2px;
    content: "";
    visibility: visible;
    opacity: 1;
}

.bb-shop-sidebar .bb-product-filter-items.filter-checkbox > .bb-product-filter-item > label::before {
    z-index: 2;
    background: transparent center / 12px no-repeat;
}

.bb-shop-sidebar .bb-product-filter-items.filter-checkbox > .bb-product-filter-item > label::after {
    z-index: 1;
    border: 1.5px solid #c9bba8;
    background: #fff;
}

.bb-shop-sidebar .bb-product-filter-items.filter-checkbox > .bb-product-filter-item > input:checked + label::after,
.bb-shop-sidebar .bb-product-filter-items.filter-checkbox > .bb-product-filter-item > input:focus-visible + label::after {
    border-color: var(--xgnd-brown);
}

.bb-shop-sidebar .bb-product-filter-items.filter-checkbox > .bb-product-filter-item > input:checked + label::after {
    background: var(--xgnd-brown);
}

.bb-shop-sidebar .bb-product-filter-items.filter-checkbox > .bb-product-filter-item > input:checked + label::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5l10 -10'/%3E%3C/svg%3E");
}

.bb-shop-sidebar .bb-product-filter-items.filter-checkbox > .bb-product-filter-item > label:hover {
    background: #f7f3ed;
}

.bb-shop-sidebar .bb-product-filter-items.filter-checkbox > .bb-product-filter-item > input:focus-visible + label {
    outline: 2px solid var(--xgnd-gold);
    outline-offset: 1px;
}

.bb-product-price-filter .ui-slider-range,
.bb-product-price-filter .noUi-connect,
.tp-shop-widget .ui-slider .ui-slider-range {
    background: var(--xgnd-brown) !important;
}

.xgnd-default {
    padding: 44px 0 80px;
}

.tp-shop-top {
    margin-bottom: 22px !important;
    padding: 10px 14px;
    background: var(--xgnd-card);
    border: 1px solid var(--xgnd-line);
}

.tp-shop-top > .row {
    align-items: center;
    row-gap: 10px;
}

@media (min-width: 768px) {
    .tp-shop-top > .row {
        flex-wrap: nowrap;
    }

    .tp-shop-top > .row > [class*="col-"] {
        flex: 0 1 auto;
        width: auto;
    }

    .tp-shop-top > .row > [class*="col-"]:last-child {
        margin-left: auto;
    }
}

.tp-shop-top-left {
    gap: 14px;
}

.tp-shop-top-tab .nav-tabs {
    gap: 6px;
    flex-wrap: nowrap;
}

.tp-shop-top-tab .nav-link svg {
    width: 16px;
    height: 16px;
}

.tp-shop-top-right {
    display: flex !important;
    flex-wrap: nowrap;
    justify-content: flex-end;
    gap: 10px;
}

.tp-shop-top-result p {
    white-space: nowrap;
}

.tp-shop-top-select .nice-select {
    min-width: 0;
    padding-right: 34px;
}

@media (max-width: 1199px) {
    .tp-shop-top-tab {
        display: none;
    }
}

.tp-shop-top-right .tp-shop-top-select + .tp-shop-top-select {
    margin-left: 0 !important;
}

.tp-shop-top-tab .nav-link {
    width: 38px;
    height: 38px;
}

.bb-product-items-wrapper .alert {
    display: flex;
    justify-content: center;
    padding: 44px 20px;
    border: 1px dashed #d8cbb8;
    border-radius: 0;
    background: var(--xgnd-paper);
    color: var(--xgnd-muted);
    font-size: 15px;
    text-align: center;
}

.bb-product-items-wrapper .alert svg {
    color: var(--xgnd-gold);
}

.xgnd-seo__body :is(h1, h2, h3, h4) span,
.xgnd-prose :is(h1, h2, h3, h4) span {
    font-size: inherit !important;
}

.xgnd-seo__body [style*="text-align: justify"],
.xgnd-prose [style*="text-align: justify"] {
    text-align: left !important;
}

.tp-shop-top-result p {
    margin: 0;
    color: var(--xgnd-muted);
    font-size: 13px;
}

.tp-shop-top-select .nice-select,
.tp-shop-top-select select {
    height: 38px;
    border: 1px solid var(--xgnd-line);
    border-radius: 0;
    color: var(--xgnd-ink);
    font-size: 13px;
    line-height: 36px;
}

.tp-shop-top-tab .nav-link {
    border-color: var(--xgnd-line) !important;
    border-radius: 0 !important;
    color: var(--xgnd-muted);
}

.tp-shop-top-tab .nav-link.active {
    border-color: var(--xgnd-ink) !important;
    background: var(--xgnd-ink);
    color: var(--xgnd-gold-soft);
}

/* SEO description under the product grid */

.xgnd-seo {
    position: relative;
    margin-top: 36px;
    padding: 34px clamp(20px, 3vw, 44px) 26px;
    background: var(--xgnd-card);
    border: 1px solid var(--xgnd-line);
}

.xgnd-seo__body {
    max-height: 340px;
    overflow: hidden;
    position: relative;
}

.xgnd-seo:not(.is-open):not(.is-short) .xgnd-seo__body::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 120px;
    background: linear-gradient(rgba(255, 255, 255, 0), var(--xgnd-card));
}

.xgnd-seo.is-open .xgnd-seo__body,
.xgnd-seo.is-short .xgnd-seo__body {
    max-height: none;
}

.xgnd-seo.is-short .xgnd-seo__toggle {
    display: none;
}

.xgnd-seo__toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 18px auto 0;
    padding: 10px 26px;
    border: 1px solid var(--xgnd-ink);
    background: transparent;
    color: var(--xgnd-ink);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    cursor: pointer;
}

.xgnd-seo__toggle:hover {
    background: var(--xgnd-ink);
    color: var(--xgnd-gold-soft);
}

.xgnd-seo__toggle [data-less],
.xgnd-seo.is-open .xgnd-seo__toggle [data-more] {
    display: none;
}

.xgnd-seo.is-open .xgnd-seo__toggle [data-less] {
    display: inline;
}

/* Long-form content (collections, posts, pages) */

.xgnd-seo__body,
.xgnd-prose,
.xgnd-page .ck-content {
    color: #3d332b;
    font-size: 16px;
    line-height: 1.8;
}

.xgnd-seo__body h1,
.xgnd-seo__body h2,
.xgnd-seo__body h3,
.xgnd-prose h1,
.xgnd-prose h2,
.xgnd-prose h3,
.xgnd-prose h4,
.xgnd-page .ck-content h1,
.xgnd-page .ck-content h2,
.xgnd-page .ck-content h3 {
    margin: 1.6em 0 0.6em;
    color: var(--xgnd-ink);
    font-family: var(--xgnd-serif);
    font-weight: 600;
    line-height: 1.2;
}

.xgnd-seo__body h2,
.xgnd-prose h2,
.xgnd-page .ck-content h2 {
    font-size: clamp(26px, 2.2vw, 32px);
}

.xgnd-seo__body h3,
.xgnd-prose h3,
.xgnd-page .ck-content h3 {
    font-size: clamp(21px, 1.7vw, 25px);
}

.xgnd-prose h4 {
    font-size: 20px;
}

.xgnd-seo__body > :first-child,
.xgnd-prose > :first-child,
.xgnd-page .ck-content > :first-child {
    margin-top: 0;
}

.xgnd-seo__body p,
.xgnd-prose p,
.xgnd-page .ck-content p {
    margin: 0 0 1.1em;
}

.xgnd-seo__body a,
.xgnd-prose a,
.xgnd-page .ck-content a {
    color: var(--xgnd-brown);
    text-decoration: underline;
    text-decoration-color: rgba(194, 160, 106, 0.6);
    text-underline-offset: 3px;
}

.xgnd-seo__body a:hover,
.xgnd-prose a:hover,
.xgnd-page .ck-content a:hover {
    color: var(--xgnd-gold);
}

.xgnd-seo__body ul,
.xgnd-seo__body ol,
.xgnd-prose ul,
.xgnd-prose ol,
.xgnd-page .ck-content ul,
.xgnd-page .ck-content ol {
    margin: 0 0 1.2em;
    padding-left: 1.3em;
}

.xgnd-seo__body li,
.xgnd-prose li,
.xgnd-page .ck-content li {
    margin-bottom: 0.45em;
}

.xgnd-seo__body ul li,
.xgnd-prose ul li,
.xgnd-page .ck-content ul li {
    list-style: disc;
}

.xgnd-seo__body ol li,
.xgnd-prose ol li,
.xgnd-page .ck-content ol li {
    list-style: decimal;
}

.xgnd-seo__body li::marker,
.xgnd-prose li::marker,
.xgnd-page .ck-content li::marker {
    color: var(--xgnd-gold);
}

.xgnd-seo__body img,
.xgnd-prose img,
.xgnd-page .ck-content img {
    display: block;
    max-width: 100%;
    height: auto !important;
    margin: 1.4em auto;
}

.xgnd-prose iframe {
    display: block;
    width: 100%;
    max-width: 100%;
    aspect-ratio: 16 / 9;
    height: auto;
    margin: 1.4em 0;
}

.xgnd-prose blockquote {
    margin: 1.6em 0;
    padding: 4px 0 4px 22px;
    border-left: 2px solid var(--xgnd-gold);
    color: var(--xgnd-brown);
    font-family: var(--xgnd-serif);
    font-size: 21px;
    font-style: italic;
}

.xgnd-prose table,
.xgnd-page .ck-content table,
.xgnd-seo__body table {
    width: 100%;
    margin: 1.4em 0;
    border-collapse: collapse;
    font-size: 15px;
}

.xgnd-prose th,
.xgnd-prose td,
.xgnd-page .ck-content th,
.xgnd-page .ck-content td,
.xgnd-seo__body th,
.xgnd-seo__body td {
    padding: 10px 14px;
    border: 1px solid var(--xgnd-line);
    text-align: left;
    vertical-align: top;
}

.xgnd-prose th,
.xgnd-page .ck-content th,
.xgnd-seo__body th,
.xgnd-prose tr:first-child td strong {
    background: var(--xgnd-paper);
    color: var(--xgnd-ink);
}

/* Blog listing */

.xgnd-blog {
    padding: 44px 0 80px;
}

.xgnd-blog__inner,
.xgnd-article__layout {
    width: var(--xgnd-wrap);
    margin-inline: auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 48px;
    align-items: start;
}

.xgnd-blog__intro {
    margin-bottom: 26px;
    color: var(--xgnd-muted);
    font-size: 15px;
    line-height: 1.75;
}

.xgnd-blog__count {
    margin: 0 0 18px;
    color: var(--xgnd-muted);
    font-size: 13px;
    letter-spacing: 0.04em;
}

.xgnd-post-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 26px;
}

.xgnd-post-grid--3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.xgnd-post-card {
    display: flex;
    flex-direction: column;
    background: var(--xgnd-card);
    border: 1px solid var(--xgnd-line);
    transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.xgnd-post-card:hover {
    box-shadow: 0 18px 38px rgba(43, 26, 16, 0.1);
    transform: translateY(-2px);
}

.xgnd-post-card__media {
    display: block;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #e9e0d3;
}

.xgnd-post-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.xgnd-post-card:hover .xgnd-post-card__media img {
    transform: scale(1.04);
}

.xgnd-post-card__body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 20px 22px 22px;
}

.xgnd-post-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 0 0 10px;
    color: var(--xgnd-muted);
    font-size: 11px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.xgnd-post-card__meta a {
    color: var(--xgnd-brown);
    font-weight: 600;
    text-decoration: none;
}

.xgnd-post-card__title {
    display: -webkit-box;
    margin: 0 0 10px;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    font-family: var(--xgnd-serif);
    font-size: 23px;
    font-weight: 600;
    line-height: 1.22;
}

.xgnd-post-card__title a {
    color: var(--xgnd-ink);
    text-decoration: none;
}

.xgnd-post-card__title a:hover {
    color: var(--xgnd-brown);
}

.xgnd-post-card__excerpt {
    display: -webkit-box;
    margin: 0 0 16px;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    color: #5d5148;
    font-size: 14px;
    line-height: 1.65;
}

.xgnd-post-card__more {
    margin-top: auto;
    color: var(--xgnd-brown);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-decoration: none;
    text-transform: uppercase;
}

.xgnd-post-card__more:hover {
    color: var(--xgnd-gold);
}

.xgnd-blog__empty {
    padding: 60px 24px;
    background: var(--xgnd-card);
    border: 1px solid var(--xgnd-line);
    text-align: center;
}

.xgnd-blog__empty p {
    margin: 0 0 18px;
    color: var(--xgnd-muted);
    font-size: 15px;
}

/* Blog sidebar */

.xgnd-blog-aside {
    position: sticky;
    top: 96px;
    display: grid;
    gap: 20px;
}

.xgnd-blog-aside__box {
    padding: 22px 22px 18px;
    background: var(--xgnd-card);
    border: 1px solid var(--xgnd-line);
}

.xgnd-blog-aside__box h2 {
    margin: 0 0 14px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--xgnd-line);
    color: var(--xgnd-ink);
    font-family: var(--xgnd-sans);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.xgnd-blog-aside ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.xgnd-blog-aside__cats a {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    padding: 8px 0;
    border-bottom: 1px dashed #eee5d8;
    color: #4c4037;
    font-size: 14px;
    text-decoration: none;
}

.xgnd-blog-aside__cats li:last-child a {
    border-bottom: 0;
}

.xgnd-blog-aside__cats span {
    color: #a99a86;
    font-size: 12px;
}

.xgnd-blog-aside__cats a:hover,
.xgnd-blog-aside__cats .is-active a {
    color: var(--xgnd-brown);
    font-weight: 600;
}

.xgnd-blog-aside__recent li + li {
    margin-top: 14px;
}

.xgnd-blog-aside__recent a {
    display: grid;
    grid-template-columns: 72px 1fr;
    gap: 12px;
    align-items: center;
    text-decoration: none;
}

.xgnd-blog-aside__recent img {
    width: 72px;
    height: 54px;
    object-fit: cover;
}

.xgnd-blog-aside__recent strong {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    color: var(--xgnd-ink);
    font-size: 13px;
    font-weight: 500;
    line-height: 1.45;
}

.xgnd-blog-aside__recent a:hover strong {
    color: var(--xgnd-brown);
}

.xgnd-blog-aside__recent time {
    display: block;
    margin-top: 4px;
    color: #a99a86;
    font-size: 11px;
}

.xgnd-blog-aside__tags,
.xgnd-article__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.xgnd-blog-aside__tags a,
.xgnd-article__tags a {
    padding: 6px 12px;
    border: 1px solid var(--xgnd-line);
    color: #5d5148;
    font-size: 12px;
    text-decoration: none;
}

.xgnd-blog-aside__tags a:hover,
.xgnd-blog-aside__tags a.is-active,
.xgnd-article__tags a:hover {
    border-color: var(--xgnd-ink);
    background: var(--xgnd-ink);
    color: var(--xgnd-gold-soft);
}

/* Pagination */

.xgnd-pager,
.tp-shop-area .tp-pagination {
    margin-top: 36px;
}

.xgnd-pager .tp-pagination {
    margin-top: 0;
}

.xgnd-pager .pagination,
.tp-pagination .pagination {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
    margin: 0;
    padding: 0;
}

.xgnd-pager .pages-number,
.tp-pagination .pages-number,
.tp-pagination ul li a,
.tp-pagination ul li span {
    display: grid;
    place-items: center;
    min-width: 42px;
    height: 42px;
    padding: 0 10px;
    border: 1px solid var(--xgnd-line) !important;
    border-radius: 0 !important;
    background: var(--xgnd-card);
    color: var(--xgnd-ink);
    font-size: 14px;
    text-decoration: none;
}

.xgnd-pager .page-item.active .pages-number,
.tp-pagination .page-item.active .pages-number,
.tp-pagination ul li .current {
    border-color: var(--xgnd-ink) !important;
    background: var(--xgnd-ink);
    color: var(--xgnd-gold-soft);
}

.xgnd-pager a.pages-number:hover,
.tp-pagination a.pages-number:hover {
    border-color: var(--xgnd-gold) !important;
    background: var(--xgnd-paper);
    color: var(--xgnd-brown);
}

.xgnd-pager .page-item.disabled .pages-number {
    color: #c4b6a2;
}

/* Blog post */

.xgnd-article__head {
    width: min(880px, calc(100% - 40px));
    margin: 0 auto;
    padding: 46px 0 34px;
    text-align: center;
}

.xgnd-article__head .xgnd-kicker {
    display: inline-block;
    color: var(--xgnd-brown);
    text-decoration: none;
}

.xgnd-article__head h1 {
    margin: 0;
    color: var(--xgnd-ink);
    font-family: var(--xgnd-serif);
    font-size: clamp(34px, 3.6vw, 54px);
    font-weight: 600;
    line-height: 1.1;
}

.xgnd-article__meta {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin: 18px 0 0;
    color: var(--xgnd-muted);
    font-size: 13px;
    letter-spacing: 0.06em;
}

.xgnd-article__layout {
    padding-bottom: 70px;
}

.xgnd-article__body {
    min-width: 0;
    padding: clamp(24px, 3.4vw, 52px);
    background: var(--xgnd-card);
    border: 1px solid var(--xgnd-line);
}

.xgnd-article__body .xgnd-prose {
    max-width: 760px;
    margin: 0 auto;
}

.xgnd-article__foot {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
    max-width: 760px;
    margin: 34px auto 0;
    padding-top: 22px;
    border-top: 1px solid var(--xgnd-line);
}

.xgnd-article__share {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--xgnd-muted);
    font-size: 12px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.xgnd-article__share a {
    display: inline-grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border: 1px solid var(--xgnd-line);
    border-radius: 50%;
    color: var(--xgnd-brown);
}

.xgnd-article__share a:hover {
    border-color: var(--xgnd-ink);
    background: var(--xgnd-ink);
    color: var(--xgnd-gold-soft);
}

.xgnd-article__share ul {
    display: flex;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.xgnd-related-posts {
    padding: 56px 0 76px;
    background: var(--xgnd-paper);
    border-top: 1px solid var(--xgnd-line);
}

.xgnd-related-posts__inner {
    width: var(--xgnd-wrap);
    margin-inline: auto;
}

.xgnd-related-posts h2 {
    margin: 0 0 26px;
    font-family: var(--xgnd-serif);
    font-size: clamp(28px, 2.4vw, 36px);
    font-weight: 600;
    text-align: center;
}

/* Static pages */

.xgnd-page {
    width: min(920px, calc(100% - 40px));
    margin: 44px auto 80px;
    padding: clamp(24px, 4vw, 56px);
    background: var(--xgnd-card);
    border: 1px solid var(--xgnd-line);
}

.xgnd-page--contact {
    width: min(1100px, calc(100% - 40px));
}

.xgnd-contact {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 48px;
    align-items: start;
}

.xgnd-contact__facts {
    display: grid;
    gap: 16px;
    margin: 28px 0 0;
}

.xgnd-contact__facts div {
    padding-top: 16px;
    border-top: 1px solid var(--xgnd-line);
}

.xgnd-contact__facts dt {
    margin: 0 0 4px;
    color: var(--xgnd-muted);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.xgnd-contact__facts dd {
    margin: 0;
    color: var(--xgnd-ink);
    font-size: 16px;
    line-height: 1.5;
}

.xgnd-contact__facts a {
    color: var(--xgnd-brown);
    text-decoration: none;
}

.xgnd-contact__facts a:hover {
    color: var(--xgnd-gold);
}

.xgnd-contact__form h2 {
    margin: 0 0 8px;
    color: var(--xgnd-ink);
    font-size: 28px;
    font-weight: 700;
    line-height: 1.2;
}

.xgnd-contact__form > p {
    margin: 0 0 22px;
    color: var(--xgnd-muted);
}

.xgnd-contact .contact-form-input,
.xgnd-contact textarea.contact-form-input {
    width: 100%;
    height: 48px;
    padding: 12px 14px;
    border: 1px solid var(--xgnd-line);
    border-radius: 0;
    background: var(--xgnd-paper);
    color: var(--xgnd-ink);
    font-family: inherit;
    font-size: 15px;
}

.xgnd-contact textarea.contact-form-input {
    height: 140px;
    resize: vertical;
}

.xgnd-contact .contact-form-input:focus {
    border-color: var(--xgnd-gold);
    outline: none;
    box-shadow: none;
}

.xgnd-contact .contact-label {
    color: var(--xgnd-ink);
    font-size: 13px;
    font-weight: 700;
}

.xgnd-contact .contact-button {
    min-width: 180px;
    padding: 14px 22px;
    border: 0;
    border-radius: 0;
    background: var(--xgnd-ink);
    color: var(--xgnd-gold-soft);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.xgnd-contact .contact-button:hover,
.xgnd-contact .contact-button:focus {
    background: var(--xgnd-brown);
    color: #fff;
}

@media (max-width: 860px) {
    .xgnd-contact {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

/* Product reviews */

.tp-product-details-review-wrapper {
    padding-top: 36px !important;
}

.product-review-container h4 {
    margin-bottom: 8px;
    color: var(--xgnd-ink);
    font-family: var(--xgnd-serif);
    font-size: 28px;
    font-weight: 600;
}

.product-review-container > .row > .col-12 > p:not(.text-danger) {
    color: var(--xgnd-muted);
    font-size: 14px;
}

.product-review-container .text-danger {
    padding: 12px 16px;
    background: #f8f1e6;
    border-left: 2px solid var(--xgnd-gold);
    color: #5d4430 !important;
    font-size: 14px;
}

.product-review-container .text-danger a {
    color: var(--xgnd-brown);
    font-weight: 600;
    text-decoration: underline;
}

.product-review-container form {
    max-width: 760px;
    padding: 26px 28px;
    background: var(--xgnd-card);
    border: 1px solid var(--xgnd-line);
}

.product-review-container .form-label {
    color: var(--xgnd-ink);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.06em;
}

.product-review-container textarea.form-control {
    min-height: 150px;
    padding: 14px 16px;
    border: 1px solid var(--xgnd-line);
    border-radius: 0;
    background: #fff;
    color: var(--xgnd-ink);
    font-size: 15px;
    box-shadow: none;
}

.product-review-container textarea.form-control:focus {
    border-color: var(--xgnd-gold);
}

.product-review-container textarea.form-control:disabled {
    background: var(--xgnd-paper);
    cursor: not-allowed;
}

.product-review-container .form-rating-stars label {
    color: #d8cbb8;
}

.product-review-container .form-rating-stars input:checked ~ label,
.product-review-container .form-rating-stars label:hover,
.product-review-container .form-rating-stars label:hover ~ label {
    color: var(--xgnd-gold) !important;
}

.product-review-container .image-upload__uploader {
    border: 1px dashed #cbbba4;
    border-radius: 0;
    background: var(--xgnd-paper);
    color: var(--xgnd-muted);
}

.product-review-container .image-upload__uploader:hover {
    border-color: var(--xgnd-gold);
    color: var(--xgnd-brown);
}

.product-review-container .image-upload-info {
    margin: 12px 0 18px;
    padding: 10px 14px !important;
    border: 0;
    border-radius: 0;
    background: #f6f0e7;
    color: var(--xgnd-muted);
}

.product-review-container .btn-primary {
    min-width: 160px;
    min-height: 46px;
    border: 1px solid var(--xgnd-brown);
    border-radius: 0;
    background: var(--xgnd-brown);
    color: #f6efe4;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.product-review-container .btn-primary:hover {
    border-color: var(--xgnd-gold);
    background: var(--xgnd-gold);
    color: var(--xgnd-ink);
}

.product-review-container .btn-primary.disabled,
.product-review-container .btn-primary:disabled {
    border-color: #d6cbbb;
    background: #e6ddcf;
    color: #8e8275;
    opacity: 1;
}

.product-review-container > p.text-muted {
    padding: 22px;
    border: 1px dashed var(--xgnd-line);
    color: var(--xgnd-muted) !important;
}

.product-review-container .review-item,
.product-review-container .tp-product-details-review-avater {
    padding: 18px 0;
    border-bottom: 1px solid var(--xgnd-line);
}

.product-review-container .progress {
    height: 6px;
    border-radius: 0;
    background: #eee5d8;
}

.product-review-container .progress-bar {
    background: var(--xgnd-gold);
}

/* Footer extras */

.xgnd-footer__about {
    max-width: 260px;
    margin-top: 16px !important;
}

/* Blog, listing and article responsive */

@media (max-width: 1200px) {
    .xgnd-blog__inner,
    .xgnd-article__layout { grid-template-columns: minmax(0, 1fr) 280px; gap: 32px; }
}

@media (max-width: 991px) {
    .xgnd-blog__inner,
    .xgnd-article__layout { grid-template-columns: 1fr; }
    .xgnd-blog-aside,
    .bb-shop-sidebar { position: static; }
    .xgnd-post-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 600px) {
    .xgnd-crumbs { padding: 24px 0 22px; }
    .xgnd-crumbs__list [aria-current] { max-width: 28ch; }
    .xgnd-post-grid,
    .xgnd-post-grid--3 { grid-template-columns: 1fr; }
    .xgnd-article__body { padding: 20px 18px; border-inline: 0; }
    .xgnd-article__layout { width: 100%; }
    .xgnd-seo { padding: 24px 18px 20px; }
    .xgnd-seo__body,
    .xgnd-prose { font-size: 15px; }
    .product-review-container form { padding: 18px; }
}

/* Collections index */
.xgnd-collections {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
    padding: 8px 0 70px;
}

.xgnd-collection-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid var(--xgnd-line, #e7dccb);
    color: inherit;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.xgnd-collection-card:hover {
    transform: translateY(-3px);
    border-color: var(--xgnd-gold, #b8955a);
    box-shadow: 0 14px 30px rgba(36, 22, 10, .1);
    color: inherit;
}

.xgnd-collection-card__media {
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: #f7f1e7;
}

.xgnd-collection-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.xgnd-collection-card__mark {
    font-family: var(--xgnd-serif, Georgia, serif);
    font-size: 30px;
    letter-spacing: .2em;
    color: var(--xgnd-gold, #b8955a);
}

.xgnd-collection-card__body {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 18px 20px 20px;
    border-top: 1px solid var(--xgnd-line, #e7dccb);
}

.xgnd-collection-card__title {
    font-family: var(--xgnd-serif, Georgia, serif);
    font-size: 19px;
    line-height: 1.3;
    color: var(--xgnd-ink, #1c120a);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.xgnd-collection-card__count {
    font-size: 13px;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--xgnd-muted, #8a7a66);
}

@media (max-width: 991px) {
    .xgnd-collections { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
}

@media (max-width: 600px) {
    .xgnd-collections { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
    .xgnd-collection-card__body { padding: 12px; }
    .xgnd-collection-card__title { font-size: 16px; }
}

/* Utility pages: cart, search, tracking, 404 */
.xgnd-btn,
.tp-cart-checkout-btn,
.tp-error-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 46px;
    padding: 0 22px;
    background: var(--xgnd-brown);
    border: 1px solid var(--xgnd-brown);
    color: #fff !important;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.xgnd-btn:hover,
.tp-cart-checkout-btn:hover {
    background: #2d1c12;
    border-color: #2d1c12;
    color: #fff !important;
}

.xgnd-btn--ghost {
    background: transparent;
    color: var(--xgnd-brown) !important;
}

.xgnd-btn--ghost:hover {
    background: var(--xgnd-brown);
    color: #fff !important;
}

.xgnd-404 {
    display: flex;
    justify-content: center;
    padding: 10px 0 80px;
}

.xgnd-404__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

.tp-cart-area,
.tp-order-area,
.tp-shop-area.tp-search-area,
section.tp-search-area {
    padding-bottom: 80px;
}

.tp-cart-area .text-center.pt-50 h3,
.tp-order-area h3,
.tp-cart-area .empty-cart-icon + h3 {
    font-family: var(--xgnd-serif);
    font-weight: 600;
    color: var(--xgnd-ink);
}

.tp-cart-checkout-wrapper {
    padding: 24px;
    background: #fff;
    border: 1px solid var(--xgnd-line);
}

.tp-cart-list {
    background: #fff;
    border: 1px solid var(--xgnd-line);
}

.tp-cart-coupon-input input,
.tp-order-area input,
.tp-order-area select,
.bb-order-tracking-form input,
.bb-order-tracking-form select {
    border: 1px solid var(--xgnd-line) !important;
    border-radius: 0 !important;
    min-height: 46px;
}

.tp-cart-coupon-input button {
    background: var(--xgnd-brown) !important;
    border-radius: 0 !important;
}

.bb-order-tracking-form,
.tp-order-area form,
form.order-tracking-form {
    max-width: 560px;
    margin: 0 auto;
    padding: 28px;
    background: #fff;
    border: 1px solid var(--xgnd-line);
}

/* Responsive */

@media (max-width: 1100px) {
    .xgnd-header__inner { gap: 20px; }
    .xgnd-nav { gap: 22px; }
    .xgnd-nav__item,
    .xgnd-nav__item > a { letter-spacing: 0.1em; }
}

@media (max-width: 1200px) {
    .xgnd-grid--6,
    .xgnd-topics { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .xgnd-closing { grid-template-columns: 1fr; }
    .xgnd-footer__grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 900px) {
    .xgnd-header__inner { grid-template-columns: auto 1fr auto; }
    .xgnd-tools { grid-column: 3; justify-self: end; }
    .xgnd-burger { display: grid; }
    .xgnd-nav {
        display: none;
        position: absolute;
        top: 72px;
        left: 0;
        right: 0;
        max-height: calc(100vh - 72px);
        overflow-y: auto;
        padding: 6px 20px 22px;
        background: var(--xgnd-header);
        border-top: 1px solid rgba(194, 160, 106, 0.16);
        flex-direction: column;
        align-items: stretch;
        gap: 0;
    }
    .xgnd-nav.is-open { display: flex; }
    .xgnd-nav__item,
    .xgnd-nav__item > a { padding: 14px 0; font-size: 14px; letter-spacing: 0.12em; }
    .xgnd-nav > .xgnd-nav__item,
    .xgnd-nav__item--drop { border-bottom: 1px solid rgba(233, 223, 208, 0.08); }
    .xgnd-nav__item--drop { display: grid; grid-template-columns: 1fr auto; align-items: center; }
    .xgnd-nav > .xgnd-nav__item::after,
    .xgnd-nav .xgnd-nav__item--drop > a::after { display: none; }
    .xgnd-nav__toggle { width: 40px; height: 40px; }
    .xgnd-nav__toggle svg { width: 18px; height: 18px; }
    .xgnd-nav__item--drop.is-open .xgnd-nav__toggle svg { transform: rotate(180deg); }
    .xgnd-drop,
    .xgnd-nav__item--drop:hover .xgnd-drop,
    .xgnd-nav__item--drop:focus-within .xgnd-drop { display: none; grid-column: 1 / -1; position: static; min-width: 0; padding: 0 0 10px 14px; border: 0; box-shadow: none; background: transparent; }
    .xgnd-nav__item--drop.is-open .xgnd-drop { display: grid; }
    .xgnd-drop a { padding: 8px 0; color: #b9ab98; font-size: 14px; }
}

@media (max-width: 991px) {
    .tp-product-details-wrapper { padding-left: 0; margin-top: 28px; }

    .tp-product-details-thumb-wrapper .bb-product-gallery-vertical {
        flex-direction: column;
    }

    .tp-product-details-thumb-wrapper .bb-product-gallery-thumbnails.xgnd-thumbs {
        flex: none;
        flex-direction: row;
        order: 1;
        width: 100%;
        max-height: none;
        overflow-x: auto;
        overflow-y: hidden;
    }

    .tp-product-details-thumb-wrapper .xgnd-thumbs > div {
        flex: 0 0 72px !important;
        width: 72px !important;
        max-width: 72px !important;
    }
}

@media (max-width: 980px) {
    :root { --xgnd-wrap: calc(100% - 32px); }
    .xgnd-grid--4,
    .xgnd-stories { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .xgnd-story-band { background-position: 20% center; }
    .xgnd-story-band__copy { margin-right: 0; }
    .xgnd-brand-row { grid-auto-columns: 38%; }
    .xgnd-footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
    .xgnd-grid--6,
    .xgnd-grid--4,
    .xgnd-topics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .xgnd-stories,
    .xgnd-footer__grid { grid-template-columns: 1fr; }
    .xgnd-services__grid { grid-template-columns: repeat(2, 1fr); }
    .xgnd-hero h1 { font-size: 48px; }
    .xgnd-footer__bar { flex-direction: column; }
}

/* XGND footer refresh: original logo and Facebook page card. */
.xgnd-footer__news { display: none; }
.xgnd-footer__news.is-facebook { display: block; }

.xgnd-footer--refreshed .xgnd-footer__grid {
    grid-template-columns: minmax(0, 1.3fr) minmax(0, .8fr) minmax(0, 1fr) minmax(0, 1.1fr) minmax(0, 1.35fr);
    gap: clamp(22px, 2.4vw, 36px);
    align-items: start;
    padding: 44px 0 34px;
}
.xgnd-footer--refreshed .xgnd-footer__grid > div { min-width: 0; }
.xgnd-footer--refreshed .xgnd-footer__brand > .xgnd-logo {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    margin: 0;
    color: #f2e9dc;
}
.xgnd-footer--refreshed .xgnd-footer__brand-name {
    display: block;
    font-size: 18px;
    font-weight: 500;
    line-height: 1.4;
    letter-spacing: .01em;
}
.xgnd-footer--refreshed .xgnd-footer__brand-label {
    display: block;
    margin-top: 7px;
    color: #bba078;
    font-size: 9px;
    font-weight: 500;
    line-height: 1.4;
    letter-spacing: .15em;
    text-transform: uppercase;
}
.xgnd-footer--refreshed .xgnd-footer__logo-frame {
    position: relative;
    display: block;
    width: 90px;
    flex: 0 0 90px;
    max-width: 100%;
    aspect-ratio: 922 / 809;
    overflow: hidden;
}
.xgnd-footer--refreshed .xgnd-footer__logo-frame img {
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    width: 128.199566%;
    max-width: none;
    height: auto;
    max-height: none;
    transform: translate(-10.998308%, -15.736041%);
    object-fit: contain;
}
.xgnd-footer--refreshed .xgnd-footer__about {
    max-width: 265px;
    margin: 18px 0 0 !important;
    color: #b9ad9c;
    font-size: 14px;
    line-height: 1.65;
    text-wrap: pretty;
}
.xgnd-footer--refreshed .xgnd-social {
    gap: 10px;
    margin-top: 18px;
}
.xgnd-footer--refreshed .xgnd-social a {
    display: grid;
    place-items: center;
    width: 28px;
    height: 28px;
    border: 0;
    border-radius: 4px;
    color: #b9ad9c;
}
.xgnd-footer--refreshed .xgnd-social a:hover {
    color: #e7c994;
    background: rgba(194, 160, 106, .08);
}
.xgnd-footer--refreshed .xgnd-social svg { width: 17px; height: 17px; }
.xgnd-footer--refreshed .xgnd-facebook-card {
    display: block;
    margin: 0;
    overflow: hidden;
    border: 1px solid rgba(194, 160, 106, .34);
    border-radius: 8px;
    background: #17130f;
    color: #f3eadc;
    text-decoration: none;
    transition: border-color .2s ease, box-shadow .2s ease;
}
.xgnd-footer--refreshed .xgnd-facebook-card:hover {
    border-color: var(--xgnd-gold);
    color: #f3eadc;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .2);
}
.xgnd-footer--refreshed .xgnd-facebook-card__cover {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    min-height: 102px;
    padding: 16px;
    border-bottom: 1px solid rgba(194, 160, 106, .2);
    background: radial-gradient(ellipse at 20% 30%, rgba(194, 160, 106, .13), transparent 70%), #211a13;
}
.xgnd-footer--refreshed .xgnd-facebook-card__cover .xgnd-footer__logo-frame {
    flex: 0 0 66px;
    width: 66px;
}
.xgnd-footer--refreshed .xgnd-facebook-card__cover-name {
    color: #e7c994;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.6;
    letter-spacing: .1em;
}
.xgnd-footer--refreshed .xgnd-facebook-card__identity {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 14px 16px;
}
.xgnd-footer--refreshed .xgnd-facebook-card__icon {
    display: grid;
    place-items: center;
    flex: 0 0 34px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #1877f2;
    color: #fff;
}
.xgnd-footer--refreshed .xgnd-facebook-card__icon svg { width: 25px; height: 25px; }
.xgnd-footer--refreshed .xgnd-facebook-card__identity strong {
    display: block;
    color: #f3eadc;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.4;
}
.xgnd-footer--refreshed .xgnd-facebook-card__handle {
    display: block;
    margin-top: 4px;
    color: #a89d90;
    font-size: 12px;
    line-height: 1.4;
}
.xgnd-footer--refreshed .xgnd-facebook-card__cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 16px;
    border-top: 1px solid rgba(194, 160, 106, .16);
    color: #d8bf91;
    font-size: 12px;
    font-weight: 500;
}
.xgnd-footer--refreshed .xgnd-facebook-card__cta svg {
    width: 17px;
    height: 17px;
}
.xgnd-footer--refreshed a:focus-visible {
    outline: 2px solid #d8bf91;
    outline-offset: 5px;
}
@media (max-width: 1199px) {
    .xgnd-footer--refreshed .xgnd-footer__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 34px 28px;
    }
    .xgnd-footer--refreshed .xgnd-footer__news { grid-column: 2 / -1; }
    .xgnd-footer--refreshed .xgnd-facebook-card { max-width: 360px; }
}
@media (max-width: 760px) {
    .xgnd-footer--refreshed .xgnd-footer__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 32px 24px;
        padding: 36px 0 32px;
    }
    .xgnd-footer--refreshed .xgnd-footer__brand,
    .xgnd-footer--refreshed .xgnd-footer__contact,
    .xgnd-footer--refreshed .xgnd-footer__news { grid-column: 1 / -1; }
    .xgnd-footer--refreshed .xgnd-footer__about { max-width: 380px; }
    .xgnd-footer--refreshed .xgnd-footer__brand > .xgnd-logo { gap: 16px; }
    .xgnd-footer--refreshed .xgnd-footer__brand-name { font-size: 19px; }
    .xgnd-footer--refreshed .xgnd-footer__logo-frame { width: 82px; flex-basis: 82px; }
    .xgnd-footer--refreshed .xgnd-facebook-card { max-width: 100%; }
    .xgnd-footer--refreshed .xgnd-footer__bar { padding-bottom: 84px; }
    .xgnd-footer--refreshed .xgnd-footer__links { gap: 16px; flex-wrap: wrap; }
}
@media (prefers-reduced-motion: reduce) {
    .xgnd-footer--refreshed .xgnd-facebook-card { transition: none; }
}

/* XGND panoramic lounge illustration: clear image, separate mobile framing. */
.xgnd-hero--panorama {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background: #120d09;
}
.xgnd-hero--panorama .xgnd-hero__media {
    position: absolute;
    inset: 0;
    z-index: -2;
    pointer-events: none;
}
.xgnd-hero--panorama > .xgnd-hero__media:not(.xgnd-hero__media--primary) {
    display: none !important;
}
.xgnd-hero--panorama .xgnd-hero__media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 75% 35%;
}
.xgnd-hero--panorama::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background: linear-gradient(90deg, rgba(12, 8, 5, .93) 0%, rgba(12, 8, 5, .83) 22%, rgba(12, 8, 5, .48) 43%, rgba(12, 8, 5, .07) 68%, transparent 100%);
}
.xgnd-hero--panorama .xgnd-hero__copy {
    position: relative;
    z-index: 1;
}
@media (max-width: 760px) {
    .xgnd-hero--panorama {
        display: flex;
        flex-direction: column;
        min-height: 0;
    }
    .xgnd-hero--panorama .xgnd-hero__media {
        position: relative;
        inset: auto;
        z-index: 0;
        flex: 0 0 auto;
        width: 100%;
        height: clamp(230px, 52vw, 330px);
    }
    .xgnd-hero--panorama .xgnd-hero__media img {
        object-position: 90% center;
    }
    .xgnd-hero--panorama::before { display: none; }
    .xgnd-hero--panorama .xgnd-hero__copy {
        padding: 30px 0 36px;
    }
}

/* XGND about-us: company history and archival interiors. */
#page-3 .xgnd-crumbs__title { font-size: clamp(30px, 3.2vw, 44px); }
#page-3 .xgnd-crumbs__inner { width: min(1100px, calc(100% - 48px)); }
#page-3 .xgnd-page:has(.xgnd-about-story) {
    width: min(1100px, calc(100% - 48px));
    margin: 40px auto 72px;
    padding: 0;
    border: 0;
    background: transparent;
}
#page-3 .xgnd-about-story { color: #51483f; font-size: 16px; line-height: 1.8; }
#page-3 .xgnd-about-story p { margin: 0 0 18px; }
#page-3 .xgnd-about-story h2 { margin: 0 0 20px; color: var(--xgnd-ink); font-size: clamp(25px, 2.5vw, 32px); line-height: 1.22; font-weight: 600; letter-spacing: -.02em; }
#page-3 .xgnd-about-story .xgnd-about-story__eyebrow { margin: 0 0 17px; color: #8e6a39; font-size: 11px; line-height: 1.5; letter-spacing: 1.7px; font-weight: 600; text-transform: uppercase; }
#page-3 .xgnd-about-story__intro { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 54px; align-items: center; }
#page-3 .xgnd-about-story__intro h2 { font-size: clamp(30px, 3vw, 40px); }
#page-3 .xgnd-about-story .xgnd-about-story__lead { font-size: 18px; color: #3e3228; line-height: 1.75; }
#page-3 .xgnd-about-story .xgnd-about-story__signature { margin: 23px 0 0; padding-top: 18px; border-top: 1px solid var(--xgnd-line); color: #8e6a39; font-size: 12px; letter-spacing: .7px; }
#page-3 .xgnd-about-story figure { margin: 0; padding: 0; border: 0; }
#page-3 .xgnd-about-story figure img { display: block; width: 100%; max-width: 100%; height: auto; margin: 0; }
#page-3 .xgnd-about-story figcaption { padding-top: 11px; color: #7b7065; font-size: 12px; line-height: 1.6; }
#page-3 .xgnd-about-story__chapter { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 54px; margin-top: 42px; padding-top: 36px; border-top: 1px solid var(--xgnd-line); }
#page-3 .xgnd-about-story__chapter-label span { display: block; color: #a48150; font-size: 12px; line-height: 1.4; letter-spacing: 1.8px; margin-bottom: 13px; }
#page-3 .xgnd-about-story__chapter-copy p:last-child { margin-bottom: 0; }
#page-3 .xgnd-about-story__space { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 72px; margin-top: 56px; align-items: center; }
#page-3 .xgnd-about-story__portrait { max-width: 320px; }
#page-3 .xgnd-about-story__space-copy { max-width: 560px; }
#page-3 .xgnd-about-story .xgnd-about-story__archive-note { margin-top: 23px; color: #776a5b; font-size: 13px; line-height: 1.7; padding-left: 16px; border-left: 2px solid var(--xgnd-gold); }
#page-3 .xgnd-about-story__closing { display: flex; align-items: center; justify-content: space-between; gap: 28px; margin-top: 48px; padding: 28px 0 0; border-top: 1px solid var(--xgnd-line); }
#page-3 .xgnd-about-story__closing .xgnd-about-story__eyebrow { margin-bottom: 7px; }
#page-3 .xgnd-about-story__closing p:last-child { margin-bottom: 0; }
#page-3 .xgnd-about-story__closing > p { max-width: 350px; font-size: 15px; }
#page-3 .xgnd-about-story__location { font-size: 15px; }
#page-3 .xgnd-about-story__location strong { font-weight: 500; }
@media (max-width: 900px) {
    #page-3 .xgnd-about-story__intro, #page-3 .xgnd-about-story__chapter { gap: 30px; }
    #page-3 .xgnd-about-story__space { gap: 38px; }
}
@media (max-width: 700px) {
    #page-3 .xgnd-crumbs__inner, #page-3 .xgnd-page:has(.xgnd-about-story) { width: calc(100% - 36px); }
    #page-3 .xgnd-page:has(.xgnd-about-story) { margin: 28px auto 48px; }
    #page-3 .xgnd-about-story__intro, #page-3 .xgnd-about-story__chapter, #page-3 .xgnd-about-story__space { grid-template-columns: minmax(0, 1fr); gap: 24px; }
    #page-3 .xgnd-about-story__intro h2 { font-size: 31px; }
    #page-3 .xgnd-about-story .xgnd-about-story__lead { font-size: 17px; }
    #page-3 .xgnd-about-story { font-size: 16px; line-height: 1.8; }
    #page-3 .xgnd-about-story__chapter { margin-top: 32px; padding-top: 27px; gap: 5px; }
    #page-3 .xgnd-about-story__chapter-label h2 br, #page-3 .xgnd-about-story__space h2 br { display: none; }
    #page-3 .xgnd-about-story__space { margin-top: 36px; }
    #page-3 .xgnd-about-story__portrait { width: 100%; max-width: 320px; margin: 0 auto; }
    #page-3 .xgnd-about-story__closing { margin-top: 32px; padding-top: 25px; align-items: flex-start; flex-direction: column; gap: 20px; }
}
@media (max-width: 700px) {
    html:has(> body#page-3), #page-3 { overflow-x: clip; }
}

/* Archival counter photo in the XGND company story. */
#page-3 .xgnd-about-story .xgnd-about-story__archive-wide {
    width: min(800px, 100%);
    margin: 42px auto 0;
}
#page-3 .xgnd-about-story__archive-frame {
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #4b301f;
}
#page-3 .xgnd-about-story .xgnd-about-story__archive-frame img {
    width: 100%;
    height: 100% !important;
    object-fit: cover;
    object-position: center bottom;
    margin: 0;
}
@media (max-width: 700px) {
    #page-3 .xgnd-about-story .xgnd-about-story__archive-wide { margin-top: 30px; }
    #page-3 .xgnd-about-story__archive-frame { aspect-ratio: 3 / 2; }
}

/* XGND company history: chronological milestones and archival interiors. */
#page-3 .xgnd-about-story .xgnd-journey { margin-top: 54px; padding-top: 36px; border-top: 1px solid var(--xgnd-line); }
#page-3 .xgnd-journey__head { max-width: 750px; margin-bottom: 38px; }
#page-3 .xgnd-about-story .xgnd-journey__head h2 { margin-bottom: 14px; }
#page-3 .xgnd-about-story .xgnd-journey__head > p:last-child { margin-bottom: 0; color: #756657; font-size: 16px; }
#page-3 .xgnd-about-story .xgnd-journey__timeline { display: grid; row-gap: 38px; margin: 0; padding: 0; list-style: none; }
#page-3 .xgnd-about-story .xgnd-journey__event { display: grid; grid-template-columns: 140px 24px minmax(0, 1fr); column-gap: 22px; margin: 0; padding: 0; list-style: none; }
#page-3 .xgnd-journey__when { padding-top: 4px; }
#page-3 .xgnd-journey__time { display: block; color: #866337; font-size: 20px; font-weight: 500; line-height: 1.35; }
#page-3 .xgnd-journey__phase { display: block; margin-top: 7px; color: #817367; font-size: 11px; line-height: 1.65; letter-spacing: .7px; text-transform: uppercase; }
#page-3 .xgnd-journey__spine { position: relative; align-self: stretch; }
#page-3 .xgnd-journey__spine::before { content: ""; position: absolute; top: 11px; left: 50%; width: 10px; height: 10px; transform: translateX(-50%); border-radius: 50%; background: var(--xgnd-gold); box-shadow: 0 0 0 5px #f7f2e9; z-index: 1; }
#page-3 .xgnd-journey__spine::after { content: ""; position: absolute; top: 16px; bottom: -54px; left: 50%; width: 1px; background: #decdb4; }
#page-3 .xgnd-journey__event:last-child .xgnd-journey__spine::after { display: none; }
#page-3 .xgnd-about-story .xgnd-journey__body h3 { margin: 0 0 15px; font-size: clamp(23px, 2.2vw, 28px); font-weight: 600; line-height: 1.3; letter-spacing: -.015em; }
#page-3 .xgnd-about-story .xgnd-journey__body > p:last-child { margin-bottom: 0; }
#page-3 .xgnd-journey__event--quarter3 .xgnd-journey__body { padding: 25px 28px 22px; background: #faf7f2; border: 1px solid #eee5d9; }
#page-3 .xgnd-about-story .xgnd-journey__place { margin: 0 0 12px; color: #957447; font-size: 11px; font-weight: 500; line-height: 1.6; letter-spacing: 1.1px; text-transform: uppercase; }
#page-3 .xgnd-about-story .xgnd-journey__photo { max-width: 800px; margin: 24px 0 0; }
#page-3 .xgnd-journey__photo-frame { width: 100%; aspect-ratio: 16 / 10; overflow: hidden; background: #4b301f; }
#page-3 .xgnd-about-story .xgnd-journey__photo-frame img { width: 100%; height: 100% !important; margin: 0; object-fit: cover; object-position: center bottom; }
#page-3 .xgnd-journey__memory { display: grid; grid-template-columns: minmax(0, 1fr) 160px; column-gap: 30px; align-items: start; }
#page-3 .xgnd-about-story .xgnd-journey__reflection { margin: 23px 0 0; border-left: 2px solid var(--xgnd-gold); padding-left: 18px; color: #715236; font-size: 17px; line-height: 1.7; font-style: italic; }
#page-3 .xgnd-about-story .xgnd-journey__memory-photo { width: 160px; margin: 0; }
#page-3 .xgnd-journey__memory-photo figcaption { font-size: 11px; }
#page-3 .xgnd-about-story .xgnd-journey__archive-note { color: #817467; font-size: 12px; line-height: 1.7; margin-top: 18px; }
@media (max-width: 900px) {
    #page-3 .xgnd-about-story .xgnd-journey__event { grid-template-columns: 112px 20px minmax(0, 1fr); column-gap: 16px; }
    #page-3 .xgnd-journey__time { font-size: 18px; }
    #page-3 .xgnd-journey__event--quarter3 .xgnd-journey__body { padding: 21px 22px; }
    #page-3 .xgnd-journey__memory { grid-template-columns: minmax(0, 1fr) 125px; column-gap: 22px; }
    #page-3 .xgnd-about-story .xgnd-journey__memory-photo { width: 125px; }
}
@media (max-width: 700px) {
    #page-3 .xgnd-about-story .xgnd-journey { margin-top: 36px; padding-top: 28px; }
    #page-3 .xgnd-journey__head { margin-bottom: 30px; }
    #page-3 .xgnd-about-story .xgnd-journey__timeline { row-gap: 30px; }
    #page-3 .xgnd-about-story .xgnd-journey__event { grid-template-columns: 14px minmax(0, 1fr); gap: 11px 16px; }
    #page-3 .xgnd-journey__when { grid-column: 2; grid-row: 1; display: flex; flex-wrap: wrap; gap: 5px 11px; align-items: baseline; padding-top: 0; }
    #page-3 .xgnd-journey__time { font-size: 17px; }
    #page-3 .xgnd-journey__phase { margin: 0; font-size: 10px; }
    #page-3 .xgnd-journey__spine { grid-column: 1; grid-row: 1 / span 2; }
    #page-3 .xgnd-journey__spine::before, #page-3 .xgnd-journey__event--quarter3 .xgnd-journey__spine::before { top: 8px; width: 8px; height: 8px; box-shadow: 0 0 0 3px #f7f2e9; }
    #page-3 .xgnd-journey__spine::after, #page-3 .xgnd-journey__event--quarter3 .xgnd-journey__spine::after { top: 12px; bottom: -42px; }
    #page-3 .xgnd-journey__body { grid-column: 2; grid-row: 2; }
    #page-3 .xgnd-about-story .xgnd-journey__body h3 { font-size: 23px; }
    #page-3 .xgnd-journey__event--quarter3 .xgnd-journey__when { padding-top: 0; }
    #page-3 .xgnd-journey__event--quarter3 .xgnd-journey__body { padding: 18px 16px 16px; }
    #page-3 .xgnd-about-story .xgnd-journey__place { font-size: 10px; letter-spacing: .6px; }
    #page-3 .xgnd-about-story .xgnd-journey__photo { margin-top: 18px; }
    #page-3 .xgnd-journey__photo-frame { aspect-ratio: 3 / 2; }
    #page-3 .xgnd-journey__photo figcaption { font-size: 11px; }
    #page-3 .xgnd-journey__memory { grid-template-columns: minmax(0, 1fr); gap: 20px; }
    #page-3 .xgnd-about-story .xgnd-journey__memory-photo { width: 160px; }
    #page-3 .xgnd-about-story .xgnd-journey__reflection { margin-top: 18px; font-size: 16px; }
}

/* First store and original logo: a factual 2019 archive milestone. */
#page-3 .xgnd-journey__event--origin .xgnd-journey__body {
    padding: 25px 28px 22px;
    background: #faf7f2;
    border: 1px solid #eee5d9;
}
#page-3 .xgnd-journey__origin-frame {
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #35383c;
}
#page-3 .xgnd-about-story .xgnd-journey__origin-frame img {
    width: 100%;
    height: 100% !important;
    margin: 0;
    object-fit: cover;
    object-position: center top;
}
@media (max-width: 900px) {
    #page-3 .xgnd-journey__event--origin .xgnd-journey__body { padding: 21px 22px; }
}
@media (max-width: 700px) {
    #page-3 .xgnd-journey__event--origin .xgnd-journey__body { padding: 18px 16px 16px; }
    #page-3 .xgnd-journey__origin-frame { aspect-ratio: 4 / 3; }
    #page-3 .xgnd-about-story .xgnd-journey__origin-frame img { transform: scale(1.35); transform-origin: 42% top; }
}
/* XGND history: four locations, verified 2022 closure and post-pandemic return. */
#page-3 .xgnd-journey__event--culao .xgnd-journey__body,
#page-3 .xgnd-journey__event--sumatra .xgnd-journey__body { padding: 25px 28px 22px; background: #faf7f2; border: 1px solid #eee5d9; }
#page-3 .xgnd-journey__location-layout { display: grid; grid-template-columns: minmax(0, 1fr) 248px; gap: 30px; align-items: start; }
#page-3 .xgnd-journey__location-layout > div > p:last-child { margin-bottom: 0; }
#page-3 .xgnd-about-story .xgnd-journey__facade { width: 100%; margin: 0; }
#page-3 .xgnd-about-story .xgnd-journey__facade img { display: block; width: 100%; height: auto !important; margin: 0; }
#page-3 .xgnd-journey__facade figcaption { font-size: 11px; line-height: 1.65; }
#page-3 .xgnd-about-story .xgnd-journey__brand { max-width: 340px; margin: 24px 0 0; }
#page-3 .xgnd-journey__brand-frame { aspect-ratio: 2 / 1; overflow: hidden; background: #803419; }
#page-3 .xgnd-about-story .xgnd-journey__brand-frame img { display: block; width: 100%; height: 100% !important; margin: 0; object-fit: cover; object-position: center; }
#page-3 .xgnd-journey__event--sumatra .xgnd-journey__body { border-top: 2px solid var(--xgnd-gold); }
#page-3 .xgnd-about-story .xgnd-journey > .xgnd-journey__archive-note { margin: 27px 0 0 208px; }
@media (max-width: 900px) {
  #page-3 .xgnd-journey__event--culao .xgnd-journey__body,
  #page-3 .xgnd-journey__event--sumatra .xgnd-journey__body { padding: 21px 22px; }
  #page-3 .xgnd-journey__location-layout { grid-template-columns: minmax(0, 1fr) 190px; gap: 22px; }
  #page-3 .xgnd-about-story .xgnd-journey > .xgnd-journey__archive-note { margin-left: 164px; }
}
@media (max-width: 700px) {
  #page-3 .xgnd-journey__event--culao .xgnd-journey__body,
  #page-3 .xgnd-journey__event--sumatra .xgnd-journey__body { padding: 18px 16px 16px; }
  #page-3 .xgnd-journey__location-layout { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  #page-3 .xgnd-about-story .xgnd-journey__facade { max-width: 320px; }
  #page-3 .xgnd-about-story .xgnd-journey__brand { margin-top: 18px; }
  #page-3 .xgnd-about-story .xgnd-journey > .xgnd-journey__archive-note { margin: 24px 0 0 30px; }
}
/* Official XGND header wordmark: sharp source, larger type and warm gold contrast. */
.xgnd-header .xgnd-logo--wordmark { min-width: 0; width: 176px; }
.xgnd-header .xgnd-logo--wordmark img { display: block; width: 100%; height: auto; aspect-ratio: 626 / 219; max-width: none; max-height: none; object-fit: contain; mix-blend-mode: normal; filter: brightness(1.16) saturate(.82); }
.xgnd-header .xgnd-header__inner { min-height: 86px; }
@media (min-width: 901px) and (max-width: 1100px) {
  .xgnd-header .xgnd-logo--wordmark { width: 168px; }
}
@media (max-width: 900px) {
  .xgnd-header .xgnd-header__inner { min-height: 72px; }
  .xgnd-header .xgnd-logo--wordmark { width: 144px; }
  .xgnd-header .xgnd-nav { top: 72px; max-height: calc(100vh - 72px); }
}
@media (max-width: 600px) {
  .xgnd-header .xgnd-header__inner { width: calc(100% - 24px); grid-template-columns: minmax(0, 1fr) auto; gap: 12px; }
  .xgnd-header .xgnd-logo--wordmark { width: min(144px, 100%); }
  .xgnd-header .xgnd-tools { grid-column: 2; gap: 2px; }
  .xgnd-header .xgnd-tools .xgnd-icon-btn,
  .xgnd-header .xgnd-tools .xgnd-burger { width: 34px; }
}
/* XGND archival visit and June 2026 transition, scoped to the company story. */
#page-3 .xgnd-about-story .xgnd-journey__visit { margin-top: 27px; padding-top: 22px; border-top: 1px solid #decdb4; }
#page-3 .xgnd-about-story .xgnd-journey__visit h4 { margin: 0 0 12px; color: #49321f; font-size: clamp(22px, 2vw, 26px); line-height: 1.35; font-weight: 600; }
#page-3 .xgnd-about-story .xgnd-journey__photo--visit { max-width: none; margin-top: 19px; }
#page-3 .xgnd-about-story .xgnd-journey__photo--visit > img { display: block; width: 100%; height: auto !important; margin: 0; }
#page-3 .xgnd-journey__closing-memory { display: grid; grid-template-columns: minmax(0, 1fr) 235px; gap: 28px; align-items: start; margin-top: 28px; }
#page-3 .xgnd-about-story .xgnd-journey__closing-memory .xgnd-journey__photo { margin: 0; }
#page-3 .xgnd-journey__closing-memory .xgnd-journey__photo-frame { aspect-ratio: 3 / 2; }
#page-3 .xgnd-journey__closing-memory figcaption { font-size: 11px; }
#page-3 .xgnd-about-story .xgnd-journey__closing-memory .xgnd-journey__reflection { margin-top: 17px; font-size: 16px; }
#page-3 .xgnd-journey__until { display: block; margin-top: 4px; color: #866337; font-size: 13px; line-height: 1.5; }
#page-3 .xgnd-about-story .xgnd-journey__transition-note { margin-top: 22px; padding-left: 15px; border-left: 2px solid var(--xgnd-gold); }
#page-3 .xgnd-journey__sumatra-gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 25px; }
#page-3 .xgnd-about-story .xgnd-journey__sumatra-gallery figure { min-width: 0; margin: 0; }
#page-3 .xgnd-about-story .xgnd-journey__sumatra-gallery img { display: block; width: 100%; height: auto !important; margin: 0; }
#page-3 .xgnd-journey__sumatra-gallery figcaption { font-size: 11px; }
@media (max-width: 900px) {
  #page-3 .xgnd-journey__closing-memory { grid-template-columns: minmax(0, 1fr) 175px; gap: 22px; }
}
@media (max-width: 700px) {
  #page-3 .xgnd-about-story .xgnd-journey__visit { margin-top: 22px; padding-top: 19px; }
  #page-3 .xgnd-about-story .xgnd-journey__visit h4 { font-size: 22px; }
  #page-3 .xgnd-journey__closing-memory { grid-template-columns: minmax(0, 1fr); gap: 20px; margin-top: 23px; }
  #page-3 .xgnd-journey__until { margin: 0; font-size: 12px; }
  #page-3 .xgnd-journey__event--culao .xgnd-journey__phase { flex-basis: 100%; }
  #page-3 .xgnd-journey__sumatra-gallery { grid-template-columns: minmax(0, 1fr); gap: 20px; margin-top: 20px; }
}

/* Cù Lao archive: Bernardo Passi portrait and historical role from his business card. */
#page-3 .xgnd-journey__guest-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 32px; align-items: center; }
#page-3 .xgnd-about-story .xgnd-journey__guest-copy > p:last-child { margin-bottom: 0; }
#page-3 .xgnd-about-story .xgnd-journey__guest-role { margin: 0 0 20px; color: #866337; font-size: 13px; line-height: 1.65; }
#page-3 .xgnd-journey__guest-role strong { display: block; font-weight: 500; }
#page-3 .xgnd-journey__guest-role span { display: block; color: #817367; font-size: 12px; }
#page-3 .xgnd-about-story .xgnd-journey__guest-photo { width: 100%; max-width: none; margin: 0; }
#page-3 .xgnd-journey__guest-frame { width: 100%; aspect-ratio: 4 / 5; overflow: hidden; }
#page-3 .xgnd-about-story .xgnd-journey__guest-frame img { display: block; width: 100%; height: 100% !important; object-fit: cover; object-position: center 12%; margin: 0; }
@media (max-width: 900px) {
  #page-3 .xgnd-journey__guest-layout { grid-template-columns: minmax(0, 1fr); gap: 21px; }
  #page-3 .xgnd-about-story .xgnd-journey__guest-photo { max-width: 320px; }
}

/* XGND verified brand showcase: official logo cards for active brands. */
.xgnd-brand-row[data-xgnd-brands="verified"] {
    gap: 12px;
}

.xgnd-brand--logo {
    display: grid;
    grid-template-rows: minmax(0, 1fr) auto;
    aspect-ratio: 1 / 1.12;
    padding: 10px 10px 0;
    border: 1px solid rgba(195, 154, 91, 0.22);
    background: linear-gradient(155deg, #1c1713 0%, #0f0d0b 100%);
    transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}

.xgnd-brand--logo::after {
    display: none;
}

.xgnd-brand--logo:hover {
    transform: translateY(-3px);
    border-color: rgba(195, 154, 91, 0.65);
    box-shadow: 0 14px 28px rgba(35, 22, 13, 0.18);
}

.xgnd-brand--logo .xgnd-brand__logo {
    position: relative;
    z-index: 1;
    display: grid;
    min-height: 0;
    place-items: center;
    overflow: hidden;
    padding: 12px 10px;
    border: 1px solid rgba(83, 55, 36, 0.13);
    border-radius: 2px;
    background: #f3eadc;
}

.xgnd-brand--logo .xgnd-brand__logo img {
    width: auto;
    height: auto;
    max-width: 88%;
    max-height: 78%;
    object-fit: contain;
    transform: none;
    mix-blend-mode: normal;
}

.xgnd-brand--logo:hover .xgnd-brand__logo img {
    transform: scale(1.035);
}

.xgnd-brand--logo > .xgnd-brand__name {
    position: relative;
    inset: auto;
    display: grid;
    min-height: 46px;
    place-items: center;
    padding: 10px 2px 12px;
    color: #f4eadb;
    font-family: var(--xgnd-sans);
    font-size: clamp(10px, .72vw, 12px);
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: .1em;
    text-align: center;
    text-transform: uppercase;
}

.xgnd-brand--villiger .xgnd-brand__logo img {
    max-width: 92%;
    max-height: 80%;
}

.xgnd-brand--joya-de-nicaragua .xgnd-brand__logo img,
.xgnd-brand--maya-selva .xgnd-brand__logo img {
    max-width: 72%;
    max-height: 82%;
}

.xgnd-brand--toscano .xgnd-brand__logo {
    background: #432a21;
}

.xgnd-brand--toscano .xgnd-brand__logo img {
    max-width: 98%;
    max-height: 94%;
}

.xgnd-brand--macanudo-montego-y-cia .xgnd-brand__logo img {
    max-width: 90%;
    max-height: 88%;
}

@media (max-width: 980px) {
    .xgnd-brand-row[data-xgnd-brands="verified"] {
        grid-auto-columns: 34%;
    }
}

@media (max-width: 600px) {
    .xgnd-brand-row[data-xgnd-brands="verified"] {
        grid-auto-columns: 43%;
        gap: 10px;
    }
    .xgnd-brand--logo {
        padding: 8px 8px 0;
    }
    .xgnd-brand--logo > .xgnd-brand__name {
        min-height: 42px;
        font-size: 10px;
    }
}

/* XGND footer age notice — 2026-10-10 */
.xgnd-footer--refreshed .xgnd-footer__age-notice {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 11px;
    max-width: 660px;
    margin-left: auto;
    color: #aa9e8d;
    font-size: 12px;
    line-height: 1.55;
    text-align: right;
}
.xgnd-footer--refreshed .xgnd-footer__age-badge {
    display: inline-grid;
    place-items: center;
    flex: 0 0 34px;
    width: 34px;
    height: 34px;
    border: 1px solid rgba(231, 201, 148, .62);
    border-radius: 50%;
    color: #e7c994;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .03em;
}
@media (max-width: 760px) {
    .xgnd-footer--refreshed .xgnd-footer__age-notice {
        justify-content: flex-start;
        max-width: 100%;
        margin-left: 0;
        padding-right: 64px;
        text-align: left;
    }
}
