:root{--cream:#f7f3ec;--white:#fffefa;--gold:#ad925e;--dark:#38332d;--muted:#887b68;--border:#e8dfd1}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--white);color:var(--dark);font-family:"DM Sans",sans-serif}button,input,textarea,select{font:inherit}.header{min-height:85px;padding:15px 6%;display:flex;justify-content:space-between;align-items:center;gap:25px;background:var(--white);border-bottom:1px solid var(--border);position:sticky;top:0;z-index:10}.logo{display:flex;align-items:center;gap:12px;color:var(--dark);text-decoration:none;font-size:14px;letter-spacing:2px;line-height:1.6}.logo img{width:48px;height:48px;object-fit:contain}.logo small{display:block;color:var(--gold);font-size:10px;letter-spacing:4px}.navigation{display:flex;flex-wrap:wrap;gap:25px}.navigation a{text-decoration:none;color:var(--dark);font-size:13px}.navigation a:hover{color:var(--gold)}.cart-button{border:1px solid var(--gold);color:var(--dark);background:transparent;padding:10px 16px;border-radius:4px;cursor:pointer}#cartCount{background:var(--gold);color:white;border-radius:50%;padding:2px 7px;margin-left:5px}.hero{min-height:540px;padding:90px 10%;display:flex;align-items:center;background:linear-gradient(90deg,rgba(247,243,236,.97),rgba(247,243,236,.72)),url("assets/hero.jpg") center/cover}.hero-content{max-width:650px}.eyebrow{color:var(--gold);letter-spacing:3px;font-size:11px;font-weight:700}h1,h2{font-family:"Playfair Display",serif;font-weight:400}.hero h1{font-size:clamp(38px,6vw,66px);line-height:1.15;margin:20px 0}.hero-content>p:not(.eyebrow){max-width:500px;color:var(--muted);line-height:1.8}.main-button{display:inline-block;background:var(--gold);color:white;border:none;border-radius:4px;padding:14px 24px;text-decoration:none;cursor:pointer}.main-button:hover{background:#92784a}.catalog-section{padding:85px 7%}.section-heading{text-align:center;max-width:650px;margin:0 auto 35px}.section-heading h2,.custom-section h2{font-size:42px;margin:12px 0}.section-heading>p:last-child{color:var(--muted);line-height:1.7}.category-list{display:flex;justify-content:center;flex-wrap:wrap;gap:10px;margin:35px 0}.category-chip{border:1px solid var(--border);background:transparent;padding:10px 16px;border-radius:30px;cursor:pointer;color:var(--dark)}.category-chip.active,.category-chip:hover{background:var(--gold);border-color:var(--gold);color:white}.product-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:20px}.product-card{background:white;border:1px solid var(--border);border-radius:8px;overflow:hidden}.product-photo-wrap{position:relative;background:var(--cream)}.product-image{width:100%;aspect-ratio:4/5;object-fit:cover;display:block}.product-badge{position:absolute;top:14px;left:14px;padding:7px 11px;background:rgba(255,254,250,.94);color:var(--gold);font-size:11px;border-radius:3px}.product-info{padding:20px}.product-info h3{font-family:"Playfair Display",serif;font-weight:400;font-size:22px;margin:0 0 10px}.product-info p{color:var(--muted);font-size:13px;line-height:1.7;min-height:44px}.product-bottom{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-top:18px}.price{font-weight:700}.add-button{background:transparent;border:1px solid var(--gold);color:var(--gold);padding:9px 12px;cursor:pointer;border-radius:4px}.add-button:hover{background:var(--gold);color:white}.empty-catalog,.empty-cart{grid-column:1/-1;text-align:center;padding:35px;color:var(--muted)}.custom-section{background:var(--cream);padding:80px 7%}.custom-content{max-width:700px;margin:auto}.custom-content>p:not(.eyebrow){color:var(--muted);line-height:1.8}#customOrderForm,#checkoutForm{display:grid;gap:14px;margin-top:25px}#customOrderForm input,#customOrderForm textarea,#checkoutForm input{width:100%;padding:14px;border:1px solid var(--border);background:white;border-radius:4px}#customOrderForm textarea{min-height:120px;resize:vertical}.form-status{color:var(--muted);font-size:13px;line-height:1.5}.footer{padding:35px 20px;text-align:center;background:#38332d;color:white;font-size:12px;letter-spacing:1px}.footer p+p{color:#c6b99f}.modal{display:none;position:fixed;inset:0;z-index:30;background:rgba(0,0,0,.45);padding:20px;overflow-y:auto}.modal-content{background:var(--white);max-width:520px;width:100%;margin:50px auto;padding:30px;border-radius:8px;position:relative}.modal-content h2{font-size:30px}.close-button{position:absolute;top:12px;right:18px;border:0;background:none;font-size:30px;cursor:pointer}.cart-row{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:14px 0;border-bottom:1px solid var(--border)}.cart-product-name{font-weight:600}.cart-item-controls{display:flex;align-items:center;gap:8px}.cart-item-controls button{border:1px solid var(--border);background:white;padding:5px 9px;cursor:pointer}#cartTotal{font-weight:700;text-align:right;margin:20px 0}.admin-wrapper{max-width:1100px;margin:auto;padding:40px 20px}.admin-top{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:20px;margin-bottom:35px}.admin-top h1{font-size:30px;font-weight:400;margin:0}.admin-top p{color:var(--muted);margin-top:10px}.admin-back{text-decoration:none;color:#76603d;border:1px solid #cbb88b;padding:12px 20px;border-radius:6px}.admin-card{background:white;border:1px solid var(--border);border-radius:12px;padding:25px;margin-bottom:25px}.admin-card h2{font-weight:400;margin:0 0 22px}.admin-form{display:grid;grid-template-columns:1fr 1fr;gap:18px}.admin-form label{display:block;font-size:14px;color:#716756;margin-bottom:8px}.admin-form input,.admin-form select,.admin-form textarea{width:100%;padding:12px;border:1px solid #e3d9ca;border-radius:6px;background:#fffdfa}.admin-form textarea{min-height:100px;resize:vertical}.full-width{grid-column:1/-1}.admin-button{border:none;background:var(--gold);color:white;padding:13px 22px;border-radius:6px;cursor:pointer;font-size:15px}.admin-button:hover{background:#92784a}.admin-table{width:100%;border-collapse:collapse}.admin-table th,.admin-table td{padding:14px 10px;border-bottom:1px solid #eee6da;text-align:left}.admin-table th{color:var(--muted);font-weight:400;font-size:14px}.admin-status{color:#72825e}.admin-note{background:#f9f4e9;border-left:3px solid #b49a68;padding:15px;color:#766a57;line-height:1.6;font-size:14px}@media(max-width:850px){.header{flex-wrap:wrap}.navigation{order:3;width:100%;justify-content:center}.product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:650px){.admin-form{grid-template-columns:1fr}.admin-wrapper{padding:22px 12px}.admin-card{padding:17px}.admin-table{font-size:13px}.admin-table th,.admin-table td{padding:10px 5px}}@media(max-width:560px){.hero{min-height:430px;padding:65px 7%}.catalog-section{padding:60px 5%}.product-grid{grid-template-columns:1fr}.section-heading h2,.custom-section h2{font-size:34px}.navigation{gap:12px}.navigation a{font-size:12px}.modal-content{padding:25px 18px}}

/* Оновлена головна сторінка: текст ліворуч, фото праворуч */
html{scroll-padding-top:110px}
.logo img{width:64px;height:64px;object-fit:cover;border-radius:7px}
.hero{display:grid;grid-template-columns:minmax(0,0.9fr) minmax(0,1.1fr);align-items:center;gap:5%;min-height:590px;padding:60px 6%;background:var(--cream)}
.hero-content{max-width:600px}
.hero h1{font-size:clamp(36px,4.5vw,64px);line-height:1.14}
.hero-visual{min-width:0;overflow:hidden;border-radius:14px;box-shadow:0 22px 55px rgba(80,62,37,.12)}
.hero-visual img{display:block;width:100%;height:465px;object-fit:cover;object-position:center}
.about-section{display:grid;grid-template-columns:1fr 1fr;gap:7%;align-items:center;padding:90px 8%;background:#fffefa}
.about-photo{min-height:340px;border:1px solid var(--border);border-radius:12px;background:linear-gradient(135deg,#f5efe4,#e9dfcf);display:flex;align-items:center;justify-content:center;color:var(--muted);letter-spacing:1px}
.about-content h2{font-size:42px;margin:12px 0 22px}
.about-content p:not(.eyebrow){line-height:1.85;color:var(--muted)}
@media(max-width:900px){.hero{gap:24px;padding:55px 5%}.hero-visual img{height:380px}.logo img{width:54px;height:54px}}
@media(max-width:650px){.hero{grid-template-columns:1fr;padding:55px 6% 45px;gap:30px}.hero h1{font-size:clamp(36px,9vw,48px)}.hero-visual img{height:auto;aspect-ratio:16/10;object-fit:cover}.about-section{grid-template-columns:1fr;padding:65px 6%;gap:30px}.about-photo{min-height:240px}.about-content h2{font-size:34px}.logo{font-size:11px;letter-spacing:1px}.logo small{letter-spacing:2px}}


/* PRODUCT_PHOTO_VIEWER */
.photo-viewer[hidden] {
  display: none;
}

.photo-viewer {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(25, 22, 19, 0.92);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 55px 20px 25px;
}

.photo-viewer img {
  display: block;
  max-width: 95%;
  max-height: 90%;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 8px;
}

#closeProductPhoto {
  position: absolute;
  top: 15px;
  right: 25px;
  border: none;
  background: transparent;
  color: white;
  font-size: 42px;
  cursor: pointer;
}

.product-image {
  cursor: zoom-in;
}

/* PRODUCT_PHOTO_ARROWS */
#previousProductPhoto,
#nextProductPhoto {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 46px;
  height: 46px;
  border: none;
  border-radius: 50%;
  background: rgba(255,255,255,0.9);
  color: #333;
  font-size: 25px;
  cursor: pointer;
}

#previousProductPhoto { left: 12px; }
#nextProductPhoto { right: 12px; }

#previousProductPhoto[hidden],
#nextProductPhoto[hidden] {
  display: none;
}


/* SINGLE_PRODUCT_PAGE */
body:has(#productDetails) #productDetails {
  max-width: 1100px;
  margin: 36px auto 0;
  padding: 30px;
  background: #fffdf9;
  border-radius: 18px;
}

body:has(#productDetails) #productDetails h1 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(28px, 4vw, 44px);
  margin: 24px 0 12px;
}

body:has(#productDetails) #productDetails > p {
  font-size: 18px;
  line-height: 1.7;
}

body:has(#productDetails) #productDetails > p:first-of-type {
  font-size: 26px;
  font-weight: 700;
  color: #8b654a;
}

body:has(#productDetails) button {
  padding: 11px 15px;
  border: 1px solid #c9bea8;
  border-radius: 10px;
  background: #fffaf1;
  color: #594735;
  cursor: pointer;
}

body:has(#productDetails) button:hover {
  background: #f1e7d7;
}

@media (max-width: 600px) {
  body:has(#productDetails) #productDetails {
    padding: 16px;
    margin-top: 20px;
  }

  body:has(#productDetails) button {
    padding: 9px;
    font-size: 12px;
  }
}


/* PRODUCT_TWO_COLUMNS */
body:has(#productDetails) #productDetails:has(.product-gallery) {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: start;
  gap: 48px;
}

body:has(#productDetails) .product-gallery {
  width: 100%;
  max-width: 480px;
  margin: 0;
}

body:has(#productDetails) .product-information {
  min-width: 0;
  padding-top: 12px;
}

body:has(#productDetails) .product-information h1 {
  margin-top: 0;
}

body:has(#productDetails) .product-information p {
  font-size: 18px;
  line-height: 1.7;
}

body:has(#productDetails) .product-information p:first-of-type {
  font-size: 26px;
  font-weight: 700;
  color: #8b654a;
}

@media (max-width: 700px) {
  body:has(#productDetails) #productDetails:has(.product-gallery) {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  body:has(#productDetails) .product-information {
    padding-top: 0;
  }
}

/* ELEGANT_PRODUCT_LINK */
.product-detail-link,
.product-detail-link:visited {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

.product-detail-link:hover {
  color: #b39155;
}

.product-detail-link:focus-visible {
  outline: 2px solid #b39155;
  outline-offset: 4px;
}

/* ELEGANT_PRODUCT_BUTTON */
.product-card .product-bottom {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 12px;
}

.product-card .price {
  font-size: 17px;
  color: var(--dark);
}

.product-card .add-button {
  width: 100%;
  min-height: 42px;
  background: var(--gold);
  color: white;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
}

.product-card .add-button:hover {
  background: #92784a;
}

/* ALIGNED_PRODUCT_CARDS */
.product-card {
  display: flex;
  flex-direction: column;
}

.product-card .product-info {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-card .product-bottom {
  margin-top: auto;
  padding-top: 18px;
}

/* ELEGANT_PRODUCT_HOVER */
.product-card {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

@media (hover: hover) {
  .product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(80, 62, 37, 0.10);
  }
}

@media (prefers-reduced-motion: reduce) {
  .product-card {
    transition: none;
  }
}

/* COMPACT_PRODUCT_GALLERY */
@media (min-width: 701px) {
  body:has(#productDetails) .product-gallery {
    max-width: 400px;
  }
}

/* SMALLER_PRODUCT_GALLERY */
@media (min-width: 701px) {
  body:has(#productDetails) .product-gallery {
    max-width: 280px;
  }
}

/* COMPACT_PRODUCT_PHOTO_CONTROLS */
body:has(#productDetails) .product-gallery > div {
  gap: 6px;
}

body:has(#productDetails) .product-gallery button {
  padding: 8px 6px;
  font-size: 11px;
  line-height: 1.2;
  border-radius: 6px;
  flex: 1;
}

body:has(#productDetails) .product-gallery span {
  font-size: 12px;
  white-space: nowrap;
  flex-shrink: 0;
}

/* PRODUCT_PAGE_MOVE_UP */
@media (min-width: 701px) {
  body:has(#productDetails) .catalog-section {
    padding-top: 55px;
  }

  body:has(#productDetails) #productDetails {
    margin-top: 15px;
  }
}

/* ELEGANT_PRODUCT_BACK_LINK */
body:has(#productDetails) .catalog-section > a,
body:has(#productDetails) .catalog-section > a:visited {
  color: #92784a;
  text-decoration: none;
  font-weight: 500;
}

body:has(#productDetails) .catalog-section > a:hover {
  text-decoration: underline;
}


/* GOLDEN_HANDS_CATALOG_REDESIGN_V1 */

/* П'ять колонок на широкому екрані */
.product-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 20px;
  align-items: stretch;
}

/* Картки однакової висоти */
.product-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  height: 100%;
  overflow: hidden;
}

/* Однакові пропорції фотографій */
.product-card .product-photo-wrap {
  width: 100%;
  aspect-ratio: 4 / 5;
  overflow: hidden;
}

.product-card .product-image {
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  object-fit: cover;
}

/* Назва, ціна та кнопка */
.product-card .product-info {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
  padding: 16px 14px;
}

.product-card .product-info h3 {
  font-size: 18px;
  line-height: 1.35;
  margin: 0 0 12px;
  overflow-wrap: anywhere;
}

.product-card .product-bottom {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 12px;
  margin-top: auto;
  padding-top: 10px;
}

.product-card .price {
  font-size: 17px;
  font-weight: 700;
}

.product-card .add-button {
  width: 100%;
  min-height: 44px;
  padding: 10px 8px;
  border-radius: 6px;
  background: var(--gold);
  color: white;
  font-weight: 600;
}

.product-card .add-button:hover {
  background: #92784a;
}

/* Планшети */
@media (min-width: 701px) and (max-width: 1100px) {
  .product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* Телефони */
@media (max-width: 700px) {
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .product-card .product-info {
    padding: 12px 10px;
  }

  .product-card .product-info h3 {
    font-size: 16px;
  }

  .product-card .price {
    font-size: 15px;
  }

  .product-card .add-button {
    font-size: 12px;
  }
}

/* Дуже вузькі екрани */
@media (max-width: 340px) {
  .product-grid {
    grid-template-columns: 1fr;
  }
}


/* GOLDEN_HANDS_CATEGORY_UPDATE_V2 */
.category-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 25px 0 35px;
}
.category-chip {
  padding: 10px 17px;
  white-space: nowrap;
  font-size: 13px;
}
.category-chip:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}
@media (max-width: 700px) {
  .category-list {
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: auto;
    padding: 4px 2px 12px;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
  }
  .category-chip {
    flex: 0 0 auto;
    scroll-snap-align: start;
  }
}


/* GOLDEN_HANDS_HERO_SLIDER_V1 */

.hero-slider {
  position: relative;
}

.hero-slider #siteHeroImage {
  width: 100%;
  display: block;
}

