/* Draft (tap) wine pages — markup from inc/cms-draft-page.php, cms-draft-list.php
   and cms-draft-product.php. Everything is scoped to .dw. Same design language
   as css/tasting-page.css. styles.css forces fonts and sizes on Georgian pages
   (`body.lang-ka h1/h2/h3/p/button/input… !important`), so text elements take
   their size from --dw-fs and the Georgian block at the end re-applies it. */

.dw-page {
  background: #faf7f3;
}

.dw {
  --dw-wine: #7b1e2b;
  --dw-red: #8b0000;
  --dw-deep: #3d1122;
  --dw-deep-2: #5c1a33;
  --dw-gold: #c9a962;
  --dw-gold-dark: #b8862f;
  --dw-ink: #231a17;
  --dw-muted: #6f625c;
  --dw-line: #eadfd6;
  --dw-cream: #faf7f3;
  --dw-green: #1e8449;
  --dw-radius: 20px;
  --dw-shadow: 0 10px 30px rgba(35, 26, 23, .07);
  --dw-shadow-lg: 0 24px 60px -24px rgba(35, 26, 23, .35);
  --dw-fs: 1rem;
  color: var(--dw-ink);
  font-family: "Open Sans", system-ui, sans-serif;
  line-height: 1.65;
  text-transform: none;
  overflow-x: clip;
}

.dw *,
.dw *::before,
.dw *::after {
  box-sizing: border-box;
}

.dw h1,
.dw h2,
.dw h3,
.dw p,
.dw button,
.dw input {
  font-size: var(--dw-fs);
}

.dw :where(h1, h2, h3, p) {
  margin: 0;
}

.dw :where(ul, ol, dl, dd) {
  margin: 0;
  padding: 0;
  list-style: none;
}

.dw h1,
.dw h2,
.dw h3 {
  font-family: "Montserrat", "Open Sans", system-ui, sans-serif;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -.01em;
  color: var(--dw-ink);
  text-align: left;
}

.dw a {
  color: inherit;
}

.dw-wrap {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
}

.dw-wrap--narrow {
  max-width: 860px;
}

.dw-section {
  padding: clamp(52px, 7vw, 92px) 0;
  scroll-margin-top: 110px;
}

.dw-section--tight {
  padding: 28px 0 0;
}

.dw-section--alt {
  background: #fff;
}

.dw-center {
  margin-top: 32px;
  text-align: center;
}

.dw-head {
  max-width: 720px;
  margin: 0 auto clamp(26px, 4vw, 44px);
  text-align: center;
}

.dw-head h2 {
  --dw-fs: clamp(1.6rem, 1.2rem + 1.4vw, 2.3rem);
  text-align: center;
}

.dw-head p {
  --dw-fs: 1.05rem;
  margin-top: 12px;
  color: var(--dw-muted);
}

.dw-kicker {
  display: inline-block;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--dw-gold);
}

/* ---- Buttons -------------------------------------------------------------- */

.dw-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 24px;
  border: 2px solid transparent;
  border-radius: 999px;
  font-family: inherit;
  --dw-fs: .95rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: normal;
  text-transform: none;
  text-decoration: none;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease, border-color .18s ease;
}

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

.dw-btn:focus-visible {
  outline: 3px solid var(--dw-gold);
  outline-offset: 3px;
}

.dw-btn--primary {
  background: linear-gradient(135deg, var(--dw-red), #b22222);
  color: #fff !important;
  box-shadow: 0 10px 24px -10px rgba(139, 0, 0, .7);
}

.dw-btn--light {
  background: rgba(255, 255, 255, .12);
  border-color: rgba(255, 255, 255, .55);
  color: #fff !important;
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}

.dw-btn--light:hover {
  background: rgba(255, 255, 255, .24);
}

.dw-btn--outline {
  background: transparent;
  border-color: var(--dw-wine);
  color: var(--dw-wine) !important;
}

.dw-btn--outline:hover {
  background: var(--dw-wine);
  color: #fff !important;
}

.dw-btn--ghost {
  min-height: 46px;
  padding: 10px 16px;
  background: #fff;
  border-color: var(--dw-line);
  color: var(--dw-wine) !important;
}

.dw-btn--ghost:hover {
  border-color: var(--dw-wine);
}

/* ---- List hero ------------------------------------------------------------ */

.dw-hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: clamp(440px, 62vh, 600px);
  color: #fff;
  background: var(--dw-deep);
  overflow: hidden;
}

