:root {
  --navy: #0B2545;
  --blue: #1668C4;
  --blue-dark: #0F4E9A;
  --sky: #EEF4FC;
  --gold: #F2A93B;
  --ink: #0F1B2D;
  --muted: #5C6B80;
  --line: #E1E8F2;
  --card: #FFFFFF;
  --wa: #25D366;
}

* {
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  color: var(--ink);
  background: #fff;
}

h1, h2, h3, h4, .font-display {
  font-family: 'Sora', sans-serif;
  letter-spacing: -0.01em;
}

a {
  text-decoration: none;
  color: inherit;
}

.container-xl {
  max-width: 1240px;
}

.bg-sky {
  background: var(--sky);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--blue-dark);
}

.eyebrow i {
  color: var(--gold);
}

/* navbar */
.navbar-bs {
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
  padding: .7rem 0;
}

.brand-star {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--blue), var(--navy));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 1.2rem;
}

.navbar-bs .nav-link {
  font-weight: 600;
  color: var(--ink);
  margin: 0 .5rem;
  font-size: .95rem;
}

.navbar-bs .nav-link.active {
  color: var(--blue);
}

.navbar-bs .nav-link:hover {
  color: var(--blue);
}

.btn-primary-bs {
  background: var(--blue);
  border: none;
  color: #fff;
  font-weight: 700;
  border-radius: 8px;
  padding: .6rem 1.3rem;
  transition: .2s ease;
}

.btn-primary-bs:hover {
  background: var(--blue-dark);
  color: #fff;
}

.btn-wa {
  background: var(--wa);
  border: none;
  color: #fff;
  font-weight: 700;
  border-radius: 8px;
  padding: .6rem 1.3rem;
  transition: .2s ease;
}

.btn-wa:hover {
  background: #1DA851;
  color: #fff;
}

.btn-outline-navy {
  border: 1.5px solid var(--navy);
  color: var(--navy);
  font-weight: 700;
  border-radius: 8px;
  padding: .58rem 1.3rem;
  background: transparent;
  transition: .2s ease;
}

.btn-outline-navy:hover {
  background: var(--navy);
  color: #fff;
}

.nav-badge {
  position: absolute;
  top: -6px;
  right: -8px;
  background: var(--gold);
  color: var(--navy);
  font-size: .65rem;
  font-weight: 800;
  border-radius: 999px;
  padding: .05rem .35rem;
  line-height: 1.3;
}


/* hero */
.hero {
  background:
    radial-gradient(circle at 15% 20%, rgba(242, 169, 59, .16), transparent 45%),
    linear-gradient(180deg, var(--navy) 0%, #0E3466 60%, var(--blue-dark) 100%);
  color: #fff;
  padding: 5rem 0 4rem;
  position: relative;
  overflow: hidden;
}

.hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  z-index: 0;
  opacity: 0;
  transition: opacity 1.2s ease;
}