.hero-slide-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 42px;
  height: 42px;
  border: none;
  border-radius: 50%;
  background: rgba(255,254,250,.9);
  color: #574631;
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 3px 12px rgba(0,0,0,.12);
}

.hero-slide-arrow:hover {
  background: #fff;
}

.hero-slide-prev {
  left: 12px;
}

.hero-slide-next {
  right: 12px;
}

.hero-slide-dots {
  position: absolute;
  z-index: 2;
  bottom: 16px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 9px;
}

.hero-slide-dots button {
  width: 11px;
  height: 11px;
  padding: 0;
  border: 1px solid #fff;
  border-radius: 50%;
  background: rgba(255,255,255,.45);
  cursor: pointer;
}

.hero-slide-dots button[aria-current="true"] {
  background: #fff;
}

.hero-slide-arrow:focus-visible,
.hero-slide-dots button:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

.hero-slide-arrow[hidden],
.hero-slide-dots[hidden] {
  display: none;
}

@media (max-width: 650px) {
  .hero-slide-arrow {
    width: 36px;
    height: 36px;
    font-size: 25px;
  }
}

/* GOLDEN_HANDS_HERO_SLIDER_PHOTO_FIX */
.hero-slider {
  background: #f7f3ec;
}

.hero-slider #siteHeroImage {
  width: 100%;
  height: 465px;
  object-fit: contain;
  object-position: center;
}