.dw-hero__pic,
.dw-hero__pic img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.dw-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(24, 8, 14, .5) 0%, rgba(24, 8, 14, .66) 50%, rgba(24, 8, 14, .88) 100%),
    linear-gradient(90deg, rgba(24, 8, 14, .55) 0%, rgba(24, 8, 14, 0) 70%);
}

/* the header is fixed: 98px tall on desktop, 64px from 1080px down */
.dw-hero__inner {
  position: relative;
  z-index: 1;
  padding-top: 140px;
  padding-bottom: 96px;
}

.dw-hero .dw-kicker {
  margin-bottom: 16px;
}

.dw-hero h1,
.dw-phero h1 {
  --dw-fs: clamp(2rem, 1.3rem + 3vw, 3.4rem);
  max-width: 820px;
  color: #fff;
  font-weight: 800;
  text-shadow: 0 2px 24px rgba(0, 0, 0, .35);
}

.dw-lead {
  --dw-fs: clamp(1.02rem, .95rem + .45vw, 1.2rem);
  max-width: 640px;
  margin-top: 18px;
  color: rgba(255, 255, 255, .9);
}

.dw-hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

/* ---- Strip ---------------------------------------------------------------- */

.dw-strip {
  position: relative;
  z-index: 2;
  margin-top: -52px;
}

.dw-strip__box {
  max-width: 1100px;
  padding: 0;
  background: #fff;
  border: 1px solid var(--dw-line);
  border-radius: var(--dw-radius);
  box-shadow: var(--dw-shadow-lg);
  overflow: hidden;
}

.dw-chips {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.dw-chips li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 22px;
  font-weight: 600;
  font-size: .94rem;
  line-height: 1.35;
}

.dw-chips li + li {
  border-left: 1px solid var(--dw-line);
}

.dw-chips i {
  flex: none;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: #f6ebe4;
  color: var(--dw-wine);
}

.dw .dw-strip__delivery {
  --dw-fs: .94rem;
  padding: 14px 22px;
  border-top: 1px solid var(--dw-line);
  background: #fbf3ee;
  color: #4a3f3a;
}

.dw-strip__delivery i {
  margin-right: 8px;
  color: var(--dw-wine);
}

.dw-strip__delivery a {
  font-weight: 700;
  text-decoration: none;
  color: var(--dw-wine);
  white-space: nowrap;
}

/* ---- Wine cards ----------------------------------------------------------- */

.dw-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.dw-grid--small {
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
}

.dw-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--dw-line);
  border-radius: var(--dw-radius);
  box-shadow: var(--dw-shadow);
  overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease;
}

.dw-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--dw-shadow-lg);
}

.dw-card__media {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  background: #fff;
  border-bottom: 1px solid var(--dw-line);
  overflow: hidden;
}

.dw-card__media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 14px;
  transition: transform .5s ease;
}

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

.dw-card__badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(35, 26, 23, .82);
  color: #fff;
  font-size: .74rem;
  font-weight: 700;
}

.dw-card--out .dw-card__media img {
  filter: grayscale(1);
  opacity: .55;
}

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

.dw-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 12px;
}

.dw-tag {
  padding: 4px 11px;
  border-radius: 999px;
  background: #f6ebe4;
  color: var(--dw-wine);
  font-size: .76rem;
  font-weight: 700;
  line-height: 1.4;
}