.hero-canvas.is-ready {
  opacity: 1;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 20% 30%, rgba(11, 37, 69, .25), transparent 55%),
    linear-gradient(180deg, rgba(9, 29, 56, .35) 0%, rgba(11, 37, 69, .55) 55%, var(--blue-dark) 100%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .05;
  pointer-events: none;
  z-index: 0;
  background-image:
    linear-gradient(#fff 1px, transparent 1px),
    linear-gradient(90deg, #fff 1px, transparent 1px);
  background-size: 42px 42px;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero h1 {
  font-size: clamp(1.9rem, 4vw, 3.1rem);
  font-weight: 800;
  line-height: 1.15;
}

.hero .lead-copy {
  color: #C9D9F0;
  font-size: 1.05rem;
  max-width: 600px;
}

.hero-tagline {
  color: var(--gold);
  font-weight: 700;
  letter-spacing: .02em;
  margin-top: .6rem;
}

.cat-chip {
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 12px;
  padding: 1.1rem .9rem;
  text-align: center;
  color: #fff;
  transition: .25s ease;
  height: 100%;
}

.cat-chip:hover {
  background: rgba(255, 255, 255, .16);
  transform: translateY(-4px);
  border-color: var(--gold);
}

.cat-chip i {
  font-size: 1.6rem;
  color: var(--gold);
  margin-bottom: .5rem;
  display: block;
}

.cat-chip span {
  font-weight: 600;
  font-size: .88rem;
}

@media(max-width: 480px) {
  .cat-chip span {
    display: none;
  }
}

/* section */
.section {
  padding: 4.6rem 0;
}

.section-title {
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  font-weight: 800;
  margin-top: .5rem;
}

.section-sub {
  color: var(--muted);
  max-width: 640px;
}


/* hero */
.hero {
  background: radial-gradient(circle at 15% 20%, rgba(242, 169, 59, .16), transparent 45%), linear-gradient(180deg, var(--navy) 0%, #0E3466 60%, var(--blue-dark) 100%);
  color: #fff;
  padding: 4.4rem 0 3.6rem;
}

.hero h1 {
  font-size: clamp(1.7rem, 3.6vw, 2.7rem);
  font-weight: 800;
  line-height: 1.15;
}

.hero .lead-copy {
  color: #C9D9F0;
  font-size: 1.02rem;
  max-width: 600px;
}

.hero-tagline {
  color: var(--gold);
  font-weight: 700;
}

/* page header (non-home pages) */
.page-header {
  background: linear-gradient(180deg, var(--navy), var(--blue-dark));
  color: #fff;
  padding: 3.2rem 0 2.2rem;
}

.page-header h1 {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 800;
}

.page-header .breadcrumb-bs a {
  color: #BFD4EF;
}

.page-header .breadcrumb-bs span {
  color: #fff;
}

.section {
  padding: 4.2rem 0;
}

.section-title {
  font-size: clamp(1.5rem, 2.8vw, 2.1rem);
  font-weight: 800;
  margin-top: .4rem;
}

.section-sub {
  color: var(--muted);
  max-width: 600px;
}

/* ---- category blobs (home teaser + category page) ---- */
.cat-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.6rem;
}

.cat-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: .8rem;
  padding: .3rem;
  height: 100%;
}

.cat-blob {
  width: 100%;
  max-width: 150px;
  aspect-ratio: 4/3.1;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 48% 52% 54% 46% / 50% 45% 55% 50%;
  transition: transform .3s ease;
}

.cat-card:hover .cat-blob {
  transform: translateY(-5px);
}

.cat-blob img {
  width: 78%;
  height: 78%;
  object-fit: contain;
  filter: drop-shadow(0 8px 12px rgba(0, 0, 0, .14));
}

.cat-name {
  font-weight: 700;
  font-size: .92rem;
}

.cat-count {
  font-size: .75rem;
  color: var(--muted);
}

.blob-1 {
  background: #FCEFC7;
}

.blob-2 {
  background: #FDE2E4;
}

.blob-3 {
  background: #F3E8FF;
}

.blob-4 {
  background: #E3F2E1;
}

.blob-5 {
  background: #FFF1D6;
}

.blob-6 {
  background: #E7F0FD;
}

.blob-7 {
  background: #FDEDEA;
}

.blob-8 {
  background: #EAF7F1;
}

/* ---- product card ---- */
.product-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  height: 100%;
  transition: .25s ease;
  position: relative;
}

.product-card:hover {
  box-shadow: 0 18px 36px -20px rgba(11, 37, 69, .3);
  transform: translateY(-4px);
}

.product-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  background: var(--sky);
  image-rendering: auto;
}

.product-body {
  padding: 1.1rem;
}

.shop-container{
  padding-left: 120px;
  padding-right: 120px;
}

@media(max-width: 569px) {
  .shop-container{
    padding-left: 10px;
    padding-right: 10px;
  }
}

#productGrid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 2px;
}

#productGrid .grid-item {
    width: 100%;
}

/* Tablet */
@media (max-width: 991px) {
    #productGrid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Mobile */
@media (max-width: 575px) {
    #productGrid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
}

.brand-tag {
  display: inline-block;
  background: var(--sky);
  color: var(--blue-dark);
  font-size: .72rem;
  font-weight: 700;
  padding: .2rem .55rem;
  border-radius: 999px;
  margin-bottom: .4rem;
}

.spec-txt {
  color: var(--muted);
  font-size: .83rem;
}

.price-now {
  color: var(--blue-dark);
  font-weight: 800;
  font-size: 1.02rem;
}

.price-old {
  color: var(--muted);
  text-decoration: line-through;
  font-size: .86rem;
  margin-left: .35rem;
}

.sale-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: var(--navy);
  color: #fff;
  font-size: .66rem;
  font-weight: 800;
  padding: .28rem .55rem;
  border-radius: 999px;
  text-transform: uppercase;
}