@media (max-width: 900px) {
  .hero-slider #siteHeroImage {
    height: 380px;
  }
}

@media (max-width: 650px) {
  .hero-slider #siteHeroImage {
    height: 320px;
  }
}


/* GOLDEN_HANDS_ABOUT_REDESIGN_V1 */

.about-section {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  align-items: center;
  gap: clamp(28px, 5vw, 75px);
  padding: 75px 7%;
}

.about-photo {
  width: 100%;
  min-height: 0;
  aspect-ratio: 4 / 4;
  overflow: hidden;
  border-radius: 14px;
}

.about-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
}

.about-content {
  min-width: 0;
  max-width: 570px;
}

.about-content h2 {
  font-size: clamp(32px, 3.4vw, 44px);
  line-height: 1.2;
  margin: 12px 0 22px;
}

.about-content p:not(.eyebrow) {
  font-size: 16px;
  line-height: 1.75;
  color: var(--muted);
}

@media (max-width: 750px) {
  .about-section {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 55px 6%;
  }

  .about-photo {
    max-width: 520px;
    margin: 0 auto;
  }

  .about-content {
    max-width: 620px;
    margin: 0 auto;
    width: 100%;
  }

  .about-content p:not(.eyebrow) {
    font-size: 15px;
    line-height: 1.7;
  }
}


/* GOLDEN_HANDS_COMPACT_BADGE */
.product-card .product-badge {
  display: inline-flex;
  align-items: center;
  position: absolute;
  top: 8px;
  left: 8px;
  max-width: calc(100% - 16px);
  padding: 4px 7px;
  border-radius: 5px;
  background: rgba(255, 254, 250, 0.94);
  color: #8b7044;
  font-size: 9px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  z-index: 1;
}

.product-card .product-badge::before {
  content: "✦";
  margin-right: 4px;
  color: #ad925e;
}

@media (max-width: 700px) {
  .product-card .product-badge {
    top: 5px;
    left: 5px;
    padding: 3px 5px;
    font-size: 8px;
  }
}


/* Поля оформлення замовлення не виходять за межі кошика */
#checkoutForm {
  min-width: 0;
}
#checkoutForm input,
#checkoutForm select,
#checkoutForm #buyerAddressFields {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
}


/* Компактний кошик GOLDEN HANDS */
#cartModal .modal-content {
  max-width: 460px;
  padding: 22px 24px;
  margin: 20px auto;
}
#cartModal .modal-content h2 {
  margin: 0 0 12px;
  font-size: 27px;
}
#cartModal #checkoutForm {
  gap: 9px;
  margin-top: 14px;
}
#cartModal #checkoutForm input,
#cartModal #checkoutForm select {
  padding: 10px 12px;
}
#cartModal #cartTotal {
  margin: 12px 0;
}
#cartModal .cart-row {
  padding: 9px 0;
}
#cartModal .main-button {
  padding: 11px 18px;
}
@media (max-width: 560px) {
  #cartModal .modal-content {
    padding: 20px 16px;
    margin: 8px auto;
  }
}


/* Приховуємо окремий пошук відділень у кошику */
#cartModal #buyerWarehouseSearch {
  display: none !important;
}

/* Міжнародний номер телефону */
#cartModal .phone-field {
  position: relative;
  width: 100%;
}

#cartModal .phone-prefix {
  position: absolute;
  left: 13px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 16px;
  font-weight: 600;
  pointer-events: none;
}

#cartModal .phone-field input {
  width: 100%;
  box-sizing: border-box;
  padding-left: 28px !important;
}

/* Компактні та гармонійні відступи між блоками */
.catalog-section {
  padding-top: 48px;
  padding-bottom: 48px;
}

.about-section {
  padding-top: 48px;
  padding-bottom: 48px;
}

.custom-section {
  padding-top: 48px;
  padding-bottom: 48px;
}

