:root {
  --heading-font: "Playfair Display", serif;
  --bs-body-font-family: "Montserrat", sans-serif;
  --bs-body-font-size: 15px;
  --bs-body-font-weight: 400;
  --bs-body-color: #633e15;
  --heading-color: #633e15;

  --bs-primary: #c89b48;
  --bs-primary-rgb: 200, 155, 72;
  --bs-black: #633e15;
  --bs-black-rgb: 99, 62, 21;
  --bs-light: #ffffff;
  --bs-link-color: #633e15;
  --bs-link-hover-color: #c89b48;
}

body {
  background: #ffffff;
}

/* Smaller, calmer heading scale */
h1,
.h1 {
  font-size: 2.5rem;
}
h2,
.h2 {
  font-size: 2rem;
}
h3,
.h3 {
  font-size: 1.6rem;
}
h4,
.h4 {
  font-size: 1.25rem;
}
h5,
.h5 {
  font-size: 1rem;
}
h6,
.h6 {
  font-size: 0.85rem;
}

.element-title,
.navbar-brand,
.section-title,
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--heading-font);
  color: #633e15;
}

/* Ghost button style, matching the gold palette */
.btn-primary {
  --bs-btn-color: #633e15;
  --bs-btn-bg: transparent;
  --bs-btn-border-color: #c89b48;
  --bs-btn-hover-color: #633e15;
  --bs-btn-hover-bg: #fdf0a6;
  --bs-btn-hover-border-color: #c89b48;
  --bs-btn-active-bg: #fdf0a6;
  --bs-btn-active-border-color: #c89b48;
  border-width: 1px;
  letter-spacing: 0.05em;
}

.btn-dark {
  --bs-btn-bg: #633e15;
  --bs-btn-border-color: #633e15;
  --bs-btn-hover-bg: #c89b48;
  --bs-btn-hover-border-color: #c89b48;
}

.text-primary {
  color: #c89b48 !important;
}
.text-danger {
  color: #633e15 !important;
}

/* Slightly tighter product card typography */
.product-content h5 {
  font-size: 0.95rem;
}

.navbar {
  --bs-body-font-size: 0.75rem;
}

/* Rounded corners, everywhere */
.btn,
.form-control,
.card,
.product-item .image-holder,
.product-item img,
input,
select,
textarea {
  border-radius: 10px !important;
}

.btn {
  transition: all 0.25s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

/* Product cards: rounded image + soft shadow + lift on hover */
.product-item {
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
  border-radius: 12px;
  overflow: hidden;
}

.product-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 24px rgba(99, 62, 21, 0.12);
}

.product-item .image-holder img {
  border-radius: 12px 12px 0 0 !important;
  transition: transform 0.4s ease;
}

/* Category grid images */
.category-grid-item {
  border-radius: 14px;
  overflow: hidden;
  transition: transform 0.3s ease;
}

.category-grid-item:hover {
  transform: scale(1.03);
}

/* Fade-in on load, applied via a shared class */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  animation: fadeInUp 0.6s ease-out both;
}

/* Stagger children for a nicer grid entrance */
.fade-in-stagger > * {
  animation: fadeInUp 0.5s ease-out both;
}

.fade-in-stagger > *:nth-child(1) {
  animation-delay: 0.05s;
}
.fade-in-stagger > *:nth-child(2) {
  animation-delay: 0.1s;
}
.fade-in-stagger > *:nth-child(3) {
  animation-delay: 0.15s;
}
.fade-in-stagger > *:nth-child(4) {
  animation-delay: 0.2s;
}
.fade-in-stagger > *:nth-child(5) {
  animation-delay: 0.25s;
}
.fade-in-stagger > *:nth-child(6) {
  animation-delay: 0.3s;
}
.fade-in-stagger > *:nth-child(7) {
  animation-delay: 0.35s;
}
.fade-in-stagger > *:nth-child(8) {
  animation-delay: 0.4s;
}

/* Links get a smooth underline sweep instead of a hard color flip */
a {
  transition: color 0.25s ease;
}

/* Nav dropdown: subtle open animation */
.dropdown-menu {
  border-radius: 10px !important;
  box-shadow: 0 8px 20px rgba(99, 62, 21, 0.1);
  border: 1px solid #fdf0a6 !important;
}

.element-title,
.section-title,
h1,
h2,
h3 {
  letter-spacing: 0.02em;
}

.navbar-brand {
  font-size: 1.4rem;
  letter-spacing: 0.05em;
}

/* Tighter section spacing overall */
section,
.container.py-5 {
  padding-top: 2.5rem !important;
  padding-bottom: 2.5rem !important;
}

.row.g-4 {
  --bs-gutter-x: 1.25rem;
  --bs-gutter-y: 1.25rem;
}

