/* BUROSHOP - boutique: cartes produits, fiche produit, panier de demande.
   Couleurs et polices officielles definies dans styles.css (:root). */

.skip-link {
  position: absolute;
  left: -9999px;
  top: 8px;
  z-index: 2000;
  padding: 8px 14px;
  border-radius: 6px;
  background: var(--navy);
  color: #fff;
  font-weight: 800;
}

.skip-link:focus {
  left: 8px;
}

.link-button {
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  text-align: left;
}

/* --- Boutons ------------------------------------------------------------ */

.btn-whatsapp {
  border-color: #1ebe5b;
  background: #25d366;
  color: #04361a;
  font-weight: 800;
}

.btn-whatsapp:hover,
.btn-whatsapp:focus-visible {
  border-color: #17a34a;
  background: #1ebe5b;
  color: #02240f;
}

.btn-whatsapp:disabled,
.btn-whatsapp[aria-disabled="true"] {
  border-color: var(--line);
  background: #eef1f6;
  color: var(--muted);
  opacity: 1;
}

/* --- Disponibilite -------------------------------------------------------- */

.availability-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 800;
  line-height: 1.3;
}

.availability-badge.is-in-stock {
  background: #e3f6ea;
  color: #0b6b2f;
}

.availability-badge.is-on-order {
  background: #fff4d6;
  color: #7a4b00;
}

.availability-badge.is-out {
  background: #fde7e7;
  color: #9b1c1c;
}

.availability-badge.is-unconfirmed {
  background: #eef2fa;
  color: #3c4a6b;
}

.badge-promo {
  display: inline-block;
  padding: 3px 9px;
  border-radius: 6px;
  background: #e0242a;
  color: #fff;
  font-size: 0.8rem;
  font-weight: 900;
}

/* --- Image de remplacement (photo a venir) -------------------------------- */

.product-placeholder {
  position: relative;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 8px;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 8px;
  background: linear-gradient(145deg, var(--soft), #e6edfa);
  color: var(--navy);
  text-align: center;
}

.product-placeholder .placeholder-logo {
  position: absolute;
  top: 10px;
  left: 10px;
  width: 34%;
  max-width: 120px;
  height: auto;
  opacity: 0.55;
}

.product-placeholder i {
  font-size: clamp(2.2rem, 7vw, 4rem);
  color: var(--navy);
}

.product-placeholder span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
}

/* --- Cartes produits -------------------------------------------------------- */

.shop-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr));
  gap: 16px;
}

.shop-card-row {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(180px, 220px);
  gap: 14px;
  overflow-x: auto;
  padding-bottom: 8px;
  scroll-snap-type: x mandatory;
}

.shop-card-row > .shop-card {
  scroll-snap-align: start;
}

.shop-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  height: 100%;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.shop-card:hover,
.shop-card:focus-within {
  border-color: #b9c7e4;
  box-shadow: 0 10px 26px rgba(6, 26, 75, 0.1);
}

.shop-card-media {
  position: relative;
  padding: 10px;
  background: #fff;
}

.shop-card-media > a,
.shop-card-media > .link-button {
  display: block;
  width: 100%;
}

.shop-card-image {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  border-radius: 8px;
}

/* Image de remplacement dans une carte: disposition empilee conservee. */
.product-placeholder.shop-card-image {
  display: grid;
}

.shop-card-media .badge-promo {
  position: absolute;
  top: 16px;
  left: 16px;
}

.shop-card-media .tag {
  position: absolute;
  top: 16px;
  right: 50px;
  max-width: 50%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.shop-card-fav {
  position: absolute;
  top: 14px;
  right: 14px;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  color: #d61f4d;
}

.shop-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 6px;
  padding: 4px 14px 12px;
}

.shop-card-brand {
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.shop-card-title {
  margin: 0;
  font-family: var(--heading-font);
  font-size: 0.98rem;
  font-weight: 800;
  line-height: 1.3;
  overflow-wrap: anywhere;
}

.shop-card-title a,
.shop-card-title .link-button {
  color: var(--ink);
  text-decoration: none;
}

.shop-card-title a:hover,
.shop-card-title .link-button:hover {
  color: var(--orange-strong);
}

.shop-card-ref {
  color: var(--muted);
  font-size: 0.75rem;
}

.shop-card-price {
  margin-top: auto;
}

.shop-card-price strong {
  color: var(--navy);
  font-family: var(--heading-font);
  font-size: 1.12rem;
  font-weight: 900;
}

.shop-card-price s {
  margin-left: 6px;
  color: var(--muted);
  font-size: 0.85rem;
}

.shop-card-body .availability-badge {
  align-self: flex-start;
  font-size: 0.72rem;
}

/* "Voir le produit" sur toute la largeur, puis "Ajouter" + WhatsApp. */
.shop-card-actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 6px;
  padding: 0 14px 14px;
}