.section-heading {
  margin-bottom: 24px;
}

.category-list {
  margin-top: 22px;
  margin-bottom: 25px;
}

@media (max-width: 560px) {
  .catalog-section,
  .about-section,
  .custom-section {
    padding-top: 35px;
    padding-bottom: 35px;
  }
}

/* Однаковий фон банера та полів навколо фото */
.hero {
  background: #f7f3ec;
}

.hero-slider {
  background: #f7f3ec;
}

/* Прозорі поля навколо фото */
.hero-slider {
  background: transparent !important;
}

/* Єдиний фон для полів навколо фотографій */
.hero-visual,
.hero-slider,
.product-image,
.product-card img {
  background-color: #f7f3ec !important;
}

.hero-visual {
  background: #f7f3ec !important;
}

/* Єдиний кремовий фон усієї рамки слайдера */
.hero .hero-visual,
.hero .hero-slider,
.hero .hero-slider #siteHeroImage {
  background: #f7f3ec !important;
}

/* Фотографії без окремої світлої рамки */
.hero .hero-visual,
.hero .hero-slider {
  background: transparent !important;
  box-shadow: none !important;
  border: none !important;
}

.hero .hero-slider #siteHeroImage {
  background: transparent !important;
}

/* Витончені кнопки категорій каталогу */
.category-list {
  gap: 8px;
  margin: 20px auto 26px;
  max-width: 1100px;
}

.category-chip {
  padding: 9px 14px;
  font-size: 13px;
  border: 1px solid #e4d8c4;
  border-radius: 8px;
  background: #fffefa;
  transition: background .2s, border-color .2s;
}

.category-chip:hover {
  background: #f7f3ec;
  border-color: #b49a68;
}

.category-chip.active,
.category-chip[aria-pressed="true"] {
  background: #b49a68;
  color: white;
  border-color: #b49a68;
}

/* Категорії в один ряд із початковим дизайном */
.category-list {
  display: flex;
  flex-wrap: nowrap;
  justify-content: flex-start;
  gap: 10px;
  max-width: none;
  width: 100%;
  overflow-x: auto;
  padding-bottom: 8px;
  scrollbar-width: thin;
}

.category-chip {
  flex: 0 0 auto;
  padding: 10px 16px;
  font-size: inherit;
  border-radius: 30px;
}

/* Усі категорії в один ряд, довгі назви у два рядки */
.category-list {
  display: grid !important;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 8px;
  width: 100%;
  max-width: none;
  overflow: visible;
  align-items: stretch;
}

.category-chip {
  width: 100%;
  min-width: 0;
  padding: 10px 6px;
  font-size: 13px;
  line-height: 1.35;
  white-space: normal;
  overflow-wrap: normal;
  border-radius: 30px;
  text-align: center;
}

@media (max-width: 700px) {
  .category-list {
    display: flex !important;
    flex-wrap: nowrap;
    overflow-x: auto;
  }
  .category-chip {
    flex: 0 0 130px;
  }
}

/* Більший текст категорій без зміни розташування */
.category-list {
  gap: 6px;
}

.category-chip {
  font-size: 16px !important;
  font-weight: 500;
  line-height: 1.25;
  padding: 12px 5px;
}

/* Компактніший головний банер */
@media (min-width: 901px) {
  .hero {
    min-height: 470px !important;
    padding-top: 30px !important;
    padding-bottom: 30px !important;
  }

  .hero-slider #siteHeroImage {
    height: 390px !important;
  }
}

/* Меню ближче до кошика */
@media (min-width: 901px) {
  .header .navigation {
    margin-left: auto;
    justify-content: flex-end;
    gap: 20px;
  }
}

/* Красивий розділ контактів */
#contacts {
  scroll-margin-top: 110px;
  padding: 55px 20px 35px;
  text-align: center;
}

.contacts-heading {
  margin-bottom: 28px;
}

.contacts-heading p {
  font-size: 12px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #c9bea8;
  margin-bottom: 12px;
}

.contacts-heading h2 {
  font-family: "Playfair Display", serif;
  font-size: clamp(28px, 4vw, 38px);
  font-weight: 500;
  margin: 0;
}

#contacts > p {
  margin-bottom: 12px;
}

/* Приховуємо повтор назви у контактах */
#contacts #siteFooterName { display: none; }

/* Зручний розмір контактів */
#contacts #siteContactPhone,
#contacts #siteContactEmail,
#contacts #siteInstagram,
#contacts #siteFacebook {
  font-size: 16px;
  line-height: 1.7;
  margin: 14px 0;
}

#contacts #siteContactPhone a,
#contacts #siteContactEmail a,
#contacts #siteInstagram a,
#contacts #siteFacebook a {
  display: inline-block;
  padding: 4px 8px;
}

/* Форма замовлення та контакти поруч */
@media (min-width: 901px) {
  .custom-section {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: center;
    gap: 60px;
  }

  .custom-content {
    width: 100%;
    max-width: 700px;
  }

  .custom-contacts {
    width: 100%;
    text-align: left;
  }
}

/* Контакти на телефоні */
@media (max-width: 900px) {
  .custom-contacts {
    padding: 35px 0 0;
    text-align: center;
  }
}

/* Контакти поруч із формою */
#contacts.custom-contacts {
  padding: 0;
  text-align: left;
  scroll-margin-top: 120px;
}

#contacts.custom-contacts .contacts-heading p {
  color: #af9460;
}

#contacts.custom-contacts .contacts-heading h2 {
  color: #38332d;
}

#contacts.custom-contacts #siteContactPhone,
#contacts.custom-contacts #siteContactEmail,
#contacts.custom-contacts #siteInstagram,
#contacts.custom-contacts #siteFacebook,
#contacts.custom-contacts a,
#contacts.custom-contacts a:visited {
  color: #38332d;
}

#contacts.custom-contacts a:hover {
  color: #af9460;
}

/* Значки соціальних мереж */
#contacts.custom-contacts #siteInstagram,
#contacts.custom-contacts #siteFacebook {
  display: inline-block;
  margin: 12px 8px 0 0;
}

#contacts.custom-contacts #siteInstagram[hidden],
#contacts.custom-contacts #siteFacebook[hidden] {
  display: none;
}

#contacts.custom-contacts #siteInstagram a,
#contacts.custom-contacts #siteFacebook a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  color: #38332d;
}

#contacts.custom-contacts svg {
  width: 32px;
  height: 32px;
}

/* Telegram і Viber поруч із соціальними мережами */
#contacts.custom-contacts #siteTelegram,
#contacts.custom-contacts #siteViber {
  display: inline-block;
  margin: 12px 8px 0 0;
}
#contacts.custom-contacts #siteViber[hidden] {
  display: none;
}
#contacts.custom-contacts #siteTelegram a,
#contacts.custom-contacts #siteViber a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  color: #38332d;
}
#contacts.custom-contacts #siteTelegram a:hover,
#contacts.custom-contacts #siteViber a:hover {
  color: #af9460;
}

/* Іконки телефону та пошти */

#contacts.custom-contacts #siteContactPhone a {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

