/* Golden Kitchen layout fixes (2026-10-18) */

/* Header on tablet/desktop: categories scroll in their own strip instead of running under the search box */
@media (min-width: 768px) {
  .navbar-top { column-gap: 12px; }
  .navbar-top .navbar-collapse { flex: 1 1 auto; min-width: 0; }
  .navbar-top .navbar-collapse > .catalog-filter,
  .navbar-top .navbar-collapse .container-xxl,
  .navbar-top .navbar-collapse form,
  .navbar-top .navbar-collapse .catalog-filter-tree,
  .navbar-top .navbar-collapse .list-container.level-0 { width: 100%; max-width: 100%; min-width: 0; }
  .navbar-top .catalog-filter-tree .list-container.level-1 {
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: thin;
    -webkit-overflow-scrolling: touch;
  }
  .navbar-top .catalog-filter-tree .list-container.level-1 > .cat-item { flex: 0 0 auto; }
  .navbar-top > .catalog-filter { flex: 0 0 320px; width: 320px; max-width: 320px; }
  .navbar-top > .catalog-filter .container-xxl { padding-left: 0; padding-right: 0; }
  .navbar-top > .custom-search-btn { flex: 0 0 auto; width: auto; min-width: 90px; padding-left: 22px; padding-right: 22px; }
}

/* Search boxes: drop the extra "Search" text button that wrapped under the field (the icon button and Enter still search) */
.catalog-filter-search .input-group > .btn:not(.btn-search):not(.reset) { display: none; }

/* Basket: no 'save basket under a name' box */
.basket-standard .basket-save { display: none !important; }

/* Basket: no +/- buttons next to the quantity (the quantity box still works) */
.basket-standard .minibutton.change { display: none !important; }

/* Checkout address: no "new address" line when it is the only choice (guests) */
.checkout-standard-address .item-new:only-child > .header { display: none !important; }

/* Checkout: fields stay black while filling in; red only after pressing Next with something missing */
.checkout-standard form:not(.gk-tried) .form-item.error,
.checkout-standard form:not(.gk-tried) .form-item.error * { color: #212529 !important; border-color: #555 !important; }

/* Checkout: phone hint shown when the number is not 10 digits */
.gk-phone-hint { display: none; color: #a00000; font-size: 0.85rem; margin-top: 4px; }
.checkout-standard .form-item.telephone input { text-align: left; }

/* Checkout delivery/payment steps: no "Please choose ..." line; payment shows no 0.00 price.
   Delivery price is shown again since 2026-10-26 (calculated from the region and the order value) */
.checkout-standard-delivery p.note,
.checkout-standard-payment p.note { display: none !important; }
.checkout-standard-payment .item-service .price-value { display: none !important; }

/* Checkout summary: only products, totals, comment and terms */
.checkout-standard-summary .common-summary-address,
.checkout-standard-summary .common-summary-service,
.checkout-standard-summary .common-summary-additional { display: none !important; } /* coupon, reference and comment */

/* Order confirmation page: big "order confirmed" line, only order number, customer info and products */
.checkout-confirm-intro .note { font-size: 1.05rem; line-height: 1.8; }
.checkout-confirm-intro .note::first-line { font-size: 1.8rem; font-weight: 700; }
.checkout-confirm-basic .attr-list .form-item:nth-child(n+2),
.checkout-confirm-detail .common-summary-address .item.delivery,
.checkout-confirm-detail .common-summary-service,
.checkout-confirm-detail .common-summary-additional { display: none !important; }

/* Header logo: don't let the categories strip squeeze it (it was 24px wide) */
@media (min-width: 768px) {
  .navbar-top > .navbar-brand { flex: 0 0 auto; padding-top: 4px; padding-bottom: 4px; }
  .navbar-top > .navbar-brand img { height: 72px; width: auto; max-width: none; }
}

/* 2026-10-26: no "from 1" quantity line next to prices */
.price-item .quantity { display: none !important; }

/* 2026-10-26: product page - no internal product code line (codes like "kitchen_3_16.jpg" mean nothing to customers) */
.catalog-detail-basic .code { display: none !important; }

/* Golden Kitchen 2026-10-26: single shop - hide the vendor heading ("Golden Kitchen") above basket items */
.basket-standard .supplier, .checkout-standard .supplier, .basket-mini .supplier { display: none !important; }
