/* 10.8 Offers — one offer colour (#a8432c) for every offer type; tints #fbf1ed / #f0d7ce / #8c3420 (approved mockup). */
.tp8of-i { width: 16px; height: 16px; flex: none; }

/* Card / gallery badge: solid offer colour, the type told by its word and icon. */
.tp8s-badge.tp8of-badge { display: inline-flex; align-items: center; gap: 3px; background: #a8432c; color: #fff; font-weight: 600; }
.tp8s-badge.tp8of-badge .tp8of-i { width: 11px; height: 11px; }

/* Line under the price on cards. */
.tp8of-line { display: flex; width: fit-content; max-width: 100%; align-items: center; gap: 4px; margin-top: 6px; padding: 3px 7px; border-radius: 7px; background: #fbf1ed; color: #8c3420; font-size: 11.5px; font-weight: 500; line-height: 1.45; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tp8of-line .tp8of-i { width: 13px; height: 13px; }
.tp8of-line b { font-weight: 700; font-variant-numeric: tabular-nums; direction: ltr; unicode-bidi: isolate; }

/* Product page: the offer box and the gift box. */
.tp8of-box { margin: 14px 0 0; padding: 14px; border-radius: 16px; background: #fbf1ed; border: 1px solid #f0d7ce; color: #1b1f1c; font-size: 13px; line-height: 1.6; }
.tp8of-box-h { display: grid; grid-template-columns: 38px 1fr; gap: 11px; align-items: center; }
.tp8of-ic { width: 38px; height: 38px; border-radius: 11px; background: #fff; border: 1px solid #f0d7ce; color: #a8432c; display: grid; place-items: center; }
.tp8of-ic .tp8of-i { width: 19px; height: 19px; }
.tp8of-box-h b { display: block; font-size: 14.5px; font-weight: 600; line-height: 1.45; }
.tp8of-box-h span { display: block; font-size: 13px; font-weight: 600; color: #8c3420; font-variant-numeric: tabular-nums; }
.tp8of-box.is-gift .tp8of-box-h span { font-weight: 400; color: #3b413d; }
.tp8of-cdrow { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 10px; margin-top: 13px; padding-top: 13px; border-top: 1px dashed #f0d7ce; }
.tp8of-cdrow > span { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 500; color: #3b413d; }
.tp8of-cdrow > span .tp8of-i { width: 17px; height: 17px; color: #a8432c; }
.tp8of-cd { display: flex; gap: 5px; }
.tp8of-cd i { font-style: normal; min-width: 43px; padding: 5px 2px 4px; background: #fff; border: 1px solid #f0d7ce; border-radius: 9px; display: grid; justify-items: center; line-height: 1.1; }
.tp8of-cd b { font-size: 17px; font-weight: 700; font-variant-numeric: tabular-nums; color: #1b1f1c; }
.tp8of-cd small { margin-top: 3px; font-size: 10px; color: #6f7570; }
.tp8of-terms { margin: 11px 0 0; font-size: 12.5px; color: #3b413d; }
.tp8of-link { display: inline-flex; align-items: center; gap: 4px; margin-top: 8px; font-weight: 600; color: #8c3420; text-decoration: none; }
.tp8of-link:hover { text-decoration: underline; text-underline-offset: 3px; }
.tp8of-link .tp8of-i { width: 16px; height: 16px; }
.tp8of-gift-b { display: grid; grid-template-columns: 76px 1fr; gap: 12px; align-items: center; margin-top: 12px; padding: 10px; border-radius: 12px; background: #fff; }
.tp8of-th { width: 76px; height: 76px; display: block; }
.tp8of-th img { width: 100%; height: 100%; object-fit: contain; }
.tp8of-gift-b p { margin: 0; font-weight: 500; line-height: 1.5; }
.tp8of-gv { display: flex; align-items: baseline; gap: 8px; margin-top: 4px; font-variant-numeric: tabular-nums; }
.tp8of-gv del { font-size: 12.5px; color: #6f7570; }
.tp8of-gv b { font-size: 15px; font-weight: 700; color: #a8432c; }
.tp8of-gift-f { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 12px; font-size: 12.5px; color: #3b413d; }
.tp8of-gift-f span { display: inline-flex; align-items: center; gap: 6px; }
.tp8of-gift-f .tp8of-i { color: #a8432c; }

/* Cart, mini-cart, checkout: the free gift chip, its fixed quantity, and the saving under the total. */
.tp8of-chip { display: inline-block; margin-inline-start: 6px; padding: 1px 8px; border-radius: 7px; background: #fbf1ed; color: #8c3420; font-size: 11.5px; font-weight: 600; vertical-align: 1px; }
.tp8of-gift-qty { display: inline-grid; place-items: center; min-width: 32px; height: 32px; padding: 0 8px; border-radius: 999px; background: #f6f5f2; font-weight: 600; }
.tp8of-saved { display: flex; align-items: flex-start; gap: 9px; margin: 10px 0 0; padding: 11px 12px; border-radius: 12px; background: #fbf1ed; color: #8c3420; font-size: 13.5px; font-weight: 500; line-height: 1.55; }
.tp8of-saved .tp8of-i { width: 18px; height: 18px; margin-top: 2px; }
.tp8of-saved b { font-weight: 700; }
.tp8of-saved small { display: block; margin-top: 1px; font-size: 12px; font-weight: 400; }
.tp8of-saved.is-mini { display: block; margin: 8px 0; padding: 8px 10px; font-size: 12.5px; }

/* The offers page. */
.tp8of-page { padding: 18px 0 40px; }
.tp8of-ph h1 { margin: 0; font-size: clamp(24px, 4vw, 34px); font-weight: 700; line-height: 1.3; }
.tp8of-ph p { margin: 4px 0 0; color: #3b413d; }
.tp8of-stats { display: flex; gap: 8px; margin-top: 12px; }
.tp8of-stats span { display: inline-flex; align-items: center; height: 28px; padding: 0 11px; border-radius: 999px; background: #f6f5f2; font-size: 12.5px; font-weight: 500; }
.tp8of-fl { margin: 22px 0 0; padding: 18px; border-radius: 18px; background: #2f3d33; color: #fff; }
.tp8of-fl-h h2 { display: flex; align-items: center; gap: 7px; margin: 0; color: #fff; font-size: 20px; font-weight: 700; }
.tp8of-fl-h h2 .tp8of-i { width: 18px; height: 18px; color: #f6c3b2; }
.tp8of-fl-h p { margin: 2px 0 0; font-size: 13px; color: #c3cec6; }
.tp8of-fl-cd { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin: 14px 0 4px; padding: 10px 12px; border-radius: 12px; background: rgba(255, 255, 255, .08); font-size: 13px; color: #dfe6e1; }
.tp8of-fl-cd .tp8of-cd i { border-color: #fff; }
.tp8of-fl .tp8s-card { padding: 8px 8px 11px; border-radius: 14px; background: #fff; color: #1b1f1c; }
.tp8of-os { margin: 30px 0 0; }
.tp8of-os-h h2 { margin: 0; font-size: 19px; font-weight: 700; line-height: 1.4; }
.tp8of-os-h p { margin: 3px 0 0; font-size: 13px; color: #3b413d; }
.tp8of-os-cd { display: inline-flex; align-items: center; gap: 5px; color: #8c3420; font-weight: 500; }
.tp8of-seeall { display: flex; align-items: center; justify-content: center; gap: 6px; margin: 12px auto 0; max-width: 420px; height: 44px; border: 1px solid #dcd9d2; border-radius: 999px; font-weight: 600; color: #1b1f1c; text-decoration: none; }
.tp8of-gr { display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: center; margin-top: 14px; padding: 12px; border-radius: 16px; background: #fbf1ed; border: 1px solid #f0d7ce; }
.tp8of-pair { display: flex; align-items: center; text-decoration: none; }
.tp8of-pair .tp8of-th { width: 62px; height: 62px; border-radius: 12px; background: #fff; overflow: hidden; border: 1px solid #f0d7ce; }
.tp8of-plus { position: relative; z-index: 1; width: 22px; height: 22px; margin: 0 -7px; border-radius: 50%; background: #a8432c; color: #fff; display: grid; place-items: center; font-weight: 700; box-shadow: 0 0 0 2px #fbf1ed; }
.tp8of-gr p { margin: 0; font-weight: 500; }
.tp8of-gr p a { color: inherit; text-decoration: none; }
.tp8of-allbtn { margin: 30px 0 0; text-align: center; }
.tp8of-none { margin: 22px 0 6px; font-size: 16px; font-weight: 600; }

/* The home block, right after the category circles. */
.tp8of-home { margin: 22px 0 0; }
.tp8of-flstrip { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 10px; padding: 10px 14px; border-radius: 12px; background: #a8432c; color: #fff; font-size: 13.5px; text-decoration: none; }
.tp8of-flstrip > span { display: inline-flex; align-items: center; gap: 6px; }
.tp8of-flstrip b { font-weight: 700; }
.tp8of-flstrip .tp8of-i { color: #fff; }
.tp8of-banner { position: relative; display: block; min-height: 182px; margin: 10px 0 0; border-radius: 18px; overflow: hidden; background: #2f3d33; color: #fff; text-decoration: none; }
.tp8of-banner img { position: absolute; top: 0; left: 0; width: 40%; height: 100%; object-fit: cover; object-position: 76% 75%; }
[dir="ltr"] .tp8of-banner img { left: auto; right: 0; }
.tp8of-banner img.is-photo { object-position: 50% 58%; }
.tp8of-banner::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to left, #2f3d33 0%, #2f3d33 58%, rgba(47, 61, 51, .5) 63%, rgba(47, 61, 51, 0) 70%); }
[dir="ltr"] .tp8of-banner::after { background: linear-gradient(to right, #2f3d33 0%, #2f3d33 58%, rgba(47, 61, 51, .5) 63%, rgba(47, 61, 51, 0) 70%); }
.tp8of-banner-t { position: relative; z-index: 1; display: block; max-width: 64%; padding: 20px 18px; }
.tp8of-banner-t b { display: block; font-size: clamp(18px, 2.4vw, 26px); line-height: 1.35; font-weight: 700; text-wrap: balance; }
.tp8of-banner .tp8of-banner-t b { color: #fff; } /* the theme colours bold text dark */
@media (min-width: 900px) {
	.tp8of-banner { min-height: 240px; }
	.tp8of-banner-t { padding: 38px 34px; }
	.tp8of-banner img.is-photo { object-position: 50% 48%; }
}
.tp8of-banner-t > span { display: block; margin: 6px 0 14px; font-size: 13px; color: #d3ddd6; }
.tp8of-cta { display: inline-flex !important; align-items: center; gap: 6px; height: 38px; margin: 0 !important; padding: 0 16px; border-radius: 999px; background: #f4f1ea; color: #1b1f1c !important; font-size: 13.5px !important; font-weight: 600; }

/* Deal boxes on the product page: quantity tiers, buy X get Y, bundles. */
.tp8of-tiers { display: grid; gap: 6px; margin: 12px 0 0; padding: 0; list-style: none; }
.tp8of-tiers li { display: grid; grid-template-columns: 1fr auto auto; gap: 10px; align-items: center; padding: 8px 11px; border-radius: 10px; background: #fff; font-variant-numeric: tabular-nums; }
.tp8of-tiers li b { color: #a8432c; font-weight: 700; }
.tp8of-tiers li > span:last-child:not(:first-child) { color: #3b413d; font-size: 12.5px; }
.tp8of-bundle { display: grid; gap: 8px; margin: 12px 0 0; padding: 10px; border-radius: 12px; background: #fff; list-style: none; }
.tp8of-bundle li { display: grid; grid-template-columns: 52px 1fr; gap: 10px; align-items: center; font-weight: 500; line-height: 1.45; }
.tp8of-bundle .tp8of-th { width: 52px; height: 52px; }
.tp8of-bundle li + li { padding-top: 8px; border-top: 1px solid #f4e6e0; }
.tp8of-bundle-p { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; margin-top: 12px; font-variant-numeric: tabular-nums; }
.tp8of-bundle-p span { font-weight: 600; color: #3b413d; }
.tp8of-bundle-p del { font-size: 12.5px; color: #6f7570; }
.tp8of-bundle-p b { font-size: 16px; font-weight: 700; color: #a8432c; }
.tp8of-bundle-add { display: flex; align-items: center; justify-content: center; min-height: 44px; margin-top: 12px; padding: 0 16px; border-radius: 12px; background: #a8432c; color: #fff !important; font-size: 14px; font-weight: 600; text-decoration: none !important; }
.tp8of-bundle-add:hover { background: #8c3420; }
.tp8of-bundle-add:focus-visible { outline: 2px solid #8c3420; outline-offset: 2px; }

/* Offers page: bundle card, offers on the whole order, discount codes. */
.tp8of-os .tp8of-box.is-bundle { max-width: 560px; margin-top: 14px; }
.tp8of-cws, .tp8of-codes { display: grid; gap: 10px; margin-top: 14px; }
@media (min-width: 720px) { .tp8of-cws, .tp8of-codes { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.tp8of-cw { display: grid; grid-template-columns: 38px 1fr; gap: 11px; align-items: center; padding: 12px 14px; border-radius: 16px; background: #fbf1ed; border: 1px solid #f0d7ce; }
.tp8of-cw b { display: block; font-size: 14px; font-weight: 600; line-height: 1.45; }
.tp8of-cw p { margin: 2px 0 0; font-size: 13px; color: #3b413d; line-height: 1.55; }
.tp8of-code { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px; border-radius: 16px; border: 1px dashed #d9b3a5; background: #fff; }
.tp8of-code b { display: block; font-size: 14px; font-weight: 600; line-height: 1.45; }
.tp8of-code div > span { display: block; margin-top: 2px; font-size: 12.5px; color: #3b413d; }
.tp8of-copy { display: inline-flex; flex: none; align-items: center; gap: 8px; min-height: 40px; padding: 0 12px; border: 1px solid #f0d7ce; border-radius: 10px; background: #fbf1ed; color: #8c3420; font: inherit; font-weight: 600; cursor: pointer; }
.tp8of-copy code { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 13.5px; letter-spacing: .04em; direction: ltr; unicode-bidi: isolate; background: none; color: inherit; padding: 0; }
.tp8of-copy:hover { background: #f0d7ce; }
.tp8of-copy:focus-visible { outline: 2px solid #8c3420; outline-offset: 2px; }

/* Progress bars: free shipping and gifts above an amount (cart, checkout, mini-cart). */
.tp8of-bars { display: grid; gap: 8px; margin: 0 0 14px; }
.tp8of-bar { padding: 10px 12px 11px; border: 1px solid #f0d7ce; border-radius: 12px; background: #fbf1ed; }
.tp8of-bar p { margin: 0 0 8px; color: #8c3420; font-size: 13px; font-weight: 600; line-height: 1.5; }
.tp8of-bar-track { display: block; height: 6px; overflow: hidden; border-radius: 999px; background: #f0d7ce; }
.tp8of-bar-fill { display: block; width: var(--p, 0%); height: 100%; border-radius: inherit; background: #a8432c; }
.tp8of-bars.is-mini { gap: 6px; margin: 0 0 10px; }
.tp8of-bars.is-mini .tp8of-bar { padding: 8px 10px 9px; }
.tp8of-bars.is-mini .tp8of-bar p { margin-bottom: 6px; font-size: 12px; }

@media (prefers-reduced-motion: no-preference) {
	.tp8of-bar-fill { transition: width .45s ease-out; }
	.tp8of-link .tp8of-i { transition: transform .2s ease-out; }
	.tp8of-link:hover .tp8of-i { transform: translateX(-2px); }
	[dir="ltr"] .tp8of-link:hover .tp8of-i { transform: translateX(2px); }
}