#contacts.custom-contacts #siteContactPhone a::before {
  content: "";
  width: 25px;
  height: 25px;
  flex-shrink: 0;
  background: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%0A%20%20%20%20fill%3D%22none%22%20stroke%3D%22%2338332d%22%20stroke-width%3D%222%22%0A%20%20%20%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%0A%20%20%20%20%3Cpath%20d%3D%22M22%2016.92v3a2%202%200%200%201-2.18%202%0A%20%20%20%2019.79%2019.79%200%200%201-8.63-3.07%0A%20%20%20%2019.5%2019.5%200%200%201-6-6%0A%20%20%20%2019.79%2019.79%200%200%201-3.07-8.63%0A%20%20%20%20A2%202%200%200%201%204.11%202h3%0A%20%20%20%20a2%202%200%200%201%202%201.72%0A%20%20%20%20c.12.96.34%201.9.66%202.81%0A%20%20%20%20a2%202%200%200%201-.45%202.11L8.05%209.91%0A%20%20%20%20a16%2016%200%200%200%206%206l1.27-1.27%0A%20%20%20%20a2%202%200%200%201%202.11-.45%0A%20%20%20%20c.91.32%201.85.54%202.81.66%0A%20%20%20%20A2%202%200%200%201%2022%2016.92z%22/%3E%0A%20%20%20%20%3C/svg%3E") center / contain no-repeat;
}

#contacts.custom-contacts #siteContactEmail a {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

#contacts.custom-contacts #siteContactEmail a::before {
  content: "";
  width: 25px;
  height: 25px;
  flex-shrink: 0;
  background: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%0A%20%20%20%20fill%3D%22none%22%20stroke%3D%22%2338332d%22%20stroke-width%3D%222%22%0A%20%20%20%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%0A%20%20%20%20%3Crect%20x%3D%222%22%20y%3D%224%22%20width%3D%2220%22%20height%3D%2216%22%20rx%3D%222%22/%3E%0A%20%20%20%20%3Cpath%20d%3D%22m22%207-10%207L2%207%22/%3E%0A%20%20%20%20%3C/svg%3E") center / contain no-repeat;
}

/* Компактне меню на телефоні */
@media (max-width: 600px) {
  .header {
    min-height: 0;
    padding: 9px 4%;
    gap: 8px 12px;
  }

  .header .logo {
    gap: 8px;
    font-size: 10px;
    letter-spacing: 0.8px;
  }

  .header .logo img {
    width: 42px;
    height: 42px;
  }

  .header .logo small {
    font-size: 8px;
    letter-spacing: 1.5px;
  }

  .header .cart-button {
    padding: 7px 10px;
    font-size: 13px;
  }

  .header .navigation {
    gap: 6px 14px;
    padding-top: 3px;
    line-height: 1.3;
  }

  .header .navigation a {
    font-size: 12px;
  }
}

/* Компактне меню на телефоні */
@media (max-width: 600px) {
  .header {
    min-height: 0;
    padding: 9px 4%;
    gap: 8px 12px;
  }

  .header .logo {
    gap: 8px;
    font-size: 10px;
    letter-spacing: 0.8px;
  }

  .header .logo img {
    width: 42px;
    height: 42px;
  }

  .header .logo small {
    font-size: 8px;
    letter-spacing: 1.5px;
  }

  .header .cart-button {
    padding: 7px 10px;
    font-size: 13px;
  }

  .header .navigation {
    gap: 6px 14px;
    padding-top: 3px;
    line-height: 1.3;
  }

  .header .navigation a {
    font-size: 12px;
  }
}


/* Компактне мобільне меню біля кошика */
.mobile-menu { display: none; }

@media (max-width: 600px) {
  .header {
    flex-wrap: nowrap;
    gap: 8px;
    padding: 9px 3%;
  }

  .header .navigation { display: none; }

  .header .logo {
    flex: 1 1 auto;
    min-width: 0;
    gap: 6px;
  }

  .header .logo img {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
  }

  .header .logo span {
    font-size: 9px;
    letter-spacing: 0.4px;
  }

  .mobile-menu {
    display: block;
    position: relative;
    order: 1;
    flex-shrink: 0;
  }

  .mobile-menu summary {
    cursor: pointer;
    list-style: none;
    padding: 8px 10px;
    border: 1px solid var(--gold);
    border-radius: 4px;
    font-size: 13px;
    color: var(--dark);
  }

  .mobile-menu summary::-webkit-details-marker {
    display: none;
  }

  .mobile-menu-links {
    position: absolute;
    right: 0;
    top: calc(100% + 10px);
    z-index: 30;
    width: 245px;
    padding: 8px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 6px;
    box-shadow: 0 8px 22px #0002;
    display: flex;
    flex-direction: column;
    gap: 0;
  }

  .mobile-menu-links a {
    display: block;
    padding: 12px;
    font-size: 14px;
    color: var(--dark);
    text-decoration: none;
  }

  .mobile-menu-links a:hover {
    background: var(--cream);
  }

  .header .cart-button {
    order: 2;
    flex-shrink: 0;
    padding: 8px;
    font-size: 12px;
  }
}

@media (max-width: 370px) {
  .mobile-menu summary span { display: none; }
}

/* Менша відстань між мобільним меню та головним заголовком */
@media (max-width: 600px) {
  .hero#home {
    padding-top: 28px !important;
  }
}

/* Компактний каталог на телефоні */
@media (max-width: 600px) {
  #categoryList {
    display: none !important;
  }

  #productList {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  #productList > * {
    min-width: 0;
  }

  #productList img {
    height: 150px;
    object-fit: cover;
  }

  .catalog-section {
    padding-left: 4%;
    padding-right: 4%;
  }
}

/* Центрування значків соцмереж на телефоні */
@media (max-width: 600px) {
  #contacts.custom-contacts #siteInstagram,
  #contacts.custom-contacts #siteFacebook,
  #contacts.custom-contacts #siteTelegram,
  #contacts.custom-contacts #siteViber {
    position: relative;
    left: 50%;
    transform: translateX(-200%);
    margin: 12px 0 0;
    width: 48px;
    text-align: center;
  }

  #contacts.custom-contacts #siteInstagram {
    margin-left: -72px;
  }

  #contacts.custom-contacts #siteFacebook {
    margin-left: -24px;
  }

  #contacts.custom-contacts #siteTelegram {
    margin-left: 24px;
  }

  #contacts.custom-contacts #siteViber {
    margin-left: 72px;
  }
}

/* Рівномірне центрування чотирьох значків */
@media (max-width: 600px) {
  #contacts.custom-contacts {
    text-align: left;
  }

  #contacts.custom-contacts #siteInstagram,
  #contacts.custom-contacts #siteFacebook,
  #contacts.custom-contacts #siteTelegram,
  #contacts.custom-contacts #siteViber {
    position: static;
    left: auto;
    transform: none;
    margin: 20px 8px 0 !important;
    width: 48px;
    vertical-align: middle;
  }

  #contacts.custom-contacts #siteInstagram {
    margin-left: max(0px, calc((100% - 256px) / 2)) !important;
  }
}

/* Менший відступ перед контактами на телефоні */
@media (max-width: 600px) {
  #contacts.custom-contacts {
    padding-top: 0 !important;
    margin-top: -20px;
  }
}

/* Напис «ЗНАЙОМСТВО З АВТОРКОЮ» над фото на телефоні */
@media (max-width: 600px) {
  .about-section {
    display: flex;
    flex-direction: column;
  }

  .about-content {
    display: contents;
  }

  .about-content > .eyebrow {
    order: 1;
    margin-bottom: 16px;
    text-align: center;
  }

  .about-photo {
    order: 2;
  }

  .about-content > h2 {
    order: 3;
  }

  .about-content > #siteAboutText {
    order: 4;
  }
}