.dw-tag--type {
  background: var(--dw-wine);
  color: #fff;
}

.dw-card h3 {
  --dw-fs: 1.08rem;
  line-height: 1.3;
}

.dw-card h3 a {
  text-decoration: none;
}

.dw-card h3 a:hover {
  color: var(--dw-wine);
}

.dw-card__winery {
  --dw-fs: .85rem;
  margin-top: 6px;
  color: var(--dw-muted);
}

.dw-card__buy {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 10px;
  margin: 16px 0 18px;
  padding-top: 16px;
  border-top: 1px dashed var(--dw-line);
}

.dw-price {
  --dw-fs: .95rem;
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 4px 8px;
}

.dw-price strong {
  font-family: "Open Sans", sans-serif;
  font-size: 1.9rem;
  font-weight: 800;
  line-height: 1;
  color: var(--dw-wine);
}

.dw-price span {
  font-size: .85rem;
  color: var(--dw-muted);
}

.dw-stock {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 11px;
  border-radius: 999px;
  font-size: .76rem;
  font-weight: 700;
  white-space: nowrap;
}

.dw-stock::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
}

.dw-stock--in {
  background: #e7f5ec;
  color: var(--dw-green);
}

.dw-stock--out {
  background: #f1ece8;
  color: #7c6f68;
}

.dw-card__actions {
  display: flex;
  gap: 10px;
  margin-top: auto;
}

.dw-card__actions .dw-btn--primary {
  flex: 1;
}

/* ---- Price table ---------------------------------------------------------- */

.dw-table-wrap {
  max-width: 900px;
  margin: 52px auto 0;
}

.dw .dw-table-title {
  --dw-fs: 1.2rem;
  margin-bottom: 16px;
  text-align: center;
}

.dw-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: #fff;
  border: 1px solid var(--dw-line);
  border-radius: 16px;
  box-shadow: var(--dw-shadow);
  overflow: hidden;
}

.dw-table th,
.dw-table td {
  padding: 14px 18px;
  text-align: left;
  border-bottom: 1px solid var(--dw-line);
  font-size: .95rem;
}

.dw-table thead th {
  background: #f6ebe4;
  color: var(--dw-wine);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.dw-table tbody tr:last-child td {
  border-bottom: 0;
}

.dw-table td a {
  font-weight: 600;
  text-decoration: none;
}

.dw-table td a:hover {
  color: var(--dw-wine);
}

.dw-table td:last-child,
.dw-table th:last-child {
  text-align: right;
}

.dw-table td:last-child strong {
  font-size: 1.1rem;
  color: var(--dw-wine);
}

.dw .dw-note,
.dw .dw-notice {
  --dw-fs: .95rem;
  display: flex;
  gap: 12px;
  max-width: 760px;
  margin: 0 auto;
  padding: 16px 20px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid var(--dw-line);
  color: #4a3f3a;
}

.dw-notice {
  background: #fff8e7;
  border-color: #f0dfb0;
}

.dw-note i,
.dw-notice i {
  flex: none;
  margin-top: 4px;
  color: var(--dw-gold-dark);
}

/* ---- Guide texts and FAQ -------------------------------------------------- */

.dw-prose {
  margin-bottom: 44px;
}

.dw-prose:last-child {
  margin-bottom: 0;
}

.dw-prose h2 {
  --dw-fs: clamp(1.4rem, 1.15rem + 1vw, 1.9rem);
  margin-bottom: 16px;
}

.dw-prose h3 {
  --dw-fs: 1.12rem;
  margin: 24px 0 8px;
  color: var(--dw-wine);
}

.dw-prose p {
  --dw-fs: 1.03rem;
  margin-bottom: 14px;
  color: #3f3530;
}

.dw-prose strong {
  color: var(--dw-ink);
}

.dw-prose ul {
  display: grid;
  gap: 10px;
  margin: 0 0 16px;
}

.dw-prose li {
  position: relative;
  padding-left: 26px;
  line-height: 1.55;
}

.dw-prose li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: .55em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--dw-gold-dark);
}

