/* ===== Homepage ===== */
.cg-sec { padding-block: 44px 8px; }
.cg-sec--tight { padding-block: 28px 8px; }
.cg-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 22px; }
.cg-head h2, .cg-wrap .cg-head h2 { margin: 0; text-align: start; font-size: clamp(24px, 3vw, 32px); line-height: 1.15; }
.cg-wrap .cg-head h2::after { display: none; }
.cg-head p { margin: 6px 0 0; color: var(--cg-muted); font-size: 15px; }
.cg-head__link { white-space: nowrap; font-size: 14px; font-weight: 600; color: var(--cg-ink); text-decoration: none; border-bottom: 1px solid var(--cg-brass); padding-bottom: 2px; }
.cg-head__link:hover { color: var(--cg-brass); }
[dir="rtl"] .cg-head__link span { display: inline-block; transform: scaleX(-1); }

/* Hero slider */
.cg-hero2 { position: relative; max-width: 1240px; margin: 20px auto 0; padding-inline: 20px; }
.cg-hero2__track { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; border-radius: 20px; }
.cg-hero2__track::-webkit-scrollbar { display: none; }
.cg-slide { flex: 0 0 100%; scroll-snap-align: center; display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; min-height: 460px; border-radius: 20px; overflow: hidden; position: relative; }
.cg-slide__text { padding: clamp(28px, 5vw, 64px); position: relative; z-index: 1; }
.cg-slide .cg-eyebrow { color: var(--cg-brass); }
.cg-slide h1, .cg-slide h2 { font-size: clamp(32px, 4.4vw, 56px); line-height: 1.06; margin: 12px 0 14px; letter-spacing: -.5px; }
.cg-slide p { font-size: 18px; line-height: 1.6; max-width: 470px; margin: 0 0 24px; }
.cg-slide small { display: block; margin-top: 14px; opacity: .7; font-size: 13px; }
.cg-slide__actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.cg-slide__media { align-self: stretch; display: flex; align-items: center; justify-content: center; padding: 28px; position: relative; }
.cg-slide__media::before { content: ""; position: absolute; width: min(88%, 440px); aspect-ratio: 1; border-radius: 50%; background: rgba(255,255,255,.55); }
.cg-slide__media img { position: relative; width: min(82%, 400px); height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 24px; box-shadow: 0 30px 60px -30px rgba(0,0,0,.5); transform: rotate(-3deg); }
.cg-slide--promo { background: var(--cg-ink); color: #f3ead6; }
.cg-slide--promo h1 { color: #fff; }
.cg-slide--promo p { color: #d9ccb0; }
.cg-slide--promo .cg-slide__media::before { background: rgba(154,123,63,.32); }
.cg-slide--nodrill { background: linear-gradient(135deg, #efe6d3, #e4d8bf); }
.cg-slide--nodrill p { color: var(--cg-muted); }
.cg-slide--new { background: linear-gradient(135deg, #f3e7c9, #e7d3a1); }
.cg-slide--new p { color: #5b5440; }
.cg-btn--light { background: #fff; color: var(--cg-ink) !important; }
.cg-btn--light:hover { background: var(--cg-brass); color: #fff !important; }
.cg-code--lg { font-size: 17px; padding: 12px 20px; border: 2px dashed rgba(233,220,192,.7); background: transparent; color: #fff; letter-spacing: 1.5px; border-radius: 8px; }
.cg-code--lg:hover { background: rgba(255,255,255,.1); }
.cg-hero2__nav { position: absolute; top: 50%; transform: translateY(-50%); width: 46px; height: 46px; border-radius: 50%; border: 0; background: #fff; color: var(--cg-ink); font-size: 26px; line-height: 1; cursor: pointer; box-shadow: 0 8px 20px -8px rgba(0,0,0,.4); z-index: 3; }
.cg-hero2__nav--prev { inset-inline-start: 32px; }
.cg-hero2__nav--next { inset-inline-end: 32px; }
[dir="rtl"] .cg-hero2__nav { transform: translateY(-50%) scaleX(-1); }
.cg-hero2__dots { display: flex; justify-content: center; gap: 8px; margin-top: 14px; }
.cg-hero2__dots i { width: 8px; height: 8px; border-radius: 999px; background: var(--cg-line); cursor: pointer; transition: width .25s, background .25s; }
.cg-hero2__dots i.on { width: 28px; background: var(--cg-ink); }

/* Trust strip */
.cg-trust2 { margin-top: 12px; }
.cg-trust2 .cg-wrap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; padding-block: 22px; border-bottom: 1px solid var(--cg-line); }
.cg-trust2 .cg-wrap > div { display: flex; align-items: center; gap: 12px; }
.cg-trust2 svg { flex: none; width: 34px; height: 34px; color: var(--cg-brass); }
.cg-trust2 span { font-size: 13px; line-height: 1.4; color: var(--cg-muted); }
.cg-trust2 strong { display: block; font-size: 15px; color: var(--cg-ink); }

/* Categories */
.cg-cats__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.cg-cat { position: relative; display: block; aspect-ratio: 5 / 4; border-radius: 16px; overflow: hidden; background: var(--cg-sand); text-decoration: none; isolation: isolate; }
.cg-cat__img, .cg-cat__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.cg-cat:hover .cg-cat__img img { transform: scale(1.06); }
.cg-cat::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(29,43,39,.82), rgba(29,43,39,0) 62%); z-index: 1; }
.cg-cat__name { position: absolute; z-index: 2; inset-inline: 16px; bottom: 14px; color: #fff; font-family: var(--cg-serif); font-size: 20px; line-height: 1.2; }

/* Welcome offer banner */
.cg-offer { display: grid; grid-template-columns: 1.4fr 1fr; align-items: center; gap: 24px; background: linear-gradient(120deg, #1d2b27 0%, #2b3f38 100%); color: #f3ead6; border-radius: 20px; padding: clamp(26px, 4vw, 48px); position: relative; overflow: hidden; }
.cg-offer::after { content: "10%"; position: absolute; inset-inline-end: -10px; bottom: -40px; font-family: var(--cg-serif); font-size: 220px; line-height: 1; color: rgba(154,123,63,.16); pointer-events: none; }
.cg-offer .cg-eyebrow { color: #c9a95f; }
.cg-offer h2, .cg-wrap .cg-offer h2 { color: #fff; text-align: start; margin: 8px 0 8px; font-size: clamp(26px, 3.4vw, 40px); }
.cg-wrap .cg-offer h2::after { display: none; }
.cg-offer p { margin: 0; color: #d9ccb0; font-size: 17px; }
.cg-offer__code { position: relative; z-index: 1; text-align: center; background: rgba(255,255,255,.06); border: 1px dashed rgba(233,220,192,.55); border-radius: 16px; padding: 22px 18px; }
.cg-offer__code > span { display: inline-block; font-size: 11px; letter-spacing: 2px; font-weight: 700; background: #000; color: #fff; border-radius: 4px; padding: 4px 9px; }
.cg-code--xl { display: block; width: 100%; margin: 12px 0 8px; font-size: clamp(22px, 3vw, 30px); padding: 12px 10px; letter-spacing: 2px; background: #f3ead6; color: var(--cg-ink); border-radius: 10px; }
.cg-code--xl:hover { background: #fff; }
.cg-offer__code small { opacity: .7; }

/* Product rails */
.cg-rail ul.products { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px 20px; margin: 0; padding: 0; list-style: none; }
.cg-rail ul.products li.product { margin: 0 !important; width: auto !important; transition: transform .25s; }
.cg-rail ul.products li.product:hover { transform: translateY(-4px); }
.cg-rail ul.products li.product img { border-radius: 14px; background: var(--cg-sand); }
.cg-rail ul.products li.product:nth-child(n+5) { display: none; }

/* Why us */
.cg-why { background: var(--cg-sand); margin-top: 56px; padding: 64px 0; }
.cg-why .cg-wrap { display: grid; grid-template-columns: 1fr 1.2fr; gap: 56px; align-items: center; }
.cg-why h2, .cg-wrap .cg-why h2 { text-align: start; margin: 10px 0 12px; font-size: clamp(28px, 3.6vw, 42px); line-height: 1.1; }
.cg-why h2::after { display: none; }
.cg-why__intro p { font-size: 17px; color: var(--cg-muted); margin: 0 0 24px; max-width: 440px; line-height: 1.65; }
.cg-why__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.cg-why__list li { display: flex; gap: 14px; background: #fff; border-radius: 16px; padding: 22px; }
.cg-why__list b { flex: none; width: 36px; height: 36px; border-radius: 50%; background: var(--cg-ink); color: #fff; display: flex; align-items: center; justify-content: center; font-family: var(--cg-serif); font-weight: 500; }
.cg-why__list h3 { margin: 0 0 4px; font-size: 18px; }
.cg-why__list p { margin: 0; font-size: 14px; line-height: 1.55; color: var(--cg-muted); }

/* ---- Tablet / phone ---- */
@media (max-width: 900px) {
  .cg-sec { padding-block: 30px 4px; }
  .cg-hero2 { padding-inline: 0; margin-top: 0; }
  .cg-hero2__track { gap: 10px; padding-inline: 16px; border-radius: 0; scroll-padding-inline: 16px; }
  .cg-slide { flex: 0 0 88%; grid-template-columns: 1fr; min-height: 0; border-radius: 16px; align-items: start; }
  .cg-slide__text { padding: 24px 22px 8px; }
  .cg-slide h1, .cg-slide h2 { font-size: 30px; margin: 8px 0 10px; }
  .cg-slide p { font-size: 15px; margin-bottom: 16px; }
  .cg-slide__media { padding: 0 22px 22px; justify-content: flex-end; }
  .cg-slide__media::before { display: none; }
  .cg-slide__media img { width: 52%; max-width: 210px; border-radius: 16px; }
  .cg-hero2__nav { display: none; }
  .cg-trust2 .cg-wrap { grid-template-columns: 1fr 1fr; gap: 14px; padding-block: 18px; }
  .cg-trust2 svg { width: 28px; height: 28px; }
  .cg-trust2 strong { font-size: 14px; }
  .cg-cats__grid { display: flex; gap: 14px; overflow-x: auto; margin-inline: -20px; padding: 2px 20px 8px; scroll-snap-type: x proximity; scrollbar-width: none; }
  .cg-cats__grid::-webkit-scrollbar { display: none; }
  .cg-cat { flex: 0 0 84px; aspect-ratio: auto; background: none; border-radius: 0; overflow: visible; display: flex; flex-direction: column; align-items: center; gap: 8px; scroll-snap-align: start; }
  .cg-cat::after { display: none; }
  .cg-cat__img { position: static; display: block; width: 76px; height: 76px; border-radius: 50%; overflow: hidden; background: var(--cg-sand); border: 1px solid var(--cg-line); flex: none; }
  .cg-cat__img img { position: static; width: 100%; height: 100%; }
  .cg-cat__name { position: static; color: var(--cg-ink); font-family: var(--cg-sans); font-size: 12px; text-align: center; line-height: 1.3; }
  .cg-offer { grid-template-columns: 1fr; text-align: center; padding: 26px 20px; gap: 18px; border-radius: 16px; }
  .cg-offer h2, .cg-wrap .cg-offer h2 { text-align: center; font-size: 28px; }
  .cg-offer::after { font-size: 140px; bottom: -20px; }
  .cg-head { margin-bottom: 14px; }
  .cg-head p { display: none; }
  .cg-rail ul.products { display: flex !important; overflow-x: auto; gap: 12px !important; scroll-snap-type: x mandatory; margin-inline: -20px !important; padding: 0 20px 8px !important; scrollbar-width: none; }
  .cg-rail ul.products::-webkit-scrollbar { display: none; }
  .cg-rail ul.products li.product { flex: 0 0 44%; scroll-snap-align: start; }
  .cg-rail ul.products li.product:nth-child(n+5) { display: flex; }
  .cg-why { padding: 40px 0; margin-top: 36px; }
  .cg-why .cg-wrap { grid-template-columns: 1fr; gap: 26px; }
  .cg-why__list { grid-template-columns: 1fr; }
}

/* Beat the global heading colour */
body.cg .cg-slide--promo h1, body.cg .cg-slide--promo h2 { color: #fff; }
body.cg .cg-offer h2 { color: #fff; }

/* Product cards inside the rails: left-aligned titles, no heading underline */
.cg-rail h2::after { display: none !important; }
.cg-rail .woocommerce-loop-product__title { text-align: start; margin: 6px 0 4px; font-family: var(--cg-sans); font-size: 15px; font-weight: 500; }
.cg-rail ul.products li.product .price { display: block; text-align: start; }

.cg-rail ul.products li.product .woocommerce-loop-product__title { margin-top: 10px; }

/* Keep the slider arrows clear of the hero text on desktop */
@media (min-width: 901px) {
  .cg-slide__text { padding-inline-start: clamp(84px, 8vw, 112px); }
  .cg-slide__media { padding-inline-end: clamp(70px, 6vw, 96px); }
}

/* ===== Photo hero (one full-width slide at a time), photo banners, photo story ===== */
.cg-slide--photo { display: block; min-height: 540px; background: #1d2b27; color: #fff; }
.cg-slide--photo .cg-slide__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cg-slide--photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(14,22,19,.82) 0%, rgba(14,22,19,.5) 40%, rgba(14,22,19,0) 72%); }
[dir="rtl"] .cg-slide--photo::after { background: linear-gradient(270deg, rgba(14,22,19,.82) 0%, rgba(14,22,19,.5) 40%, rgba(14,22,19,0) 72%); }
.cg-slide--photo .cg-slide__text { position: relative; z-index: 2; max-width: 660px; min-height: 540px; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding: clamp(40px, 6vw, 80px) clamp(84px, 8vw, 112px); }
body.cg .cg-slide--photo h1, body.cg .cg-slide--photo h2 { color: #fff; text-shadow: 0 2px 24px rgba(0,0,0,.25); }
.cg-slide--photo p { color: #f1ede3; }
.cg-slide--photo .cg-eyebrow { color: #e6c982; }
.cg-slide--photo .cg-btn--light:hover { background: #e6c982; color: #1d2b27 !important; }
.cg-hero2__dots { position: absolute; bottom: 18px; inset-inline: 0; margin: 0; z-index: 3; }
.cg-hero2__dots i { background: rgba(255,255,255,.55); }
.cg-hero2__dots i.on { background: #fff; }

.cg-banners { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.cg-banner { position: relative; display: block; min-height: 300px; border-radius: 18px; overflow: hidden; color: #fff; text-decoration: none; isolation: isolate; }
.cg-banner img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.cg-banner:hover img { transform: scale(1.05); }
.cg-banner::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(14,22,19,.82), rgba(14,22,19,.05) 68%); z-index: 1; }
.cg-banner__text { position: absolute; inset-inline: 26px; bottom: 24px; z-index: 2; display: flex; flex-direction: column; gap: 6px; }
.cg-banner small { letter-spacing: 2px; font-size: 12px; font-weight: 700; color: #e6c982; }
.cg-banner strong { font-size: clamp(22px, 2.6vw, 32px); line-height: 1.15; font-weight: 500; color: #fff; }
.cg-banner em { font-style: normal; font-weight: 600; font-size: 14px; }
[dir="rtl"] .cg-banner em { direction: rtl; }

body.cg .cg-story { background: linear-gradient(rgba(14,22,19,.74), rgba(14,22,19,.74)), url("img/story-reading.jpg") center / cover; color: #fff; padding-block: 64px; }
body.cg .cg-story h2 { color: #fff; }
.cg-story p { color: #e9e2d0; }
.cg-story .cg-btn { background: #fff; color: #1d2b27 !important; }
.cg-story .cg-btn:hover { background: #e6c982; }

@media (max-width: 900px) {
  .cg-hero2 { padding-inline: 0; margin-top: 0; }
  .cg-hero2__track { gap: 0; padding-inline: 0; border-radius: 0; scroll-padding: 0; }
  .cg-slide { flex: 0 0 100%; border-radius: 0; }
  .cg-slide--photo { min-height: 480px; }
  .cg-slide--photo::after, [dir="rtl"] .cg-slide--photo::after { background: linear-gradient(0deg, rgba(14,22,19,.88) 0%, rgba(14,22,19,.5) 52%, rgba(14,22,19,.05) 100%); }
  .cg-slide--photo .cg-slide__text { max-width: none; min-height: 480px; padding: 24px 22px 52px; justify-content: flex-end; }
  .cg-slide--photo h1, .cg-slide--photo h2 { font-size: 32px; }
  .cg-slide--photo p { font-size: 15px; margin-bottom: 18px; }
  .cg-banners { grid-template-columns: 1fr; gap: 14px; }
  .cg-banner { min-height: 220px; border-radius: 16px; }
  body.cg .cg-story { padding-block: 44px; border-radius: 16px; }
}