/* Компактний блок «Про майстриню» на телефоні */
@media (max-width: 600px) {
  .about-section {
    padding-top: 25px !important;
    padding-bottom: 25px !important;
    gap: 0 !important;
  }

  .about-content > .eyebrow {
    margin: 0 0 14px !important;
  }

  .about-photo {
    margin: 0 0 18px !important;
  }

  .about-content > h2 {
    margin: 0 0 12px !important;
  }

  .about-content > #siteAboutText {
    margin-top: 0 !important;
  }
}

/* Центрування напису над фото майстрині */
@media (max-width: 600px) {
  .about-content > .eyebrow {
    width: 100%;
    min-height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin: 0 0 8px !important;
    padding: 0 !important;
  }
}

/* Компактний перехід від каталогу до майстрині */
@media (max-width: 600px) {
  .catalog-section {
    padding-bottom: 15px !important;
  }

  .about-section {
    padding-top: 10px !important;
  }

  .about-content > .eyebrow {
    width: 100%;
    min-height: 36px !important;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin: 0 0 10px !important;
  }
}

/* Напис над фото майстрині — трохи вище */
@media (max-width: 600px) {
  .about-content > .eyebrow {
    position: relative;
    top: -10px;
    width: 100%;
    text-align: center;
    justify-content: center;
    align-items: center;
  }
}

/* Трохи більший напис над фото майстрині */
@media (max-width: 600px) {
  .about-content > .eyebrow {
    font-size: 15px !important;
    letter-spacing: 3px;
  }
}

/* Правильні пропорції фотографій у мобільному каталозі */
@media (max-width: 600px) {
  #productList .product-image {
    width: 100%;
    height: auto !important;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    display: block;
  }
}

/* Компактні назви та ціни товарів на телефоні */
@media (max-width: 600px) {
  #productList .product-info {
    padding: 12px;
  }

  #productList .product-info h3 {
    margin-bottom: 4px;
  }

  #productList .product-info p {
    min-height: 0;
    margin-top: 4px;
    margin-bottom: 8px;
  }
}

/* Мінімальна відстань між назвою та ціною */
@media (max-width: 600px) {
  #productList .product-info h3 {
    margin-bottom: 0 !important;
  }

  #productList .product-info p {
    min-height: 0 !important;
    margin-top: 0 !important;
    margin-bottom: 3px !important;
  }
}


/* GOLDEN HANDS FOOTER */
.footer-inner{max-width:1200px;margin:auto;display:flex;align-items:center;justify-content:space-between;gap:30px;flex-wrap:wrap}
.footer-brand{display:flex;align-items:center;gap:20px}
.footer-logo-slot{width:80px;height:80px;flex-shrink:0;border:1px solid #b59a67;border-radius:12px;display:flex;align-items:center;justify-content:center;color:#d9c49d;font-family:Georgia,serif;font-size:34px}
.footer-message{font-size:20px!important;font-weight:600;line-height:1.4;text-align:left;margin:0}
.footer-legal{display:flex;flex-direction:column;gap:12px;text-align:left}
.footer-legal a{color:#f1e9dc;text-decoration:none;font-size:14px}
.footer-legal a:hover{text-decoration:underline}
@media(max-width:700px){
.footer-inner{flex-direction:column;align-items:center;text-align:center}
.footer-brand{flex-direction:column}
.footer-message{text-align:center}
.footer-legal{text-align:center}
}

/* Колір назви магазину у верхньому меню */
#siteBrandName { color: #B39455 !important; }
#siteBrandName small { color: #80602f !important; }

/* GOLDEN HANDS — footer refinement */
.footer-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 12px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 48px;
}

.footer .footer-brand {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  gap: 20px !important;
}

.footer .footer-brand img {
  width: 90px !important;
  max-width: 90px !important;
  height: auto;
}

.footer .footer-brand > div {
  gap: 4px !important;
}

.footer .footer-message {
  font-size: 15px !important;
  font-weight: 400 !important;
  line-height: 1.5;
  margin-top: 9px !important;
}

.footer .footer-legal {
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-align: left;
}

.footer .footer-legal a {
  font-size: 13px;
  font-weight: 500;
  line-height: 1.5;
}

@media (max-width: 700px) {
  .footer-inner {
    flex-direction: column;
    gap: 28px;
    align-items: center;
  }

  .footer .footer-brand {
    justify-content: center;
  }

  .footer .footer-brand img {
    width: 72px !important;
    max-width: 72px !important;
  }

  .footer .footer-legal {
    text-align: center;
    align-items: center;
  }
}

/* Розмір логотипа в підвалі */
.footer .footer-brand img { width: 110px !important; max-width: 110px !important; }
@media (max-width: 700px) { .footer .footer-brand img { width: 85px !important; max-width: 85px !important; } }

/* FOOTER — left alignment and brand position */
.footer .footer-inner {
  max-width: none !important;
  width: 100%;
  box-sizing: border-box;
  padding: 18px 32px 8px !important;
  margin: 0 !important;
  align-items: flex-end !important;
}

.footer .footer-brand {
  margin: 0 !important;
  align-items: center !important;
}

.footer .footer-brand > div {
  transform: translateY(10px);
}

.footer .footer-legal {
  margin-left: auto;
  align-self: flex-end;
}

@media (max-width: 700px) {
  .footer .footer-inner {
    padding: 20px 16px !important;
    align-items: flex-start !important;
    gap: 28px;
  }

  .footer .footer-brand > div {
    transform: translateY(6px);
  }

  .footer .footer-legal {
    margin-left: 0;
    align-self: flex-start;
    align-items: flex-start;
    text-align: left;
  }
}

/* Компактний підвал і більші юридичні посилання */
.footer {
  padding-top: 12px !important;
  padding-bottom: 12px !important;
}

.footer .footer-inner {
  padding-top: 4px !important;
  padding-bottom: 4px !important;
}

.footer .footer-legal a {
  font-size: 16px !important;
  line-height: 1.35;
}

.footer .footer-legal {
  gap: 8px !important;
}

@media (max-width: 700px) {
  .footer {
    padding-top: 16px !important;
    padding-bottom: 16px !important;
  }
  .footer .footer-legal a {
    font-size: 14px !important;
  }
}

/* Остаточне вирівнювання підвалу */
.footer .footer-inner {
  padding: 4px 60px !important;
  align-items: center !important;
}

.footer .footer-legal {
  align-self: center !important;
  margin-left: auto;
}

@media (max-width: 700px) {
  .footer .footer-inner {
    padding: 12px 20px !important;
    align-items: flex-start !important;
  }

  .footer .footer-legal {
    align-self: flex-start !important;
    margin-left: 0;
  }
}

.footer .footer-message { margin-top: 1px !important; }


/* FOOTER CONTACTS — THREE COLUMNS */
.footer .footer-inner {
  display: grid !important;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, 1fr);
  align-items: center !important;
  column-gap: 45px;
}

.footer .footer-contact-center {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 9px;
  text-align: left;
  color: #f1e9dc;
}

.footer .footer-contact-center h3 {
  margin: 0 0 5px;
  font-size: 19px;
  font-weight: 600;
}

.footer .footer-contact-center > a {
  color: #f1e9dc;
  text-decoration: none;
  font-size: 15px;
}

.footer .footer-social-icons {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 8px;
}

.footer .footer-social-icons a {
  color: #f1e9dc;
}

.footer .footer-social-icons svg {
  width: 23px;
  height: 23px;
}

