/* ============================================================
   RESET & GLOBALS
   ============================================================ */
* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: var(--site-page-bg, #f3f4f6);
    color: #111827;
}

/* ============================================================
   SITE HEADER
   Desktop : title centred, pill-column on the right (170 px)
   Mobile  : title on top, pills in a centred row below
   ============================================================ */
.site-header {
    position: relative;
    background: var(--site-header-bg, #111827);
    color: var(--site-header-text, #ffffff);
    padding: 36px 220px;
    min-height: 100px;
    text-align: center;
}

.site-header .header-inner {
    display: block;
    position: relative;
}

.site-header .header-spacer {
    display: none;
}

.site-header .header-title h1 {
    margin: 0;
    font-size: 40px;
    font-weight: 800;
    line-height: 1.2;
    color: white;
}

.site-header .header-title p {
    margin: 8px 0 0;
    font-size: 15px;
    color: #d1d5db;
}

/* ── right side: lang + cart only ── */
.site-header .header-actions {
    position: absolute !important;
    top: 24px !important;
    right: 24px !important;
    transform: none !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-end !important;
    gap: 8px !important;
}

/* base reset — no shared width */
.site-header .header-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-weight: 700;
    white-space: nowrap;
    box-sizing: border-box;
    color: white;
    cursor: pointer;
}

/* ── phone: inline pill centred under title ── */
.site-header .header-phone {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: white;
    font-weight: 700;
    font-size: 14px;
    margin-top: 10px;
    padding: 6px 18px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    white-space: nowrap;
    letter-spacing: 0.01em;
}

/* ── language: flex container for RU/UA buttons ── */
.site-header .lang-switch,
.lang-switch {
    width: auto !important;
    height: auto !important;
    padding: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    border: none !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
}

/* ── cart: round icon button ── */
.site-header .cart-pill {
    width: 90px !important;
    height: 38px !important;
    padding: 0;
    border-radius: 999px !important;
    background: #22c55e;
    font-size: 16px;
    color: white;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 4px;
}

.site-header .cart-pill span {
    font-size: 13px;
    font-weight: 800;
    margin-left: 2px;
}

/* ── mobile: already row layout ── */
@media (max-width: 768px) {
    .site-header {
        padding: 28px 16px 24px;
    }

    .site-header .header-title h1 {
        font-size: 28px;
    }

    .site-header .header-actions {
        position: static !important;
        transform: none !important;
        flex-direction: row !important;
        flex-wrap: wrap;
        justify-content: center !important;
        align-items: center !important;
        gap: 10px !important;
        margin-top: 14px;
    }
}

/* ============================================================
   SEARCH BOX
   ============================================================ */
.search-box {
    max-width: 900px;
    margin: 24px auto 0;
    padding: 0 20px;
}

.search-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.search-main-row {
    display: flex;
    gap: 12px;
    align-items: center;
}

.search-main-row input[type="text"] {
    flex: 1;
    min-width: 0;
    margin-top: 0;
}

.search-main-row button[type="submit"],
.search-btn {
    flex-shrink: 0;
    min-width: 120px !important;
    height: 48px !important;
    padding: 0 24px !important;
    border-radius: 14px !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    white-space: nowrap;
    margin-top: 0;
}

.search-filters-row {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
}

/* ============================================================
   CATEGORY FILTER NAV
   ============================================================ */
.categories {
    max-width: 1100px;
    margin: 20px auto;
    padding: 0 20px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.categories a {
    text-decoration: none;
    padding: 8px 14px;
    border-radius: 999px;
    background: #e5e7eb;
    color: #111827;
    font-size: 14px;
}

.categories a.active {
    background: #111827;
    color: white;
}

/* ============================================================
   SITE CATEGORY CARDS
   ============================================================ */
.site-categories {
    max-width: 1100px;
    margin: 25px auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 14px;
}

.site-category-card {
    background: white;
    border-radius: 18px;
    padding: 20px;
    text-align: center;
    text-decoration: none;
    color: #111827;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    transition: 0.2s;
}

.site-category-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.12);
}

.site-category-emoji {
    font-size: 34px;
    margin-bottom: 8px;
}

.site-category-title {
    font-weight: bold;
}

/* ============================================================
   FORMS & GLOBAL BUTTONS
   ============================================================ */
form {
    margin-top: 16px;
}