/* wishlist toggle button (works as a plain form submit, no JS required) */
.wish-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, .92);
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 14px -6px rgba(0, 0, 0, .3);
  cursor: pointer;
  transition: .2s ease;
}

.wish-btn:hover {
  background: #fff;
}

.wish-btn.active {
  color: var(--gold);
}

/* brand tile */
.brand-tile {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  height: 110px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.brand-tile img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.brand-tile .brand-fallback {
  font-family: 'Sora', sans-serif;
  font-weight: 800;
  color: var(--navy);
}

/* service card */
.service-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1.7rem;
  height: 100%;
  transition: .25s ease;
}

.service-card:hover {
  border-color: var(--blue);
  box-shadow: 0 16px 34px -20px rgba(11, 37, 69, .28);
}

.service-ico {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: var(--navy);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 1rem;
}

/* quick quote form */
.form-control-bs {
  border: 1.5px solid var(--line);
  border-radius: 8px;
  padding: .7rem .9rem;
}

.form-control-bs:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(22, 104, 196, .15);
}

.quote-wrap {
  background: var(--navy);
  border-radius: 20px;
  overflow: hidden;
  color: #fff;
}

.quote-form-panel {
  background: #fff;
  color: var(--ink);
  padding: 2.2rem;
}

.star-li {
  display: flex;
  gap: .6rem;
  align-items: flex-start;
  margin-bottom: .7rem;
}

.star-li i {
  color: var(--gold);
  margin-top: .2rem;
}

/* ---- product browse page: category pill tabs + carousel ---- */
.nav-pills-bs .nav-link {
  border-radius: 999px;
  font-weight: 700;
  color: var(--navy);
  padding: .55rem 1.2rem;
  border: 1.5px solid var(--line);
  margin: 0 .3rem .6rem;
}

.nav-pills-bs .nav-link.active {
  background: var(--blue);
  color: #fff;
  border-color: var(--blue);
}

.browse-carousel {
  position: relative;
  padding-bottom: 2.6rem;
}

.browse-carousel .slider-nav {
  position: absolute;
  top: 38%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #fff;
  border: 1.5px solid var(--line);
  box-shadow: 0 8px 20px -8px rgba(11, 37, 69, .35);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
  color: var(--navy);
  transition: .2s ease;
}

.browse-carousel .slider-nav:hover {
  background: var(--blue);
  color: #fff;
  border-color: var(--blue);
}

.browse-carousel .slider-nav.prev {
  left: -8px;
}

.browse-carousel .slider-nav.next {
  right: -8px;
}

@media (max-width:768px) {
  .browse-carousel .slider-nav {
    display: none;
  }
}

.browse-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  height: 100%;
  transition: .25s ease;
  position: relative;
}

.browse-card:hover {
  box-shadow: 0 16px 34px -18px rgba(11, 37, 69, .3);
  transform: translateY(-4px);
}

.browse-card img {
  width: 100%;
  height: auto;
  object-fit: cover;
  background: var(--sky);
  display: block;
  image-rendering: auto;
}

.browse-card .browse-body {
  padding: 1.1rem;
}

.ask-price {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--wa);
  font-weight: 700;
  font-size: .85rem;
  margin-top: .6rem;
}

/* about us */
.why-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1.3rem;
  height: 100%;
  display: flex;
  gap: .9rem;
  align-items: flex-start;
}

.why-ico {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: var(--sky);
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex: 0 0 42px;
}

/* best products (select filter) */
.best-select {
  max-width: 260px;
  border: 1.5px solid var(--line);
  border-radius: 8px;
  padding: .55rem .9rem;
  font-weight: 600;
  color: var(--navy);
  background: #fff;
}

.best-select:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(22, 104, 196, .15);
  outline: none;
}

.best-item.is-hidden {
  display: none;
}

/* contact us */
.contact-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1.5rem;
  height: 100%;
}

.contact-ico {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: var(--sky);
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.map-frame {
  width: 100%;
  height: 360px;
  border: 0;
  border-radius: 14px;
}

/* wishlist page */
.wishlist-empty {
  text-align: center;
  padding: 4rem 1rem;
  color: var(--muted);
}

.wishlist-empty i {
  font-size: 3rem;
  color: var(--line);
  display: block;
  margin-bottom: 1rem;
}

/* filters sidebar (product list page) */
.filter-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1.3rem;
}