.footer .footer-legal {
  margin-left: 0 !important;
  justify-self: end;
}

.custom-order-description {
  max-width: 480px;
  line-height: 1.7;
  margin: 12px 0;
}

@media (max-width: 850px) {
  .footer .footer-inner {
    grid-template-columns: 1fr !important;
    gap: 24px;
  }

  .footer .footer-contact-center,
  .footer .footer-legal {
    justify-self: start;
    align-self: start !important;
  }
}


/* Individual orders */
.custom-order-details {
  max-width: 560px;
  margin: 18px 0 0;
  text-align: left;
}
.custom-order-details p {
  margin: 0 0 12px;
  font-size: 15px;
  line-height: 1.65;
  letter-spacing: normal;
  text-transform: none;
  color: #51483f;
}
.custom-order-details strong {
  color: #9a7a43;
}
.footer .footer-social-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Збалансовані пропорції підвалу */
.footer .footer-inner {
  display: grid !important;
  grid-template-columns: 1.2fr 1fr 1.2fr !important;
  align-items: center !important;
  gap: 35px !important;
  padding: 18px 60px !important;
}

.footer .footer-brand {
  justify-self: start;
  align-self: center !important;
}

.footer .footer-brand > div {
  transform: none !important;
}

.footer .footer-contact-center {
  justify-self: center;
  align-self: center !important;
  gap: 7px;
}

.footer .footer-legal {
  justify-self: end !important;
  align-self: center !important;
}

.footer .footer-social-icons {
  gap: 20px !important;
  margin-top: 10px !important;
}

.footer .footer-social-icons svg {
  width: 26px !important;
  height: 26px !important;
}

.footer .footer-social-icons p {
  margin: 0 !important;
}

@media (max-width: 850px) {
  .footer .footer-inner {
    grid-template-columns: 1fr !important;
    padding: 20px !important;
    gap: 24px !important;
  }

  .footer .footer-brand,
  .footer .footer-contact-center,
  .footer .footer-legal {
    justify-self: start !important;
    align-self: center !important;
  }
}

/* Компактний підвал для телефонів */
@media (max-width: 700px) {
  .footer {
    padding: 12px 0 !important;
  }

  .footer .footer-inner {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 20px !important;
    padding: 12px 20px !important;
  }

  .footer .footer-brand {
    width: 100%;
    gap: 12px !important;
    align-items: center !important;
  }

  .footer .footer-brand img {
    width: 70px !important;
    max-width: 70px !important;
    flex-shrink: 0;
  }

  .footer .footer-brand > div {
    min-width: 0;
    gap: 3px !important;
  }

  .footer .footer-brand > div > div:first-child {
    font-size: 13px !important;
    letter-spacing: 1.5px !important;
  }

  .footer .footer-brand > div > div:nth-child(2) {
    font-size: 11px !important;
    letter-spacing: 2px !important;
  }

  .footer .footer-message {
    font-size: 12px !important;
    line-height: 1.4 !important;
    margin-top: 4px !important;
  }

  .footer .footer-contact-center {
    gap: 6px !important;
    width: 100%;
  }

  .footer .footer-contact-center h3 {
    font-size: 17px !important;
  }

  .footer .footer-contact-center > a {
    font-size: 13px !important;
    overflow-wrap: anywhere;
  }

  .footer .footer-social-icons {
    margin-top: 6px !important;
    gap: 20px !important;
  }

  .footer .footer-social-icons svg {
    width: 23px !important;
    height: 23px !important;
  }

  .footer .footer-legal {
    gap: 8px !important;
    width: 100%;
  }

  .footer .footer-legal a {
    font-size: 13px !important;
  }
}

/* Центрування підвалу на телефоні */
@media (max-width: 700px) {
  .footer .footer-inner {
    align-items: center !important;
    text-align: center !important;
  }

  .footer .footer-brand {
    justify-content: center !important;
    align-items: center !important;
  }

  .footer .footer-brand > div {
    align-items: flex-start !important;
    text-align: left !important;
  }

  .footer .footer-contact-center {
    align-items: center !important;
    justify-self: center !important;
    text-align: center !important;
  }

  .footer .footer-social-icons {
    justify-content: center !important;
  }

  .footer .footer-legal {
    align-items: center !important;
    justify-self: center !important;
    align-self: center !important;
    text-align: center !important;
  }

  .footer .footer-legal a {
    text-align: center !important;
  }
}

/* Симетричний мобільний підвал */
@media (max-width: 700px) {
  .footer .footer-brand {
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 8px !important;
    width: 100%;
  }

  .footer .footer-brand img {
    width: 76px !important;
    max-width: 76px !important;
  }

  .footer .footer-brand > div {
    align-items: center !important;
    text-align: center !important;
    transform: none !important;
  }

  .footer .footer-brand > div > div:first-child,
  .footer .footer-brand > div > div:nth-child(2),
  .footer .footer-message {
    text-align: center !important;
  }

  .footer .footer-contact-center,
  .footer .footer-legal {
    align-items: center !important;
    text-align: center !important;
    width: 100%;
  }

  .footer .footer-social-icons {
    justify-content: center !important;
    width: 100%;
  }
}

/* Міняємо місцями опис і форму індивідуального замовлення */
@media (min-width: 701px) {
  #custom .custom-grid {
    display: flex;
    flex-direction: row-reverse;
  }
}

/* Порядок блоків індивідуального замовлення */
#custom {
  display: flex;
  flex-direction: row-reverse;
}

#custom > * {
  flex: 1 1 0;
  min-width: 0;
}

@media (max-width: 700px) {
  #custom {
    flex-direction: column-reverse;
  }

  #custom > * {
    width: 100%;
  }
}

/* GOLDEN_HANDS_MOBILE_CATALOG_V1 */
.mobile-catalog {
  display: none;
}

@media (max-width: 600px) {
  .header .mobile-catalog {
    display: block;
    position: relative;
    flex: 0 0 auto;
    min-width: 0;
  }

  .mobile-catalog > summary {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    list-style: none;
    cursor: pointer;
    white-space: nowrap;
    padding: 9px 8px;
    border: 1px solid #b39455;
    border-radius: 5px;
    color: #493e2c;
    background: #fffdf9;
    font-size: 12px;
    line-height: 1;
  }

  .mobile-catalog > summary::-webkit-details-marker {
    display: none;
  }

  .mobile-catalog[open] > summary span {
    transform: rotate(180deg);
  }

  .mobile-catalog-links {
    position: absolute;
    top: calc(100% + 9px);
    left: 0;
    z-index: 1000;
    width: min(290px, calc(100vw - 24px));
    max-height: 65vh;
    overflow-y: auto;
    padding: 8px;
    background: #fffdf9;
    border: 1px solid #d9c8a8;
    border-radius: 10px;
    box-shadow: 0 12px 30px rgba(0,0,0,.13);
  }

  .mobile-catalog-links button {
    display: block;
    width: 100%;
    padding: 12px 10px;
    text-align: left;
    font: inherit;
    font-size: 13px;
    color: #493e2c;
    background: transparent;
    border: 0;
    border-radius: 6px;
    cursor: pointer;
  }

  .mobile-catalog-links button.active {
    color: #8a692f;
    background: #f5eddf;
    font-weight: 600;
  }

  .mobile-catalog-links button:focus-visible,
  .mobile-catalog > summary:focus-visible {
    outline: 2px solid #b39455;
    outline-offset: 2px;
  }

  .header .logo {
    min-width: 0;
  }
}

