/* Магазин виробів — dodjo.com.ua (05.10.2026) */
.shop-section { text-align: left; }
.shop-section h1, .shop-section h2, .shop-section h3 { font-family: 'Montserrat', sans-serif; }
.shop-btn { display: inline-block; }

/* hero каталогу */
.shop-hero { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; margin-bottom: 48px; }
.shop-hero .page-counter { text-align: left; margin-bottom: 16px; }
.shop-lead { font-size: 16px; line-height: 1.7; color: #555; margin-bottom: 18px; }
.shop-hero-points { display: flex; flex-wrap: wrap; gap: 12px 22px; font-size: 14px; color: #333; margin-bottom: 24px; }
.shop-hero-img img { width: 100%; height: auto; border-radius: 8px; box-shadow: 0 10px 30px rgba(0,0,0,.15); display: block; }

/* сітка карток */
.shop-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.shop-card { display: flex; flex-direction: column; background: #fff; border: 1px solid #e7e7e7; border-radius: 8px; overflow: hidden; color: #222; text-decoration: none; transition: transform .25s, box-shadow .25s; }
.shop-card:hover { transform: translateY(-4px); box-shadow: 0 12px 30px rgba(0,0,0,.12); color: #222; }
.shop-card-img { position: relative; aspect-ratio: 4 / 5; background: #f4f4f4; overflow: hidden; }
.shop-card-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s; }
.shop-card:hover .shop-card-img img { transform: scale(1.04); }
.shop-card-body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.shop-card-body h3 { font-size: 18px; margin: 0; line-height: 1.3; }
.shop-card-body p { font-size: 14px; color: #666; margin: 0; flex: 1; }
.shop-card-foot { display: flex; justify-content: space-between; align-items: center; margin-top: 6px; }
.shop-price { font-weight: 700; color: #c8102e; }
.shop-more { font-size: 13px; color: #888; }
.shop-card.is-sold .shop-card-img img { filter: grayscale(.6); opacity: .8; }

.shop-badge { position: absolute; top: 12px; left: 12px; padding: 5px 10px; border-radius: 999px; font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; background: #fff; color: #333; box-shadow: 0 2px 6px rgba(0,0,0,.12); }
.shop-badge-stock { background: #e6f7ec; color: #1b7a3e; }
.shop-badge-order { background: #fff3e0; color: #b35c00; }
.shop-badge-sold { background: #eee; color: #777; }
.shop-info .shop-badge { position: static; display: inline-block; margin-bottom: 12px; }

/* сторінка виробу */
.shop-crumbs { font-size: 13px; color: #888; margin-bottom: 24px; }
.shop-crumbs a { color: #555; }
.shop-product { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: start; margin-bottom: 48px; }
.shop-gallery-main img { width: 100%; height: auto; border-radius: 8px; display: block; background: #f4f4f4; }
.shop-gallery-thumbs { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.shop-thumb { width: 72px; height: 72px; padding: 0; border: 2px solid transparent; border-radius: 6px; overflow: hidden; background: #f4f4f4; cursor: pointer; }
.shop-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.shop-thumb.active { border-color: #c8102e; }
.shop-info h1 { font-size: 32px; margin: 0 0 12px; line-height: 1.2; }
.shop-excerpt { color: #666; font-size: 15px; margin-bottom: 16px; }
.shop-price-big { font-size: 26px; font-weight: 700; color: #c8102e; margin-bottom: 20px; }
.shop-specs { width: 100%; border-collapse: collapse; margin-bottom: 24px; font-size: 14px; }
.shop-specs th, .shop-specs td { text-align: left; padding: 9px 0; border-bottom: 1px solid #eee; vertical-align: top; }
.shop-specs th { width: 42%; color: #888; font-weight: 500; }
.shop-contact-line { margin-top: 14px; font-size: 14px; color: #666; }
.shop-desc { max-width: 820px; font-size: 15px; line-height: 1.75; margin-bottom: 48px; }
.shop-desc h2 { font-size: 22px; margin: 28px 0 10px; }

/* як замовити */
.shop-how { margin: 56px 0 40px; }
.shop-how h2, .shop-related h2, .shop-order h2 { font-size: 26px; margin-bottom: 20px; }
.shop-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.shop-step { display: flex; gap: 14px; align-items: flex-start; background: #f8f8f8; border-radius: 8px; padding: 18px; font-size: 14px; line-height: 1.5; }
.shop-step b { flex-shrink: 0; width: 34px; height: 34px; border-radius: 50%; background: #c8102e; color: #fff; display: flex; align-items: center; justify-content: center; font-size: 15px; }

/* форма замовлення */
.shop-order { max-width: 720px; margin: 40px 0; padding: 32px; background: #fafafa; border: 1px solid #ececec; border-radius: 10px; }
.shop-order-note { color: #666; font-size: 14px; margin-bottom: 18px; }
.shop-order-form label { display: block; font-size: 13px; font-weight: 600; color: #333; margin-bottom: 14px; }
.shop-order-form input, .shop-order-form textarea { display: block; width: 100%; margin-top: 6px; padding: 10px 12px; border: 1px solid #d5d5d5; border-radius: 6px; font: inherit; font-weight: 400; background: #fff; }
.shop-order-form input:focus, .shop-order-form textarea:focus { outline: none; border-color: #c8102e; }
.shop-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.shop-hp { position: absolute; left: -9999px; }
.shop-order-policy { font-size: 12px; color: #888; margin-top: 12px; }
.shop-alert { padding: 12px 16px; border-radius: 6px; margin-bottom: 16px; font-size: 14px; }
.shop-alert-ok { background: #e6f7ec; color: #1b7a3e; }
.shop-alert-err { background: #fdecea; color: #a12622; }

.shop-related { margin-top: 48px; }
.shop-section .pagination { margin-top: 32px; }

@media (max-width: 991px) {
  .shop-hero, .shop-product { grid-template-columns: 1fr; gap: 24px; }
  .shop-grid { grid-template-columns: repeat(2, 1fr); gap: 18px; }
  .shop-steps { grid-template-columns: 1fr; }
}
@media (max-width: 575px) {
  .shop-grid { grid-template-columns: 1fr; }
  .shop-form-row { grid-template-columns: 1fr; gap: 0; }
  .shop-order { padding: 20px; }
  .shop-info h1 { font-size: 26px; }
}