input {
    width: 100%;
    padding: 11px;
    margin-top: 8px;
    border: 1px solid #d1d5db;
    border-radius: 14px;
    font-size: 14px;
}

button {
    width: 100%;
    margin-top: 12px;
    padding: 13px;
    border: none;
    border-radius: 14px;
    background: #16a34a;
    color: white;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
}

button:hover {
    background: #15803d;
}

/* ============================================================
   PRODUCT CATALOG GRID
   ============================================================ */
.products {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    align-items: stretch;
    gap: 22px;
    padding: 30px 20px;
}

.card {
    background: white;
    border-radius: 18px;
    padding: 22px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    transition: 0.2s;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.12);
}

.card-actions {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-top: 14px;
}

.card-actions .details-btn,
.card-actions .cart-btn {
    margin-top: 0;
}

.card .price-block {
    margin-top: 0;
}

.category {
    color: #6b7280;
    font-size: 14px;
    margin-bottom: 8px;
}

.card h2 {
    margin: 0 0 12px;
    font-size: 20px;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 72px;
}

.price {
    font-size: 24px;
    font-weight: bold;
    color: #16a34a;
    margin: 12px 0;
}

.info {
    font-size: 14px;
    color: #374151;
    margin: 6px 0;
}

.status {
    display: inline-block;
    padding: 6px 10px;
    border-radius: 999px;
    background: #dcfce7;
    color: #166534;
    font-size: 13px;
    margin-bottom: 10px;
}

.product-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #f9fafb;
    border-radius: 14px;
    padding: 10px;
}

.no-photo {
    width: 100%;
    height: 100%;
    border-radius: 14px;
    background: #e5e7eb;
    color: #6b7280;
    display: flex;
    align-items: center;
    justify-content: center;
}