@media (max-width: 370px) {
  .mobile-catalog > summary {
    padding: 8px 5px;
    font-size: 11px;
  }
}

/* GOLDEN_HANDS_MOBILE_HEADER_BUTTONS_V2 */

@media (max-width: 600px) {

  .header {
    gap: 6px !important;
    padding-left: 10px !important;
    padding-right: 10px !important;
  }

  .header .logo {
    flex: 1 1 auto;
    min-width: 0;
  }

  .header .mobile-catalog,
  .header .mobile-menu,
  .header .cart-button {
    flex: 0 0 auto;
  }

  .header .mobile-catalog > summary,
  .header .mobile-menu > summary {
    height: 36px !important;
    min-height: 36px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 0 10px !important;
    border: 1px solid #d8c8ac !important;
    border-radius: 20px !important;
    background: #fffdf9 !important;
    color: #66543b !important;
    font-size: 12px !important;
    font-weight: 500;
    white-space: nowrap;
    box-shadow: none !important;
  }

  .header .cart-button {
    height: 36px !important;
    min-height: 36px;
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 0 10px !important;
    border: 1px solid #b39455 !important;
    border-radius: 20px !important;
    background: #b39455 !important;
    color: #ffffff !important;
    font-size: 12px !important;
    font-weight: 500;
    white-space: nowrap;
    box-shadow: none !important;
  }

  .header .cart-button #cartCount {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 19px;
    height: 19px;
    padding: 0 3px;
    border-radius: 50%;
    background: #ffffff !important;
    color: #947440 !important;
    font-size: 11px;
    box-sizing: border-box;
  }

  .header .mobile-catalog > summary:active,
  .header .mobile-menu > summary:active {
    background: #f3eadb !important;
  }

  .header .mobile-catalog[open] > summary,
  .header .mobile-menu[open] > summary {
    background: #f3eadb !important;
    border-color: #b39455 !important;
  }
}

@media (max-width: 390px) {
  .header {
    gap: 4px !important;
    padding-left: 7px !important;
    padding-right: 7px !important;
  }

  .header .mobile-catalog > summary,
  .header .mobile-menu > summary,
  .header .cart-button {
    padding-left: 7px !important;
    padding-right: 7px !important;
    font-size: 11px !important;
  }
}


/* GOLDEN_HANDS_MOBILE_ICONS_V3 */

.mobile-menu-icon,
.cart-icon {
  display: none;
}

@media (max-width: 600px) {

  .header .mobile-menu > summary {
    width: 38px !important;
    height: 38px !important;
    padding: 0 !important;
    border-radius: 50% !important;
  }

  .header .mobile-menu-icon {
    display: block;
    width: 20px;
    height: 20px;
  }

  .header .cart-button {
    width: auto !important;
    min-width: 54px;
    height: 38px !important;
    padding: 0 8px !important;
    border-radius: 22px !important;
    gap: 5px !important;
  }

  .header .cart-button-text {
    display: none !important;
  }

  .header .cart-icon {
    display: block;
    width: 19px;
    height: 19px;
    flex-shrink: 0;
  }

  .header .cart-button #cartCount {
    min-width: 17px;
    height: 17px;
    font-size: 10px;
  }
}

/* GOLDEN_HANDS_MOBILE_TEXT_ALIGNMENT_V1 */

@media (max-width: 600px) {

  /* Заголовок */
  .hero .hero-content h1 {
    text-align: left !important;
    text-wrap: balance;
    line-height: 1.12 !important;
    letter-spacing: -0.5px;
  }

  /* Основний опис */
  .hero .hero-content > p:not(.eyebrow) {
    text-align: justify !important;
    text-justify: inter-word;
    hyphens: auto;
    -webkit-hyphens: auto;
    overflow-wrap: break-word;
    line-height: 1.75 !important;
  }

  /* Підзаголовок */
  .hero .eyebrow {
    text-align: left !important;
  }

  /* Каталог */
  .catalog-section .section-heading {
    text-align: center;
  }

  .catalog-section .section-heading p:not(.eyebrow) {
    text-align: center;
    line-height: 1.6;
  }
}


/* GOLDEN HANDS ACCESSIBILITY V1 */

.header #siteBrandName,
.header .logo small {
    color: #80602f !important;
}

.eyebrow {
    color: #80602f !important;
}

#siteHeroDescription,
#siteAboutText,
.catalog-section .section-heading p:not(.eyebrow),
.custom-section p,
.custom-section strong {
    color: #655849 !important;
}

.main-button,
.add-button {
    background: #80602f !important;
    border-color: #80602f !important;
    color: #ffffff !important;
}

.main-button:hover,
.add-button:hover {
    background: #6e5127 !important;
    border-color: #6e5127 !important;
    color: #ffffff !important;
}

.footer .footer-brand > div > div:nth-child(2) {
    color: #d4b779 !important;
}

.footer .footer-contact-center > a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    max-width: 100%;
    box-sizing: border-box;
}


/* GOLDEN HANDS ACCESSIBILITY SLIDER V1 */

.hero-slide-dots {
    flex-wrap: wrap;
    gap: 2px;
    padding: 0 12px;
    box-sizing: border-box;
    bottom: 10px;
}

.hero-slide-dots button {
    position: relative;
    display: grid;
    place-items: center;
    flex: 0 0 24px;
    width: 24px;
    height: 24px;
    min-width: 24px;
    min-height: 24px;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
}

.hero-slide-dots button::before {
    content: "";
    display: block;
    width: 11px;
    height: 11px;
    box-sizing: border-box;
    border: 1px solid #fff;
    border-radius: 50%;
    background: rgba(255,255,255,.45);
}

.hero-slide-dots button[aria-current="true"] {
    background: transparent;
}

.hero-slide-dots button[aria-current="true"]::before {
    background: #fff;
}

.hero-slide-dots button:focus-visible {
    outline: 2px solid #fff;
    outline-offset: -2px;
}

.hero-slide-dots[hidden] {
    display: none;
}


/* GOLDEN HANDS HEADER CONTRAST V2 */

.header #siteBrandName,
.header #siteBrandName small,
.header .logo small {
    color: #80602f !important;
}

.header .cart-button {
    background: #80602f !important;
    border-color: #80602f !important;
    color: #ffffff !important;
}

.header .cart-button #cartCount {
    background: #ffffff !important;
    color: #80602f !important;
}


/* GOLDEN HANDS CATEGORY CONTRAST V1 */

button.category-chip.active {
    background: #80602f !important;
    border-color: #80602f !important;
    color: #ffffff !important;
}

/* Cart thumbnails */
#cartModal .cart-row{display:grid;grid-template-columns:64px minmax(0,1fr) auto;gap:10px;align-items:center}
.cart-photo-slot{width:64px;aspect-ratio:1;display:grid;place-items:center;background:var(--cream);border-radius:6px;overflow:hidden;font-size:10px;text-align:center;color:var(--muted)}
.cart-photo-button{border:0;padding:0;background:none;width:100%;height:100%;cursor:zoom-in}
.cart-product-image{display:block;width:100%;height:100%;object-fit:contain}
.cart-product-details{min-width:0;overflow-wrap:anywhere}
@media(max-width:390px){#cartModal .cart-row{grid-template-columns:48px minmax(0,1fr);gap:8px}.cart-photo-slot{width:48px;grid-row:span 2}#cartModal .cart-item-controls{grid-column:2;justify-self:start}}