.dw-prose--card p,
.dw-prose--faq p {
  --dw-fs: .96rem;
  margin-bottom: 10px;
}

.dw-prose--card p:last-child,
.dw-prose--faq p:last-child {
  margin-bottom: 0;
}

.dw-faq {
  display: grid;
  gap: 12px;
}

.dw-faq details {
  background: var(--dw-cream);
  border: 1px solid var(--dw-line);
  border-radius: 16px;
  transition: box-shadow .2s ease, border-color .2s ease;
}

.dw-section:not(.dw-section--alt) .dw-faq details {
  background: #fff;
}

.dw-faq details[open] {
  border-color: #d9b8a8;
  box-shadow: var(--dw-shadow);
}

.dw-faq summary {
  position: relative;
  padding: 20px 56px 20px 24px;
  font-weight: 700;
  line-height: 1.4;
  list-style: none;
  cursor: pointer;
}

.dw-faq summary::-webkit-details-marker {
  display: none;
}

.dw-faq summary::after {
  content: "+";
  position: absolute;
  top: 50%;
  right: 22px;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  margin-top: -14px;
  border-radius: 50%;
  background: #f6ebe4;
  color: var(--dw-wine);
  font-size: 1.2rem;
  line-height: 1;
}

.dw-faq details[open] summary::after {
  content: "–";
  background: var(--dw-wine);
  color: #fff;
}

.dw-faq summary:focus-visible {
  outline: 3px solid var(--dw-gold);
  outline-offset: -3px;
  border-radius: 16px;
}

.dw-faq details > p,
.dw-faq details > .dw-prose {
  padding: 0 24px 20px;
  margin: 0;
}

.dw-faq details > p {
  --dw-fs: .98rem;
  color: #4a3f3a;
}

/* ---- Closing -------------------------------------------------------------- */

.dw-cta {
  padding: clamp(32px, 6vw, 60px) clamp(22px, 5vw, 56px);
  border-radius: 28px;
  text-align: center;
  color: #fff;
  background:
    radial-gradient(600px 260px at 100% 0%, rgba(201, 169, 98, .28), transparent 70%),
    linear-gradient(135deg, var(--dw-deep) 0%, var(--dw-wine) 100%);
  box-shadow: var(--dw-shadow-lg);
}

.dw-cta h2 {
  --dw-fs: clamp(1.5rem, 1.15rem + 1.4vw, 2.2rem);
  color: #fff;
  text-align: center;
}

.dw-cta p {
  --dw-fs: 1.03rem;
  max-width: 560px;
  margin: 14px auto 0;
  color: rgba(255, 255, 255, .85);
}

.dw-cta__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 26px;
}

/* ---- Product page --------------------------------------------------------- */

.dw-phero {
  position: relative;
  color: #fff;
  background:
    radial-gradient(900px 420px at 90% -10%, rgba(201, 169, 98, .2), transparent 70%),
    linear-gradient(160deg, var(--dw-deep) 0%, var(--dw-deep-2) 100%);
}

.dw-phero__grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
  padding-top: 150px;
  padding-bottom: 72px;
}

.dw-crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
  font-size: .85rem;
  color: rgba(255, 255, 255, .7);
}

.dw-crumbs a {
  text-decoration: none;
}

.dw-crumbs a:hover {
  color: #fff;
  text-decoration: underline;
}

.dw-phero .dw-kicker {
  margin-bottom: 12px;
}

.dw-phero h1 {
  --dw-fs: clamp(1.9rem, 1.2rem + 2.6vw, 3rem);
}

.dw-tags--hero {
  margin: 22px 0 0;
}

.dw-tags--hero .dw-tag {
  background: rgba(255, 255, 255, .14);
  color: #fff;
}