.filter-card h6 {
  font-weight: 700;
  margin-bottom: .8rem;
}

.filter-link {
  display: block;
  padding: .35rem 0;
  color: var(--muted);
  font-size: .9rem;
}

.filter-link.active, .filter-link:hover {
  color: var(--blue-dark);
  font-weight: 700;
}

/* carousel arrows / indicators (Bootstrap overrides) */
.carousel-arrows {
  display: flex;
  gap: .6rem;
}

.carousel-arrow-btn {
  width: 38px;
  height: 38px;
  border-radius: 9px;
  border: 1.5px solid var(--line);
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue-dark);
  transition: .2s ease;
}

.carousel-arrow-btn:hover {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
}

.carousel-indicators-bs {
  position: static;
  margin-top: 1.4rem;
  gap: 6px;
}

.carousel-indicators-bs [data-bs-target] {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--line);
  opacity: 1;
  border: none;
}

.carousel-indicators-bs .active {
  background: var(--blue);
  width: 18px;
  border-radius: 4px;
}

/* footer */
footer.site-footer {
  background: var(--navy);
  color: #C9D3E4;
  padding: 3rem 0 1.4rem;
}

footer.site-footer h6 {
  color: #fff;
  font-weight: 700;
  margin-bottom: 1rem;
}

footer.site-footer a {
  color: #A9B8D2;
}

footer.site-footer a:hover {
  color: var(--gold);
}

.social-icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: .2s ease;
}

.social-icon:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--navy);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .12);
  margin-top: 2rem;
  padding-top: 1.2rem;
  font-size: .85rem;
  color: #8FA0C0;
}

/* pagination */
.pagination .page-link {
  color: var(--blue-dark);
  border-color: var(--line);
}

.pagination .page-item.active .page-link {
  background: var(--blue);
  border-color: var(--blue);
}

.fab-wa {
  position: fixed;
  bottom: 22px;
  right: 22px;
  z-index: 1050;
  background: var(--wa);
  color: #fff;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  box-shadow: 0 10px 24px -8px rgba(37, 211, 102, .6);
}

/* ---- add to cart button + qty stepper on product cards ---- */
.btn-cart {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--navy);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: .5rem .9rem;
  font-weight: 700;
  font-size: .85rem;
  transition: .2s ease;
}

.btn-cart:hover {
  background: var(--blue);
  color: #fff;
}

/* ---- cart page ---- */
.cart-row {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1.1rem;
  display: flex;
  gap: 1rem;
  align-items: center;
}

.cart-row img {
  width: 76px;
  height: 76px;
  object-fit: cover;
  border-radius: 8px;
  background: var(--sky);
  flex: 0 0 76px;
}

.qty-stepper {
  display: inline-flex;
  align-items: center;
  border: 1.5px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.qty-stepper button {
  width: 32px;
  height: 32px;
  border: none;
  background: #fff;
  color: var(--navy);
  font-weight: 700;
}

.qty-stepper button:hover {
  background: var(--sky);
}

.qty-stepper input {
  width: 44px;
  text-align: center;
  border: none;
  border-left: 1px solid var(--line);
  border-right: 1px solid var(--line);
  height: 32px;
}

.cart-summary {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1.6rem;
  position: sticky;
  top: 90px;
}

.cart-summary .row-line {
  display: flex;
  justify-content: space-between;
  margin-bottom: .6rem;
  color: var(--muted);
}

.cart-summary .row-total {
  display: flex;
  justify-content: space-between;
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--navy);
  border-top: 1px solid var(--line);
  padding-top: .8rem;
  margin-top: .4rem;
}

.cart-empty {
  text-align: center;
  padding: 4rem 1rem;
  color: var(--muted);
}

.cart-empty i {
  font-size: 3rem;
  color: var(--line);
  display: block;
  margin-bottom: 1rem;
}

/* ---- checkout / order status ---- */
.order-status-badge {
  display: inline-block;
  padding: .3rem .7rem;
  border-radius: 999px;
  font-size: .75rem;
  font-weight: 800;
  text-transform: uppercase;
}

