/* Project-level styles for the Bootstrap + Blade storefront */

:root {
  --sea-900: #072a34;
  --sea-700: #0f4957;
  --sand-100: #f7f3eb;
  --ink-700: #334155;
  --bs-link-color: #000;
  --bs-link-color-rgb: 0, 0, 0;
  --bs-link-hover-color: #212529;
  --bs-link-hover-color-rgb: 33, 37, 41;
}

html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

body {
  color: rgb(var(--bs-tertiary-color-rgb));
}

a,
.link-primary {
  color: #000;
}

a:hover,
.link-primary:hover {
  color: #212529;
}

.pagination .page-link {
  color: #212529;
}

.pagination .page-link:hover,
.pagination .page-link:focus {
  color: #000;
}

.pagination .page-item.active .page-link {
  color: #fff;
  background-color: #212529;
  border-color: #212529;
}

.pagination .page-link:focus {
  box-shadow: 0 0 0 0.25rem rgba(33, 37, 41, 0.2);
}

.pagination .page-item.disabled .page-link {
  color: #6c757d;
}

.top-bar {
  display: flex;
  align-items: center;
}
.top-bar-text {
  color: #fff;
  font-size: 14px;
  text-align: right;
  margin: 0;
  padding: 0;
}

button.top-bar-link,
a.top-bar-link {
  color: #fff;
  text-decoration: underline;
}
button.top-bar-link,
a.top-bar-link:hover {
  color: #fff;
  text-decoration: underline;
}
button.top-bar-link {
  padding: 0 !important;
  margin: 0 !important;
  font-size: 14px;
}

.navbar {
  min-height: 80px;
  box-shadow:
    0 0.5rem 1rem rgba(0, 0, 0, 0.15),
    inset 0 -1px 0 rgba(255, 255, 255, 0.15);
}

.navbar .nav-item {
  margin-left: 1rem;
}
/* body {
    background: radial-gradient(circle at top right, rgba(12, 99, 117, 0.18), transparent 45%), var(--sand-100);
    color: #0f172a;
} */

.navbar-brand {
  letter-spacing: 0.02em;
}

.hero,
.hero-shell {
  background: linear-gradient(135deg, var(--sea-900), var(--sea-700));
  color: #fff;
  border-radius: 1rem;
}

.badge-soft {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.card-img-top {
  height: 180px;
  object-fit: cover;
  background: linear-gradient(135deg, #dceef2, #b7dbe3);
}

.product-thumb {
  height: 220px;
  background: linear-gradient(135deg, #d9edf3, #bbdce6);
  object-fit: cover;
}

.product-card .product-thumb {
  height: auto;
  aspect-ratio: 1264 / 842;
}

.product-thumb-sm {
  height: 120px;
  background: linear-gradient(135deg, #d9edf3, #bbdce6);
  object-fit: cover;
}

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

.product-card:hover,
.product-card:focus-within {
  transform: translateY(-4px);
  box-shadow: 0 0.4rem 1rem rgba(2, 20, 25, 0.18) !important;
}

.text-muted-soft {
  color: var(--ink-700);
}

.cookie-banner {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 1200;
}

.cookie-banner__panel {
  max-width: 760px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid rgba(15, 73, 87, 0.22);
  border-radius: 0.75rem;
  box-shadow: 0 12px 40px rgba(2, 20, 25, 0.2);
  padding: 1rem;
}

.cookie-banner__title {
  font-weight: 700;
  color: #0b3340;
  margin: 0 0 0.35rem;
}

.cookie-banner__text,
.cookie-banner__list {
  color: #334155;
  font-size: 0.92rem;
}

.cookie-banner__list {
  padding-left: 1.1rem;
}

.cookie-banner__actions {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.cookie-banner__link {
  display: inline-block;
  margin-top: 0.65rem;
  font-size: 0.85rem;
}

@media (min-width: 768px) {
  .cookie-banner__panel {
    padding: 1.1rem 1.2rem;
  }
}

@media (max-width: 767.98px) {
  .offcanvas {
    max-width: 100%;
  }

  .cart-table thead {
    display: none;
  }

  .cart-table,
  .cart-table tbody,
  .cart-table tr,
  .cart-table td {
    display: block;
    width: 100%;
  }

  .cart-table tr {
    border-bottom: 1px solid var(--bs-border-color);
    padding: 0.75rem 0;
  }

  .cart-table td {
    border: 0;
    padding: 0.35rem 0.75rem;
  }

  .cart-table td::before {
    content: attr(data-label);
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--bs-secondary-color);
    margin-bottom: 0.2rem;
  }

  .cart-table td.cart-col-product::before {
    display: none;
  }

  .cart-table td.cart-col-qty form {
    display: flex;
    width: 100%;
  }

  .cart-table td.cart-col-qty input[type="number"] {
    min-width: 86px;
  }

  .cart-table td.cart-col-actions {
    text-align: left !important;
  }
}