.details-btn {
    display: block;
    text-align: center;
    text-decoration: none;
    margin-top: 14px;
    padding: 13px;
    border-radius: 14px;
    background: var(--site-primary, #111827);
    color: white;
    font-weight: bold;
}

.details-btn:hover {
    background: #374151;
}

.cart-btn {
    width: 100%;
    margin-top: 10px;
    padding: 13px;
    border: none;
    border-radius: 14px;
    background: var(--site-buy, #16a34a);
    color: white;
    font-weight: bold;
    cursor: pointer;
}

/* mobile catalog — 2 columns */
@media (max-width: 768px) {
    .products {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
        padding: 16px;
    }

    .card {
        padding: 12px;
        border-radius: 14px;
        min-width: 0;
    }

    .card-image-wrap {
        height: 180px;
    }

    .product-img,
    .no-photo {
        height: 100%;
    }

    .card h2 {
        font-size: 16px;
        min-height: 60px;
    }

    .price {
        font-size: 18px;
    }

    .details-btn {
        padding: 10px;
        font-size: 14px;
    }
}

@media (max-width: 380px) {
    .products {
        grid-template-columns: 1fr;
    }
}

/* ============================================================
   PRODUCT DETAIL PAGE
   ============================================================ */
.product-page {
    max-width: 1100px;
    margin: 0 auto;
    padding: 20px;
}

.back-link {
    display: inline-block;
    margin-bottom: 16px;
    color: #374151;
    text-decoration: none;
    font-weight: bold;
}

.product-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    align-items: start;
}

.product-image {
    display: block;
}

.product-image img,
.product-big-img {
    width: 100%;
    border-radius: 16px;
    background: #f9fafb;
    object-fit: contain;
    max-height: 720px;
}

/* gallery */
.product-gallery {
    background: white;
    border-radius: 18px;
    padding: 16px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
}

.main-image {
    width: 100%;
    height: 520px;
    object-fit: contain;
    background: #f9fafb;
    border-radius: 14px;
    display: block;
    margin-bottom: 10px;
}

.thumbs-row {
    width: 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 12px;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 12px 4px;
    align-items: center;
}

.thumb-img {
    flex: 0 0 86px;
    width: 86px;
    height: 86px;
    object-fit: cover;
    border-radius: 12px;
    cursor: pointer;
    background: #f9fafb;
    padding: 4px;
    opacity: 0.75;
    border: 2px solid transparent;
}

.thumb-img:hover {
    opacity: 1;
    border-color: #111827;
}

.thumb-img.active {
    opacity: 1;
    border-color: #111827;
}

/* product info card */
.product-info {
    display: block;
    align-self: start;
}

.product-card {
    background: white;
    border-radius: 16px;
    padding: 22px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
    margin-top: 0;
    align-self: start;
}

.product-title {
    margin: 8px 0 12px;
    font-size: 22px;
}

.product-meta {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-bottom: 10px;
}

.desc {
    font-size: 13px;
    color: #6b7280;
    margin-top: 8px;
}

/* specs */
.specs-box {
    margin-top: 18px;
    padding: 16px;
    background: #f9fafb;
    border-radius: 14px;
}

.specs-box h3 {
    margin-top: 0;
}

.spec-row {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 8px 0;
    border-bottom: 1px solid #e5e7eb;
}

.spec-row:last-child {
    border-bottom: none;
}

.spec-row span {
    color: #6b7280;
}

.spec-row b {
    text-align: right;
}

/* order form */
.order-form input {
    width: 100%;
    padding: 10px 12px;
    margin-top: 10px;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    font-size: 14px;
}

.order-btn {
    width: 100%;
    margin-top: 14px;
    padding: 12px;
    border-radius: 14px;
    background: var(--site-primary, #111827);
    color: white;
    border: none;
    font-weight: bold;
    cursor: pointer;
}

.order-btn:hover {
    background: #374151;
}

/* product page mobile */
@media (max-width: 768px) {
    .product-grid {
        grid-template-columns: 1fr;
    }

    .product-image {
        order: 1;
    }

    .product-info {
        order: 2;
    }

    .product-page {
        padding: 14px;
    }

    .product-big-img {
        max-height: 420px;
    }

    .product-gallery {
        padding: 10px;
    }

    .main-image {
        height: 360px;
    }

    .thumb-img {
        flex-basis: 72px;
        width: 72px;
        height: 72px;
    }
}

@media (max-width: 420px) {
    .main-image {
        height: 300px;
    }

    .thumb-img {
        flex-basis: 64px;
        width: 64px;
        height: 64px;
    }
}

/* ============================================================
   CART PAGE
   ============================================================ */
.cart-layout {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 20px;
    align-items: start;
}

.cart-items-col {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.order-col {
    position: relative;
}

.order-card {
    background: white;
    border-radius: 18px;
    padding: 18px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
}

.cart-item-card {
    background: white;
    border-radius: 18px;
    padding: 12px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.04);
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.cart-item-main {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cart-item-name {
    font-weight: 700;
}

.cart-item-price {
    color: #16a34a;
    font-weight: 700;
}

.cart-item-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
}

.qty-controls {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.qty-btn {
    padding: 8px 12px;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
    background: white;
    cursor: pointer;
    font-weight: 700;
}

.qty {
    min-width: 28px;
    text-align: center;
    font-weight: 700;
}

.remove-small {
    background: transparent;
    border: none;
    color: #ef4444;
    cursor: pointer;
    font-weight: 700;
}

@media (max-width: 900px) {
    .cart-layout {
        grid-template-columns: 1fr;
    }
}

/* ============================================================
   TOAST NOTIFICATION
   ============================================================ */
.toast {
    position: fixed;
    left: 50%;
    bottom: 24px;
    transform: translateX(-50%);
    background: #111827;
    color: white;
    padding: 12px 18px;
    border-radius: 999px;
    font-weight: 700;
    opacity: 0;
    pointer-events: none;
    transition: 0.2s;
    z-index: 9999;
}

.toast.show {
    opacity: 1;
}

/* ============================================================
   SITE FOOTER
   ============================================================ */
.site-footer {
    margin-top: 40px;
    padding: 30px 20px;
    background: #111827;
    color: white;
    text-align: center;
}

.site-footer p {
    margin: 6px 0;
    color: #d1d5db;
}

.site-footer a {
    color: white !important;
    text-decoration: none;
}

/* ============================================================
   PAGINATION
   ============================================================ */
.pagination {
    max-width: 1100px;
    margin: 30px auto;
    display: flex;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
    padding: 0 20px;
}

.pagination a {
    padding: 10px 14px;
    border-radius: 999px;
    background: #e5e7eb;
    color: #111827;
    text-decoration: none;
    font-weight: 700;
}

.pagination a.active {
    background: #111827;
    color: white;
}

.pagination a:hover:not(.active) {
    background: #d1d5db;
}

/* ============================================================
   MOBILE CATALOG GRID — handled by @media (max-width: 1024px) below
   ============================================================ */

@media (max-width: 1024px) {
  .products-grid,
  .products {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 14px !important;
    padding: 14px !important;
  }

  .card {
    width: auto !important;
    max-width: none !important;
    min-width: 0 !important;
    padding: 14px !important;
    border-radius: 18px !important;
  }

  .card-image-wrap {
    height: 180px !important;
  }

  .product-img,
  .no-photo {
    height: 100% !important;
    width: 100% !important;
    object-fit: contain !important;
  }

  .card h2 {
    font-size: 18px !important;
    line-height: 1.2 !important;
    margin-top: 8px !important;
  }

  .category,
  .card-category {
    font-size: 13px !important;
  }

  .price {
    font-size: 22px !important;
    margin: 12px 0 8px !important;
  }

  .details-btn,
  .cart-btn {
    font-size: 15px !important;
    padding: 12px !important;
    border-radius: 12px !important;
  }
}

@media (max-width: 420px) {
  .products-grid,
  .products {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .card-image-wrap {
    height: 165px !important;
  }

  .product-img,
  .no-photo {
    height: 100% !important;
  }

  .card h2 {
    font-size: 17px !important;
  }

  .price {
    font-size: 21px !important;
  }
}

.brand-select {
  padding: 11px 14px;
  border-radius: 14px;
  border: 1px solid #d1d5db;
  background: white;
  font-size: 14px;
  font-weight: 600;
  color: #111827;
  cursor: pointer;
}

@media (max-width: 768px) {
  .products-grid,
  .products {
    padding: 8px !important;
    gap: 8px !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .card {
    text-align: center !important;
    padding: 10px !important;
    border-radius: 16px !important;
  }

  .card-image-wrap {
    height: 210px !important;
    max-height: 210px !important;
    margin: 0 auto 10px !important;
  }

  .product-img,
  .no-photo {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    margin: 0 !important;
  }

  .card h2 {
    text-align: center !important;
    font-size: 19px !important;
    line-height: 1.15 !important;
    font-weight: 800 !important;
    min-height: 44px !important;
  }

  .price {
    text-align: center !important;
    font-size: 25px !important;
    font-weight: 900 !important;
    line-height: 1.1 !important;
  }

  .card p,
  .card .category,
  .card .warranty,
  .card .badge,
  .card .status {
    text-align: center !important;
    font-size: 14px !important;
  }

  .details-btn,
  .cart-btn {
    width: 100% !important;
    font-size: 15px !important;
    padding: 12px !important;
  }
}

/* ============================================================
   LANGUAGE SWITCHER BUTTONS
   ============================================================ */
.site-lang-btn {
  background: rgba(255,255,255,0.08) !important;
  border: 1px solid rgba(255,255,255,0.25) !important;
  color: white !important;
  border-radius: 999px !important;
  padding: 9px 14px !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  cursor: pointer !important;
  width: auto !important;
  margin: 0 !important;
  line-height: 1 !important;
}

.site-lang-btn:hover,
.site-lang-btn.active {
  background: white !important;
  color: #111827 !important;
  border-color: white !important;
}

.lang-separator {
  color: rgba(255,255,255,0.5);
  font-weight: 700;
  font-size: 13px;
}

/* High-specificity override: lang buttons must NOT be green */
.site-header .lang-switch .site-lang-btn {
  background: rgba(255,255,255,0.08) !important;
  border: 1px solid rgba(255,255,255,0.25) !important;
  color: white !important;
  border-radius: 999px !important;
  padding: 9px 14px !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  cursor: pointer !important;
  width: auto !important;
  margin: 0 !important;
  line-height: 1 !important;
}

.site-header .lang-switch .site-lang-btn.active,
.site-header .lang-switch .site-lang-btn:hover {
  background: white !important;
  color: #111827 !important;
  border-color: white !important;
}

/* ============================================================
   PRICE FILTERS & IN_STOCK
   ============================================================ */
.price-input {
  width: 110px;
  margin-top: 0 !important;
  padding: 11px !important;
}

.in-stock-label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: #374151;
  cursor: pointer;
  white-space: nowrap;
}

.in-stock-label input[type="checkbox"] {
  width: 18px !important;
  height: 18px !important;
  margin: 0 !important;
  padding: 0 !important;
  cursor: pointer;
  accent-color: #16a34a;
}

@media (max-width: 768px) {
  .search-main-row {
    flex-wrap: wrap;
  }

  .search-filters-row {
    flex-wrap: wrap;
  }

  .price-input {
    flex: 1 !important;
    min-width: 100px !important;
    width: auto !important;
  }
}

/* ============================================================
   SEARCH BLOCK OVERRIDE
   ============================================================ */
.search-main-row {
  max-width: 900px !important;
  margin: 0 auto !important;
  display: grid !important;
  grid-template-columns: minmax(300px, 1fr) 130px !important;
  gap: 12px !important;
  align-items: center !important;
}

.search-main-row input {
  width: 100% !important;
  height: 48px !important;
}

.search-main-row button,
.search-btn {
  width: 130px !important;
  min-width: 130px !important;
  max-width: 130px !important;
  height: 48px !important;
  padding: 0 !important;
}

.search-filters-row {
  max-width: 900px !important;
  margin: 12px auto 0 !important;
  display: flex !important;
  gap: 10px !important;
  justify-content: center !important;
  flex-wrap: wrap !important;
}

@media (max-width: 768px) {
  .search-main-row {
    grid-template-columns: 1fr 110px !important;
    padding: 0 14px !important;
  }

  .search-main-row button,
  .search-btn {
    width: 110px !important;
    min-width: 110px !important;
    max-width: 110px !important;
  }
}

/* ============================================================
   SALE / STOCK STATUS
   ============================================================ */
.price-block {
    display: flex;
    align-items: baseline;
    gap: 10px;
    flex-wrap: wrap;
    margin: 6px 0;
}

.price-block .price {
    margin: 0;
}

.old-price {
    color: #9ca3af;
    text-decoration: line-through;
    font-size: 0.95em;
    margin: 0;
}

.sale-badge {
    display: inline-block;
    background: #ef4444;
    color: #fff;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 0.8em;
    font-weight: 700;
    letter-spacing: 0.3px;
}

.card {
    position: relative;
}

.card-image-wrap {
    position: relative;
    display: block;
    width: 100%;
    height: 220px;
    margin-bottom: 14px;
}

.card-image-wrap .product-img,
.card-image-wrap .no-photo {
    display: block;
    width: 100%;
    height: 100%;
    margin-bottom: 0;
}

.card-sale-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    background: rgba(239, 68, 68, 0.92);
    color: #fff;
    padding: 4px 9px;
    border-radius: 999px;
    font-size: 11px;
    line-height: 1;
    font-weight: 700;
    letter-spacing: 0.2px;
    z-index: 2;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    box-shadow: 0 4px 10px rgba(239, 68, 68, 0.3);
    pointer-events: none;
    white-space: nowrap;
}

@media (max-width: 600px) {
    .card-sale-badge {
        top: 6px;
        left: 6px;
        padding: 3px 8px;
        font-size: 10.5px;
    }
}

.stock-badge {
    display: inline-block;
    padding: 3px 9px;
    border-radius: 999px;
    font-size: 0.85em;
    font-weight: 600;
}

.stock-in {
    background: #ecfdf5;
    color: #047857;
}

.stock-preorder {
    background: #fffbeb;
    color: #b45309;
}

.stock-out {
    background: #fef2f2;
    color: #b91c1c;
}

/* ============================================================
   SITE BANNER
   ============================================================ */
.site-banner {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: var(--site-primary, #111827);
    color: white;
    text-align: center;
}

.site-banner-img {
    display: block;
    width: 100%;
    max-height: 360px;
    object-fit: cover;
}

.site-banner-text {
    padding: 18px 24px;
    font-size: 18px;
    font-weight: 700;
    background: var(--site-accent, #16a34a);
    color: white;
}

.site-banner-img + .site-banner-text {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(6px);
}

@media (max-width: 768px) {
    .site-banner-img {
        max-height: 200px;
    }
    .site-banner-text {
        font-size: 15px;
        padding: 12px 16px;
    }
}

.back-btn {
  display: inline-block;
  padding: 10px 16px;
  border-radius: 12px;
  background: #e5e7eb;
  color: #111827;
  font-weight: 600;
  text-decoration: none;
  font-size: 14px;
  transition: background 0.2s;
}
.back-btn:hover { background: #d1d5db; }
