/* =============================================================
   Theme extras — search overlay
   ============================================================= */
.bags-search-overlay {
  position: fixed;
  inset: 0;
  background: rgba(17, 24, 39, 0.92);
  backdrop-filter: blur(6px);
  z-index: 1100;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: clamp(4rem, 18vh, 10rem) 1.25rem 2rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}
.bags-search-overlay.is-open { opacity: 1; visibility: visible; }

.bags-search-close {
  position: absolute;
  top: 1.5rem;
  right: 1.75rem;
  width: 2.75rem;
  height: 2.75rem;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 1.15rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.15s ease;
}
.bags-search-close:hover { background: rgba(255, 255, 255, 0.25); }

.bags-search-inner {
  width: min(40rem, 100%);
  transform: translateY(-0.75rem);
  transition: transform 0.25s ease;
}
.bags-search-overlay.is-open .bags-search-inner { transform: translateY(0); }

.bags-search-label {
  color: rgba(255, 255, 255, 0.75);
  font-weight: 600;
  font-size: 0.9375rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 0.875rem;
}

.bags-search-form {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: #fff;
  border-radius: 999px;
  padding: 0.5rem 0.5rem 0.5rem 1.25rem;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
}
.bags-search-form i { color: #61605c; font-size: 1.1rem; }
.bags-search-form input[type="search"] {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: none;
  font-size: 1.05rem;
  color: #181f30;
  background: transparent;
  padding: 0.5rem 0;
}
.bags-search-form input[type="search"]::placeholder { color: #9ca3af; }
.bags-search-form .btn { border-radius: 999px; white-space: nowrap; }

.bags-search-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.625rem;
  margin-top: 1.25rem;
}
.bags-search-tags span {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.8125rem;
  font-weight: 600;
}
.bags-search-tags a {
  display: inline-block;
  padding: 0.3rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #fff;
  font-size: 0.8125rem;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.bags-search-tags a:hover {
  background: #f05c4e;
  border-color: #f05c4e;
  color: #fff;
}

body.bags-search-open { overflow: hidden; }

/* =============================================================
   Blog — category pills, featured post, richer cards, pagination
   ============================================================= */
.bags-blog-pills { flex-wrap: wrap; }
.bags-blog-pills .nav-link {
  border: 1px solid #e5e7eb;
  border-radius: 999px;
  padding: 0.45rem 1.15rem;
  color: #61605c;
  font-weight: 600;
  font-size: 0.875rem;
  background: #fff;
  transition: all 0.15s ease;
}
.bags-blog-pills .nav-link:hover { border-color: #1e2738; color: #181f30; }
.bags-blog-pills .nav-link.active {
  background: #1e2738;
  border-color: #1e2738;
  color: #fff;
}
.bags-blog-pills .pill-count {
  display: inline-block;
  margin-left: 0.35rem;
  padding: 0 0.5rem;
  border-radius: 999px;
  background: rgba(24, 31, 48, 0.08);
  font-size: 0.75rem;
}
.bags-blog-pills .nav-link.active .pill-count { background: rgba(255, 255, 255, 0.18); }

/* featured post */
.bags-featured-post {
  display: grid;
  gap: 0;
  background: #f7f6f3;
  border-radius: 2rem;
  overflow: hidden;
  text-decoration: none;
  margin-bottom: 1.5rem;
}
@media (min-width: 992px) {
  .bags-featured-post { grid-template-columns: 1.15fr 1fr; }
}
.bags-featured-media { overflow: hidden; }
.bags-featured-media img {
  width: 100%;
  height: 100%;
  min-height: 16rem;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.bags-featured-post:hover .bags-featured-media img { transform: scale(1.04); }
.bags-featured-body {
  padding: clamp(1.5rem, 4vw, 3rem);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 1rem;
}
.bags-featured-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem;
}
.blog-cat-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: #f05c4e;
  color: #fff;
  border-radius: 999px;
  padding: 0.25rem 0.8rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}
.blog-cat-chip.is-light { background: #fff; color: #181f30; border: 1px solid #e5e7eb; }
.bags-featured-title {
  font-family: "Quicksand", system-ui, sans-serif;
  font-weight: 700;
  font-size: clamp(1.35rem, 2.6vw, 2rem);
  line-height: 1.25;
  color: #181f30;
  margin: 0;
}
.bags-featured-post:hover .bags-featured-title { color: #f05c4e; }
.bags-featured-excerpt {
  color: #61605c;
  font-size: 0.9875rem;
  line-height: 1.7;
  margin: 0;
}
.bags-featured-body .btn i { margin-left: 0.35rem; }

/* richer grid cards */
.blog-media { position: relative; }
.blog-cat-tag {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  background: rgba(255, 255, 255, 0.94);
  color: #181f30;
  border-radius: 999px;
  padding: 0.25rem 0.8rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}
.blog-excerpt {
  color: #61605c;
  font-size: 0.875rem;
  line-height: 1.65;
  margin: 0.5rem 0 0.75rem;
}
.blog-readmore {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: #f05c4e;
  font-weight: 700;
  font-size: 0.875rem;
}
.blog-readmore i { transition: transform 0.2s ease; }
.blog-card:hover .blog-readmore i { transform: translateX(4px); }

/* single post hero image — always a clean landscape crop, never a
   stretched/blown-up portrait */
.bags-post-hero {
  max-width: 56rem;
  margin-left: auto;
  margin-right: auto;
}
.bags-post-hero img {
  width: 100%;
  aspect-ratio: 2 / 1;
  max-height: 26rem;
  object-fit: cover;
  display: block;
}

/* blog card media — cropped cover, never distorted */
.blog-media img,
.bags-featured-media img { object-position: center; }

/* pagination */
.bags-pagination .nav-links {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.bags-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.5rem;
  height: 2.5rem;
  padding: 0 0.75rem;
  border: 1px solid #e5e7eb;
  border-radius: 999px;
  background: #fff;
  color: #61605c;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  transition: all 0.15s ease;
}
.bags-pagination .page-numbers:hover { border-color: #1e2738; color: #181f30; }
.bags-pagination .page-numbers.current {
  background: #1e2738;
  border-color: #1e2738;
  color: #fff;
}
.bags-pagination .page-numbers.dots { border: 0; background: transparent; }
.bags-pagination .screen-reader-text { display: none; }

/* Category cards: CSS grid (no absolute layout), same scooped-corner style */
.cat-card {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 52px;
  grid-template-rows: minmax(0, 1fr) 52px;
  width: 100%;
  aspect-ratio: 4 / 5;
  max-height: 360px;
  isolation: isolate;
  position: static !important;
}
.cat-card .cat-media {
  grid-column: 1 / -1;
  grid-row: 1 / -1;
  position: relative !important;
  inset: auto !important;
  display: block;
  min-height: 0;
  height: 100%;
  border-radius: 20px;
  overflow: hidden;
  background: #f3f1ec;
  -webkit-mask-image: radial-gradient(circle 34px at calc(100% - 26px) calc(100% - 26px), transparent 33px, #000 34px) !important;
  mask-image: radial-gradient(circle 34px at calc(100% - 26px) calc(100% - 26px), transparent 33px, #000 34px) !important;
  -webkit-mask-size: auto !important;
  mask-size: auto !important;
}
.cat-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover !important;
  object-position: center center;
}
.cat-card .cat-label {
  grid-column: 1;
  grid-row: 2;
  align-self: center;
  position: static !important;
  left: auto !important;
  right: auto !important;
  bottom: auto !important;
  z-index: 2;
  margin: 0 0.35rem 0 1.1rem;
  color: #fff;
  text-align: left;
}
.cat-card .cat-go {
  grid-column: 2;
  grid-row: 2;
  position: static !important;
  right: auto !important;
  bottom: auto !important;
  width: 52px;
  height: 52px;
  z-index: 2;
}

/* Quicksand on heading classes only — not raw h1–h6 */
.hero-title,
.section-title,
.split-title,
.about-title,
.stat-card .stat-title,
.problem-title,
.quote-title,
.form-section-title,
.cta-title,
.tree-title,
.blog-title,
.newsletter-title,
.footer-title,
.bags-featured-title {
  font-family: "Quicksand", system-ui, sans-serif;
  letter-spacing: -0.5px;
}

/* Homepage quote form — compact, 4 fields per row */
.home-quote-panel {
  width: 100%;
  max-width: 100%;
  padding: 1.25rem 1.35rem;
}
.home-quote-panel .form-label {
  font-size: 0.78rem;
  margin-bottom: 0.25rem;
}
.home-quote-panel .form-control,
.home-quote-panel .form-select {
  padding: 0.45rem 0.7rem;
  font-size: 0.875rem;
}
.home-quote-panel .quote-upload {
  padding: 0.65rem 0.75rem;
  font-size: 0.82rem;
}
.home-quote-panel .quote-upload .bi {
  display: inline;
  font-size: 1rem;
  margin: 0 0.35rem 0 0;
}
.home-quote-options {
  border: 1px solid #e5e7eb;
  border-radius: 0.65rem;
  padding: 0.55rem 0.85rem 0.7rem;
  margin: 0;
}
.home-quote-options legend {
  float: none;
  width: auto;
  font-family: "Poppins", "Inter", system-ui, sans-serif;
  font-weight: 600;
  font-size: 0.78rem;
  color: #181f30;
  padding: 0 0.3rem;
}
.home-quote-check {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  cursor: pointer;
  user-select: none;
  font-size: 0.82rem;
  color: #1e2738;
  margin: 0;
}
.home-quote-check input {
  margin: 0;
  width: 0.9rem;
  height: 0.9rem;
  accent-color: #f05c4e;
  flex-shrink: 0;
}

/* Category long description — panel + scroller */
.archive-prose-box {
  background: #f7f6f3;
  border-radius: 1.25rem;
  padding: 1.5rem 1.75rem 1.5rem 1.6rem;
  max-height: 22rem;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: #1e2738 #efede7;
}
.archive-prose-box::-webkit-scrollbar { width: 6px; }
.archive-prose-box::-webkit-scrollbar-track {
  background: #efede7;
  border-radius: 999px;
}
.archive-prose-box::-webkit-scrollbar-thumb {
  background: #1e2738;
  border-radius: 999px;
}
.archive-prose-box::-webkit-scrollbar-thumb:hover { background: #f05c4e; }
.archive-prose-box h2,
.archive-prose-box h3 { color: #181f30; }
.archive-prose-box h3 {
  font-size: 1.05rem;
  margin: 1.25rem 0 0.5rem;
}
.archive-prose-box ul {
  margin: 0 0 1rem;
  padding-left: 1.2rem;
  color: #61605c;
}
.archive-prose-box li { margin-bottom: 0.35rem; }

#get-quote { padding-bottom: 1.25rem; }
.best-sellers-section { padding-top: 2.75rem; }

.listing-card img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  aspect-ratio: auto;
  border-radius: 0;
  box-shadow: none;
}

.product-card .product-media img {
  object-fit: contain;
}

.site-footer .footer-bottom {
  padding-right: 4.25rem;
}
.site-footer .pay-icons {
  display: inline-flex;
  gap: 0.4rem;
  flex-wrap: wrap;
  align-items: center;
}
.site-footer .pay-logo {
  height: 28px;
  width: 42px;
  object-fit: contain;
  object-position: center;
  display: block;
  flex: 0 0 auto;
  border-radius: 4px;
  background: transparent;
  box-shadow: none;
}

/* Product gallery — stay in column flow (no sticky overlay on scroll) */
.product-gallery {
  position: static;
  top: auto;
}
.product-hero-row {
  align-items: flex-start;
}
.gallery-thumbs {
  flex-wrap: nowrap;
}
.gallery-main { position: relative; }
.gallery-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  background: transparent;
  border-radius: 1.25rem;
  overflow: hidden;
}
.gallery-frame img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100% !important;
  height: 100% !important;
  max-width: none;
  max-height: none;
  object-fit: cover;
  object-position: center;
  transform: none;
}
.gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 2.5rem;
  height: 2.5rem;
  border: 0;
  border-radius: 50%;
  background: #fff;
  color: #181f30;
  box-shadow: 0 8px 22px rgba(24, 31, 48, 0.16);
  display: grid;
  place-items: center;
  cursor: pointer;
}
.gallery-nav:hover { background: #181f30; color: #fff; }
.gallery-nav-prev { left: 0.85rem; }
.gallery-nav-next { right: 0.85rem; }
.gallery-thumbs-wrap {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.5rem;
  align-items: center;
  margin-top: 0.85rem;
}
.gallery-thumbs {
  display: flex;
  gap: 0.65rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 0.15rem 0.1rem;
  scrollbar-width: none;
}
.gallery-thumbs::-webkit-scrollbar { display: none; }
.gallery-thumb {
  flex: 0 0 calc(25% - 0.5rem);
  min-width: 4.5rem;
  max-width: 6.5rem;
  aspect-ratio: 1 / 1;
  display: block;
  padding: 0;
  background: transparent;
  border: 2px solid transparent;
  border-radius: 0.75rem;
  overflow: hidden;
  cursor: pointer;
  scroll-snap-align: start;
  opacity: 0.7;
  transition: border-color 0.28s ease, opacity 0.28s ease;
}
@media (max-width: 575.98px) {
  .gallery-thumb {
    flex-basis: calc(33.333% - 0.45rem);
    min-width: 4rem;
  }
}
.gallery-thumb:hover,
.gallery-thumb.is-active {
  opacity: 1;
  border-color: #f05c4e;
}
.gallery-thumb img {
  display: block;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
  object-position: center;
  pointer-events: none;
}
.gallery-thumbs-nav {
  width: 2rem;
  height: 2rem;
  border: 0;
  border-radius: 50%;
  background: #f7f6f3;
  color: #181f30;
  display: grid;
  place-items: center;
  cursor: pointer;
}
.gallery-thumbs-nav:hover { background: #181f30; color: #fff; }

/* Order process — above product specs */
.order-process {
  display: grid;
  grid-template-columns: repeat(var(--order-cols, 4), 1fr);
  gap: 1.25rem;
}
@media (max-width: 991.98px) {
  .order-process { grid-template-columns: repeat(2, 1fr); }
  .order-step::after { display: none; }
}
@media (max-width: 575.98px) {
  .order-process { grid-template-columns: 1fr; }
}
.order-step {
  position: relative;
  background: #f7f6f3;
  border-radius: 1.25rem;
  padding: 1.75rem 1.4rem 1.5rem;
  height: 100%;
}
.order-step::after {
  content: "";
  position: absolute;
  top: 2.15rem;
  right: -0.75rem;
  width: 1.5rem;
  height: 2px;
  background: rgba(24, 31, 48, 0.12);
}
.order-step:last-child::after { display: none; }
.order-step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 50%;
  background: #181f30;
  color: #fff;
  font-family: "Poppins", system-ui, sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 1rem;
}
.order-step-title {
  font-family: "Quicksand", system-ui, sans-serif;
  font-weight: 600;
  font-size: 1.05rem;
  color: #181f30;
  margin: 0 0 0.5rem;
  text-transform: none;
  letter-spacing: 0;
}
.order-step-text {
  margin: 0;
  color: #61605c;
  font-size: 0.92rem;
  line-height: 1.6;
}

/* Gallery buy bar — price + qty + add to cart */
.gallery-buy {
  margin-top: 1.25rem;
}
.gallery-buy-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem 1.75rem;
  margin-bottom: 1rem;
}
.gallery-buy-price {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem 0.6rem;
}
.gallery-buy-label {
  font-size: 0.9rem;
  font-weight: 500;
  color: #181f30;
}
.gallery-buy-now {
  font-size: 1.25rem;
  font-weight: 600;
  color: #181f30;
  line-height: 1;
}
.gallery-buy-now .woocommerce-Price-amount { font-weight: 600; }
.gallery-buy-was {
  font-size: 0.9rem;
  color: #8f8d85;
  text-decoration: line-through;
}
.gallery-buy-tip {
  position: relative;
  display: inline-flex;
}
.gallery-buy-tip-btn {
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 999px;
  border: 1px solid #e5e7eb;
  background: #fff;
  color: #61605c;
  font-size: 0.7rem;
  font-weight: 700;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: help;
  padding: 0;
}
.gallery-buy-tip-text {
  position: absolute;
  left: 50%;
  top: calc(100% + 0.5rem);
  transform: translateX(-50%);
  width: 17rem;
  padding: 0.65rem 0.8rem;
  border-radius: 0.5rem;
  background: #181f30;
  color: #fff;
  font-size: 0.75rem;
  line-height: 1.45;
  box-shadow: 0 10px 28px rgba(24, 31, 48, 0.22);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.18s ease, visibility 0.18s ease;
  z-index: 20;
}
.gallery-buy-tip:hover .gallery-buy-tip-text,
.gallery-buy-tip:focus-within .gallery-buy-tip-text {
  opacity: 1;
  visibility: visible;
}
.gallery-buy-qty {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}
.gallery-buy-qty label {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 500;
  color: #181f30;
}
.gallery-buy-qty input {
  width: 5.5rem;
  border: 1px solid #e5e7eb;
  border-radius: 0.5rem;
  padding: 0.5rem 0.7rem;
  font-size: 0.9rem;
  color: #1e2738;
  background: #fff;
}
.gallery-buy-qty input:focus {
  outline: 0;
  border-color: #f05c4e;
  box-shadow: 0 0 0 0.15rem rgba(240, 92, 78, 0.15);
}
.gallery-buy-btn {
  min-width: 9rem;
}

/* Product tabs — description scroller + reviews */
.product-tabs-section .nav-pills { margin-top: 0; }
.product-tab-scroll {
  max-height: 28rem;
}
.product-spec-wysiwyg .spec-panel {
  background: #f7f6f3;
  border-radius: 1.25rem;
  padding: 1.75rem 1.5rem;
}
.product-reviews-panel {
  background: #f7f6f3;
  border-radius: 1.25rem;
  padding: 1.75rem 1.5rem 2rem;
}
.product-reviews-panel .woocommerce-Reviews-title,
.product-reviews-panel .comment-reply-title {
  font-family: "Quicksand", system-ui, sans-serif;
  font-weight: 600;
  color: #181f30;
  font-size: 1.15rem;
  margin-bottom: 1rem;
  display: block;
}
.product-reviews-panel .comment-notes,
.product-reviews-panel .woocommerce-noreviews {
  color: #61605c;
  font-size: 0.9rem;
  margin-bottom: 1rem;
}
.product-reviews-panel .commentlist {
  list-style: none;
  padding: 0;
  margin: 0 0 1.75rem;
}
.product-reviews-panel .comment_container {
  display: flex;
  gap: 1rem;
  padding: 1.1rem 0;
  border-bottom: 1px solid rgba(24, 31, 48, 0.08);
}
.product-reviews-panel .comment_container img.avatar,
.product-reviews-panel .avatar {
  border-radius: 50%;
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  background: #e8e6e1;
}
.product-reviews-panel .comment-text { min-width: 0; flex: 1; }
.product-reviews-panel .meta {
  color: #181f30;
  font-weight: 600;
  font-size: 0.92rem;
  margin: 0.15rem 0 0.4rem;
}
.product-reviews-panel .meta time,
.product-reviews-panel .woocommerce-review__published-date {
  font-weight: 400;
  color: #61605c;
}
.product-reviews-panel .description p { margin: 0; color: #1e2738; font-size: 0.95rem; }

/* Existing review stars (Woo markup, no Woo font) */
.product-reviews-panel .star-rating {
  position: relative;
  display: inline-block;
  overflow: hidden;
  width: 6.6em;
  height: 1.15em;
  line-height: 1.15;
  font-size: 1rem;
  font-family: "bootstrap-icons" !important;
  letter-spacing: 0.12em;
  margin-bottom: 0.2rem;
  color: transparent;
}
.product-reviews-panel .star-rating::before {
  content: "\f588\f588\f588\f588\f588";
  color: #d6d3cd;
  position: absolute;
  left: 0;
  top: 0;
  white-space: nowrap;
}
.product-reviews-panel .star-rating span {
  position: absolute;
  left: 0;
  top: 0;
  overflow: hidden;
  height: 1.15em;
  padding-top: 1.5em;
  white-space: nowrap;
}
.product-reviews-panel .star-rating span::before {
  content: "\f586\f586\f586\f586\f586";
  color: #f5b301;
  position: absolute;
  left: 0;
  top: 0;
  font-family: "bootstrap-icons";
  letter-spacing: 0.12em;
}

/* Interactive rating */
.product-reviews-panel .comment-form-rating {
  margin: 0 0 1rem;
}
.product-reviews-panel .bags-rating-label,
.product-reviews-panel .comment-form-rating > label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  color: #181f30;
  margin-bottom: 0.4rem;
}
.product-reviews-panel .bags-rating {
  display: inline-flex;
  flex-direction: row-reverse;
  justify-content: flex-end;
  gap: 0.2rem;
}
.product-reviews-panel .bags-rating input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  pointer-events: none;
}
.product-reviews-panel .bags-rating label {
  cursor: pointer;
  color: #d6d3cd;
  font-size: 1.55rem;
  line-height: 1;
  margin: 0;
  transition: color 0.15s ease, transform 0.15s ease;
}
.product-reviews-panel .bags-rating label:hover,
.product-reviews-panel .bags-rating label:hover ~ label,
.product-reviews-panel .bags-rating input:checked ~ label,
.product-reviews-panel .bags-rating input:focus-visible + label {
  color: #f5b301;
}
.product-reviews-panel .bags-rating label:hover { transform: scale(1.08); }

/* Woo fallback: hide the "1 of 5 stars" text links and show glyphs */
.product-reviews-panel p.stars { display: inline-flex; gap: 0.15rem; margin: 0; }
.product-reviews-panel p.stars a {
  position: relative;
  display: inline-block;
  width: 1.4em;
  height: 1.4em;
  font-size: 1.35rem;
  text-indent: -9999px;
  overflow: hidden;
  color: #d6d3cd;
  text-decoration: none;
}
.product-reviews-panel p.stars a::before {
  font-family: "bootstrap-icons";
  content: "\f588";
  text-indent: 0;
  position: absolute;
  left: 0;
  top: 0;
  font-size: 1.35rem;
}
.product-reviews-panel p.stars:hover a::before { content: "\f586"; color: #f5b301; }
.product-reviews-panel p.stars a:hover ~ a::before { content: "\f588"; color: #d6d3cd; }
.product-reviews-panel p.stars.selected a.active ~ a::before { content: "\f588"; color: #d6d3cd; }
.product-reviews-panel p.stars.selected a.active::before,
.product-reviews-panel p.stars.selected a:not(.active)::before { content: "\f586"; color: #f5b301; }
.product-reviews-panel p.stars.selected a.active ~ a::before { content: "\f588"; color: #d6d3cd; }
.product-reviews-panel #rating { display: none; }

.product-reviews-panel .comment-form { margin-top: 0.5rem; }
.product-reviews-panel .comment-form-author,
.product-reviews-panel .comment-form-email {
  display: inline-block;
  width: calc(50% - 0.4rem);
  vertical-align: top;
}
.product-reviews-panel .comment-form-email { margin-left: 0.8rem; }
@media (max-width: 575.98px) {
  .product-reviews-panel .comment-form-author,
  .product-reviews-panel .comment-form-email {
    display: block;
    width: 100%;
    margin-left: 0;
  }
}
.product-reviews-panel .comment-form label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  color: #181f30;
  margin-bottom: 0.35rem;
}
.product-reviews-panel .comment-form .required { color: #c83131; text-decoration: none; }
.product-reviews-panel .comment-form input[type="text"],
.product-reviews-panel .comment-form input[type="email"],
.product-reviews-panel .comment-form textarea {
  width: 100%;
  border: 1px solid #e5e7eb;
  border-radius: 0.6rem;
  padding: 0.7rem 0.9rem;
  margin-bottom: 0.9rem;
  background: #fff;
  color: #1e2738;
}
.product-reviews-panel .comment-form textarea { min-height: 8rem; resize: vertical; }
.product-reviews-panel .comment-form input:focus,
.product-reviews-panel .comment-form textarea:focus {
  outline: 0;
  border-color: #1e2738;
  box-shadow: 0 0 0 0.2rem rgba(30, 39, 56, 0.08);
}
.product-reviews-panel .form-submit { margin: 0.25rem 0 0; }
.product-reviews-panel .comment-form .submit,
.product-reviews-panel .comment-form input[type="submit"] {
  display: inline-block;
  width: auto;
  min-width: 10rem;
  background: #181f30;
  color: #fff;
  border: 0;
  border-radius: 999px;
  padding: 0.75rem 1.6rem;
  font-weight: 600;
  cursor: pointer;
}
.product-reviews-panel .comment-form .submit:hover { background: #1e2738; }
.product-reviews-panel .bags-hp {
  position: absolute;
  left: -9999px;
  height: 0;
  overflow: hidden;
}
.product-reviews-panel .comment-form-cookies-consent {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.82rem;
  color: #61605c;
  margin-bottom: 0.9rem;
}
.product-reviews-panel .comment-form-cookies-consent input { margin-top: 0.2rem; }

/* Header cart — bounce / pulse after add-to-cart */
.site-nav .js-bags-cart-toggle {
  position: relative;
}
.site-nav .bags-cart-icon {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.site-nav .bags-cart-badge {
  position: absolute;
  top: -0.55rem;
  right: -0.7rem;
  min-width: 1.1rem;
  height: 1.1rem;
  padding: 0 0.28rem;
  border-radius: 999px;
  background: #f05c4e;
  color: #fff;
  font-size: 0.62rem;
  font-weight: 700;
  line-height: 1.1rem;
  text-align: center;
  display: none;
}
.site-nav .bags-cart-badge.is-on { display: block; }
.site-nav .js-bags-cart-toggle.is-adding .bags-cart-icon {
  animation: bags-cart-bounce 0.55s ease 0s 3;
  transform-origin: center bottom;
}
.site-nav .js-bags-cart-toggle.is-notifying .bi {
  color: #f05c4e;
  animation: bags-cart-pulse 0.9s ease-in-out infinite;
}
.site-nav .bags-cart-count.is-bump,
.site-nav .bags-cart-badge.is-on.is-bump {
  animation: bags-count-pop 0.4s ease;
}
@keyframes bags-cart-bounce {
  0%, 100% { transform: translateY(0) scale(1) rotate(0); }
  25% { transform: translateY(-7px) scale(1.18) rotate(-12deg); }
  50% { transform: translateY(0) scale(1.05) rotate(10deg); }
  75% { transform: translateY(-4px) scale(1.12) rotate(-6deg); }
}
@keyframes bags-cart-pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.22); }
}
@keyframes bags-count-pop {
  0% { transform: scale(0.6); }
  70% { transform: scale(1.25); }
  100% { transform: scale(1); }
}

html, body { overflow-x: clip; }

/* =============================================================
   Header — logo / search / contact tiles / pill nav
   ============================================================= */
.bags-chrome {
  background: #fff;
  z-index: 1030;
}
.bags-chrome.sticky-top {
  position: sticky;
  top: 0;
  z-index: 1030;
}
.site-header { background: #fff; }
.header-top { padding: 0.9rem 0 0.75rem; }
.header-top__inner {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}
.site-header .brand {
  flex: 0 0 auto;
  max-width: min(200px, 48vw);
  min-width: 0;
}
.site-header .brand .brand-logo,
.site-header .brand img,
.bags-offcanvas__header .brand-logo {
  height: 52px;
  width: auto;
  max-width: 100%;
  display: block;
}
.header-search {
  flex: 1 1 auto;
  max-width: 560px;
  min-width: 0;
  position: relative;
}
.header-search input[type="search"] {
  width: 100%;
  border: 1.5px solid #e5e7eb;
  border-radius: 999px;
  padding: 0.8rem 3.4rem 0.8rem 1.2rem;
  font-size: 0.92rem;
  color: #1e2738;
  background: #fff;
}
.header-search input[type="search"]:focus {
  outline: none;
  border-color: #f05c4e;
  box-shadow: 0 0 0 0.2rem rgba(240, 92, 78, 0.12);
}
.header-search__submit {
  position: absolute;
  right: 0.35rem;
  top: 50%;
  transform: translateY(-50%);
  width: 2.45rem;
  height: 2.45rem;
  border: 0;
  border-radius: 50%;
  background: #181f30;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}
.header-search__submit:hover { background: #f05c4e; color: #fff; }
.header-top__actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex: 0 0 auto;
  margin-left: auto;
}
.header-top__actions--mobile {
  flex-direction: column;
  align-items: stretch;
  margin: 1.25rem 0 0;
  gap: 0.75rem;
}
.header-tile {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: #181f30;
  min-width: 0;
}
.header-tile:hover { color: #f05c4e; }
.header-tile__icon {
  width: 42px;
  height: 42px;
  border-radius: 0.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #fff;
  font-size: 1.05rem;
}
.header-tile__icon--phone { background: #181f30; }
.header-tile__icon--whatsapp { background: #25d366; }
.header-tile:hover .header-tile__icon--phone { background: #f05c4e; }
.header-tile__text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}
.header-tile__text strong {
  font-size: 0.9rem;
  font-weight: 700;
  white-space: nowrap;
}
.header-tile__text small {
  font-size: 0.72rem;
  font-weight: 500;
  color: #8f8d85;
  margin-top: 0.12rem;
}
.header-quote {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.7rem 1.15rem;
  border-radius: 0.85rem;
  font-weight: 700;
  white-space: nowrap;
}
.header-icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  color: #181f30;
  text-decoration: none;
  font-size: 1.2rem;
  position: relative;
}
.header-icon-btn:hover { color: #f05c4e; }
.header-mobile-tools {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin-left: auto;
}
.header-menu-toggle {
  width: 44px;
  height: 44px;
  border: 1px solid #e5e7eb;
  border-radius: 0.75rem;
  background: #fff;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 0;
}
.header-menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: #181f30;
  border-radius: 2px;
}
.primary-nav {
  padding: 0;
  background: #fff;
  border-top: 1.5px solid #e5e7eb;
  border-bottom: 1.5px solid #e5e7eb;
}
.primary-nav__pill {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  max-width: 100%;
  margin: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  padding: 0.2rem 0;
  box-shadow: none;
}
.primary-nav .navbar-nav {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: flex-start;
  gap: 0.15rem;
  width: 100%;
  margin: 0;
}
.primary-nav .nav-item {
  display: flex;
  align-items: center;
  position: relative;
}
.primary-nav .nav-link {
  font-family: Poppins, system-ui, sans-serif;
  font-weight: 500;
  font-size: 0.95rem;
  color: #181f30;
  padding: 0.55rem 0.95rem !important;
}
.primary-nav .nav-link:hover,
.primary-nav .nav-link:focus,
.primary-nav .nav-item.show > .nav-link {
  color: #f05c4e;
}
.primary-nav .nav-link.is-deals { color: #f05c4e; }
.primary-nav .dropdown-menu {
  border: 1px solid #e5e7eb;
  border-radius: 0.75rem;
  box-shadow: 0 16px 38px rgba(24, 31, 48, 0.1);
  padding: 0.45rem;
  margin-top: 0.45rem;
}
.primary-nav .dropdown-item {
  border-radius: 0.6rem;
  font-weight: 500;
  padding: 0.5rem 0.8rem;
}
.primary-nav .dropdown-item:hover { background: #f7f6f3; color: #f05c4e; }
.bags-offcanvas { width: min(22rem, 100%); }
.bags-offcanvas__header {
  align-items: center;
  border-bottom: 1px solid #e5e7eb;
}
.bags-offcanvas__header .brand-logo { height: 40px; }
.bags-offcanvas__body .navbar-nav {
  flex-direction: column;
  flex-wrap: nowrap;
  width: 100%;
  gap: 0.15rem;
}
.bags-offcanvas__body .nav-link {
  color: #181f30;
  font-weight: 600;
  padding: 0.55rem 0;
}
.bags-offcanvas__body .dropdown-menu {
  position: static;
  display: block;
  border: 0;
  box-shadow: none;
  padding: 0 0 0.5rem 0.75rem;
}
.header-icon-btn .bags-cart-icon,
.header-tile .bags-cart-icon { position: relative; display: inline-flex; }
.header-icon-btn .bags-cart-badge,
.header-tile .bags-cart-badge {
  position: absolute;
  top: -0.35rem;
  right: -0.45rem;
  min-width: 1.05rem;
  height: 1.05rem;
  border-radius: 999px;
  background: #f05c4e;
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 0 0.25rem;
}
.header-icon-btn .bags-cart-badge.is-on,
.header-tile .bags-cart-badge.is-on { display: inline-flex; }
@media (max-width: 1199.98px) {
  .header-tile__text small { display: none; }
  .header-search { max-width: 280px; }
}
@media (max-width: 991.98px) {
  .header-top__inner { gap: 0.75rem; }
}