/* ===== TS MODE luxury layer ===== */
:root {
  --ts-highlight: #fdf0a6;
  --ts-gold: #c89b48;
  --ts-bronze: #633e15;
  --gold-gradient: linear-gradient(
    135deg,
    #fdf0a6 0%,
    #c89b48 50%,
    #633e15 100%
  );
  --gold-shimmer: linear-gradient(90deg, #c89b48 0%, #fdf0a6 50%, #c89b48 100%);
}
body {
  letter-spacing: 0.01em;
}
h1,
h2,
h3 {
  font-weight: 500;
}
.text-uppercase {
  letter-spacing: 0.12em;
}

.text-gold-metallic {
  background: linear-gradient(135deg, #fdf0a6 20%, #c89b48 50%, #633e15 80%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}
.hero-title.text-gold-metallic {
  background: linear-gradient(135deg, #ffffff 0%, #fdf0a6 35%, #c89b48 75%);
  -webkit-background-clip: text;
  background-clip: text;
}

.btn-outline-gold {
  border: 1px solid var(--ts-gold);
  color: var(--ts-bronze);
  background: transparent;
  border-radius: 0 !important;
  padding: 0.85rem 2.4rem;
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  font-weight: 500;
  transition: all 0.3s ease;
}
.btn-outline-gold:hover {
  background: linear-gradient(135deg, #fdf0a6 0%, #c89b48 100%);
  color: #fff;
  border-color: transparent;
  transform: none;
}
.btn-outline-gold.on-dark {
  color: #fff;
}

.gold-rule {
  width: 64px;
  height: 1px;
  background: var(--gold-shimmer);
  margin: 0.9rem auto 1.6rem;
  border: 0;
  opacity: 1;
}
.section-heading {
  font-family: var(--heading-font);
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-weight: 500;
}

/* Navbar: transparent over hero, solid white after scroll */
.navbar-ts {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1030;
  background: rgba(255, 255, 255, 0.97) !important;
  border-bottom: 1px solid rgba(200, 155, 72, 0.35) !important;
  transition:
    background 0.35s ease,
    border-color 0.35s ease,
    box-shadow 0.35s ease;
}
.navbar-ts .nav-link,
.navbar-ts a,
.navbar-ts .navbar-toggler-icon {
  color: var(--ts-bronze);
  font-size: 0.9rem;
  letter-spacing: 0.2em;
  font-weight: 500;
}
.navbar-ts a:hover,
.navbar-ts .nav-link:hover {
  color: var(--ts-gold);
}
.navbar-ts.is-top {
  background: transparent !important;
  border-bottom-color: transparent !important;
}
.navbar-ts.is-top .nav-link,
.navbar-ts.is-top a {
  color: #fff;
}
.navbar-ts.is-top a:hover,
.navbar-ts.is-top .nav-link:hover {
  color: var(--ts-highlight);
}
.navbar-ts.is-top svg {
  filter: brightness(0) invert(1);
}
.navbar-ts:not(.is-top) {
  box-shadow: 0 6px 20px rgba(99, 62, 21, 0.08);
}
.navbar-ts .offcanvas a,
.navbar-ts .offcanvas .nav-link {
  color: var(--ts-bronze);
}
.nav-spacer {
  height: 84px;
}
.navbar-ts .nav-link,
.navbar-ts .dropdown-toggle {
  font-weight: 700;
  letter-spacing: 0.08em;
}

/* Only while transparent over the video */
@media (min-width: 992px) {
  .navbar-ts.is-top .nav-link,
  .navbar-ts.is-top .dropdown-toggle,
  .navbar-ts.is-top ul.list-unstyled:not(.dropdown-menu) a {
    color: #fff;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
  }
}
.navbar-ts .dropdown-menu {
  background: #fff;
}

.navbar-ts .dropdown-menu .dropdown-item {
  color: #222;
  font-weight: 600;
  text-shadow: none;
}

.navbar-ts .dropdown-menu .dropdown-item:hover,
.navbar-ts .dropdown-menu .dropdown-item:focus {
  background: #f1f1f1;
  color: #000;
}

.navbar-ts .offcanvas .nav-link {
  color: #222;
  font-weight: 700;
  text-shadow: none;
}

.navbar-ts .offcanvas .nav-link:hover,
.navbar-ts .offcanvas .nav-link:focus,
.navbar-ts .offcanvas .nav-link.show {
  color: #8a6d4b; /* pick a darker shade of your accent color */
}

/* Product cards: quieter, editorial */
.product-item {
  border-radius: 0;
}
.product-item:hover {
  box-shadow: 0 14px 30px rgba(99, 62, 21, 0.14);
}
.product-item .image-holder img {
  border-radius: 0 !important;
}
.product-content {
  text-align: center;
  padding-bottom: 0.75rem;
}
.product-content h5 {
  font-family: var(--heading-font);
  font-weight: 500;
  letter-spacing: 0.1em;
}
.product-content a {
  color: var(--ts-gold);
  font-weight: 500;
  letter-spacing: 0.08em;
}

/* Mobile: keep logo, menu button and icons inside the frame */
@media (max-width: 991.98px) {
  .navbar-ts {
    padding: 0.5rem 0.75rem !important;
  }
  .navbar-ts .navbar-brand img {
    height: 48px !important;
    width: auto;
    max-width: 100%;
  }
  .navbar-ts .navbar-toggler {
    padding: 0.25rem 0.4rem;
  }
  .navbar-ts svg {
    width: 22px;
    height: 22px;
  }
}

/* ===== UI pass: navbar colors, actions, search ===== */
.nav-actions .nav-icon {
  display: inline-flex;
  align-items: center;
  color: var(--ts-bronze);
}
.cart-badge {
  position: absolute;
  top: -8px;
  right: -10px;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  border-radius: 9px;
  background: var(--ts-gold);
  color: #fff;
  font-size: 0.68rem;
  line-height: 18px;
  text-align: center;
  letter-spacing: 0;
  text-shadow: none;
}
.nav-search {
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--ts-gold);
}
.nav-search input {
  border: 0 !important;
  background: transparent;
  outline: 0;
  box-shadow: none;
  border-radius: 0 !important;
  width: 150px;
  padding: 0.25rem 0.25rem;
  font-size: 0.85rem;
  color: var(--ts-bronze);
  letter-spacing: 0.05em;
  text-transform: none;
}
.nav-search input::placeholder {
  color: rgba(99, 62, 21, 0.55);
}
.nav-search button {
  background: none;
  border: 0;
  padding: 0 0.25rem;
  color: var(--ts-bronze);
  display: flex;
}

/* Desktop: light links over the video, bronze once the bar turns white */
@media (min-width: 992px) {
  .navbar-ts .offcanvas .nav-link,
  .navbar-ts .offcanvas .dropdown-toggle {
    color: var(--ts-bronze);
    text-shadow: none;
  }
  .navbar-ts .offcanvas .nav-link:hover {
    color: var(--ts-gold);
  }
  .navbar-ts.is-top .offcanvas .nav-link,
  .navbar-ts.is-top .offcanvas .dropdown-toggle {
    color: #fff;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
  }
  .navbar-ts.is-top .offcanvas .nav-link:hover {
    color: var(--ts-highlight);
  }
  .navbar-ts.is-top .nav-actions .nav-icon,
  .navbar-ts.is-top .nav-search button {
    color: #fff;
  }
  .navbar-ts.is-top .nav-search input {
    color: #fff;
  }
  .navbar-ts.is-top .nav-search input::placeholder {
    color: rgba(255, 255, 255, 0.75);
  }
  .navbar-ts.is-top .nav-search {
    border-bottom-color: rgba(255, 255, 255, 0.7);
  }
}

/* Mobile: the bar is always white, so everything is dark */
@media (max-width: 991.98px) {
  .navbar-ts.is-top {
    background: rgba(255, 255, 255, 0.97) !important;
    border-bottom: 1px solid rgba(200, 155, 72, 0.35) !important;
  }
  .navbar-ts.is-top .nav-link,
  .navbar-ts.is-top .offcanvas .nav-link,
  .navbar-ts.is-top a {
    color: var(--ts-bronze);
    text-shadow: none;
  }
  .navbar-ts.is-top svg,
  .navbar-ts.is-top .navbar-toggler-icon {
    filter: none;
  }
  .navbar-ts .offcanvas .nav-search {
    border: 1px solid var(--ts-gold);
    padding: 0.35rem 0.6rem;
  }
  .navbar-ts .offcanvas .nav-search input {
    width: 100%;
    font-size: 1rem;
  }
}

/* ===== Product cards: darker text ===== */
.product-content h5 a {
  color: var(--ts-bronze) !important;
  font-size: 0.9rem;
}
.product-content a {
  color: var(--ts-bronze) !important;
  font-weight: 600;
}
.product-content .text-muted {
  color: #8b7a66 !important;
  font-weight: 400;
}

/* ===== Product detail ===== */
.pd-image {
  width: 100%;
  max-height: 560px;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 4px;
}
.pd-thumbs {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.75rem;
  flex-wrap: wrap;
}
.pd-thumbs img {
  width: 64px;
  height: 80px;
  object-fit: cover;
  cursor: pointer;
  opacity: 0.6;
  border: 1px solid transparent;
  border-radius: 3px !important;
}
.pd-thumbs img.active,
.pd-thumbs img:hover {
  opacity: 1;
  border-color: var(--ts-gold);
}
.pd-title {
  font-family: var(--heading-font);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ts-bronze);
  margin: 0;
}
.pd-price {
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--ts-bronze);
  margin-bottom: 1rem;
}
.pd-old {
  text-decoration: line-through;
  color: #8b7a66;
  font-weight: 400;
  font-size: 1.05rem;
  margin-right: 0.75rem;
}
.pd-desc {
  color: #5b4a38;
  line-height: 1.7;
  font-size: 0.95rem;
  margin-bottom: 1.75rem;
}
.pd-label {
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--ts-bronze);
  margin-bottom: 0.5rem;
}
.opt-btn {
  min-width: 44px;
  padding: 0.45rem 0.9rem;
  background: transparent;
  color: var(--ts-bronze);
  border: 1px solid rgba(200, 155, 72, 0.6);
  border-radius: 0 !important;
  font-size: 0.85rem;
  transition: all 0.2s ease;
}
.opt-btn:hover {
  border-color: var(--ts-gold);
}
.opt-btn.selected {
  background: var(--ts-gold);
  border-color: var(--ts-gold);
  color: #fff;
}

/* ===== Quantity stepper ===== */
.qty-stepper {
  display: inline-flex;
  border: 1px solid rgba(200, 155, 72, 0.6);
}
.qty-stepper button {
  width: 36px;
  background: transparent;
  border: 0;
  color: var(--ts-bronze);
  font-size: 1.1rem;
}
.qty-stepper button:hover {
  background: var(--ts-highlight);
}
.qty-stepper input {
  width: 52px;
  text-align: center;
  border: 0 !important;
  border-left: 1px solid rgba(200, 155, 72, 0.4) !important;
  border-right: 1px solid rgba(200, 155, 72, 0.4) !important;
  border-radius: 0 !important;
  outline: 0;
  color: var(--ts-bronze);
  padding: 0.4rem 0;
}

/* ===== Cart ===== */
.cart-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(200, 155, 72, 0.3);
}
.cart-row > img {
  width: 80px;
  height: 100px;
  object-fit: cover;
  border-radius: 3px !important;
  flex-shrink: 0;
}
.cart-info {
  flex: 1;
  min-width: 0;
}
.cart-name {
  font-family: var(--heading-font);
  color: var(--ts-bronze);
  font-size: 1.05rem;
}
.cart-options {
  font-size: 0.8rem;
  color: #8b7a66;
  text-transform: capitalize;
}
.cart-unit {
  font-size: 0.85rem;
  color: #5b4a38;
}
.cart-line {
  min-width: 90px;
  text-align: right;
  font-weight: 600;
  color: var(--ts-bronze);
}
.cart-remove {
  background: none;
  border: 0;
  font-size: 1.5rem;
  line-height: 1;
  color: #8b7a66;
}
.cart-remove:hover {
  color: #b3261e;
}
@media (max-width: 575.98px) {
  .cart-row {
    flex-wrap: wrap;
  }
  .cart-info {
    flex-basis: calc(100% - 100px);
  }
  .cart-line {
    margin-left: auto;
  }
}