.status-pending {
  background: #FFF3D6;
  color: #8A6300;
}

.status-confirmed {
  background: #DCEEFF;
  color: var(--blue-dark);
}

.status-processing {
  background: #E4E0FF;
  color: #4B3FA0;
}

.status-delivered {
  background: #DFF5E3;
  color: #1F7A3D;
}

.status-cancelled {
  background: #FBE1DE;
  color: #B23B2E;
}

.order-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1.4rem;
  margin-bottom: 1rem;
}

.confirm-check {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--sky);
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin: 0 auto 1.2rem;
}

/* ---- accounts pages ---- */
.auth-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 2.4rem;
  max-width: 460px;
  margin: 0 auto;
}

.auth-card h3 {
  font-weight: 800;
}

/* language switcher (footer) */
.lang-switcher {
  color: #C9D3E4;
  font-size: .85rem;
}

.lang-switcher i {
  color: var(--gold);
}

.lang-select {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .25);
  border-radius: 999px;
  padding: .3rem .8rem;
  font-size: .82rem;
  font-weight: 600;
  cursor: pointer;
}

.lang-select:focus {
  outline: none;
  border-color: var(--gold);
}

.lang-select option {
  background: var(--navy);
  color: #fff;
}

/* ---- product catalog: accordion filters ---- */
.accordion-item {
  border-color: var(--line);
  border-radius: 12px !important;
  overflow: hidden;
  margin-bottom: .7rem;
}

.accordion-button {
  font-weight: 700;
  color: var(--navy);
  background: var(--card);
  font-size: .95rem;
}

.accordion-button:not(.collapsed) {
  background: var(--sky);
  color: var(--blue-dark);
  box-shadow: none;
}

.accordion-button:focus {
  box-shadow: 0 0 0 3px rgba(22, 104, 196, .15);
  border-color: var(--blue);
}

.accordion-body {
  padding: .8rem 1.1rem 1rem;
}

/* ---- sort-by dropdown ---- */
.sort-select {
  border: 1.5px solid var(--line);
  border-radius: 8px;
  padding: .4rem .8rem;
  font-size: .85rem;
  font-weight: 600;
  color: var(--navy);
  background: #fff;
}

.sort-select:focus {
  outline: none;
  border-color: var(--blue);
}

/* ---- grid view toggle (2-col / 4-col) ---- */
.grid-toggle {
  display: inline-flex;
  border: 1.5px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.grid-toggle-btn {
  width: 36px;
  height: 34px;
  border: none;
  background: #fff;
  color: var(--muted);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: .2s ease;
  cursor: pointer;
}

.grid-toggle-btn.active {
  background: var(--blue);
  color: #fff;
}

.grid-toggle-btn:not(.active):hover {
  background: var(--sky);
  color: var(--navy);
}

/* ---- star ratings ---- */
.star-rating {
  color: var(--gold);
  font-size: .82rem;
  display: flex;
  align-items: center;
  gap: 2px;
}

.star-rating .rating-count {
  color: var(--muted);
  font-size: .78rem;
  margin-left: 4px;
}

/* ---- catalog product card ---- */
.catalog-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  height: 100%;
  transition: .25s ease;
  position: relative;
}

.catalog-card:hover {
  box-shadow: 0 18px 36px -20px rgba(11, 37, 69, .3);
  transform: translateY(-4px);
}

.catalog-card img {
  width: 100%;
  height: auto;
  object-fit: cover;
  background: var(--sky);
}

.catalog-body {
  padding: 1.1rem;
}

.catalog-actions {
  display: flex;
  align-items: center;
  gap: .5rem;
  margin-top: .7rem;
}

.btn-quickview {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: #fff;
  border: 1.5px solid var(--line);
  color: var(--navy);
  font-weight: 700;
  font-size: .82rem;
  border-radius: 8px;
  padding: .5rem .7rem;
  transition: .2s ease;
}

.btn-quickview:hover {
  border-color: var(--blue);
  color: var(--blue);
}

.btn-quickview-sm {
  width: 100%;
  padding: .4rem .6rem;
  font-size: .78rem;
  margin-top: .4rem;
}

/* ---- quick view modal ---- */
.quickview-content {
  border-radius: 16px;
  border: none;
}

.qv-image {
  width: 100%;
  border-radius: 12px;
  object-fit: cover;
  max-height: 320px;
  background: var(--sky);
}