.shop-card-actions > :first-child {
  grid-column: 1 / -1;
}

.shop-card-actions .btn {
  font-weight: 800;
  white-space: nowrap;
}

.shop-card.is-compact .shop-card-title {
  font-size: 0.9rem;
}

/* --- Barre de filtres du catalogue ------------------------------------------- */

.catalog-toolbar {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 14px 0 16px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
}

.catalog-toolbar label {
  display: block;
  margin-bottom: 4px;
  color: var(--navy);
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
}

.catalog-toolbar .price-range {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}

.catalog-more {
  display: flex;
  justify-content: center;
  margin-top: 20px;
}

/* --- Fiche produit --------------------------------------------------------- */

.product-main {
  padding: 16px 0 40px;
  background: var(--soft);
}

.breadcrumb-nav ol {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 6px;
  margin: 0 0 14px;
  padding: 0;
  list-style: none;
  font-size: 0.85rem;
}

.breadcrumb-nav li {
  min-width: 0;
  color: var(--muted);
  overflow-wrap: anywhere;
}

.breadcrumb-nav li + li::before {
  content: "\203A";
  margin-right: 6px;
  color: var(--muted);
}

.breadcrumb-nav a {
  color: var(--navy);
  font-weight: 700;
}

.product-top {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 28px;
  padding: 24px;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 6px 24px rgba(6, 26, 75, 0.06);
}

.product-gallery {
  display: grid;
  gap: 12px;
  align-content: start;
  min-width: 0;
}

.gallery-main {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  cursor: zoom-in;
}

.gallery-main img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: contain;
}

.gallery-zoom-hint {
  position: absolute;
  right: 10px;
  bottom: 10px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(6, 26, 75, 0.8);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
}

.gallery-thumbs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 4px;
}