/* ===== Profile ===== */
.order-card {
  border: 1px solid rgba(200, 155, 72, 0.4);
  padding: 1rem;
  margin-bottom: 1rem;
  color: var(--ts-bronze);
}
.order-status {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ts-gold);
  font-weight: 600;
}

/* Mobile: search bar stays in the navbar, between the logo and the cart */
.navbar-ts .navbar-brand {
  flex-shrink: 0;
}
@media (max-width: 991.98px) {
  .nav-actions {
    flex: 1 1 auto;
    min-width: 0;
    justify-content: flex-end;
  }
  .nav-search {
    flex: 1 1 auto;
    min-width: 0;
    max-width: 190px;
    margin-left: 0.75rem;
  }
  .nav-search input {
    width: 100%;
    min-width: 0;
    font-size: 0.85rem;
  }
}

/* ===== Header: announcement bar + navbar ===== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1050;
} /* above the offcanvas backdrop (1040) */
.site-header .navbar-ts {
  position: relative;
}
.announce {
  height: 34px;
  overflow: hidden;
  background: var(--gold-gradient);
  color: #fff;
  transition: height 0.35s ease;
}
.announce.is-hidden {
  height: 0;
}
.announce-track {
  display: flex;
  width: max-content;
  height: 34px;
  align-items: center;
  animation: marquee 38s linear infinite;
}
.announce:hover .announce-track {
  animation-play-state: paused;
}
.announce-group {
  display: flex;
}
.announce-group span {
  white-space: nowrap;
  font-size: 0.72rem;
  letter-spacing: 0.3em;
  font-weight: 600;
  padding: 0 1.4rem;
  color: #fff8dc;
  text-shadow: 0 1px 2px rgba(99, 62, 21, 0.6);
}
.announce-group i {
  font-style: normal;
  margin-left: 2.8rem;
  color: var(--ts-highlight);
}
@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}
.nav-spacer {
  height: 118px;
}
@media (max-width: 991.98px) {
  .nav-spacer {
    height: 100px;
  }
}

/* Nav links: hover underline, dropdown on hover */
.navbar-ts .offcanvas .nav-link {
  position: relative;
}
.navbar-ts .offcanvas .nav-link::after {
  content: "";
  position: absolute;
  left: 0.5rem;
  right: 0.5rem;
  bottom: 2px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}
.navbar-ts .offcanvas .nav-link:hover::after,
.navbar-ts .offcanvas .nav-link.active-link::after {
  transform: scaleX(1);
}
@media (min-width: 992px) {
  .nav-shop .dropdown-menu {
    margin-top: 0;
  }
  .nav-shop:hover .dropdown-menu,
  .nav-shop:focus-within .dropdown-menu {
    display: block;
    animation: fadeUp 0.25s ease both;
  }
}
@media (max-width: 991.98px) {
  .nav-shop .dropdown-menu {
    display: block;
    position: static;
    border: 0 !important;
    box-shadow: none;
    background: transparent;
    padding: 0 0 0.25rem 1rem;
  }
  .nav-shop .dropdown-item {
    padding: 0.3rem 0;
    font-size: 0.85rem;
    font-weight: 500;
  }
}