.dw-tags--hero .dw-tag--type {
  background: var(--dw-gold);
  color: var(--dw-deep);
}

.dw-buy {
  background: #fff;
  border-radius: 28px;
  color: var(--dw-ink);
  box-shadow: var(--dw-shadow-lg);
  overflow: hidden;
}

.dw-buy__pic {
  display: grid;
  place-items: center;
  aspect-ratio: 1 / 1;
  background: #fff;
  border-bottom: 1px solid var(--dw-line);
}

.dw-buy__pic img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 16px;
}

.dw-buy--out .dw-buy__pic img {
  filter: grayscale(1);
  opacity: .55;
}

.dw-buy__info {
  display: grid;
  gap: 8px;
  padding: 22px 26px 26px;
}

.dw .dw-buy__label {
  --dw-fs: .8rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--dw-muted);
}

.dw .dw-buy__price {
  --dw-fs: 1rem;
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 6px 10px;
}

.dw-buy__price strong {
  font-family: "Open Sans", sans-serif;
  font-size: 2.9rem;
  font-weight: 800;
  line-height: 1;
  color: var(--dw-wine);
}

.dw-buy__price span {
  color: var(--dw-muted);
  font-weight: 600;
}

.dw-buy .dw-stock {
  justify-self: start;
}

.dw .dw-buy__winery {
  --dw-fs: .9rem;
  margin-top: 4px;
  color: var(--dw-muted);
}

.dw-buy__winery i {
  margin-right: 6px;
  color: var(--dw-gold-dark);
}

.dw-about {
  display: grid;
  grid-template-columns: 1.3fr .7fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
}

.dw-about h2 {
  --dw-fs: clamp(1.5rem, 1.2rem + 1.2vw, 2.1rem);
  margin-bottom: 18px;
}

.dw .dw-about__lead {
  --dw-fs: 1.12rem;
  margin-bottom: 16px;
  padding: 18px 22px;
  border-left: 4px solid var(--dw-gold);
  border-radius: 0 16px 16px 0;
  background: #faf3ec;
  color: var(--dw-ink);
}

.dw .dw-about__intro {
  --dw-fs: 1.03rem;
  color: #3f3530;
}

.dw .dw-about__src {
  --dw-fs: .82rem;
  margin-top: 16px;
  color: var(--dw-muted);
}

.dw-about__src i {
  margin-right: 6px;
}

.dw-facts {
  background: #fff;
  border: 1px solid var(--dw-line);
  border-radius: var(--dw-radius);
  box-shadow: var(--dw-shadow);
  overflow: hidden;
}

.dw-facts div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 20px;
  border-bottom: 1px solid var(--dw-line);
}

.dw-facts div:last-child {
  border-bottom: 0;
}

.dw-facts dt {
  font-size: .85rem;
  color: var(--dw-muted);
}

.dw-facts dd {
  font-weight: 700;
  text-align: right;
}

.dw-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 22px;
}

.dw-info {
  padding: 28px 26px;
  background: var(--dw-cream);
  border: 1px solid var(--dw-line);
  border-radius: var(--dw-radius);
}

.dw-info h3 {
  --dw-fs: 1.12rem;
  margin: 16px 0 10px;
}

.dw-icon {
  display: inline-grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--dw-wine), var(--dw-deep-2));
  color: #fff;
  font-size: 1.2rem;
}

/* ---- Liters calculator (dark band) ----------------------------------------- */

.dw-section--wine {
  background:
    radial-gradient(900px 400px at 85% -10%, rgba(201, 169, 98, .16), transparent 70%),
    linear-gradient(160deg, var(--dw-deep) 0%, var(--dw-deep-2) 100%);
  color: #fff;
}

.dw-calc {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(26px, 5vw, 64px);
  align-items: center;
}

.dw-calc h2 {
  --dw-fs: clamp(1.5rem, 1.2rem + 1.4vw, 2.2rem);
  color: #fff;
}