.gallery-thumb {
  flex: 0 0 72px;
  width: 72px;
  height: 72px;
  padding: 3px;
  border: 2px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.gallery-thumb.is-active {
  border-color: var(--orange-strong);
}

.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.gallery-placeholder {
  border: 1px solid var(--line);
  border-radius: 10px;
}

.product-buy {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
}

.product-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.product-badges .tag {
  position: static;
}

.product-brand {
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.product-buy h1 {
  margin: 0;
  color: var(--ink);
  font-family: var(--heading-font);
  font-size: clamp(1.35rem, 2.6vw, 2rem);
  font-weight: 900;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.product-ref {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.product-price-box {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--soft);
}

.product-price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px;
}

.product-price strong {
  color: var(--navy);
  font-family: var(--heading-font);
  font-size: clamp(1.6rem, 3.4vw, 2.2rem);
  font-weight: 900;
}

.product-price s {
  color: var(--muted);
  font-size: 1.05rem;
}

.price-note,
.availability-note {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 0.85rem;
}

.availability-line {
  margin: 10px 0 0;
}

.availability-line .availability-badge {
  font-size: 0.9rem;
}

.product-order label {
  display: block;
  margin-bottom: 6px;
  color: var(--navy);
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
}

.qty-control {
  display: inline-grid;
  grid-template-columns: 44px 64px 44px;
  overflow: hidden;
  border: 1px solid #c9d4ea;
  border-radius: 8px;
  background: #fff;
}

.qty-control button {
  border: 0;
  background: var(--soft);
  color: var(--navy);
  font-size: 1.1rem;
}

.qty-control button:disabled {
  color: #b5bfd3;
}

.qty-control input {
  width: 100%;
  border: 0;
  border-inline: 1px solid #c9d4ea;
  color: var(--ink);
  font-weight: 800;
  text-align: center;
  -moz-appearance: textfield;
}

.qty-control input::-webkit-outer-spin-button,
.qty-control input::-webkit-inner-spin-button {
  margin: 0;
  -webkit-appearance: none;
}

.qty-control-sm {
  grid-template-columns: 32px 44px 32px;
  height: 32px;
}

.product-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.product-actions .btn {
  font-weight: 800;
}

.product-actions .btn-primary {
  border-color: var(--navy);
  background: var(--navy);
}

.product-question {
  align-self: flex-start;
  padding: 0;
  color: var(--navy);
  font-weight: 700;
}

.order-disclaimer {
  margin: 0;
  padding: 10px 12px;
  border-left: 4px solid var(--orange);
  border-radius: 6px;
  background: #fff9e6;
  color: #5b4300;
  font-size: 0.85rem;
}

.product-highlights {
  display: grid;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.product-highlights li {
  color: var(--ink);
  font-weight: 600;
}

.product-highlights i {
  color: #13a05a;
}

.product-tabs-nav {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  gap: 4px;
  margin: 18px 0 0;
  overflow-x: auto;
  border-bottom: 2px solid var(--line);
  background: var(--soft);
}

.product-tabs-nav a {
  flex: 0 0 auto;
  padding: 12px 14px;
  border-bottom: 3px solid transparent;
  color: var(--navy);
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}

.product-tabs-nav a:hover,
.product-tabs-nav a:focus-visible {
  border-bottom-color: var(--orange);
}

.product-section {
  margin-top: 18px;
  padding: 22px;
  border-radius: 12px;
  background: #fff;
  scroll-margin-top: 60px;
}

.product-section h2 {
  margin: 0 0 14px;
  color: var(--navy);
  font-family: var(--heading-font);
  font-size: 1.3rem;
  font-weight: 900;
}

.product-section h3 {
  margin: 16px 0 6px;
  color: var(--navy);
  font-size: 1rem;
  font-weight: 800;
}

.lead-description {
  color: var(--ink);
  font-size: 1.05rem;
  font-weight: 600;
}

.long-description p {
  color: #253457;
  line-height: 1.7;
}

.long-description.is-collapsed {
  max-height: 260px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(#000 70%, transparent);
  mask-image: linear-gradient(#000 70%, transparent);
}

.specs-table {
  width: 100%;
  table-layout: fixed;
  border-collapse: collapse;
}

.specs-table th,
.specs-table td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
  overflow-wrap: anywhere;
  vertical-align: top;
}

.specs-table tbody tr:nth-child(odd) {
  background: var(--soft);
}

.specs-table th {
  width: 38%;
  color: var(--navy);
  font-weight: 800;
}

.inbox-list {
  display: grid;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.not-found {
  display: grid;
  justify-items: center;
  gap: 10px;
  padding: 60px 20px;
  border-radius: 12px;
  background: #fff;
  text-align: center;
}

.not-found > i {
  font-size: 3rem;
  color: var(--navy);
}

.not-found h1,
.not-found h2 {
  color: var(--navy);
  font-family: var(--heading-font);
  font-weight: 900;
}

/* Page catalogue (/catalogue) */
.catalogue-head {
  margin: 4px 0 16px;
}

.catalogue-head h1 {
  margin: 0 0 4px;
  color: var(--navy);
  font-family: var(--heading-font);
  font-weight: 900;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
}

.catalogue-head p {
  margin: 0;
  color: var(--muted, #5b6478);
}

.catalogue-categories a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 13px;
  color: var(--navy);
  background: var(--white, #fff);
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}

.catalogue-categories a span {
  font-weight: 600;
  opacity: .7;
}

.catalogue-categories a.active,
.catalogue-categories a:hover {
  border-color: var(--orange);
  background: #fff7d6;
}

.catalogue-page .shop-grid {
  margin-bottom: 20px;
}

.catalogue-pagination {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  margin-bottom: 32px;
}

.catalogue-pagination a {
  min-width: 40px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--navy);
  background: var(--white, #fff);
  font-weight: 700;
  text-align: center;
  text-decoration: none;
}

.catalogue-pagination a.active,
.catalogue-pagination a:hover {
  border-color: var(--orange);
  background: #fff7d6;
}

/* Barre d'achat fixe (telephone et tablette) */
.buy-bar {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1030;
  display: none;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 8px;
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
  background: #fff;
  box-shadow: 0 -6px 18px rgba(6, 26, 75, 0.12);
}

.buy-bar-price {
  display: grid;
  min-width: 0;
}

.buy-bar-price strong {
  overflow: hidden;
  color: var(--navy);
  font-family: var(--heading-font);
  font-size: 1.05rem;
  font-weight: 900;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.buy-bar-price small {
  overflow: hidden;
  color: var(--muted);
  font-size: 0.72rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.buy-bar .btn {
  font-weight: 800;
}

.buy-bar .btn-primary {
  border-color: var(--navy);
  background: var(--navy);
}

/* Agrandissement des photos */
.lightbox {
  width: min(96vw, 1100px);
  max-height: 94vh;
  padding: 0;
  border: 0;
  border-radius: 12px;
  background: #fff;
}

.lightbox::backdrop {
  background: rgba(3, 17, 58, 0.85);
}

.lightbox img {
  display: block;
  width: 100%;
  max-height: 90vh;
  object-fit: contain;
}

.lightbox-close,
.lightbox-nav {
  position: absolute;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: rgba(6, 26, 75, 0.85);
  color: #fff;
}

.lightbox-close {
  top: 10px;
  right: 10px;
}

.lightbox-nav {
  top: 50%;
  transform: translateY(-50%);
}

.lightbox-nav.prev {
  left: 10px;
}

.lightbox-nav.next {
  right: 10px;
}

/* --- Message de confirmation ----------------------------------------------- */

.shop-toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  z-index: 1080;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  width: max-content;
  max-width: calc(100vw - 24px);
  padding: 12px 16px;
  border-radius: 10px;
  background: var(--navy);
  color: #fff;
  font-weight: 700;
  transform: translateX(-50%);
  box-shadow: 0 12px 30px rgba(3, 17, 58, 0.3);
}

.shop-toast[hidden] {
  display: none;
}

/* --- Panier de demande (tiroir) ---------------------------------------------- */

.cart-overlay {
  position: fixed;
  inset: 0;
  z-index: 1090;
  background: rgba(3, 17, 58, 0.55);
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 1100;
  display: grid;
  grid-template-rows: auto 1fr auto;
  width: min(440px, 100vw);
  background: #fff;
  box-shadow: -10px 0 40px rgba(3, 17, 58, 0.25);
}

.cart-overlay[hidden],
.cart-drawer[hidden] {
  display: none;
}

body.cart-open {
  overflow: hidden;
}

.cart-drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
}

.cart-drawer-head h2 {
  margin: 0;
  color: var(--navy);
  font-family: var(--heading-font);
  font-size: 1.15rem;
  font-weight: 900;
}

.cart-close {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  color: var(--navy);
}

.cart-drawer-body {
  overflow-y: auto;
  padding: 8px 18px;
}

.cart-empty {
  display: grid;
  justify-items: center;
  gap: 8px;
  padding: 40px 0;
  color: var(--muted);
  text-align: center;
}

.cart-empty i {
  font-size: 2.6rem;
}

.cart-line {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) auto;
  gap: 10px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.cart-line-media {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
  color: var(--navy);
  font-size: 1.6rem;
}

.cart-line-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.cart-line-info {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.cart-line-info a,
.cart-line-info strong {
  color: var(--ink);
  font-weight: 800;
  overflow-wrap: anywhere;
}

.cart-line-info small {
  color: var(--muted);
}

.cart-line-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.cart-remove {
  border: 0;
  background: none;
  color: #b42318;
}

.cart-line-total {
  color: var(--navy);
  font-weight: 900;
  text-align: right;
  white-space: nowrap;
}

.cart-line-total span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
  white-space: normal;
}

.cart-drawer-foot {
  display: grid;
  gap: 8px;
  padding: 14px 18px calc(14px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
  background: var(--soft);
}

.cart-drawer-foot .btn {
  font-weight: 800;
}

.cart-drawer-foot .btn-primary {
  border-color: var(--navy);
  background: var(--navy);
}

.cart-total {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  color: var(--navy);
  font-weight: 800;
}

.cart-total strong {
  font-family: var(--heading-font);
  font-size: 1.2rem;
}

.cart-warning,
.cart-disclaimer {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 0.8rem;
}

/* Formulaire de demande et confirmation (panier). */
.cart-request-form {
  display: grid;
  gap: 6px;
}

.cart-request-form h3,
.cart-sent h3 {
  margin: 0 0 4px;
  color: var(--navy);
  font-family: var(--heading-font);
  font-size: 1.05rem;
  font-weight: 800;
}

.cart-request-form label {
  margin-top: 4px;
  color: var(--navy);
  font-size: 0.8rem;
  font-weight: 700;
}

.cart-request-form .form-control {
  min-height: 44px;
}

.cart-request-status {
  min-height: 1.2em;
  margin: 0;
  color: #b42318;
  font-size: 0.85rem;
  font-weight: 600;
}

.cart-sent {
  display: grid;
  justify-items: center;
  gap: 6px;
  padding: 32px 8px;
  text-align: center;
}

.cart-sent > i {
  color: #16a34a;
  font-size: 2.6rem;
}

.cart-sent p {
  margin: 0;
  color: var(--muted);
}

.cart-clear {
  color: #b42318;
}

/* --- Responsive -------------------------------------------------------------- */

@media (max-width: 1199.98px) {
  .catalog-toolbar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 991.98px) {
  .product-top {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
    padding: 16px;
  }

  .buy-bar {
    display: grid;
  }

  .product-page {
    padding-bottom: 76px;
  }
}

@media (max-width: 575.98px) {
  .product-actions {
    grid-template-columns: 1fr;
  }

  .catalog-toolbar {
    grid-template-columns: minmax(0, 1fr);
    padding: 12px;
  }

  .product-section {
    padding: 16px;
  }

  .specs-table th {
    width: 44%;
  }

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

  .shop-card-body {
    padding: 2px 10px 10px;
  }

  .shop-card-actions {
    padding: 0 10px 10px;
  }

  .shop-card-price strong {
    font-size: 1rem;
  }
}

@media (max-width: 359.98px) {
  .shop-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .buy-bar {
    grid-template-columns: minmax(0, 1fr) auto auto;
    padding-inline: 10px;
  }

  .buy-bar .btn-primary span,
  .buy-bar .btn-primary {
    font-size: 0.85rem;
  }
}