/* ===== Buttons: readable hover ===== */
.btn-outline-gold:hover,
.btn-outline-gold:focus-visible,
.btn-outline-gold.on-dark:hover {
  color: var(--ts-bronze);
  background: linear-gradient(135deg, #fdf0a6 0%, #e3bd6a 100%);
  border-color: var(--ts-gold);
  box-shadow: 0 6px 16px rgba(200, 155, 72, 0.35);
}
.btn-outline-gold:disabled {
  opacity: 0.45;
  pointer-events: none;
}
.opt-btn.selected {
  color: var(--ts-bronze);
  background: linear-gradient(135deg, #fdf0a6, #e3bd6a);
}

/* ===== Category tiles ===== */
.cat-frame {
  overflow: hidden;
}
.cat-img {
  transition: transform 0.6s ease;
}
.cat-frame:hover .cat-img {
  transform: scale(1.08);
}
.cat-name {
  font-family: var(--heading-font);
  font-weight: 500;
  letter-spacing: 0.14em;
  color: var(--ts-bronze);
  font-size: 1rem;
}

/* ===== Motion ===== */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.page-fade {
  animation: fadeUp 0.5s ease both;
  padding-bottom: calc(3rem + env(safe-area-inset-bottom, 0px));
}
.reveal {
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}
.reveal.is-hidden {
  opacity: 0;
  transform: translateY(26px);
}
.hero-title,
.hero-title ~ * {
  animation: fadeUp 1s ease both;
}
.hero-title ~ :nth-child(2) {
  animation-delay: 0.25s;
}
.hero-title ~ :nth-child(3) {
  animation-delay: 0.45s;
}
.hero-title ~ :nth-child(4) {
  animation-delay: 0.65s;
}
.gold-rule {
  background-size: 200% 100%;
  animation: shimmer 4s linear infinite;
}
@keyframes shimmer {
  to {
    background-position: -200% 0;
  }
}
.product-item .image-holder {
  overflow: hidden;
}
.product-item:hover .image-holder img {
  transform: scale(1.06);
}
.pd-image,
.pd-thumbs img {
  transition:
    opacity 0.3s ease,
    transform 0.3s ease;
}
@media (prefers-reduced-motion: reduce) {
  .announce-track,
  .gold-rule,
  .hero-title,
  .hero-title ~ *,
  .page-fade {
    animation: none !important;
  }
  .reveal,
  .reveal.is-hidden {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ===== Forms ===== */
.form-control.is-invalid {
  border-color: #b3261e;
  background-image: none;
}
.field-error {
  color: #b3261e;
  font-size: 0.8rem;
  margin-top: 0.25rem;
  text-transform: none;
  letter-spacing: 0;
}
.field-toggle {
  position: absolute;
  right: 0.6rem;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: 0;
  font-size: 0.75rem;
  color: var(--ts-gold);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.btn-link-gold,
.btn-link-danger {
  background: none;
  border: 0;
  padding: 0;
  font-size: 0.85rem;
  text-decoration: underline;
}
.btn-link-gold {
  color: var(--ts-gold);
}
.btn-link-danger {
  color: #b3261e;
}
.btn-link-danger:disabled {
  opacity: 0.5;
}
.choice-card {
  height: 100%;
  padding: 2rem;
  text-align: center;
  border: 1px solid rgba(200, 155, 72, 0.4);
  box-shadow: 0 14px 30px -18px rgba(99, 62, 21, 0.3);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}
.choice-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 40px -18px rgba(200, 155, 72, 0.5);
}
.choice-card h5 {
  font-family: var(--heading-font);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ts-bronze);
}
.choice-card p {
  color: #5b4a38;
  font-size: 0.9rem;
  min-height: 4.2em;
}
.order-card.is-cancelled {
  opacity: 0.6;
}
.order-card.is-cancelled .order-status {
  color: #b3261e;
}

/* ===== Contact / About ===== */
.contact-panel {
  height: 100%;
  padding: 2rem;
  border: 1px solid rgba(200, 155, 72, 0.4);
  box-shadow: 0 14px 30px -18px rgba(99, 62, 21, 0.3);
}
.map-frame {
  height: 380px;
  border: 1px solid rgba(200, 155, 72, 0.4);
  box-shadow: 0 14px 30px -18px rgba(99, 62, 21, 0.3);
}
.map-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
}
.about-lead {
  font-family: var(--heading-font);
  font-size: 1.35rem;
  color: var(--ts-bronze);
  line-height: 1.6;
}
.about-text {
  color: #5b4a38;
  line-height: 1.8;
  max-width: 640px;
  margin: 0 auto;
}
.pillar-card {
  height: 100%;
  padding: 2rem 1.5rem;
  text-align: center;
  border-top: 2px solid var(--ts-gold);
  box-shadow: 0 14px 30px -18px rgba(99, 62, 21, 0.3);
  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease;
}
.pillar-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 40px -18px rgba(200, 155, 72, 0.55);
}
.pillar-card h5 {
  font-family: var(--heading-font);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--ts-bronze);
}
.pillar-card p {
  color: #5b4a38;
  font-size: 0.9rem;
  margin: 0;
}