.dw-calc__text p {
  --dw-fs: 1.03rem;
  margin-top: 12px;
  color: rgba(255, 255, 255, .85);
}

.dw .dw-calc__delivery {
  --dw-fs: .94rem;
}

.dw-calc__delivery i {
  margin-right: 8px;
  color: var(--dw-gold);
}

.dw-calc__box {
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 24px;
  background: rgba(255, 255, 255, .08);
}

.dw-stepper {
  display: flex;
  align-items: center;
  gap: 12px;
}

.dw-stepper__btn {
  flex: none;
  width: 52px;
  height: 52px;
  border: 0;
  border-radius: 50%;
  background: #fff;
  color: var(--dw-wine);
  --dw-fs: 1.6rem;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  transition: transform .15s ease;
}

.dw-stepper__btn:hover:not(:disabled) {
  transform: scale(1.06);
}

.dw-stepper__btn:disabled {
  opacity: .4;
  cursor: default;
}

.dw-stepper input {
  width: 4.2rem;
  height: 52px;
  border: 2px solid rgba(255, 255, 255, .5);
  border-radius: 14px;
  background: transparent;
  color: #fff;
  --dw-fs: 1.5rem;
  font-weight: 700;
  text-align: center;
  -moz-appearance: textfield;
  appearance: textfield;
}

.dw-stepper input::-webkit-outer-spin-button,
.dw-stepper input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.dw-stepper input:focus {
  outline: 3px solid var(--dw-gold);
  outline-offset: 2px;
}

.dw-stepper__unit {
  font-weight: 600;
  color: rgba(255, 255, 255, .8);
}

.dw .dw-calc__total {
  --dw-fs: 1rem;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin: 22px 0;
  padding: 16px 18px;
  border-radius: 14px;
  background: rgba(0, 0, 0, .2);
  color: rgba(255, 255, 255, .8);
}

.dw-calc__total strong {
  font-family: "Open Sans", sans-serif;
  font-size: 2rem;
  line-height: 1;
  color: #fff;
}

.dw-calc__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.dw-calc__actions .dw-btn {
  flex: 1 1 180px;
}

/* ---- Video modal ------------------------------------------------------------ */

.dw-video {
  position: fixed;
  inset: 0;
  z-index: 3000;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(15, 6, 10, .86);
}

.dw-video[hidden] {
  display: none;
}

.dw-video__box {
  position: relative;
  width: min(920px, 100%);
}

.dw-video video {
  display: block;
  width: 100%;
  max-height: 80vh;
  border-radius: 16px;
  background: #000;
}

.dw-video__close {
  position: absolute;
  top: -48px;
  right: 0;
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
}

/* ---- Reveal ------------------------------------------------------------------ */

.dw-js .dw-reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .6s ease, transform .6s ease;
}

.dw-js .dw-reveal.is-in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .dw-js .dw-reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .dw-btn,
  .dw-card,
  .dw-card__media img {
    transition: none;
  }
}

/* ---- Tablet ------------------------------------------------------------------ */

@media (max-width: 1080px) {
  .dw-hero__inner {
    padding-top: 104px;
  }

  .dw-phero__grid {
    padding-top: 104px;
  }

  .dw-section {
    scroll-margin-top: 76px;
  }
}

@media (max-width: 960px) {
  .dw-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .dw-chips {
    grid-template-columns: repeat(2, 1fr);
  }

  .dw-chips li:nth-child(3) {
    border-left: 0;
  }

  .dw-chips li:nth-child(n + 3) {
    border-top: 1px solid var(--dw-line);
  }

  .dw-phero__grid,
  .dw-about,
  .dw-calc {
    grid-template-columns: 1fr;
  }

  .dw-buy {
    max-width: 480px;
  }
}

/* ---- Phone ------------------------------------------------------------------- */