/* ---- ads popup ---- */
.ads-popup-content {
  border-radius: 18px;
  border: none;
  overflow: hidden;
}

.ads-popup-body {
  padding: 2.6rem 2rem 2.2rem;
}

.ads-popup-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--sky);
  color: var(--blue-dark);
  font-weight: 700;
  font-size: .75rem;
  text-transform: uppercase;
  letter-spacing: .05em;
  padding: .35rem .8rem;
  border-radius: 999px;
}

.ads-popup-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
}

.ads-popup-product-img {
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: cover;
  background: var(--sky);
}

/* ---- more reasons to shop ---- */
.reason-tile {
  display: block;
  border-radius: 14px;
  padding: 1.1rem 1rem 0;
  overflow: hidden;
  text-decoration: none;
  height: 100%;
  position: relative;
  transition: .25s ease;
}

.reason-tile:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 28px -18px rgba(11, 37, 69, .35);
}

.reason-tile img {
  width: 100%;
  height: 76px;
  object-fit: cover;
  border-radius: 10px;
  margin-top: .6rem;
}

.reason-tile-text {
  padding: .7rem 0 .9rem;
}

.reason-tile-text strong {
  display: block;
  color: var(--navy);
  font-size: .92rem;
}

.reason-tile-text span {
  display: block;
  color: var(--muted);
  font-size: .76rem;
  margin-top: .1rem;
}

/* ---- mega deals ---- */
.countdown-timer {
  background: var(--ink, #1B2A41);
  background: var(--navy);
  color: #fff;
  font-weight: 700;
  font-size: .78rem;
  padding: .3rem .7rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.btn-all-deals {
  background: var(--navy);
  color: #fff;
  font-weight: 700;
  font-size: .8rem;
  padding: .4rem .9rem;
  border-radius: 8px;
  text-decoration: none;
  transition: .2s ease;
}

.btn-all-deals:hover {
  background: var(--blue);
  color: #fff;
}

.deal-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: .8rem;
  position: relative;
  height: 100%;
}

.deal-badge {
  position: absolute;
  top: .7rem;
  left: .7rem;
  background: #FFE58A;
  color: #5A4300;
  font-size: .65rem;
  font-weight: 800;
  padding: .25rem .55rem;
  border-radius: 6px;
  z-index: 2;
}

.deal-card img {
  width: 100%;
  height: 110px;
  object-fit: contain;
  background: var(--sky);
  border-radius: 8px;
  margin-top: 1.8rem;
}

.deal-add-form {
  position: absolute;
  bottom: .8rem;
  right: .8rem;
  z-index: 2;
}

.deal-add-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1.5px solid var(--line);
  background: #fff;
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: .2s ease;
}

.deal-add-btn:hover {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}

.deal-card-body {
  margin-top: .6rem;
}

.deal-name {
  font-size: .78rem;
  color: var(--ink);
  margin-bottom: .35rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.1em;
}

.deal-old-price {
  color: var(--muted);
  text-decoration: line-through;
  font-size: .76rem;
  margin-right: .3rem;
}

.deal-price {
  color: var(--blue-dark);
  font-weight: 800;
  font-size: .92rem;
}

/* ---- in focus banners ---- */
.focus-banner {
  display: block;
  border-radius: 14px;
  padding: 1.3rem;
  color: #fff;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  min-height: 150px;
  transition: .25s ease;
}

.focus-banner:hover {
  transform: translateY(-3px);
  color: #fff;
}

.focus-banner-eyebrow {
  display: block;
  font-size: .7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .05em;
  opacity: .85;
}

.focus-banner-title {
  display: block;
  font-weight: 800;
  font-size: 1.05rem;
  margin-top: .4rem;
  max-width: 65%;
  line-height: 1.3;
}

.focus-banner-img {
  position: absolute;
  right: -10px;
  bottom: -10px;
  width: 46%;
  height: 80%;
  object-fit: cover;
  border-radius: 10px;
  opacity: .9;
}

/* ---- dakota banner ---- */
.dakota-banner {
  background: var(--sky);
  border-radius: 20px;
  overflow: hidden;
}

.dakota-banner-text {
  padding: 2.4rem 2.2rem;
}

.dakota-banner-img {
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: cover;
}

/* ---- product detail: gallery ---- */
.pd-main-image-wrap {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--sky);
}