/* ===== Product cards ===== */
.pcard {
  position: relative;
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow:
    0 2px 6px rgba(99, 62, 21, 0.06),
    0 14px 30px -14px rgba(99, 62, 21, 0.25);
  transition:
    transform 0.45s cubic-bezier(0.2, 0.8, 0.2, 1),
    box-shadow 0.45s ease;
}
.pcard::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 3px;
  width: 0;
  background: var(--gold-shimmer);
  transition: width 0.5s ease;
}
.pcard:hover {
  transform: translateY(-8px);
  box-shadow:
    0 4px 10px rgba(99, 62, 21, 0.08),
    0 28px 44px -16px rgba(200, 155, 72, 0.55);
}
.pcard:hover::after {
  width: 100%;
}
.pcard-top {
  position: relative;
  overflow: hidden;
}
.pcard-media {
  display: block;
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
}
.pcard-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.pcard:hover .pcard-media img {
  transform: scale(1.1);
}
.pcard-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(99, 62, 21, 0.45), transparent 55%);
  opacity: 0;
  transition: opacity 0.4s ease;
}
.pcard:hover .pcard-shade {
  opacity: 1;
}
.pcard-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 0.2rem 0.65rem;
  border-radius: 20px;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  font-weight: 600;
  background: var(--gold-gradient);
  color: #fff;
}
.pcard-badge-dark {
  left: auto;
  right: 10px;
  background: rgba(0, 0, 0, 0.7);
}
.pcard-add {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  padding: 0.6rem;
  border: 0;
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.95);
  color: var(--ts-bronze);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  transform: translateY(150%);
  transition:
    transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1),
    background 0.2s ease;
}
.pcard:hover .pcard-add,
.pcard-add:focus-visible {
  transform: none;
}
.pcard-add:hover:not(:disabled) {
  background: linear-gradient(135deg, #fdf0a6, #e3bd6a);
}
.pcard-add:disabled {
  opacity: 0.7;
}
@media (hover: none) {
  .pcard-add {
    transform: none;
    padding: 0.45rem;
    font-size: 0.65rem;
  }
  .pcard-shade {
    opacity: 1;
  }
}
.pcard-body {
  padding: 1rem 0.75rem 1.1rem;
  text-align: center;
}
.pcard-name {
  margin: 0 0 0.35rem;
  font-family: var(--heading-font);
  font-size: 0.95rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.pcard-name a {
  color: var(--ts-bronze);
  text-decoration: none;
}
.pcard-price {
  font-weight: 600;
  color: var(--ts-bronze);
}
.pcard-old {
  text-decoration: line-through;
  color: #8b7a66;
  font-weight: 400;
  margin-right: 0.5rem;
  font-size: 0.9em;
}

/* ===== Category tiles ===== */
.cat-card {
  position: relative;
  display: block;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: 14px;
  text-decoration: none;
  box-shadow:
    0 2px 6px rgba(99, 62, 21, 0.08),
    0 16px 32px -14px rgba(99, 62, 21, 0.35);
  transition:
    transform 0.45s cubic-bezier(0.2, 0.8, 0.2, 1),
    box-shadow 0.45s ease;
}
.cat-card:hover {
  transform: translateY(-8px) rotate(-0.4deg);
  box-shadow: 0 30px 46px -16px rgba(200, 155, 72, 0.6);
}
.cat-card-img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.9s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.cat-card:hover .cat-card-img {
  transform: scale(1.12);
}
.cat-card-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(40, 24, 6, 0.8),
    rgba(40, 24, 6, 0.05) 60%
  );
  transition: background 0.4s ease;
}
.cat-card::before {
  content: "";
  position: absolute;
  inset: 10px;
  z-index: 2;
  border: 1px solid var(--ts-highlight);
  border-radius: 8px;
  opacity: 0;
  transform: scale(1.06);
  transition:
    opacity 0.4s ease,
    transform 0.5s ease;
  pointer-events: none;
}
.cat-card:hover::before {
  opacity: 0.85;
  transform: none;
}
.cat-card-label {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 1.1rem;
  z-index: 3;
  text-align: center;
  color: #fff;
  transition: transform 0.4s ease;
}
.cat-card:hover .cat-card-label {
  transform: translateY(-6px);
}
.cat-card-label h5 {
  margin: 0;
  font-family: var(--heading-font);
  color: #fff;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 1.05rem;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}
.cat-card-label span {
  display: inline-block;
  margin-top: 0.3rem;
  font-size: 0.68rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--ts-highlight);
  opacity: 0;
  max-height: 0;
  transition:
    opacity 0.4s ease,
    max-height 0.4s ease;
}
.cat-card:hover .cat-card-label span {
  opacity: 1;
  max-height: 20px;
}
@media (hover: none) {
  .cat-card-label span {
    opacity: 1;
    max-height: 20px;
  }
}

/* ===== Languages: switcher, Arabic fonts, right-to-left fixes ===== */
.lang-switch {
  align-items: center;
  gap: 0.15rem;
  display: inline-flex;
}
.lang-switch button {
  background: none;
  border: 0;
  padding: 0.15rem 0.4rem;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  font-weight: 500;
  color: var(--ts-bronze);
  opacity: 0.6;
  border-bottom: 1px solid transparent;
  transition: all 0.2s ease;
}
.lang-switch button:hover,
.lang-switch button.active {
  opacity: 1;
  border-bottom-color: var(--ts-gold);
}
.navbar-ts.is-top .lang-switch button {
  color: #fff;
}
@media (max-width: 991.98px) {
  .navbar-ts.is-top .lang-switch button {
    color: var(--ts-bronze);
  }
}
.lang-switch button[lang="ar"] {
  font-family: "Tajawal", sans-serif;
  letter-spacing: 0;
  font-size: 0.85rem;
}

:root {
  --shade-dir: left;
}
html[lang="ar"] {
  --heading-font: "Amiri", serif;
  --bs-body-font-family: "Tajawal", sans-serif;
}
html[lang="ar"] body {
  font-family: "Tajawal", sans-serif;
}
/* Arabic letters join each other: letter-spacing would break the words apart */
html[lang="ar"] *,
html[lang="ar"] *::before,
html[lang="ar"] *::after {
  letter-spacing: 0 !important;
}

html[dir="rtl"] {
  --shade-dir: right;
}
html[dir="rtl"] .announce {
  direction: ltr;
}
html[dir="rtl"] .field-toggle {
  right: auto;
  left: 0.6rem;
}
html[dir="rtl"] .cart-badge {
  right: auto;
  left: -10px;
}
html[dir="rtl"] .pcard-badge {
  left: auto;
  right: 10px;
}
html[dir="rtl"] .pcard-badge-dark {
  right: auto;
  left: 10px;
}
html[dir="rtl"] .cart-line {
  text-align: left;
}
html[dir="rtl"] .nav-search {
  margin-left: 0;
}
html[dir="rtl"] .navbar-ts .offcanvas .nav-link::after {
  transform-origin: right;
}
html[dir="rtl"] .about-text,
html[dir="rtl"] .pd-desc {
  text-align: start;
}
@media (max-width: 991.98px) {
  html[dir="rtl"] .nav-search {
    margin-right: 0.75rem;
  }
  html[dir="rtl"] .nav-shop .dropdown-menu {
    padding: 0 1rem 0.25rem 0;
  }
}
@media (max-width: 575.98px) {
  html[dir="rtl"] .cart-line {
    margin-left: 0;
    margin-right: auto;
  }
}

/* ===== Sale prices in red ===== */
.pcard-badge.sale {
  background: #c62828;
  color: #fff;
}
.pcard-old {
  color: #c62828 !important;
  text-decoration: line-through;
}
.pd-old {
  color: #c62828 !important;
}
.pd-badge {
  display: inline-block;
  margin-inline-start: 0.7rem;
  padding: 0.15rem 0.6rem;
  border-radius: 6px;
  background: #c62828;
  color: #fff;
  font-size: 0.8rem;
  font-weight: 600;
  vertical-align: middle;
}

