/* Override the theme's wide .row only on the campaign page. */
body.tbns-campaign-page > .container {
    width: 100%;
    max-width: none;
    padding: 0;
    background: #141313;
}
body.tbns-campaign-page #primary > .container,
body.tbns-campaign-page #main-content,
body.tbns-campaign-page #main,
body.tbns-campaign-page #main article.page {
    width: 100% !important;
    max-width: none !important;
    min-width: 0;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box;
}
.tbns-campaign {
    --tbns-accent: #ffb15a;
    --tbns-dark: #141313;
    max-width: 100%;
    color: #fff8ed;
    background: var(--tbns-dark);
}
.tbns-hero {
    margin-inline: auto;
    max-width: 1440px;
    background: #201a14;
    border-bottom: 1px solid #533a24;
}
.tbns-hero img {
    display: block;
    width: 100%;
    height: auto;
}
.tbns-hero h1:not(.screen-reader-text) {
    margin: 0;
    padding: 34px 18px;
    color: #fff8ed;
    font-size: clamp(38px, 8vw, 94px);
    font-weight: 900;
    text-align: center;
}
.tbns-hero h1 span { color: var(--tbns-accent); }
.tbns-campaign__content {
    max-width: 1280px;
    margin-inline: auto;
    padding: clamp(22px, 3vw, 44px) clamp(13px, 3vw, 32px) 40px;
}
.tbns-campaign__intro,
.tbns-results {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 3px 12px;
}
.tbns-campaign__intro h2,
.tbns-results h2 {
    margin: 0;
    color: #fff8ed;
    font-weight: 800;
}
.tbns-campaign__intro h2 { font-size: clamp(27px, 3.5vw, 46px); }
.tbns-campaign__intro p,
.tbns-results span {
    margin: 0;
    color: #d1c7ba;
    font-size: 14px;
}
.tbns-categories,
.tbns-pages {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}
.tbns-categories { margin: 17px 0 26px; }
.tbns-campaign :is(.tbns-categories, .tbns-pages) :is(a, .current) {
    display: inline-flex;
    min-height: 40px;
    align-items: center;
    padding: 0 12px;
    border: 1px solid #4e4540;
    border-radius: 6px;
    color: #fff8ed;
    background: #201d1a;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
}
.tbns-campaign :is(.tbns-categories, .tbns-pages) a:hover { border-color: var(--tbns-accent); }
.tbns-campaign .tbns-categories a[aria-current],
.tbns-campaign .tbns-pages .current {
    border-color: var(--tbns-accent);
    color: #27180a;
    background: var(--tbns-accent);
}
.tbns-campaign a:focus-visible { outline: 2px solid #b94f08; outline-offset: 3px; }
#sale-products { scroll-margin-top: 130px; }
.tbns-results {
    margin: 0 0 12px;
    padding: 0 0 10px;
    border-bottom: 1px solid #403732;
}
.tbns-results h2 { font-size: clamp(18px, 2vw, 23px); }
.tbns-campaign ul.tbns-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: clamp(9px, 1.4vw, 18px);
    margin: 0;
    padding: 0;
    list-style: none;
}
.tbns-card {
    display: flex;
    min-width: 0;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid #e2d9cc;
    border-radius: 10px;
    background: #fffdf9;
    color: #24211e;
}
.tbns-card__image {
    display: grid;
    aspect-ratio: 1.17;
    place-items: center;
    overflow: hidden;
    background: white;
}
.tbns-card__image img {
    display: block;
    width: 86%;
    height: 86%;
    max-height: 220px;
    object-fit: contain;
}
.tbns-card__body {
    display: grid;
    grid-template-rows: 1fr auto auto auto;
    gap: 7px;
    flex: 1;
    padding: clamp(9px, 1.2vw, 16px);
    border-top: 1px solid #f1ebe2;
}
.tbns-card__body h3 {
    margin: 0;
    font-size: clamp(15px, 1.5vw, 19px);
    line-height: 1.24;
    font-weight: 800;
    overflow-wrap: anywhere;
}
.tbns-card__body h3 a { color: #24211e; text-decoration: none; }
.tbns-card__body h3 a:hover { text-decoration: underline; }
.tbns-card .tbns-badge {
    justify-self: start;
    flex-wrap: wrap;
    column-gap: 7px;
    row-gap: 3px;
}
.tbns-card__price {
    color: #212019;
    font-size: clamp(15px, 1.6vw, 21px);
    font-variant-numeric: tabular-nums;
    font-weight: 800;
}
.tbns-card__price ins { background: transparent; color: inherit; text-decoration: none; }
.tbns-card__price del { color: #68625b; font-size: .76em; font-weight: 500; }
.tbns-campaign .tbns-card a.button {
    display: flex;
    width: 100%;
    min-height: 42px;
    box-sizing: border-box;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin: 0;
    padding: 6px 9px;
    border: 1px solid #29241e;
    border-radius: 6px;
    background: #28241f;
    color: #fff8ed;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.15;
    text-decoration: none;
}
.tbns-campaign .tbns-card a.button:hover { background: #4a3421; }
.tbns-campaign .tbns-card a.button:active { background: #634123; }
.tbns-card a.added_to_cart { color: #603408; font-size: 13px; text-align: center; }
.tbns-pages { justify-content: center; margin: 24px 0 0; }
@media (max-width: 920px) {
    .tbns-campaign ul.tbns-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 620px) {
    .tbns-campaign ul.tbns-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .tbns-card__body { gap: 6px; }
    .tbns-card .tbns-badge { padding: 5px 6px; }
    .tbns-card .tbns-badge__discount strong { font-size: 13px; }
}
.tbns-campaign__intro h2, .tbns-results h2, .tbns-card__body h3 {
    letter-spacing: normal;
    text-transform: none;
}
.tbns-card .tbns-badge {
    width: max-content;
    letter-spacing: normal;
}
.tbns-card__image:focus-visible {
    outline: 2px solid #b94f08;
    outline-offset: -4px;
}

.tbns-campaign__intro {
    position: relative;
    isolation: isolate;
}
.tbns-watermark {
    position: absolute;
    z-index: -1;
    inset: -20px auto auto 4%;
    color: #f8a34a21;
    transform: rotate(-10deg);
    white-space: nowrap;
    font: 900 clamp(28px, 5.3vw, 76px)/1 Arial, sans-serif;
    letter-spacing: -.055em;
    pointer-events: none;
}
.tbns-sort {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-inline-start: auto;
}
.tbns-sort a {
    display: inline-flex;
    min-height: 40px;
    align-items: center;
    padding: 0 10px;
    border: 1px solid #5f4b3d;
    border-radius: 5px;
    color: #fff8ed;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
}
.tbns-sort a:hover { border-color: #ff801f; }
.tbns-sort a[aria-current] {
    background: #ff801f;
    border-color: #ff801f;
    color: #261304;
}
.tbns-sale-stripe {
    display: flex;
    align-items: center;
    justify-content: center;
    grid-column: 1 / -1;
    min-width: 0;
    min-height: 38px;
    gap: 20px;
    overflow: hidden;
    border-block: 1px solid #6a482d;
    background: #211912;
    color: #ffab61;
    white-space: nowrap;
    font: 900 13px/1 Arial, sans-serif;
    letter-spacing: .08em;
}
.tbns-sale-stripe span {
    display: block;
    flex: 0 0 auto;
    transform: rotate(-9deg);
}
@media (max-width: 620px) {
    .tbns-watermark { inset: -11px auto auto 0; }
    .tbns-sort { width: 100%; margin-top: 4px; }
    .tbns-sale-stripe { gap: 12px; min-height: 32px; font-size: 11px; }
}