.pd-main-image {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
  background: #fff;
}


.pd-thumbs-wrapper {
  display: flex;
  gap: .7rem;
  margin-top: .9rem;
  overflow-x: auto;
  padding-bottom: .2rem;
}

.pd-thumb {
  flex: 0 0 68px;
  width: 68px;
  height: 68px;
  border-radius: 10px;
  border: 2px solid var(--line);
  overflow: hidden;
  cursor: pointer;
  transition: .2s ease;
  background: var(--sky);
}

.pd-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pd-thumb:hover {
  border-color: var(--blue);
}

.pd-thumb.active {
  border-color: var(--blue);
  box-shadow: 0 0 0 2px rgba(22, 104, 196, .2);
}

/* ---- product detail: variant selector ---- */
.pd-variant-btn {
  border: 1.5px solid var(--line);
  background: #fff;
  color: var(--navy);
  font-weight: 700;
  font-size: .85rem;
  padding: .45rem 1rem;
  border-radius: 8px;
  transition: .2s ease;
}

.pd-variant-btn:hover {
  border-color: var(--blue);
}

.pd-variant-btn.active {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
}

/* ---- product detail: tabs ---- */
.pd-tabs {
  border-bottom: 1.5px solid var(--line);
  gap: .4rem;
}

.pd-tabs .nav-link {
  border: none;
  border-bottom: 2.5px solid transparent;
  color: var(--muted);
  font-weight: 700;
  font-size: .9rem;
  padding: .8rem 1.1rem;
  border-radius: 0;
}

.pd-tabs .nav-link.active {
  color: var(--blue-dark);
  border-bottom-color: var(--blue);
  background: transparent;
}

.pd-tab-content {
  padding: 1.8rem 0;
}

.pd-feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .6rem 1.5rem;
}

.pd-feature-list li {
  color: var(--ink);
  font-size: .92rem;
}

.pd-feature-list li i {
  color: var(--wa);
  margin-right: 8px;
}

@media (max-width:576px) {
  .pd-feature-list {
    grid-template-columns: 1fr;
  }
}

.pd-review {
  border-bottom: 1px solid var(--line);
  padding: 1rem 0;
}

.pd-review:first-child {
  padding-top: 0;
}

.pd-spec-table {
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
}

.pd-spec-table th {
  background: var(--sky);
  color: var(--navy);
  font-weight: 700;
  width: 35%;
  font-size: .85rem;
}

.pd-spec-table td {
  color: var(--ink);
  font-size: .88rem;
}

.pd-spec-table th, .pd-spec-table td {
  padding: .7rem 1rem;
  border-color: var(--line);
}

/* ---- recent purchase toast ---- */
.purchase-toast {
  position: fixed;
  bottom: 22px;
  left: 22px;
  z-index: 1049;
  max-width: 320px;
  opacity: 0;
  transform: translateY(16px);
  pointer-events: none;
  transition: opacity .35s ease, transform .35s ease;
}

.purchase-toast.show {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.purchase-toast-inner {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 16px 34px -14px rgba(11, 37, 69, .35);
  padding: .85rem 1rem;
  display: flex;
  align-items: center;
  gap: .7rem;
  text-decoration: none;
  color: var(--ink);
  position: relative;
}

.purchase-toast-inner:hover {
  color: var(--ink);
  border-color: var(--blue);
}

.purchase-toast-inner img {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  object-fit: cover;
  background: var(--sky);
  flex: 0 0 44px;
}

.purchase-toast-text {
  font-size: .82rem;
  line-height: 1.35;
  padding-right: 1.2rem;
}

.purchase-toast-text strong {
  color: var(--navy);
}

.purchase-toast-text span {
  color: var(--blue-dark);
  font-weight: 600;
}

.purchase-toast-time {
  color: var(--muted);
  font-size: .72rem;
  margin-top: .15rem;
}

.purchase-toast-close {
  position: absolute;
  top: 6px;
  right: 6px;
  background: transparent;
  border: none;
  color: var(--muted);
  font-size: 1rem;
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.purchase-toast-close:hover {
  background: var(--sky);
  color: var(--navy);
}

@media (max-width:576px) {
  .purchase-toast {
    left: 12px;
    right: 12px;
    max-width: none;
    bottom: 14px;
  }
}