/* ===== Product cards: identical size, with or without a sale ===== */
.row > [class*="col-"] > .reveal {
  height: 100%;
}
.pcard {
  display: flex;
  flex-direction: column;
  height: 100%;
}
.pcard-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}
.pcard-name {
  width: 100%;
  min-height: 2.7em;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.pcard-price {
  display: flex;
  justify-content: center;
  align-items: baseline;
  gap: 0.45rem;
  white-space: nowrap;
  min-height: 1.5em;
}
@media (max-width: 575.98px) {
  .pcard-name {
    font-size: 0.78rem;
    letter-spacing: 0.05em;
  }
  .pcard-price {
    font-size: 0.85rem;
    gap: 0.3rem;
  }
  .pcard-old {
    font-size: 0.72rem;
    margin: 0;
  }
  .pcard-body {
    padding: 0.8rem 0.4rem 0.9rem;
  }
}

/* ===== Product page on phones: smaller picture ===== */
@media (max-width: 767.98px) {
  .pd-image {
    width: min(100%, 300px);
    max-height: 380px;
    display: block;
    margin-inline: auto;
  }
  .pd-thumbs {
    justify-content: center;
  }
  .pd-thumbs img {
    width: 52px;
    height: 66px;
  }
}

/* ===== Sold out: red, faded, not clickable ===== */
.btn-outline-gold.is-soldout,
.btn-outline-gold.is-soldout:hover,
.btn-outline-gold.is-soldout:disabled {
  border-color: #c62828 !important;
  color: #c62828 !important;
  background: #fdecea !important;
  opacity: 0.55 !important;
  pointer-events: none;
  cursor: not-allowed;
  box-shadow: none;
}
.pcard-add:disabled {
  color: #c62828;
  opacity: 0.65;
}

/* ===== Footer ===== */
.page-fade {
  padding-bottom: 0;
}
.site-footer {
  margin-top: 4rem;
  padding: 3.2rem 0 1.2rem;
  background: #2b1c0b;
  color: #e7d9bd;
}
.footer-logo {
  height: 70px;
  margin-bottom: 0.8rem;
}
.footer-tagline {
  font-family: var(--heading-font);
  font-style: italic;
  color: #fdf0a6;
  max-width: 320px;
}
.site-footer h6 {
  color: #fdf0a6;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  margin-bottom: 1rem;
}
.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.site-footer li {
  margin-bottom: 0.55rem;
  font-size: 0.9rem;
}
.site-footer a {
  color: #e7d9bd;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: color 0.2s;
}
.site-footer a:hover {
  color: #fdf0a6;
}
.footer-social {
  display: flex;
  gap: 0.7rem;
  margin-top: 1rem;
}
.footer-social a {
  width: 40px;
  height: 40px;
  justify-content: center;
  border: 1px solid rgba(253, 240, 166, 0.4);
  border-radius: 50%;
}
.footer-social a:hover {
  background: #fdf0a6;
  color: #2b1c0b;
}
.footer-cod {
  color: #c89b48;
}
.footer-address {
  max-width: 280px;
}
.footer-bottom {
  margin-top: 2.2rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  text-align: center;
  font-size: 0.78rem;
  color: #a99877;
}
html[dir="rtl"] .footer-tagline {
  font-style: normal;
}

/* ===== Contact page ===== */
.contact-panel {
  height: 100%;
  padding: 1.8rem;
  border: 1px solid rgba(200, 155, 72, 0.4);
  box-shadow: 0 14px 30px -18px rgba(99, 62, 21, 0.3);
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}
.contact-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  color: var(--ts-bronze);
}
.contact-ico {
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--ts-gold);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--ts-gold);
}
.contact-number {
  display: inline-block;
  font-family: var(--heading-font);
  font-size: 1.25rem;
  color: var(--ts-bronze);
  text-decoration: none;
}
.contact-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 0.4rem;
}
.contact-social {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border: 1px solid rgba(200, 155, 72, 0.6);
  color: var(--ts-bronze);
  text-decoration: none;
  font-size: 0.85rem;
  transition: all 0.2s;
}
.contact-social:hover {
  background: linear-gradient(135deg, #fdf0a6, #e3bd6a);
  color: var(--ts-bronze);
}
.map-frame {
  height: 100%;
  min-height: 380px;
}

/* delivery option the wilaya does not offer */
label.is-unavailable {
  opacity: 0.45;
  cursor: not-allowed;
  text-decoration: line-through;
}

.btn-gold-solid {
  background: linear-gradient(135deg, #e8c46f, #c89b48);
  border: 1px solid transparent;
  color: #3b2308;
  border-radius: 0;
  padding: 0.85rem 2.4rem;
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  font-weight: 600;
}
.btn-gold-solid:hover {
  filter: brightness(1.06);
  color: #3b2308;
}
.btn-gold-solid:disabled {
  opacity: 0.45;
}

html,
body {
  overflow-x: hidden;
  overflow-x: clip;
}

/* ===== Show whole pictures: never cropped, on any screen ===== */
.pcard-media {
  aspect-ratio: 3 / 4;
  background: #f6f1e7;
}
.pcard-media img {
  object-fit: contain !important;
}
.pcard:hover .pcard-media img {
  transform: scale(1.03);
}
.pd-image {
  width: 100%;
  height: auto;
  max-height: 85vh;
  aspect-ratio: auto;
  object-fit: contain;
  background: #f6f1e7;
}
@media (max-width: 767.98px) {
  .pd-image {
    width: min(100%, 340px);
    max-height: none;
  }
}
.pd-thumbs img,
.cart-row > img {
  object-fit: contain;
  background: #f6f1e7;
}
.cat-card-img {
  background-size: contain !important;
  background-repeat: no-repeat;
  background-position: center;
  background-color: #f6f1e7;
}

/* ===== Phones: no "add to cart" button on product cards (tap the card to open the product) ===== */
@media (max-width: 767.98px), (hover: none) {
  .pcard-add {
    display: none !important;
  }
}
.pd-delivery {
  margin: 0 0 1.5rem;
  padding: 1rem;
  border: 1px solid rgba(200, 155, 72, 0.4);
  background: #fffdf8;
}
.pd-delivery .form-select {
  max-width: 280px;
}
/* ===== Product page: framed gallery ===== */
.pg {
  position: relative;
  max-width: 560px;
  margin-inline: auto;
  padding: 0 16px 16px 0;
  animation: pgIn 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}
.pg::before {
  content: "";
  position: absolute;
  inset: 16px 0 0 16px;
  border: 1px solid rgba(200, 155, 72, 0.6);
}
.pg-frame {
  position: relative;
  z-index: 1;
  padding: 12px;
  background: linear-gradient(135deg, #fdf0a6 0%, #c89b48 48%, #633e15 100%);
  box-shadow: 0 28px 50px -22px rgba(99, 62, 21, 0.55);
}
.pg-frame::before,
.pg-frame::after {
  content: "";
  position: absolute;
  width: 34px;
  height: 34px;
  border: 3px solid #c89b48;
  pointer-events: none;
}
.pg-frame::before {
  top: -6px;
  left: -6px;
  border-right: 0;
  border-bottom: 0;
}
.pg-frame::after {
  bottom: -6px;
  right: -6px;
  border-left: 0;
  border-top: 0;
}
.pg-mat {
  background: #fff;
  padding: 8px;
}
.pg-viewport {
  position: relative;
  overflow: hidden;
  touch-action: pan-y;
  outline: none;
  background: #fbf8f1;
}
.pg-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.pg-slide {
  flex: 0 0 100%;
  aspect-ratio: 3 / 4;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  background: #fbf8f1;
  cursor: zoom-in;
}
.pg-slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  user-select: none;
}
.pg-viewport::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    115deg,
    transparent 38%,
    rgba(255, 255, 255, 0.4) 50%,
    transparent 62%
  );
  transform: translateX(-120%);
}
.pg:hover .pg-viewport::after {
  animation: pgGloss 1.1s ease 1;
}
.pg-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  background: #c62828;
  color: #fff;
  font-weight: 700;
  font-size: 0.85rem;
  padding: 0.25rem 0.7rem;
  border-radius: 6px;
  box-shadow: 0 6px 14px -6px rgba(198, 40, 40, 0.7);
}
.pg-count {
  position: absolute;
  bottom: 10px;
  right: 10px;
  z-index: 2;
  background: rgba(43, 28, 11, 0.7);
  color: #fdf0a6;
  font-size: 0.75rem;
  padding: 0.15rem 0.6rem;
  border-radius: 20px;
}
.pg-arrow {
  position: absolute;
  top: 50%;
  z-index: 3;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 0;
  background: rgba(255, 255, 255, 0.92);
  color: #633e15;
  font-size: 1.7rem;
  line-height: 1;
  box-shadow: 0 6px 16px -6px rgba(0, 0, 0, 0.5);
  opacity: 0;
  transition:
    opacity 0.2s,
    transform 0.2s;
}
.pg-arrow.prev {
  left: 8px;
}
.pg-arrow.next {
  right: 8px;
}
.pg-viewport:hover .pg-arrow,
.pg-arrow:focus-visible {
  opacity: 1;
}
.pg-arrow:hover {
  transform: translateY(-50%) scale(1.08);
  background: #fdf0a6;
}
.pg-dots {
  display: none;
  justify-content: center;
  gap: 7px;
  margin-top: 14px;
  padding-right: 16px;
}
.pg-dots button {
  width: 9px;
  height: 9px;
  padding: 0;
  border-radius: 50%;
  border: 0;
  background: rgba(99, 62, 21, 0.25);
  transition: all 0.25s;
}
.pg-dots button.on {
  width: 24px;
  border-radius: 6px;
  background: #c89b48;
}
.pg-thumbs {
  display: flex;
  gap: 10px;
  margin-top: 16px;
  padding-right: 16px;
  overflow-x: auto;
  padding-bottom: 6px;
}
.pg-thumbs button {
  flex: 0 0 auto;
  width: 64px;
  height: 82px;
  padding: 3px;
  background: #fff;
  border: 1px solid rgba(200, 155, 72, 0.4);
  opacity: 0.65;
  transition: all 0.25s;
}
.pg-thumbs button img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.pg-thumbs button:hover {
  opacity: 1;
  transform: translateY(-3px);
}
.pg-thumbs button.on {
  opacity: 1;
  border-color: #c89b48;
  box-shadow: 0 8px 16px -8px rgba(99, 62, 21, 0.6);
}
.pg-lightbox {
  position: fixed;
  inset: 0;
  z-index: 2500;
  background: rgba(20, 12, 4, 0.94);
  display: flex;
  align-items: center;
  justify-content: center;
  touch-action: pan-y;
  animation: fadeUp 0.25s ease both;
}
.pg-lightbox > img {
  max-width: 96vw;
  max-height: 92vh;
  object-fit: contain;
  cursor: default;
}
.pg-lightbox .pg-arrow {
  opacity: 1;
  width: 46px;
  height: 46px;
}
.pg-close {
  position: absolute;
  top: 14px;
  right: 18px;
  background: none;
  border: 0;
  color: #fff;
  font-size: 2.4rem;
  line-height: 1;
}
@keyframes pgIn {
  from {
    opacity: 0;
    transform: translateY(26px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes pgGloss {
  to {
    transform: translateX(120%);
  }
}
@media (max-width: 575.98px) {
  .pg-thumbs {
    display: none;
  }
  .pg-dots {
    display: flex;
  }
  .pg-arrow {
    opacity: 0.9;
    width: 34px;
    height: 34px;
    font-size: 1.4rem;
  }
  .pg-frame {
    padding: 9px;
  }
}

/* ===== Product page: title, price, delivery strip, motion ===== */
.pd-info > * {
  animation: fadeUp 0.7s ease both;
}
.pd-info > :nth-child(2) {
  animation-delay: 0.08s;
}
.pd-info > :nth-child(3) {
  animation-delay: 0.16s;
}
.pd-info > :nth-child(4) {
  animation-delay: 0.24s;
}
.pd-info > :nth-child(5) {
  animation-delay: 0.32s;
}
.pd-info > :nth-child(6) {
  animation-delay: 0.4s;
}
.pd-info > :nth-child(7) {
  animation-delay: 0.48s;
}
.pd-info > :nth-child(n + 8) {
  animation-delay: 0.56s;
}
.pd-title {
  font-size: clamp(1.9rem, 4.5vw, 2.8rem);
  line-height: 1.15;
  background: linear-gradient(120deg, #633e15 0%, #c89b48 55%, #633e15 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  animation:
    fadeUp 0.7s ease both,
    pdShine 2.4s ease 0.4s 1 both;
}
@keyframes pdShine {
  from {
    background-position: 100% center;
  }
  to {
    background-position: 0% center;
  }
}
.pd-title + hr.gold-rule {
  width: 130px;
  height: 1px;
  border: 0;
  position: relative;
  overflow: visible;
  margin: 0.7rem 0 1.4rem;
  background: linear-gradient(90deg, #c89b48, transparent);
  animation: none;
}
.pd-title + hr.gold-rule::after {
  content: "✦";
  position: absolute;
  top: -0.65em;
  inset-inline-start: 0;
  padding-inline-end: 0.5rem;
  background: #fff;
  color: #c89b48;
  font-size: 0.95rem;
}
.pd-price {
  font-size: 1.8rem;
}
.pd-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.4rem;
  margin: 0.2rem 0 1.3rem;
  padding: 0.75rem 1rem;
  background: #fffaf0;
  border: 1px dashed rgba(200, 155, 72, 0.75);
  border-radius: 8px;
  color: #633e15;
  font-size: 0.88rem;
}
.pd-trust span {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.pd-trust svg {
  color: #c89b48;
  flex: none;
}
.pd-trust b {
  font-weight: 700;
}
.btn-gold-solid:not(:disabled) {
  animation: pdPulse 2.6s ease-out infinite;
}
.btn-gold-solid:hover {
  animation: none;
}
@keyframes pdPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(200, 155, 72, 0.55);
  }
  70% {
    box-shadow: 0 0 0 14px rgba(200, 155, 72, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(200, 155, 72, 0);
  }
}
@media (prefers-reduced-motion: reduce) {
  .pg,
  .pg-track,
  .pd-info > *,
  .pd-title,
  .btn-gold-solid {
    animation: none !important;
    transition: none !important;
  }
  .pg:hover .pg-viewport::after {
    animation: none;
  }
}
/* ---- product highlights editor ---- */
.adm-hl {
  border: 1px solid var(--a-line);
  border-radius: 12px;
  padding: 0.9rem 1rem;
  margin-bottom: 0.9rem;
  background: #fffdf8;
}
.adm-hl-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.7rem;
}
.adm-hl-tools {
  display: inline-flex;
  gap: 0.6rem;
  align-items: center;
}
.adm-hl-body {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 1.1rem;
  align-items: start;
}
.adm-hl-media {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  align-items: flex-start;
}
.adm-hl-preview {
  position: relative;
  width: 200px;
  aspect-ratio: 4 / 3;
  border-radius: 10px;
  overflow: hidden;
  background: #f3ead9;
  display: flex;
  align-items: center;
  justify-content: center;
}
.adm-hl-preview.empty {
  color: #8a7a62;
  font-size: 0.85rem;
  text-align: center;
  padding: 0.5rem;
}
.adm-hl-preview img,
.adm-hl-preview video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.adm-hl-tag {
  position: absolute;
  bottom: 6px;
  inset-inline-start: 6px;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  font-size: 0.72rem;
  padding: 2px 8px;
  border-radius: 999px;
}
@media (max-width: 640px) {
  .adm-hl-body {
    grid-template-columns: 1fr;
  }
  .adm-hl-preview {
    width: 100%;
  }
}

/* ===== Product highlights ("More about this product") ===== */
/* One value controls the space between the product details, the blocks and the related products */
.hl,
.related {
  --pd-gap: clamp(0.75rem, 2vw, 1.25rem);
}
.hl,
.related {
  margin-top: var(--pd-gap);
  /* beats the global "section { padding: 2.5rem !important }" that created the big gaps */
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}
.related .gold-rule {
  margin-top: 0.6rem;
  margin-bottom: 1.1rem;
}
.hl-head {
  text-align: center;
  margin-bottom: var(--pd-gap);
}
.hl-ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 0.5rem;
  color: #c89b48;
}
.hl-ornament::before,
.hl-ornament::after {
  content: "";
  width: clamp(48px, 12vw, 110px);
  height: 1px;
  background: linear-gradient(90deg, transparent, #c89b48);
}
.hl-ornament::after {
  transform: scaleX(-1);
}
.hl-ornament span {
  font-size: 1rem;
  line-height: 1;
}

.hl-list {
  display: grid;
  grid-template-columns: 1fr;
  /* same width for every block; each block is only as tall as its own content */
  grid-auto-rows: auto;
  align-items: start;
  gap: var(--pd-gap);
}
.hl-item {
  display: flex;
  min-width: 0;
}

/* One block = title, then picture / video, then text, all centered */
.hl-card {
  flex: 1;
  align-self: flex-start;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: clamp(0.9rem, 2vw, 1.5rem) clamp(0.3rem, 1vw, 0.8rem);
  background: #fffaf0;
  border: 1px solid rgba(200, 155, 72, 0.35);
  border-radius: 18px;
  box-shadow: 0 10px 28px rgba(99, 62, 21, 0.07);
}

/* 1. Title */
.hl-title {
  width: 100%;
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  line-height: 1.25;
  margin: 0;
}
.hl-card .gold-rule {
  position: relative;
  flex: none;
  overflow: visible;
  width: 110px;
  margin: 0.7rem auto 1.1rem !important;
  background: linear-gradient(90deg, transparent, #c89b48, transparent);
  animation: none;
}
.hl-card .gold-rule::after {
  content: "✦";
  position: absolute;
  inset-block-start: -0.65em;
  inset-inline-start: 50%;
  transform: translateX(-50%);
  padding: 0 0.5rem;
  background: #fffaf0;
  color: #c89b48;
  font-size: 0.85rem;
}

/* 2. Media: the box has the real shape of the picture / video (--ratio is set from the file itself),
   so it fills the block's width and the WHOLE picture / video is shown. A tall (phone) video is
   limited in height instead, so it never becomes taller than the screen. */
.hl-media {
  --ratio: 1.7778;
  position: relative;
  flex: none;
  width: min(100%, calc(min(150vh, 1400px) * var(--ratio)));
  aspect-ratio: var(--ratio);
  margin: 0 auto 1.1rem;
  border-radius: 14px;
  background: #f6ecd8;
  isolation: isolate;
}
.hl-media::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 14px;
  box-shadow: 0 14px 30px rgba(99, 62, 21, 0.18);
  z-index: -1;
}
.hl-media img,
.hl-media video {
  position: absolute;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  max-width: none;
  object-fit: contain; /* never cropped: the box has the file's own shape */
  object-position: center;
  display: block;
  border-radius: 14px !important;
}
.hl-corner {
  position: absolute;
  inset-block-start: -10px;
  inset-inline-start: -10px;
  width: 44%;
  height: 44%;
  border-block-start: 1px solid #c89b48;
  border-inline-start: 1px solid #c89b48;
  border-start-start-radius: 18px;
  pointer-events: none;
  z-index: 2;
}
.hl-media.is-video::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 14px;
  box-shadow: inset 0 0 0 1px rgba(253, 240, 166, 0.45);
  pointer-events: none;
}
.hl-sound {
  position: absolute;
  inset-block-end: 12px;
  inset-inline-end: 12px;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 50% !important;
  border: 1px solid #c89b48;
  background: rgba(255, 250, 240, 0.9);
  color: #633e15;
  font-size: 1rem;
  cursor: pointer;
  z-index: 3;
  transition:
    background 0.25s ease,
    transform 0.25s ease;
}
.hl-sound:hover {
  background: #fdf0a6;
  transform: scale(1.06);
}

/* 3. Text */
.hl-desc {
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  font-size: clamp(0.92rem, 1.6vw, 1.05rem);
  line-height: 1.8;
  white-space: pre-line;
  text-align: center;
  color: #633e15;
}
.hl-card.no-media .hl-desc {
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  line-height: 1.9;
}
@media (max-width: 575px) {
  .hl-list {
    margin-inline: calc(var(--bs-gutter-x, 1.5rem) * -0.5);
  }
  .hl-card {
    padding-inline: 0.25rem;
  }
  .hl-desc {
    padding-inline: 0.6rem;
  }
}