@media (max-width: 640px) {
  .dw-wrap {
    padding: 0 16px;
  }

  .dw-grid,
  .dw-grid--small {
    grid-template-columns: 1fr;
  }

  .dw-hero {
    min-height: 480px;
  }

  .dw-hero__inner {
    padding-top: 92px;
    padding-bottom: 88px;
  }

  .dw-hero__cta .dw-btn,
  .dw-cta__actions .dw-btn {
    flex: 1 1 100%;
  }

  .dw-strip {
    margin-top: -44px;
  }

  .dw-chips li {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 14px 16px;
  }

  .dw-phero__grid {
    padding-top: 92px;
    padding-bottom: 48px;
  }

  .dw-buy {
    max-width: none;
  }

  .dw-buy__price strong {
    font-size: 2.5rem;
  }

  .dw-faq summary {
    padding: 18px 52px 18px 18px;
  }

  .dw-faq details > p,
  .dw-faq details > .dw-prose {
    padding: 0 18px 18px;
  }

  .dw-calc__box {
    padding: 20px;
  }

  /* the price table becomes stacked rows */
  .dw-table thead {
    display: none;
  }

  .dw-table,
  .dw-table tbody,
  .dw-table tr,
  .dw-table td {
    display: block;
  }

  .dw-table tr {
    padding: 14px 16px;
    border-bottom: 1px solid var(--dw-line);
  }

  .dw-table tbody tr:last-child {
    border-bottom: 0;
  }

  .dw-table td,
  .dw-table td:last-child {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    padding: 4px 0;
    border: 0;
    text-align: right;
  }

  .dw-table td::before {
    content: attr(data-label);
    color: var(--dw-muted);
    font-size: .8rem;
    text-align: left;
  }
}

/* ---- Georgian: styles.css forces BPG Algeti, lowercase and its own sizes ----- */

body.lang-ka.dw-page .dw,
body.lang-ka.dw-page .dw *:not(.fas):not(.far):not(.fal):not(.fab):not(.fa) {
  font-family: "BPG Algeti", sans-serif !important;
  text-transform: none !important;
  letter-spacing: normal;
}

body.lang-ka.dw-page .dw h1,
body.lang-ka.dw-page .dw h2,
body.lang-ka.dw-page .dw h3,
body.lang-ka.dw-page .dw p,
body.lang-ka.dw-page .dw button,
body.lang-ka.dw-page .dw input {
  font-size: var(--dw-fs) !important;
}

body.lang-ka.dw-page .dw .dw-hero h1,
body.lang-ka.dw-page .dw .dw-phero h1 {
  --dw-fs: clamp(1.8rem, 1.2rem + 2.6vw, 2.9rem);
  line-height: 1.28;
}

body.lang-ka.dw-page .dw .dw-head h2,
body.lang-ka.dw-page .dw .dw-prose h2,
body.lang-ka.dw-page .dw .dw-about h2,
body.lang-ka.dw-page .dw .dw-calc h2,
body.lang-ka.dw-page .dw .dw-cta h2 {
  --dw-fs: clamp(1.4rem, 1.1rem + 1.1vw, 1.95rem);
  line-height: 1.3;
}

body.lang-ka.dw-page .dw .dw-kicker {
  letter-spacing: .04em;
}

body.lang-ka.dw-page .dw .dw-price strong,
body.lang-ka.dw-page .dw .dw-buy__price strong,
body.lang-ka.dw-page .dw .dw-calc__total strong,
body.lang-ka.dw-page .dw .dw-table td:last-child strong {
  font-family: "Open Sans", sans-serif !important;
}

body.lang-ka.dw-page .dw .dw-table th {
  letter-spacing: .02em;
}

body.lang-ka.dw-page .dw .dw-card h3 {
  line-height: 1.4;
}

/* the lari sign is drawn very large and heavy next to the figures */
.dw-cur {
  font-size: .56em;
  font-weight: 600;
  margin-left: .1em;
  letter-spacing: 0;
}
