/*
Theme Name: Digilema Clean
Author: Codex
Version: 1.0.0
Text Domain: digilema-clean
*/

:root {
  --dg-text: #17151f;
  --dg-muted: #686474;
  --dg-border: #e5e1ec;
  --dg-surface: #ffffff;
  --dg-soft: #f7f5fa;
  --dg-primary: #ff7043;
  --dg-primary-dark: #f05d2d;
  --dg-accent: #ff7043;
  --dg-success: #168a4a;
  --dg-max: 1760px;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  color: var(--dg-text);
  background: #f7f7f8;
  font-family: Inter, Arial, Helvetica, sans-serif;
  font-size: 14px;
  line-height: 1.5;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; }

.dg-wrap { max-width: var(--dg-max); margin: 0 auto; padding: 0 68px; }
.dg-topbar { background: #1b1818; color: #fff; font-size: 13px; }
.dg-topbar__inner { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding-top: 12px; padding-bottom: 12px; min-height: 54px; }
.dg-topnav { display: flex; align-items: center; flex-wrap: wrap; gap: 24px; }
.dg-topnav a { color: #fff; font-weight: 400; white-space: nowrap; }
.dg-topnav a:hover { color: var(--dg-accent); }
.dg-contact { display: flex; align-items: center; gap: 24px; margin-left: auto; }
.dg-contact a { display: inline-flex; align-items: center; gap: 9px; color: #fff; font-weight: 400; white-space: nowrap; }
.dg-contact__icon { color: var(--dg-accent); font-size: 19px; line-height: 1; }
.dg-header { background: #fff; border-bottom: 1px solid #ebe8ef; position: sticky; top: 0; z-index: 20; }
.dg-header__main { display: grid; grid-template-columns: 185px 170px minmax(300px, 1fr) auto; align-items: center; gap: 28px; padding-top: 18px; padding-bottom: 18px; min-height: 92px; }
.dg-logo { display: inline-flex; align-items: center; font-weight: 800; font-size: 25px; color: var(--dg-primary); }
.dg-logo img { max-height: 52px; width: auto; }
.dg-catalog-toggle { position: absolute; opacity: 0; pointer-events: none; }
.dg-catalog-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  height: 58px;
  border-radius: 10px;
  background: var(--dg-accent);
  color: #fff;
  cursor: pointer;
  font-size: 17px;
  font-weight: 500;
  line-height: 1;
  user-select: none;
}
.dg-catalog-button__menu,
.dg-catalog-button__close {
  position: relative;
  width: 27px;
  height: 22px;
}
.dg-catalog-button__menu::before,
.dg-catalog-button__menu::after,
.dg-catalog-button__menu {
  border-top: 3px solid currentColor;
}
.dg-catalog-button__menu::before,
.dg-catalog-button__menu::after {
  content: "";
  position: absolute;
  left: 0;
  width: 27px;
}
.dg-catalog-button__menu::before { top: 7px; }
.dg-catalog-button__menu::after { top: 17px; }
.dg-catalog-button__close { display: none; }
.dg-catalog-button__close::before,
.dg-catalog-button__close::after {
  content: "";
  position: absolute;
  left: 12px;
  top: -1px;
  width: 3px;
  height: 28px;
  border-radius: 999px;
  background: currentColor;
}
.dg-catalog-button__close::before { transform: rotate(45deg); }
.dg-catalog-button__close::after { transform: rotate(-45deg); }
.dg-catalog-toggle:checked ~ .dg-header__main .dg-catalog-button__menu { display: none; }
.dg-catalog-toggle:checked ~ .dg-header__main .dg-catalog-button__close { display: block; }
.dg-search { position: relative; }
.dg-search form { display: flex; }
.dg-search input[type="search"] { width: 100%; min-height: 58px; border: 1px solid #e7e4ea; border-right: 0; border-radius: 29px 0 0 29px; padding: 0 24px 0 32px; font: inherit; font-size: 16px; font-weight: 400; background: #fff; }
.dg-search button, .button, button, input[type="submit"], .wp-element-button, .woocommerce a.button, .woocommerce button.button, .woocommerce input.button {
  border: 0;
  border-radius: 6px;
  background: var(--dg-primary);
  color: #fff;
  cursor: pointer;
  font-weight: 700;
  padding: 12px 18px;
}
.dg-search button { min-width: 68px; border-radius: 0 29px 29px 0; background: #fff; color: #b9b5bd; border: 1px solid #e7e4ea; border-left: 0; font-size: 0; }
.dg-search button::before { content: "\2315"; font-size: 27px; line-height: 1; transform: rotate(-20deg); }
.dg-live-search {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 18px);
  z-index: 60;
  max-height: 470px;
  overflow: auto;
  border-radius: 4px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(20, 20, 20, .18);
}
.dg-live-search[hidden] { display: none; }
.dg-live-search__row {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) 18px 130px;
  gap: 18px;
  align-items: center;
  min-height: 86px;
  padding: 12px 26px;
  color: #111;
}
.dg-live-search__row:hover { background: #faf8f7; }
.dg-live-search__image {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
}
.dg-live-search__image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.dg-live-search__title {
  font-size: 18px;
  font-weight: 500;
  line-height: 1.2;
}
.dg-live-search__dash {
  color: #151313;
  text-align: center;
}
.dg-live-search__price {
  color: #050505;
  font-size: 20px;
  font-weight: 800;
  text-align: right;
  white-space: nowrap;
}
.dg-live-search__empty {
  padding: 22px 26px;
  color: var(--dg-muted);
}
.dg-actions { display: flex; align-items: center; gap: 12px; font-weight: 700; }
.dg-lang ul { display: flex; gap: 8px; margin: 0; padding: 0; list-style: none; }
.dg-lang a { display: inline-flex; align-items: center; min-width: 42px; min-height: 46px; justify-content: center; border: 1px solid #eee8f0; border-radius: 10px; padding: 6px 10px; background: #fff; font-weight: 700; }
.dg-lang .current-lang a { border-color: var(--dg-primary); color: #111; }
.dg-cart { color: var(--dg-primary); font-size: 14px; white-space: nowrap; }
.dg-catalog-layer { position: absolute; left: 0; right: 0; top: 100%; display: none; min-height: calc(100vh - 164px); pointer-events: none; }
.dg-catalog-toggle:checked ~ .dg-catalog-layer { display: block; }
.dg-catalog-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.48); pointer-events: auto; cursor: pointer; }
.dg-catalog-panel {
  position: relative;
  z-index: 2;
  width: 354px;
  max-height: calc(100vh - 164px);
  overflow: auto;
  padding: 22px 0;
  background: #fff;
  pointer-events: auto;
  box-shadow: 8px 16px 32px rgba(0,0,0,.18);
}
.dg-catalog-panel a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 56px;
  padding: 8px 30px;
  color: #151313;
  font-size: 17px;
  line-height: 1.15;
}
.dg-catalog-panel a:hover { color: var(--dg-accent); background: #faf8f7; }

.dg-promo { padding: 24px 0 18px; }
.dg-promo__banner {
  position: relative;
  min-height: 300px;
  border-radius: 22px;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(98,58,122,.78), rgba(98,58,122,.34) 46%, rgba(40,40,40,.32)),
    linear-gradient(135deg, #7c5c94, #a9aeb4);
  background-color: #8f8799;
}
.dg-promo__banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--dg-promo-image);
  background-position: center right 14%;
  background-repeat: no-repeat;
  background-size: auto 106%;
  opacity: .58;
}
.dg-promo__content { position: relative; z-index: 1; display: flex; flex-direction: column; justify-content: center; min-height: 300px; max-width: 760px; padding: 46px 48px; color: #fff; }
.dg-promo h1 { margin: 0 0 10px; font-size: clamp(27px, 2.43vw, 38px); font-weight: 800; line-height: 1.1; text-transform: uppercase; letter-spacing: 0; }
.dg-promo p { margin: 0 0 22px; max-width: 720px; font-size: 16px; color: rgba(255,255,255,.92); }
.dg-promo__button { display: inline-flex; align-items: center; justify-content: center; width: fit-content; min-height: 42px; border-radius: 8px; background: var(--dg-accent); color: #fff; font-weight: 800; padding: 0 22px; }
.dg-promo__button:hover { background: var(--dg-primary-dark); }

.dg-section { padding: 34px 0; }
.dg-section h2 { margin: 0 0 30px; font-size: 36px; font-weight: 800; line-height: 1; text-align: center; text-transform: uppercase; }
.dg-offers { padding-top: 24px; }
.dg-category-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.dg-category { background: #fff; border: 1px solid var(--dg-border); border-radius: 8px; padding: 18px; min-height: 92px; display: flex; align-items: end; font-weight: 800; }
.dg-category:hover { border-color: var(--dg-primary); color: var(--dg-primary); }

.woocommerce ul.products {
  display: grid;
  grid-template-columns: repeat(5, minmax(220px, 1fr));
  gap: 24px;
  align-items: start;
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}
.woocommerce ul.products::before, .woocommerce ul.products::after { content: none; }
.woocommerce ul.products li.product {
  position: relative;
  display: flex;
  flex-direction: column;
  width: auto !important;
  height: 335px;
  min-height: 335px;
  margin: 0 !important;
  background: #fff;
  border: 0;
  border-radius: 16px;
  padding: 8px 16px 14px !important;
  box-shadow: 0 2px 16px rgba(20, 20, 20, .14);
  overflow: hidden;
  transition: transform .18s ease, box-shadow .18s ease;
}
.woocommerce ul.products li.product:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(20, 20, 20, .18);
}
.woocommerce ul.products li.product a.woocommerce-LoopProduct-link {
  display: flex;
  flex-direction: column;
  min-height: 0;
  height: 100%;
}
.woocommerce ul.products li.product img {
  width: 100%;
  max-width: 100%;
  height: 176px;
  max-height: 176px;
  margin: 8px auto 14px;
  object-fit: contain;
  object-position: center;
  display: block;
}
.woocommerce ul.products li.product .woocommerce-loop-product__title {
  display: -webkit-box;
  min-height: 43px;
  max-height: 43px;
  margin: 0 0 12px;
  padding: 0;
  overflow: hidden;
  color: #111;
  font-size: 11px;
  font-weight: 400;
  line-height: 1.3;
  text-align: left;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow-wrap: anywhere;
}
.woocommerce ul.products li.product .price {
  display: block;
  margin-top: auto;
  padding-right: 58px;
  color: #050505;
  font-size: 15px;
  font-weight: 800;
  line-height: 1;
  text-align: left;
}
.dg-vat-note {
  display: block;
  margin-top: 7px;
  padding-right: 58px;
  color: #77727e;
  font-size: 10px;
  font-weight: 500;
  line-height: 1.2;
}
.woocommerce ul.products li.product .price del,
.woocommerce ul.products li.product .price ins {
  display: inline-block;
  text-decoration: none;
}
.woocommerce ul.products li.product .price del {
  margin-right: 8px;
  color: #8a8791;
  font-size: 11px;
  text-decoration: line-through;
}
.dg-product-badge {
  position: absolute;
  top: 12px;
  left: 20px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 86px;
  height: 30px;
  border-radius: 999px;
  background: #75a985;
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  line-height: 1;
}
.dg-product-heart {
  position: absolute;
  top: 14px;
  right: 18px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 12px rgba(20, 20, 20, .12);
  color: #ff7043;
  font-size: 19px;
  line-height: 1;
}
.woocommerce ul.products li.product .button {
  position: absolute;
  right: 20px;
  bottom: 18px;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  min-width: 48px;
  padding: 0;
  border-radius: 50%;
  background: #ff7043;
  color: #fff;
  box-shadow: none;
}
.woocommerce ul.products li.product .button:hover { background: #f45d2d; }
.dg-cart-icon { width: 25px; height: 25px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.dg-cart-icon circle { fill: currentColor; stroke: none; }
.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}
.woocommerce div.product { background: #fff; border: 1px solid var(--dg-border); border-radius: 8px; padding: 22px; }
.woocommerce .quantity .qty { min-height: 42px; border: 1px solid var(--dg-border); border-radius: 6px; }
.woocommerce nav.woocommerce-pagination {
  display: flex;
  justify-content: center;
  margin: 34px 0 10px;
}
.woocommerce nav.woocommerce-pagination ul {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  border: 0;
  list-style: none;
}
.woocommerce nav.woocommerce-pagination ul li {
  margin: 0;
  padding: 0;
  border: 0;
  list-style: none;
}
.woocommerce nav.woocommerce-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 38px;
  padding: 0 12px;
  border: 1px solid #e7e2eb;
  border-radius: 999px;
  background: #fff;
  color: #17151f;
  font-size: 14px;
  font-weight: 700;
  box-shadow: 0 2px 10px rgba(20, 20, 20, .08);
}
.woocommerce nav.woocommerce-pagination .page-numbers.current,
.woocommerce nav.woocommerce-pagination a.page-numbers:hover {
  border-color: var(--dg-primary);
  background: var(--dg-primary);
  color: #fff;
}
.woocommerce nav.woocommerce-pagination .page-numbers.dots {
  border-color: transparent;
  background: transparent;
  box-shadow: none;
  color: #8a8491;
}
.woocommerce-info,
.woocommerce-message,
.woocommerce-error {
  margin: 18px 0;
  padding: 16px 20px;
  border: 1px solid #e7e2eb;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 2px 12px rgba(20, 20, 20, .08);
  list-style: none;
}
.woocommerce-cart .return-to-shop .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  border-radius: 8px;
  padding: 0 24px;
}

.dg-single-product { padding: 28px 0 0; }
.dg-product-breadcrumb-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin: 0 0 46px;
  color: #55515c;
  font-size: 19px;
}
.dg-product-breadcrumb nav,
.dg-product-breadcrumb .woocommerce-breadcrumb { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin: 0; color: inherit; }
.dg-breadcrumb-separator { color: #a9a4af; }
.dg-product-article { white-space: nowrap; }
.dg-product-layout {
  display: grid;
  grid-template-columns: minmax(330px, .9fr) minmax(410px, 1.2fr) 385px;
  gap: 60px;
  align-items: start;
  margin-bottom: 72px;
}
.dg-product-gallery-main {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 345px;
  padding: 26px;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 3px 18px rgba(20, 20, 20, .14);
}
.dg-product-main-image,
.dg-product-gallery-main img {
  width: auto;
  max-width: 88%;
  height: auto;
  max-height: 295px;
  object-fit: contain;
}
.dg-product-thumbs-wrap {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 56px;
  gap: 14px;
  align-items: center;
  max-width: 100%;
  margin-top: 18px;
}
.dg-product-thumbs {
  display: flex;
  gap: 14px;
  max-width: 100%;
  padding: 0 0 4px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.dg-product-thumbs::-webkit-scrollbar { display: none; }
.dg-product-thumb {
  flex: 0 0 78px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 78px;
  height: 78px;
  padding: 10px;
  border: 1px solid transparent;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 3px 14px rgba(20, 20, 20, .12);
  scroll-snap-align: start;
}
.dg-product-thumb.is-active { border-color: var(--dg-primary); }
.dg-product-thumb img { width: 100%; height: 58px; object-fit: contain; }
.dg-product-thumbs-next {
  position: relative;
  z-index: 2;
  width: 56px;
  height: 56px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 4px 16px rgba(20, 20, 20, .14);
}
.dg-product-thumbs-next::before {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  width: 28px;
  height: 28px;
  background: center / contain no-repeat url("data:image/svg+xml,%3Csvg viewBox='0 0 28 28' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M10 5l9 9-9 9' stroke='%23ff7043' stroke-width='2.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.dg-product-summary h1 {
  margin: 0 0 18px;
  font-size: 27px;
  font-weight: 800;
  line-height: 1.15;
  text-transform: uppercase;
}
.dg-product-summary-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 12px;
}
.dg-product-summary-head h2 {
  margin: 0;
  font-size: 20px;
  font-weight: 800;
  text-transform: uppercase;
}
.dg-product-summary-head a,
.dg-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 170px;
  min-height: 36px;
  padding: 8px 20px;
  border-radius: 999px;
  background: #b2a3ba;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
}
.dg-attribute-list { display: grid; gap: 0; }
.dg-attribute-row,
.dg-characteristics-row {
  display: grid;
  grid-template-columns: minmax(230px, .9fr) minmax(260px, 1fr);
  gap: 28px;
  padding: 12px 0;
  border-bottom: 1px solid #e7e3ea;
  font-size: 17px;
  line-height: 1.2;
}
.dg-attribute-row > div:first-child,
.dg-characteristics-row > div:first-child { color: #5f5b66; }
.dg-product-buy {
  position: sticky;
  top: 124px;
  min-height: 0;
  padding: 32px 28px 30px;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 3px 18px rgba(20, 20, 20, .14);
}
.dg-product-price { margin-bottom: 16px; color: #050505; font-size: 38px; font-weight: 800; line-height: 1; }
.dg-product-price del { display: none; }
.dg-product-price ins { text-decoration: none; }
.dg-product-buy p { margin: 0 0 10px; color: #69636d; font-size: 14px; }
.dg-delivery { margin: 12px 0 24px; color: #69636d; font-size: 14px; }
.dg-delivery::before {
  content: "";
  display: inline-block;
  width: 23px;
  height: 23px;
  margin-right: 10px;
  vertical-align: -6px;
  background: center / contain no-repeat url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M3 7.5h10.5v8H3zM13.5 10h3.2l2.3 2.7v2.8h-5.5zM6.5 18.5a1.7 1.7 0 1 0 0-3.4 1.7 1.7 0 0 0 0 3.4ZM16.5 18.5a1.7 1.7 0 1 0 0-3.4 1.7 1.7 0 0 0 0 3.4Z' stroke='%23ff7043' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.dg-product-buy .stock,
.dg-product-buy .quantity,
.dg-product-buy .wc-revolut-payment-request-instance { display: none !important; }
.dg-product-buy form.cart { display: block; margin: 24px 0 0; }
.dg-product-buy .single_add_to_cart_button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 64px;
  padding: 0 24px;
  border-radius: 10px;
  background: var(--dg-primary);
  color: #fff;
  font-size: 19px;
  font-weight: 700;
  line-height: 1.1;
  box-shadow: 0 8px 18px rgba(255, 112, 67, .24);
}
.dg-product-buy .single_add_to_cart_button::before {
  content: "";
  display: inline-block;
  width: 25px;
  height: 25px;
  margin-right: 12px;
  vertical-align: -6px;
  background: center / contain no-repeat url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M7 7h13l-1.5 8.5H8.2L6.4 4H3' stroke='white' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3Ccircle cx='9.5' cy='20' r='1.25' fill='white'/%3E%3Ccircle cx='17.5' cy='20' r='1.25' fill='white'/%3E%3C/svg%3E");
}
.dg-single-section {
  padding: 74px 0;
  border-top: 1px solid #e8e5eb;
  background: #f7f7f8;
}
.dg-single-section h2 {
  margin: 0 0 42px;
  color: #050505;
  font-size: 34px;
  font-weight: 800;
  line-height: 1.1;
  text-align: center;
  text-transform: uppercase;
}
.dg-characteristics-section { background: #fff; box-shadow: 0 -4px 16px rgba(20, 20, 20, .06); }
.dg-characteristics-table { max-width: 980px; margin: 28px auto 0; }
.dg-characteristics-row { grid-template-columns: minmax(300px, 1fr) minmax(360px, 1fr); }
.dg-question-section {
  padding: 82px 0 92px;
  background: #f7f7f8;
  border-top: 1px solid #e8e5eb;
}
.dg-question-grid {
  display: grid;
  grid-template-columns: minmax(310px, .8fr) minmax(560px, 1.7fr);
  gap: 64px;
  align-items: start;
}
.dg-question-section h2 {
  margin: 0 0 16px;
  font-size: 36px;
  font-weight: 800;
  line-height: 1.12;
  text-transform: uppercase;
}
.dg-question-section p { margin: 0; color: var(--dg-primary); font-size: 16px; }
.dg-question-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px 52px;
}
.dg-question-form input[type="text"],
.dg-question-form input[type="email"],
.dg-question-form textarea {
  width: 100%;
  min-height: 68px;
  border: 1px solid #e1dde5;
  border-radius: 34px;
  padding: 0 30px;
  background: #fff;
  color: var(--dg-text);
  font: inherit;
  font-size: 16px;
}
.dg-question-form textarea {
  grid-row: span 2;
  min-height: 122px;
  padding-top: 24px;
  resize: vertical;
}
.dg-question-form button {
  min-height: 66px;
  border-radius: 34px;
  font-size: 16px;
}
.dg-question-policy {
  grid-column: 2;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: #5e5964;
  font-size: 14px;
}
.dg-question-policy input { width: 28px; height: 28px; margin: 0; }
.dg-question-policy a { text-decoration: underline; }

.dg-content { padding: 32px 0 48px; }
.dg-page { background: #fff; border: 1px solid var(--dg-border); border-radius: 8px; padding: 26px; }
.woocommerce-cart .dg-page {
  border: 0;
  background: transparent;
  padding: 0;
}
.woocommerce-cart .dg-page > h1 {
  margin: 34px 0 18px;
  color: #050505;
  font-size: 36px;
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
}
.dg-cart-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 54px;
  align-items: start;
}
.dg-cart-items {
  display: grid;
  gap: 16px;
}
.dg-cart-item {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) 110px 190px 34px;
  gap: 18px;
  align-items: center;
  min-height: 108px;
  padding: 18px 28px;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 3px 16px rgba(20, 20, 20, .12);
}
.dg-cart-item__image {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
}
.dg-cart-item__image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.dg-cart-item__article {
  color: #6d6874;
  font-size: 12px;
  line-height: 1.2;
}
.dg-cart-item__name {
  display: -webkit-box;
  overflow: hidden;
  color: #111;
  font-size: 14px;
  line-height: 1.25;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
.dg-cart-item__quantity {
  display: grid;
  grid-template-columns: 26px 42px 26px;
  gap: 8px;
  align-items: center;
  justify-content: center;
}
.dg-cart-qty {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  padding: 0;
  border-radius: 4px;
  background: #eeedf0;
  color: #a9a4af;
  font-size: 14px;
  line-height: 1;
}
.dg-cart-item__quantity .quantity,
.dg-cart-item__quantity .qty {
  width: 42px;
  min-height: 32px;
  border: 0;
  background: transparent;
  color: #050505;
  font: inherit;
  font-size: 18px;
  text-align: center;
  appearance: textfield;
  -moz-appearance: textfield;
}
.dg-cart-item__quantity .qty::-webkit-outer-spin-button,
.dg-cart-item__quantity .qty::-webkit-inner-spin-button {
  margin: 0;
  appearance: none;
  -webkit-appearance: none;
}
.dg-cart-item__price {
  color: #050505;
  font-size: 15px;
  font-weight: 700;
  text-align: right;
  white-space: nowrap;
}
.dg-cart-item__price span {
  color: #69636d;
  font-size: 11px;
  font-weight: 500;
}
.dg-cart-item__actions {
  display: flex;
  justify-content: flex-end;
}
.dg-cart-remove {
  display: inline-flex;
  width: 22px;
  height: 22px;
  opacity: .45;
  background: center / 18px 18px no-repeat url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M6 7h12M10 11v6M14 11v6M9 7l1-2h4l1 2M8 7l1 13h6l1-13' stroke='%2377707c' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.dg-cart-remove:hover { opacity: 1; }
.dg-cart-summary {
  padding: 30px;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 3px 16px rgba(20, 20, 20, .12);
}
.dg-cart-summary h2 {
  margin: 0 0 14px;
  font-size: 18px;
  font-weight: 700;
}
.dg-cart-summary__row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  margin: 10px 0;
  color: #5f5a66;
}
.dg-cart-summary__row strong {
  color: #111;
  font-weight: 700;
  text-align: right;
}
.dg-cart-summary__row small {
  color: #5f5a66;
  font-size: 12px;
  font-weight: 500;
}
.dg-cart-coupon__label {
  display: block;
  margin: 24px 0 10px;
  color: #5f5a66;
}
.dg-cart-coupon__input {
  width: 100%;
  min-height: 52px;
  border: 1px solid #e1dde5;
  border-radius: 999px;
  padding: 0 24px;
  background: #fff;
  font: inherit;
}
.dg-cart-coupon__button,
.dg-cart-checkout {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 52px;
  margin-top: 10px;
  border-radius: 999px;
  font-weight: 700;
}
.dg-cart-coupon__button {
  background: #b2a3ba;
  color: #fff;
}
.dg-cart-checkout {
  margin-top: 20px;
  background: var(--dg-primary);
  color: #fff;
}
.dg-cart-update {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}
.woocommerce-checkout .dg-page {
  border: 0;
  background: transparent;
  padding: 0;
}
.woocommerce-checkout .dg-page > h1,
.woocommerce-checkout h1.entry-title {
  margin: 34px 0 24px;
  color: #050505;
  font-size: 36px;
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
}
.dg-checkout-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: 58px;
  align-items: start;
}
.dg-checkout-main {
  min-width: 0;
}
.dg-checkout-fields,
.dg-checkout-payment-block {
  max-width: 920px;
}
.dg-checkout .col2-set {
  display: block;
  width: 100%;
}
.dg-checkout .col2-set .col-1,
.dg-checkout .col2-set .col-2 {
  float: none;
  width: 100%;
}
.dg-checkout h3 {
  margin: 0 0 18px;
  color: #050505;
  font-size: 22px;
  font-weight: 800;
  line-height: 1.1;
  text-transform: uppercase;
}
.dg-checkout #billing_first_name_field,
.dg-checkout #billing_last_name_field,
.dg-checkout #billing_phone_field,
.dg-checkout #billing_email_field,
.dg-checkout #billing_postcode_field,
.dg-checkout #billing_city_field,
.dg-checkout #billing_address_1_field,
.dg-checkout #billing_address_2_field,
.dg-checkout #shipping_first_name_field,
.dg-checkout #shipping_last_name_field,
.dg-checkout #shipping_postcode_field,
.dg-checkout #shipping_city_field,
.dg-checkout #shipping_address_1_field,
.dg-checkout #shipping_address_2_field {
  float: none;
  width: 100%;
}
.dg-checkout .woocommerce-billing-fields__field-wrapper,
.dg-checkout .woocommerce-shipping-fields__field-wrapper {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px 16px;
}
.dg-checkout #billing_country_field,
.dg-checkout #shipping_country_field,
.dg-checkout #billing_company_field,
.dg-checkout #shipping_company_field,
.dg-checkout #order_comments_field,
.dg-checkout .form-row-wide,
.dg-checkout .create-account,
.dg-checkout .woocommerce-additional-fields {
  grid-column: 1 / -1;
}
.dg-checkout .form-row {
  margin: 0;
  padding: 0;
}
.dg-checkout label {
  display: block;
  margin: 0 0 8px;
  color: #5e5964;
  font-size: 14px;
  line-height: 1.25;
}
.dg-checkout .required {
  color: inherit;
  text-decoration: none;
}
.dg-checkout input.input-text,
.dg-checkout textarea,
.dg-checkout select,
.dg-checkout .select2-container .select2-selection--single {
  width: 100%;
  min-height: 52px;
  border: 1px solid #e1dde5;
  border-radius: 999px;
  padding: 0 24px;
  background: #fff;
  color: #111;
  font: inherit;
  box-shadow: none;
}
.dg-checkout select {
  padding-right: 58px;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 16 10' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M2 2l6 6 6-6' stroke='%23ff7043' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 26px center;
  background-size: 14px 9px;
}
.dg-checkout textarea {
  min-height: 118px;
  border-radius: 22px;
  padding-top: 18px;
  resize: vertical;
}
.dg-checkout .select2-container .select2-selection--single .select2-selection__rendered {
  padding: 0;
  line-height: 50px;
}
.dg-checkout .select2-container .select2-selection--single .select2-selection__arrow {
  top: 12px;
  right: 26px;
}
.dg-checkout .woocommerce-shipping-fields,
.dg-checkout .woocommerce-additional-fields,
.dg-checkout-payment-block {
  margin-top: 28px;
}
.dg-checkout #ship-to-different-address {
  margin: 0;
  font-size: 16px;
  font-weight: 500;
  text-transform: none;
}
.dg-checkout #ship-to-different-address label,
.dg-checkout .woocommerce-form__label-for-checkbox {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  color: #111;
  font-size: 16px;
}
.dg-checkout input[type="checkbox"],
.dg-checkout input[type="radio"] {
  width: 20px;
  height: 20px;
  margin: 0;
  accent-color: var(--dg-primary);
}
.dg-checkout-summary {
  position: sticky;
  top: 132px;
  padding: 26px;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 3px 16px rgba(20, 20, 20, .12);
}
.dg-checkout-summary h3 {
  margin-bottom: 18px;
  font-size: 18px;
  text-transform: none;
}
.dg-checkout-summary table.shop_table {
  width: 100%;
  margin: 0;
  border: 0;
  border-collapse: collapse;
  background: transparent;
}
.dg-checkout-summary table.shop_table thead {
  display: none;
}
.dg-checkout-summary table.shop_table tr,
.dg-checkout-summary table.shop_table th,
.dg-checkout-summary table.shop_table td {
  border: 0;
}
.dg-checkout-summary table.shop_table td,
.dg-checkout-summary table.shop_table th {
  padding: 6px 0;
  color: #5f5a66;
  font-size: 13px;
  font-weight: 400;
  text-align: left;
}
.dg-checkout-summary table.shop_table tr:not(.cart_item) td:last-child {
  color: #111;
  font-weight: 700;
  text-align: right;
}
.dg-checkout-summary .cart_item td {
  padding-bottom: 14px;
  vertical-align: middle;
}
.dg-checkout-product-line {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) max-content;
  align-items: center;
  gap: 10px;
  color: #111 !important;
  font-size: 12px !important;
  font-weight: 500 !important;
}
.dg-checkout-summary .product-name {
  color: #111 !important;
  font-size: 12px !important;
  font-weight: 500 !important;
}
.dg-checkout-product-line img {
  width: 42px;
  height: 42px;
  object-fit: contain;
}
.dg-checkout-product-title {
  min-width: 0;
  overflow: hidden;
  line-height: 1.22;
}
.dg-checkout-product-title .product-quantity {
  white-space: nowrap;
}
.dg-checkout-summary .product-total {
  white-space: nowrap;
  color: #111;
  font-size: 13px;
  font-weight: 800;
  text-align: right;
}
.dg-checkout-summary .cart-subtotal,
.dg-checkout-summary .woocommerce-shipping-totals,
.dg-checkout-summary .tax-rate,
.dg-checkout-summary .tax-total,
.dg-checkout-summary .fee,
.dg-checkout-summary .order-total {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: baseline;
}
.dg-checkout-summary .order-total td {
  padding-top: 10px;
  font-size: 15px;
}
.dg-checkout-summary .order-total th {
  padding-top: 10px;
}
.dg-checkout-summary small.includes_tax,
.dg-checkout-summary .woocommerce-Price-taxLabel,
.dg-checkout-summary .cart-subtotal small,
.dg-checkout-summary .order-total small {
  display: block;
  margin-top: 3px;
  color: #5f5a66;
  font-size: 10px;
  font-weight: 500;
  line-height: 1.2;
  white-space: nowrap;
}
.dg-checkout-payment-block h3 {
  margin-top: 0;
  color: #5e5964;
  font-size: 14px;
  font-weight: 500;
  text-transform: none;
}
.dg-checkout #payment {
  background: transparent;
  border-radius: 0;
}
.dg-checkout #payment ul.payment_methods {
  display: block;
  margin: 0 0 22px;
  padding: 0;
  border: 0;
}
.dg-checkout #payment ul.payment_methods li {
  position: relative;
  display: block;
  width: 100%;
  margin: 0 0 12px;
  padding: 0;
  list-style: none;
}
.dg-checkout #payment ul.payment_methods li input {
  position: absolute;
  opacity: 0;
}
.dg-checkout #payment ul.payment_methods li label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  max-height: 42px;
  margin: 0;
  border: 1px solid #e1dde5;
  border-radius: 999px;
  padding: 0 22px;
  background: #fff;
  color: #111;
  font-size: 14px;
  cursor: pointer;
  overflow: hidden;
}
.dg-checkout #payment ul.payment_methods li.payment_method_revolut_cc label {
  width: min(100%, 730px);
  justify-content: space-between;
}
.dg-checkout #payment ul.payment_methods li.payment_method_revolut_payment_request {
  width: 270px !important;
  max-width: 270px !important;
}
.dg-checkout #payment ul.payment_methods li.payment_method_revolut_payment_request label {
  width: 270px !important;
  max-width: 270px !important;
  height: 42px !important;
  min-height: 42px !important;
  max-height: 42px !important;
  padding: 0 18px !important;
  white-space: nowrap;
}
.dg-checkout #payment ul.payment_methods li input:checked + label,
.dg-checkout #payment ul.payment_methods li label:hover {
  border-color: var(--dg-primary);
  color: var(--dg-primary);
}
.dg-checkout #payment div.payment_box {
  width: min(100%, 730px);
  margin: 0 0 18px;
  border-radius: 16px;
  background: #fff;
  color: #5f5a66;
}
.dg-checkout #payment div.payment_box::before { display: none; }
.dg-checkout #payment .payment_method_revolut_payment_request .payment_box {
  width: 270px !important;
  max-width: 270px !important;
  min-height: 42px !important;
  max-height: 42px !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  background: transparent;
  border-radius: 999px !important;
}
.dg-checkout #woocommerce-revolut-payment-request-element,
.dg-checkout .revolut-payment-request {
  display: block !important;
  width: 270px !important;
  max-width: 270px !important;
  height: 42px !important;
  min-height: 42px !important;
  max-height: 42px !important;
  overflow: hidden !important;
  border-radius: 999px !important;
}
.dg-checkout #woocommerce-revolut-payment-request-element iframe,
.dg-checkout .revolut-payment-request iframe,
.dg-checkout #woocommerce-revolut-payment-request-element > *,
.dg-checkout .revolut-payment-request > *,
.dg-checkout .gpay-card-info-container,
.dg-checkout .gpay-card-info-animation-container,
.dg-checkout .gpay-button {
  width: 270px !important;
  max-width: 270px !important;
  height: 42px !important;
  min-height: 42px !important;
  max-height: 42px !important;
  border-radius: 999px !important;
}
.dg-checkout #payment .place-order {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 270px;
  gap: 18px 26px;
  align-items: center;
  margin: 0;
  padding: 0;
}
.dg-checkout #payment .woocommerce-privacy-policy-text,
.dg-checkout #payment .woocommerce-terms-and-conditions-wrapper {
  color: #b2a3ba;
  font-size: 12px;
  line-height: 1.35;
}
.dg-checkout #payment #place_order {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 62px;
  border: 0;
  border-radius: 999px;
  background: var(--dg-primary);
  color: #fff;
  font-size: 16px;
  font-weight: 800;
  box-shadow: none;
}
.dg-checkout #payment #place_order:hover { background: var(--dg-primary-dark); }
.woocommerce-checkout .woocommerce-form-coupon-toggle,
.woocommerce-checkout form.checkout_coupon {
  max-width: 920px;
}
.woocommerce-checkout form.checkout_coupon {
  border: 0;
  padding: 0;
}
.woocommerce-checkout form.checkout_coupon .form-row-first {
  width: calc(100% - 290px);
}
.woocommerce-checkout form.checkout_coupon .form-row-last {
  width: 270px;
}
.woocommerce-checkout form.checkout_coupon input.input-text {
  min-height: 52px;
  border: 1px solid #e1dde5;
  border-radius: 999px;
  padding: 0 24px;
}
.woocommerce-checkout form.checkout_coupon button {
  width: 100%;
  min-height: 52px;
  border-radius: 999px;
  background: #b2a3ba;
  color: #fff;
  font-weight: 700;
}
.dg-footer { background: #1b1818; color: #fff; margin-top: 40px; }
.dg-footer__inner { display: flex; justify-content: space-between; gap: 48px; min-height: 285px; padding-top: 28px; padding-bottom: 28px; border-bottom: 1px solid rgba(255,255,255,.22); }
.dg-footer__brand { display: flex; flex-direction: column; align-items: flex-start; gap: 28px; }
.dg-footer__logo { display: inline-flex; align-items: center; }
.dg-footer__logo img { width: 150px; height: auto; display: block; }
.dg-footer__nav { display: grid; gap: 18px; font-size: 18px; line-height: 1.2; }
.dg-footer__nav a, .dg-footer__contact a { color: #fff; }
.dg-footer__nav a:hover, .dg-footer__contact a:hover { color: var(--dg-accent); }
.dg-footer__contact { display: flex; align-items: flex-start; justify-content: flex-end; gap: 20px; padding-top: 32px; font-size: 14px; }
.dg-footer__contact a { display: inline-flex; align-items: center; gap: 10px; white-space: nowrap; }

@media (max-width: 900px) {
  .dg-wrap { padding: 0 24px; }
  .dg-topbar__inner { align-items: flex-start; flex-direction: column; }
  .dg-contact { margin-left: 0; flex-wrap: wrap; }
  .dg-header__main { grid-template-columns: 1fr; gap: 14px; }
  .dg-live-search { top: calc(100% + 8px); max-height: 360px; }
  .dg-live-search__row { grid-template-columns: 48px minmax(0, 1fr) 90px; gap: 12px; min-height: 74px; padding: 10px 14px; }
  .dg-live-search__dash { display: none; }
  .dg-live-search__image { width: 48px; height: 48px; }
  .dg-live-search__title { font-size: 15px; }
  .dg-live-search__price { font-size: 16px; }
  .dg-hero__inner { grid-template-columns: 1fr; }
  .dg-category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .woocommerce ul.products { grid-template-columns: repeat(2, minmax(220px, 1fr)); }
  .dg-product-breadcrumb-row { align-items: flex-start; flex-direction: column; margin-bottom: 24px; font-size: 14px; }
  .dg-product-layout { grid-template-columns: 1fr; gap: 28px; margin-bottom: 42px; }
  .dg-product-gallery-main { min-height: 320px; }
  .dg-product-main-image, .dg-product-gallery-main img { max-width: 88%; max-height: 260px; }
  .dg-product-buy { position: static; }
  .dg-question-grid { grid-template-columns: 1fr; gap: 28px; }
  .dg-question-form { grid-template-columns: 1fr; gap: 16px; }
  .dg-question-form textarea, .dg-question-policy { grid-column: auto; }
  .dg-cart-layout { grid-template-columns: 1fr; gap: 26px; }
  .dg-cart-item { grid-template-columns: 54px minmax(0, 1fr); gap: 12px; }
  .dg-cart-item__quantity, .dg-cart-item__price, .dg-cart-item__actions { grid-column: 2; justify-content: flex-start; text-align: left; }
  .dg-cart-item__actions { justify-content: flex-start; }
  .dg-checkout-layout { grid-template-columns: 1fr; gap: 28px; }
  .dg-checkout-summary { position: static; }
  .dg-checkout #payment .place-order { grid-template-columns: 1fr; }
  .dg-footer__inner { min-height: 0; }
  .dg-footer__contact { flex-wrap: wrap; }
}

@media (max-width: 560px) {
  .dg-wrap { padding: 0 14px; }
  .dg-topnav { gap: 14px; }
  .dg-contact { gap: 12px; }
  .dg-actions { flex-wrap: wrap; }
  .dg-category-grid, .woocommerce ul.products { grid-template-columns: 1fr; }
  .dg-product-thumbs { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
  .dg-product-summary h1 { font-size: 22px; }
  .dg-product-summary-head { align-items: flex-start; flex-direction: column; }
  .dg-attribute-row, .dg-characteristics-row { grid-template-columns: 1fr; gap: 6px; font-size: 14px; }
  .dg-product-price { font-size: 31px; }
  .dg-single-section h2, .dg-question-section h2 { font-size: 27px; }
  .dg-checkout .woocommerce-billing-fields__field-wrapper,
  .dg-checkout .woocommerce-shipping-fields__field-wrapper { grid-template-columns: 1fr; }
  .woocommerce-checkout form.checkout_coupon .form-row-first,
  .woocommerce-checkout form.checkout_coupon .form-row-last { width: 100%; }
  .dg-footer__inner { flex-direction: column; gap: 22px; padding-top: 24px; padding-bottom: 24px; }
  .dg-footer__nav { gap: 14px; font-size: 16px; }
  .dg-footer__contact { justify-content: flex-start; padding-top: 0; }
}
