/* =============================================================================
   Responsive overrides — emart
   Loaded after theme CSS on both admin (Soyuz) and frontend to patch common
   Bootstrap 4 / theme issues at tablet and phone widths.
   ============================================================================= */

/* Prevent any horizontal page scroll (common cause: full-width hero images). */
html, body {
  max-width: 100%;
  overflow-x: hidden;
}

/* All images and media default to fluid. */
img, video, iframe, svg, canvas {
  max-width: 100%;
  height: auto;
}

/* Tables must be scrollable on narrow viewports. DataTables wraps its own
   container so we target the common holders. */
.table-responsive,
.dataTables_wrapper,
.card-body > table,
.card > table {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.card-body > table,
.card > table {
  display: block;
  width: 100%;
}

/* DataTables controls stack nicely on phones. */
@media (max-width: 575.98px) {
  .dataTables_length,
  .dataTables_filter,
  .dataTables_info,
  .dataTables_paginate {
    float: none !important;
    text-align: left !important;
    width: 100%;
    margin-bottom: 0.5rem;
  }
  .dataTables_filter input {
    width: 100% !important;
    margin-left: 0 !important;
  }
  .dataTables_paginate .paginate_button {
    padding: 0.25rem 0.5rem;
  }
}

/* Modals: full-width on phones, comfortable padding. */
@media (max-width: 575.98px) {
  .modal-dialog {
    margin: 0.5rem;
    max-width: calc(100vw - 1rem);
  }
  .modal-dialog.modal-lg,
  .modal-dialog.modal-xl {
    max-width: calc(100vw - 1rem);
  }
  .modal-body {
    padding: 1rem;
  }
}

/* Breadcrumbs: allow wrapping, tighten spacing. */
.breadcrumb {
  flex-wrap: wrap;
  padding: 0.5rem 1rem;
}
.breadcrumb-item {
  white-space: normal;
}

/* ---------------------------------------------------------------------------
   Admin-specific (Soyuz)
   --------------------------------------------------------------------------- */

/* Sidebar should collapse cleanly and content shouldn't be clipped on tablet. */
@media (max-width: 991.98px) {
  .main-content,
  .contentbar {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }

  /* Soyuz page header buttons can overflow the row on tablet — allow wrap. */
  .widgetbar {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem;
  }

  /* Breadcrumb action bar wraps below the title instead of clipping. */
  .page-title-box .col-md-6 + .col-md-6 {
    margin-top: 0.5rem;
  }

  /* Keep card margins sensible. */
  .card.m-b-30 {
    margin-bottom: 1.25rem;
  }
}

/* Phone-specific admin tweaks. */
@media (max-width: 575.98px) {
  .page-title-box h5,
  .page-title-box h4 {
    font-size: 1.1rem;
  }
  .card-header h5.card-title {
    font-size: 0.95rem;
  }
  .btn { padding: 0.4rem 0.65rem; font-size: 0.85rem; }
  .form-control { font-size: 0.95rem; }

  /* Many Soyuz pages declare width100 which is 100% but stale JS adds min-widths. */
  .table.width100 {
    min-width: 0 !important;
  }

  /* Toolbar buttons on top of content pages wrap instead of overflowing. */
  .widgetbar .btn {
    margin-bottom: 0.35rem;
  }

  /* Tabs scroll horizontally rather than break layout. */
  .nav-tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
  }
}

/* ---------------------------------------------------------------------------
   Frontend (emart / Media City)
   --------------------------------------------------------------------------- */

@media (max-width: 991.98px) {
  .product-home .container,
  .product-home .container-fluid {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }
}

@media (max-width: 767.98px) {
  /* Product grid — ensure at least 2 per row on phones, not a single overflow column. */
  .product-main-block .col-xl-2,
  .product-main-block .col-lg-3,
  .product-main-block .col-md-4 {
    flex: 0 0 50%;
    max-width: 50%;
  }

  /* Account/dashboard sidebar stacks above content. */
  .dashboard-sidebar {
    margin-bottom: 1rem;
  }

  /* Checkout step indicators fit the viewport. */
  .checkout-step {
    font-size: 0.8rem;
  }

  /* Cart table rows collapse to stacked card style. */
  .cart-table thead { display: none; }
  .cart-table tbody td {
    display: block;
    width: 100%;
    text-align: right;
    position: relative;
    padding-left: 40%;
  }
  .cart-table tbody td::before {
    content: attr(data-label);
    position: absolute;
    left: 0.75rem;
    font-weight: 600;
    text-align: left;
  }
}

@media (max-width: 575.98px) {
  h1 { font-size: 1.5rem; }
  h2 { font-size: 1.3rem; }
  h3 { font-size: 1.15rem; }

  /* Search / main navigation stacks vertically. */
  .navbar-brand img { max-height: 38px; }

  /* Product cards tighten padding. */
  .product-main-block .card,
  .product-main-block .product-card {
    padding: 0.5rem;
  }
}

/* ---------------------------------------------------------------------------
   Accessibility helpers (keeps focus visible on touch and desktop)
   --------------------------------------------------------------------------- */
:focus-visible {
  outline: 2px solid #2684ff;
  outline-offset: 2px;
}
.sr-only-focusable:focus,
.sr-only-focusable:active {
  position: static !important;
  width: auto !important;
  height: auto !important;
  clip: auto !important;
}

/* Skip-to-content link — hidden until focused by keyboard. */
.skip-to-content {
  position: absolute;
  top: -100px;
  left: 0;
  z-index: 10000;
  padding: 0.5rem 1rem;
  background: #111;
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  border-radius: 0 0 4px 0;
}
.skip-to-content:focus,
.skip-to-content:active {
  top: 0;
  outline: 2px solid #2684ff;
}

/* Higher minimum hit-target for interactive controls (WCAG 2.5.5). */
a, button, [role="button"], input[type="button"], input[type="submit"] {
  min-height: 32px;
}

/* ---------------------------------------------------------------------------
   Skeleton loader (shimmer placeholder)
   --------------------------------------------------------------------------- */
.skeleton-overlay {
  position: absolute;
  inset: 0;
  background: #fff;
  z-index: 5;
  padding: 1rem;
  overflow: hidden;
}
@keyframes skeleton-shimmer {
  0%   { background-position: -400px 0; }
  100% { background-position: 400px 0; }
}
.skel-line, .skel-thumb, .skel-avatar, .skel-gallery, .skel-card > div {
  background: #eee;
  background-image: linear-gradient(90deg, #eee 0px, #f7f7f7 40px, #eee 80px);
  background-size: 600px 100%;
  animation: skeleton-shimmer 1.4s infinite linear;
  border-radius: 4px;
}
.skel-line      { height: 12px; margin: 0.6rem 0; }
.skel-line.lg   { height: 22px; }
.skel-line.w-30 { width: 30%; }
.skel-line.w-40 { width: 40%; }
.skel-line.w-50 { width: 50%; }
.skel-line.w-60 { width: 60%; }
.skel-line.w-70 { width: 70%; }
.skel-line.w-80 { width: 80%; }
.skel-line.w-90 { width: 90%; }
.skel-line.w-100{ width: 100%; }

.skel-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 1rem;
}
.skel-card { padding: 0.5rem; }
.skel-card .skel-thumb { width: 100%; padding-top: 100%; margin-bottom: 0.6rem; }

.skel-detail {
  display: grid;
  grid-template-columns: 40% 1fr;
  gap: 1.25rem;
}
.skel-detail .skel-gallery { padding-top: 100%; }
@media (max-width: 767.98px) {
  .skel-detail { grid-template-columns: 1fr; }
  .skel-detail .skel-gallery { padding-top: 75%; }
}

.skel-row  { display: flex; gap: 0.75rem; padding: 0.5rem 0; align-items: center; }
.skel-avatar { width: 44px; height: 44px; border-radius: 50%; flex: 0 0 auto; }
.skel-col  { flex: 1; }

/* ---------------------------------------------------------------------------
   Product detail video player (fills gallery area, 16:9 responsive)
   --------------------------------------------------------------------------- */
.single-product-gallery-item .product-video-frame {
  position: relative;
  width: 100%;
  max-width: 100%;
  padding-top: 56.25%;    /* 16:9 */
  overflow: hidden;
  background: #000;
  border-radius: 4px;
}
.single-product-gallery-item .product-video-frame .product-video-media {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
.single-product-gallery-item > div:has(> .product-video-frame),
.single-product-gallery-item > .product-video-frame {
  width: 100%;
}

/* ---------------------------------------------------------------------------
   Product detail video thumbnail overlay
   --------------------------------------------------------------------------- */
.video-thumb-wrap {
  position: relative;
  display: inline-block;
  cursor: pointer;
}
.video-thumb-wrap .video-play-overlay {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(0,0,0,0.65);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  pointer-events: none;
}
.video-thumb-wrap:hover .video-play-overlay {
  background: rgba(0,0,0,0.85);
}

/* ---------------------------------------------------------------------------
   GDPR cookie consent banner
   --------------------------------------------------------------------------- */
.gdpr-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 9999;
  background: #ffffff;
  color: #111;
  box-shadow: 0 -6px 24px rgba(0,0,0,0.18);
  border-top: 1px solid #e5e7eb;
  max-height: 85vh;
  overflow-y: auto;
}
.gdpr-banner[hidden] { display: none; }
.gdpr-banner__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 1.25rem 1.25rem;
}
.gdpr-banner__title { font-size: 1.1rem; margin: 0 0 0.5rem; }
.gdpr-banner__text { font-size: 0.9rem; margin: 0 0 0.75rem; }
.gdpr-banner__categories { border: 0; padding: 0; margin: 0 0 0.75rem; }
.gdpr-banner__cat {
  display: block;
  font-size: 0.85rem;
  margin-bottom: 0.25rem;
  cursor: pointer;
}
.gdpr-banner__cat input { margin-right: 0.5rem; }
.gdpr-banner__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
@media (max-width: 575.98px) {
  .gdpr-banner__buttons .btn { flex: 1 1 auto; }
}

/* ---------------------------------------------------------------------------
   PWA install popup
   --------------------------------------------------------------------------- */
.pwa-install-banner {
  position: fixed;
  left: 1rem; right: 1rem; bottom: 1rem;
  z-index: 9998;
  background: #fff;
  color: #0f172a;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.18);
  padding: 0.875rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.875rem;
  max-width: 560px;
  margin: 0 auto;
  font-size: 0.9rem;
  animation: pwa-slide-up 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes pwa-slide-up {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}
.pwa-install-banner__icon {
  flex: 0 0 auto;
  width: 44px; height: 44px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, #3b6df0 0%, #1e40af 100%);
  color: #fff;
  border-radius: 12px;
  box-shadow: 0 6px 16px rgba(59, 109, 240, 0.35);
}
.pwa-install-banner__icon svg { display: block; }
.pwa-install-banner__text {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
  line-height: 1.35;
}
.pwa-install-banner__text strong {
  font-size: 0.95rem;
  font-weight: 700;
  color: #0f172a;
  letter-spacing: -0.01em;
}
.pwa-install-banner__text span {
  font-size: 0.8rem;
  color: #64748b;
}
.pwa-install-banner__text b {
  font-weight: 600;
  color: #334155;
}
.pwa-install-banner__buttons {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.pwa-install-banner__buttons #pwa-yes {
  background: #3b6df0;
  border: 0;
  color: #fff;
  padding: 0.5rem 1rem;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.82rem;
  cursor: pointer;
  transition: background 0.15s;
}
.pwa-install-banner__buttons #pwa-yes:hover { background: #2952c8; }
.pwa-install-banner__buttons #pwa-no {
  background: transparent;
  border: 0;
  color: #64748b;
  padding: 0.5rem 0.75rem;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.82rem;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}
.pwa-install-banner__buttons #pwa-no:hover {
  background: #f1f5f9;
  color: #0f172a;
}
@media (max-width: 480px) {
  .pwa-install-banner {
    padding: 0.75rem;
    gap: 0.625rem;
    border-radius: 14px;
  }
  .pwa-install-banner__icon { width: 40px; height: 40px; border-radius: 10px; }
  .pwa-install-banner__text strong { font-size: 0.88rem; }
  .pwa-install-banner__text span { font-size: 0.75rem; }
}

/* =============================================================================
   Homepage — New Products horizontal category pills
   ============================================================================= */
.new-products-pills {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 6px;
  padding: 0 0 16px;
  border-bottom: 2px solid #f0f0f0;
  margin-bottom: 16px;
  align-items: center;
}
.new-products-pills .nav-item {
  flex: 0 0 auto;
}
.new-products-pills .nav-link {
  border-radius: 20px;
  padding: 6px 18px;
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #555;
  background: #f5f5f5;
  border: 1px solid #e0e0e0;
  white-space: nowrap;
  transition: background 0.18s, color 0.18s, border-color 0.18s;
}
.new-products-pills .nav-link:hover {
  background: #e8f3fd;
  color: #108bea;
  border-color: #108bea;
}
.new-products-pills .nav-link.active {
  background: #108bea;
  color: #fff;
  border-color: #108bea;
  box-shadow: 0 2px 8px rgba(16, 139, 234, 0.28);
}

/* Section header row: title left, pills right on wide screens */
#product-tabs-slider .more-info-tab {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 0;
}

@media (max-width: 575px) {
  .new-products-pills .nav-link {
    padding: 5px 12px;
    font-size: 0.76rem;
  }
}

/* =============================================================================
   Homepage — Blog cards (Latest From Blog)
   ============================================================================= */

/* Contain the carousel properly — no overflow bleed */
.blog-slider-container {
  overflow: hidden;
  padding: 10px 4px 18px;   /* side padding gives shadows room inside the clip */
}
.blog-slider-container .owl-stage-outer {
  overflow: hidden !important;
}

/* Owl item spacing so shadows between cards are visible */
.blog-slider .owl-item {
  padding: 6px 10px 8px 6px;
}
.blog-slider .owl-item .item {
  height: 100%;
}

/* ---- Card shell ---- */
.blog-card {
  background: #fff !important;
  border-radius: 14px !important;
  overflow: hidden !important;
  border: 1px solid #e8edf2 !important;
  box-shadow: 0 4px 18px rgba(0,0,0,0.09) !important;
  transition: box-shadow 0.25s, transform 0.25s;
  display: flex !important;
  flex-direction: column !important;
  height: 100%;
  position: relative;
}
.blog-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, #108bea, #34c5f3);
  border-radius: 14px 14px 0 0;
  z-index: 1;
}
.blog-card:hover {
  box-shadow: 0 12px 36px rgba(16,139,234,0.16) !important;
  transform: translateY(-5px);
}

/* ---- Image wrapper: fixed 16:9 ratio ---- */
.blog-card__img-wrap {
  display: block !important;
  position: relative !important;
  overflow: hidden !important;
  padding-top: 58% !important;
  background: #e8f0f8;
  flex: 0 0 auto;
  text-decoration: none !important;
}
.blog-card__img-wrap img {
  position: absolute !important;
  top: 0 !important; left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  transition: transform 0.4s ease;
  max-width: none !important;
  height: 100% !important;
}
.blog-card:hover .blog-card__img-wrap img {
  transform: scale(1.07);
}
/* gradient overlay on image */
.blog-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(175deg, transparent 50%, rgba(0,0,0,0.42) 100%);
  pointer-events: none;
}

/* ---- Card body ---- */
.blog-card__body {
  padding: 16px 18px 20px !important;
  display: flex !important;
  flex-direction: column !important;
  flex: 1 1 auto;
  background: #fff;
}

/* ---- Meta row ---- */
.blog-card__meta {
  display: flex !important;
  flex-wrap: wrap;
  gap: 8px 14px;
  font-size: 0.72rem !important;
  color: #94a3b8 !important;
  margin-bottom: 10px !important;
  font-family: inherit;
}
.blog-card__meta span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.blog-card__meta i {
  color: #108bea !important;
  font-size: 0.7rem;
}

/* ---- Title ---- */
.blog-card__title {
  font-size: 1.02rem !important;
  font-weight: 700 !important;
  line-height: 1.38 !important;
  margin: 0 0 10px !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden !important;
}
.blog-card__title a {
  color: #1a2332 !important;
  text-decoration: none !important;
  transition: color 0.18s;
}
.blog-card__title a:hover {
  color: #108bea !important;
}

/* ---- Excerpt ---- */
.blog-card__excerpt {
  font-size: 0.83rem !important;
  color: #64748b !important;
  line-height: 1.6 !important;
  flex: 1 1 auto;
  margin-bottom: 16px !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden !important;
}

/* ---- Read More button ---- */
.blog-card__read-more {
  display: inline-flex !important;
  align-items: center;
  gap: 7px;
  font-size: 0.78rem !important;
  font-weight: 700 !important;
  color: #fff !important;
  text-decoration: none !important;
  background: linear-gradient(90deg, #108bea, #34c5f3);
  padding: 7px 16px;
  border-radius: 20px;
  width: fit-content;
  transition: gap 0.2s, box-shadow 0.2s, filter 0.2s;
  box-shadow: 0 2px 8px rgba(16,139,234,0.28);
  margin-top: auto;
  letter-spacing: 0.02em;
}
.blog-card__read-more:hover {
  filter: brightness(1.08);
  box-shadow: 0 4px 16px rgba(16,139,234,0.4);
  gap: 11px;
  color: #fff !important;
  text-decoration: none !important;
}

/* =============================================================================
   Owl Carousel — navigation arrows (all homepage carousels)
   ============================================================================= */

/* Container holding the two arrows — pinned top-right of its positioned parent */
.custom-carousel .owl-nav {
  position: absolute !important;
  top: -52px !important;
  right: 0 !important;
  width: auto !important;
  display: flex !important;
  gap: 6px;
}

/* Both buttons: solid blue circles sitting in the flex row */
.custom-carousel .owl-nav .owl-prev,
.custom-carousel .owl-nav .owl-next {
  position: relative !important;  /* relative = flex-item + anchor for ::before */
  width: 36px !important;
  height: 36px !important;
  min-width: 36px !important;
  border-radius: 50% !important;
  background: #108bea !important;
  border: none !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: background 0.18s, box-shadow 0.18s, transform 0.18s !important;
  box-shadow: 0 2px 8px rgba(16,139,234,0.30) !important;
  cursor: pointer !important;
  top: auto !important;
  right: auto !important;
  left: auto !important;
  padding: 0 !important;
  margin: 0 !important;
  overflow: visible !important;
}
.custom-carousel .owl-nav .owl-prev:hover,
.custom-carousel .owl-nav .owl-next:hover {
  background: #0a6dbf !important;
  box-shadow: 0 4px 14px rgba(16,139,234,0.45) !important;
  transform: scale(1.1) !important;
}
.custom-carousel .owl-nav .owl-prev.disabled,
.custom-carousel .owl-nav .owl-next.disabled {
  background: #d1dde8 !important;
  box-shadow: none !important;
  cursor: default !important;
  transform: none !important;
}

/* Re-enable the ::before FA glyph, centered inside the button */
.custom-carousel .owl-nav .owl-prev::before,
.custom-carousel .owl-nav .owl-next::before {
  display: block !important;
  position: absolute !important;
  top: 50% !important;
  left: 50% !important;
  transform: translate(-50%, -50%) !important;
  color: #fff !important;
  font-size: 16px !important;
  line-height: 1 !important;
  font-family: FontAwesome !important;
  /* content values come from theme (\f104 / \f105) — no override needed */
}

/* Hide the redundant <i> tag (::before handles the glyph) */
.custom-carousel .owl-nav .owl-prev i,
.custom-carousel .owl-nav .owl-next i {
  display: none !important;
}

/* Product-slider: the .owl-nav container is already offset by the section header */
.product-slider .custom-carousel .owl-nav {
  top: -52px !important;
}

/* Featured product — different colour/position, keep separate */
.featured-product .custom-carousel .owl-nav {
  top: 30px !important;
  right: auto !important;
  left: 0 !important;
  gap: 4px;
}
.featured-product .custom-carousel .owl-nav .owl-prev,
.featured-product .custom-carousel .owl-nav .owl-next {
  background: #be5050 !important;
  box-shadow: 0 2px 8px rgba(190,80,80,0.25) !important;
}

/* Mobile: stack arrows below carousel, centred */
@media (max-width: 767px) {
  .custom-carousel .owl-nav {
    position: static !important;
    justify-content: center !important;
    margin-top: 14px !important;
    top: auto !important;
  }
}

/* =============================================================================
   Testimonial / Advertisement sidebar carousel — nav reset
   My global .custom-carousel .owl-nav override pushes these to top:-52px.
   This block restores correct below-carousel centred arrows.
   ============================================================================= */
#advertisement.custom-carousel .owl-nav,
.advertisement.custom-carousel .owl-nav,
.advertisement-testimonial .custom-carousel .owl-nav,
.sidebar-widget .advertisement .owl-nav,
.special-offer.custom-carousel .owl-nav,
.sidebar-carousel.custom-carousel .owl-nav {
  position: static !important;
  display: flex !important;
  justify-content: center !important;
  gap: 10px !important;
  margin-top: 16px !important;
  top: auto !important;
  right: auto !important;
  width: 100% !important;
}

/* Buttons keep the same blue-circle style but centred */
#advertisement.custom-carousel .owl-nav .owl-prev,
#advertisement.custom-carousel .owl-nav .owl-next,
.advertisement.custom-carousel .owl-nav .owl-prev,
.advertisement.custom-carousel .owl-nav .owl-next,
.advertisement-testimonial .custom-carousel .owl-nav .owl-prev,
.advertisement-testimonial .custom-carousel .owl-nav .owl-next,
.special-offer.custom-carousel .owl-nav .owl-prev,
.special-offer.custom-carousel .owl-nav .owl-next,
.sidebar-carousel.custom-carousel .owl-nav .owl-prev,
.sidebar-carousel.custom-carousel .owl-nav .owl-next {
  position: relative !important;
  top: auto !important;
  right: auto !important;
  left: auto !important;
  width: 36px !important;
  height: 36px !important;
  min-width: 36px !important;
  border-radius: 50% !important;
  background: #108bea !important;
  border: none !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-shadow: 0 2px 8px rgba(16,139,234,0.28) !important;
  cursor: pointer !important;
  overflow: visible !important;
  padding: 0 !important;
  margin: 0 !important;
}

/* Hide owl-dots pagination bullets on sidebar carousels (they were rendering as extra circles) */
#advertisement.custom-carousel .owl-dots,
.advertisement.custom-carousel .owl-dots,
.advertisement-testimonial .custom-carousel .owl-dots,
.special-offer.custom-carousel .owl-dots,
.sidebar-carousel.custom-carousel .owl-dots {
  display: none !important;
}

/* =============================================================================
   Homepage — Product cards redesign
   ============================================================================= */

/* Carousel item wrapper — breathing room for card shadow */
.home-owl-carousel .item.item-carousel,
.homepage-owl-carousel .item.item-carousel {
  padding: 6px 8px 16px;
}

/* ---- Outer products shell ---- */
.home-owl-carousel .products,
.homepage-owl-carousel .products {
  position: relative !important;
}

/* ---- Card shell ---- */
.home-owl-carousel .product,
.homepage-owl-carousel .product {
  background: #fff !important;
  border-radius: 14px !important;
  overflow: visible !important;   /* visible so shadow shows; image clips itself */
  border: 1px solid #eaeff5 !important;
  box-shadow: 0 3px 18px rgba(0,0,0,0.09) !important;
  transition: box-shadow 0.25s, transform 0.25s !important;
  position: relative !important;
  display: flex !important;
  flex-direction: column !important;
}
.home-owl-carousel .product::before,
.homepage-owl-carousel .product::before {
  content: '';
  position: absolute;
  top: -1px; left: -1px; right: -1px;
  height: 3px;
  background: linear-gradient(90deg, #108bea, #34c5f3);
  border-radius: 14px 14px 0 0;
  z-index: 2;
}
.home-owl-carousel .product:hover,
.homepage-owl-carousel .product:hover {
  box-shadow: 0 12px 36px rgba(16,139,234,0.16) !important;
  transform: translateY(-5px) !important;
}

/* ---- Product image: fixed square ratio, clips to rounded top ---- */
.home-owl-carousel .product .product-image,
.homepage-owl-carousel .product .product-image {
  position: relative !important;
  overflow: hidden !important;          /* clips image to rounded corners */
  border-radius: 13px 13px 0 0 !important;
  background: #f0f5fb !important;
  padding-top: 88% !important;          /* taller image area */
  flex: 0 0 auto !important;
}
.home-owl-carousel .product .product-image .image,
.homepage-owl-carousel .product .product-image .image {
  position: absolute !important;
  inset: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 12px !important;
}
.home-owl-carousel .product .product-image img,
.homepage-owl-carousel .product .product-image img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  max-width: none !important;
  transition: transform 0.35s ease !important;
}
.home-owl-carousel .product:hover .product-image img,
.homepage-owl-carousel .product:hover .product-image img {
  transform: scale(1.07) !important;
}

/* Out-of-stock pill */
.home-owl-carousel .product .oottext,
.homepage-owl-carousel .product .oottext {
  position: absolute !important;
  bottom: 8px !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  background: rgba(0,0,0,0.58) !important;
  color: #fff !important;
  font-size: 0.68rem !important;
  padding: 3px 10px !important;
  border-radius: 20px !important;
  z-index: 5 !important;
  white-space: nowrap !important;
}

/* ---- OFF discount badge — single pill, hide the duplicate inside .image ---- */
/* Hide the inner duplicate (inside .product-image .image span) */
.home-owl-carousel .product .product-image .badges,
.homepage-owl-carousel .product .product-image .badges {
  display: none !important;
}
/* Style the outer badge (direct child of .product, before .product-image) */
.home-owl-carousel .product > .badges,
.homepage-owl-carousel .product > .badges {
  position: absolute !important;
  top: 10px !important;
  left: 10px !important;
  z-index: 10 !important;
  background: linear-gradient(135deg, #ff4757, #ff6b81) !important;
  color: #fff !important;
  font-size: 0.68rem !important;
  font-weight: 700 !important;
  padding: 4px 9px !important;
  border-radius: 20px !important;
  line-height: 1.3 !important;
  letter-spacing: 0.03em !important;
  box-shadow: 0 2px 6px rgba(255,71,87,0.4) !important;
  white-space: nowrap !important;
}
/* Make OFF and percentage inline */
.home-owl-carousel .product > .badges span,
.homepage-owl-carousel .product > .badges span {
  display: inline !important;
  font-size: inherit !important;
  color: #fff !important;
  font-weight: 700 !important;
}

/* ---- Product info ---- */
.home-owl-carousel .product .product-info,
.homepage-owl-carousel .product .product-info {
  padding: 12px 14px 8px !important;
  background: #fff !important;
  border-radius: 0 0 13px 13px !important;
  flex: 0 0 auto !important;
}
.home-owl-carousel .product .product-info .name,
.homepage-owl-carousel .product .product-info .name {
  font-size: 0.87rem !important;
  font-weight: 700 !important;
  margin-bottom: 4px !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  line-height: 1.3 !important;
}
.home-owl-carousel .product .product-info .name a,
.homepage-owl-carousel .product .product-info .name a {
  color: #1a2332 !important;
  text-decoration: none !important;
  transition: color 0.18s;
}
.home-owl-carousel .product .product-info .name a:hover,
.homepage-owl-carousel .product .product-info .name a:hover {
  color: #108bea !important;
}
.home-owl-carousel .product .product-info .no-rating,
.homepage-owl-carousel .product .product-info .no-rating {
  font-size: 0.7rem !important;
  color: #b0b8c4 !important;
  line-height: 1.6 !important;
}
.home-owl-carousel .product .product-info .product-price,
.homepage-owl-carousel .product .product-info .product-price {
  margin: 4px 0 0 !important;
}
.home-owl-carousel .product .product-info .product-price .price,
.homepage-owl-carousel .product .product-info .product-price .price {
  font-size: 0.97rem !important;
  font-weight: 800 !important;
  color: #108bea !important;
  line-height: 1.4 !important;
  margin-right: 4px !important;
}
.home-owl-carousel .product .product-info .product-price .price-before-discount,
.homepage-owl-carousel .product .product-info .product-price .price-before-discount {
  font-size: 0.76rem !important;
  color: #bbb !important;
  line-height: 1.4 !important;
  text-decoration: line-through !important;
}

/* ---- Action row — always-visible strip at card bottom ---- */
/* (hover on individual buttons only — mobile has no hover) */
.home-owl-carousel .product .cart,
.homepage-owl-carousel .product .cart {
  position: static !important;
  opacity: 1 !important;
  transform: none !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 8px 10px 12px !important;
  background: transparent !important;
  border-top: 1px solid #f0f4f8 !important;
  z-index: auto !important;
  top: auto !important;
  left: auto !important;
  right: auto !important;
  bottom: auto !important;
}
.home-owl-carousel .product .cart .action,
.homepage-owl-carousel .product .cart .action {
  display: flex !important;
  justify-content: center !important;
}
.home-owl-carousel .product .cart .action ul,
.homepage-owl-carousel .product .cart .action ul {
  display: flex !important;
  gap: 6px !important;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
  align-items: center !important;
  justify-content: center !important;
}

/* Each action icon circle */
.home-owl-carousel .product .cart .action ul li,
.homepage-owl-carousel .product .cart .action ul li,
.home-owl-carousel .product .cart .action ul li.lnk,
.homepage-owl-carousel .product .cart .action ul li.lnk,
.home-owl-carousel .product .cart .action ul li.lnk.wishlist,
.homepage-owl-carousel .product .cart .action ul li.lnk.wishlist {
  float: none !important;
  width: 30px !important;
  height: 30px !important;
  min-width: 30px !important;
  border-radius: 50% !important;
  margin: 0 !important;
  padding: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: #eef4fb !important;
  border: none !important;
  transition: background 0.18s, transform 0.18s, box-shadow 0.18s !important;
}
/* ---- Icon circles: solid coloured, always visible, white icons ---- */

/* Cart — blue (always solid) */
.home-owl-carousel .product .cart .action ul li#addCart,
.homepage-owl-carousel .product .cart .action ul li#addCart {
  background: #108bea !important;
  border-color: #108bea !important;
}
.home-owl-carousel .product .cart .action ul li#addCart:hover,
.homepage-owl-carousel .product .cart .action ul li#addCart:hover {
  background: #0a6dbf !important;
  border-color: #0a6dbf !important;
  box-shadow: 0 4px 14px rgba(16,139,234,0.45) !important;
  transform: scale(1.12) !important;
}

/* Wishlist — pink (always solid) */
.home-owl-carousel .product .cart .action ul li.lnk.wishlist,
.homepage-owl-carousel .product .cart .action ul li.lnk.wishlist {
  background: #e84393 !important;
  border-color: #e84393 !important;
}
.home-owl-carousel .product .cart .action ul li.lnk.wishlist:hover,
.homepage-owl-carousel .product .cart .action ul li.lnk.wishlist:hover {
  background: #c7326e !important;
  border-color: #c7326e !important;
  box-shadow: 0 4px 14px rgba(232,67,147,0.45) !important;
  transform: scale(1.12) !important;
}
/* Active (already in wishlist) — deeper pink */
.home-owl-carousel .product .cart .action ul li.lnk.wishlist.active,
.homepage-owl-carousel .product .cart .action ul li.lnk.wishlist.active {
  background: #b02a62 !important;
  border-color: #b02a62 !important;
}

/* Compare — orange/amber (always solid, clearly distinct) */
.home-owl-carousel .product .cart .action ul li.lnk:not(.wishlist),
.homepage-owl-carousel .product .cart .action ul li.lnk:not(.wishlist) {
  background: #ff6b35 !important;
  border-color: #ff6b35 !important;
}
.home-owl-carousel .product .cart .action ul li.lnk:not(.wishlist):hover,
.homepage-owl-carousel .product .cart .action ul li.lnk:not(.wishlist):hover {
  background: #e85520 !important;
  border-color: #e85520 !important;
  box-shadow: 0 4px 14px rgba(255,107,53,0.45) !important;
  transform: scale(1.12) !important;
}

/* ---- Inner button/link: transparent wrapper, white icon ---- */
.home-owl-carousel .product .cart .action ul li button,
.homepage-owl-carousel .product .cart .action ul li button,
.home-owl-carousel .product .cart .action ul li a,
.homepage-owl-carousel .product .cart .action ul li a,
.home-owl-carousel .product .cart .action ul li .btn,
.homepage-owl-carousel .product .cart .action ul li .btn,
.home-owl-carousel .product .cart .action ul li .addtocartcus,
.homepage-owl-carousel .product .cart .action ul li .addtocartcus {
  width: 100% !important;
  height: 100% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
  margin: 0 !important;
  font-size: 0 !important;       /* hide any button text */
  color: #fff !important;        /* ensure <a> colour is white */
  border-radius: 50% !important;
  box-shadow: none !important;
  text-decoration: none !important;
}

/* All icons: white, 12px, always visible */
.home-owl-carousel .product .cart .action ul li button i,
.homepage-owl-carousel .product .cart .action ul li button i,
.home-owl-carousel .product .cart .action ul li a i,
.homepage-owl-carousel .product .cart .action ul li a i,
.home-owl-carousel .product .cart .action ul li .btn i,
.homepage-owl-carousel .product .cart .action ul li .btn i {
  font-size: 12px !important;
  color: #fff !important;
  line-height: 1 !important;
  display: inline-block !important;
}

/* ---- Product name: larger, readable ---- */
.home-owl-carousel .product .product-info .name,
.homepage-owl-carousel .product .product-info .name {
  font-size: 0.95rem !important;
  font-weight: 700 !important;
}

/* =============================================================================
   Sale-tag ribbon (corner banner) — redesign
   ============================================================================= */

/* Shrink container — 150px is too large for a compact card */
.ribbon {
  width: 110px !important;
  height: 110px !important;
  overflow: hidden !important;
  position: absolute !important;
  z-index: 10 !important;
}

/* Remove the ugly blue fold triangles; replace with matching shadow triangles */
.ribbon::before,
.ribbon::after {
  border: none !important;
  content: '' !important;
  display: none !important;
}

/* The diagonal text band */
.ribbon span {
  position: absolute !important;
  display: block !important;
  width: 160px !important;
  padding: 7px 0 !important;
  /* background comes from inline style (admin colour) — we only set fallback */
  background-color: #e84393 !important;
  color: #fff !important;
  font-size: 11px !important;
  font-weight: 800 !important;
  letter-spacing: 0.06em !important;
  text-transform: uppercase !important;
  text-align: center !important;
  text-shadow: 0 1px 2px rgba(0,0,0,0.25) !important;
  box-shadow: 0 3px 10px rgba(0,0,0,0.18) !important;
  line-height: 1.2 !important;
}

/* Top-right placement */
.ribbon-top-right {
  top: -2px !important;
  right: -2px !important;
}
.ribbon-top-right span {
  left: -18px !important;
  top: 18px !important;
  transform: rotate(45deg) !important;
}

/* Clip the ribbon tightly to card corner */
.item-carousel {
  position: relative !important;
}

/* ---- OFF badge: kill any yellow inner-span background from theme ---- */
.home-owl-carousel .product > .badges *,
.homepage-owl-carousel .product > .badges * {
  background: transparent !important;
  background-color: transparent !important;
  color: #fff !important;
  font-size: 0.7rem !important;
  font-weight: 700 !important;
  display: inline !important;
  padding: 0 !important;
  margin: 0 !important;
  border-radius: 0 !important;
  line-height: 1 !important;
  border: none !important;
  box-shadow: none !important;
}
/* Single-space between OFF and the number */
.home-owl-carousel .product > .badges > span::after,
.homepage-owl-carousel .product > .badges > span::after {
  content: ' ';
}

/* =============================================================================
   Featured star badge — replaces the ribbon for featured=1 products
   ============================================================================= */
.starBadge {
  position: absolute !important;
  top: 10px !important;
  right: 10px !important;
  z-index: 20 !important;
  pointer-events: none !important;
}

/* Hide the SVG ribbon2 structure; replace with a clean pill via ::before */
.starBadge .ribbon2 {
  display: block !important;
  width: auto !important;
  height: auto !important;
  background: none !important;
  border: none !important;
  padding: 0 !important;
}
.starBadge .ribbon2 .content2 {
  display: none !important; /* hide the SVG star */
}

/* Create a clean "⭐ Featured" pill badge using ::before */
.starBadge::before {
  content: '⭐ Featured' !important;
  display: inline-block !important;
  background: linear-gradient(135deg, #f7971e, #ffd200) !important;
  color: #333 !important;
  font-size: 0.65rem !important;
  font-weight: 800 !important;
  letter-spacing: 0.05em !important;
  text-transform: uppercase !important;
  padding: 4px 9px !important;
  border-radius: 20px !important;
  box-shadow: 0 2px 8px rgba(247,151,30,0.45) !important;
  white-space: nowrap !important;
  line-height: 1.4 !important;
}

/* =============================================================================
   Product Detail Page — fixes
   ============================================================================= */

/* Detail page gallery column stays in normal flow (left-sidebar class removed from
   gallery-holder in blade; this belt-and-suspenders rule catches any edge case) */
.gallery-holder .StickySidebar {
  position: relative !important;
  top: auto !important;
  left: auto !important;
  width: auto !important;
}

/* Fix 2: Product tabs — redesign the vertical pills nav */
#product-tabs {
  background: var(--background_white_bg_color);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 16px rgba(0,0,0,0.07);
  margin-top: 20px;
  padding: 0;
}

#product-tabs .row {
  margin: 0;
}

/* Left nav panel */
#product-tabs .col-lg-3 {
  background: #f5f7fb;
  padding: 0;
  border-right: 1px solid #e8edf4;
}

#product-tabs .nav-pills {
  padding: 12px 0;
}

#product-tabs .nav-pills .nav-link {
  border-radius: 0 !important;
  padding: 13px 20px;
  font-size: 14px;
  font-weight: 500;
  color: #444;
  border-left: 3px solid transparent;
  transition: all 0.18s;
  display: flex;
  align-items: center;
  gap: 10px;
}

#product-tabs .nav-pills .nav-link i {
  width: 18px;
  text-align: center;
  font-size: 14px;
  color: #888;
}

#product-tabs .nav-pills .nav-link:hover {
  background: #edf1f9 !important;
  color: #108bea;
  border-left-color: #108bea;
}

#product-tabs .nav-pills .nav-link:hover i {
  color: #108bea;
}

#product-tabs .nav-pills .nav-link.active {
  background: #fff !important;
  color: #108bea !important;
  border-left: 3px solid #108bea !important;
  font-weight: 600;
  box-shadow: none;
}

#product-tabs .nav-pills .nav-link.active i {
  color: #108bea !important;
}

/* Right content panel */
#product-tabs .col-lg-9 {
  padding: 24px 28px;
}

#product-tabs .tab-content {
  min-height: 180px;
}

/* =============================================================================
   Store & Shop/Category pages — product cards matching homepage design
   Both pages share id="grid-container" as their grid wrapper.
   ============================================================================= */

/* Reset Bootstrap shadow-sm / border / p-2 / h-100 on item wrapper */
#grid-container .item {
  padding: 6px 8px 16px !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  height: auto !important;
}

#grid-container .products {
  position: relative !important;
}

/* ---- Card shell ---- */
#grid-container .product {
  background: #fff !important;
  border-radius: 14px !important;
  overflow: visible !important;
  border: 1px solid #eaeff5 !important;
  box-shadow: 0 3px 18px rgba(0,0,0,0.09) !important;
  transition: box-shadow 0.25s, transform 0.25s !important;
  position: relative !important;
  display: flex !important;
  flex-direction: column !important;
}
#grid-container .product::before {
  content: '';
  position: absolute;
  top: -1px; left: -1px; right: -1px;
  height: 3px;
  background: linear-gradient(90deg, #108bea, #34c5f3);
  border-radius: 14px 14px 0 0;
  z-index: 2;
}
#grid-container .product:hover {
  box-shadow: 0 12px 36px rgba(16,139,234,0.16) !important;
  transform: translateY(-5px) !important;
}

/* ---- Image area ---- */
#grid-container .product .product-image {
  position: relative !important;
  overflow: hidden !important;
  border-radius: 13px 13px 0 0 !important;
  background: #f0f5fb !important;
  padding-top: 88% !important;
  flex: 0 0 auto !important;
}
#grid-container .product .product-image .image {
  position: absolute !important;
  inset: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 12px !important;
}
#grid-container .product .product-image img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  max-width: none !important;
  transition: transform 0.35s ease !important;
}
#grid-container .product:hover .product-image img {
  transform: scale(1.07) !important;
}

/* Out-of-stock / coming-soon pill */
#grid-container .product .oottext,
#grid-container .product .oottext2,
#grid-container .product .preordertext {
  position: absolute !important;
  bottom: 8px !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  background: rgba(0,0,0,0.58) !important;
  color: #fff !important;
  font-size: 0.68rem !important;
  padding: 3px 10px !important;
  border-radius: 20px !important;
  z-index: 5 !important;
  white-space: nowrap !important;
}

/* ---- Product info ---- */
#grid-container .product .product-info {
  padding: 12px 14px 8px !important;
  background: #fff !important;
  border-radius: 0 0 13px 13px !important;
  flex: 0 0 auto !important;
}
#grid-container .product .product-info .name {
  font-size: 0.95rem !important;
  font-weight: 700 !important;
  margin-bottom: 4px !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  line-height: 1.3 !important;
}
#grid-container .product .product-info .name a {
  color: #1a2332 !important;
  text-decoration: none !important;
}
#grid-container .product .product-info .name a:hover {
  color: #108bea !important;
}
#grid-container .product .product-info .no-rating {
  font-size: 0.7rem !important;
  color: #b0b8c4 !important;
}
#grid-container .product .product-info .product-price {
  margin: 4px 0 0 !important;
}
#grid-container .product .product-info .product-price .price {
  font-size: 0.97rem !important;
  font-weight: 800 !important;
  color: #108bea !important;
  line-height: 1.4 !important;
  margin-right: 4px !important;
}
#grid-container .product .product-info .product-price .price-before-discount {
  font-size: 0.76rem !important;
  color: #bbb !important;
  text-decoration: line-through !important;
}

/* ---- Action row: always-visible strip at card bottom ---- */
#grid-container .product .cart {
  position: static !important;
  opacity: 1 !important;
  transform: none !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 8px 10px 12px !important;
  background: transparent !important;
  border-top: 1px solid #f0f4f8 !important;
  top: auto !important;
  left: auto !important;
  right: auto !important;
  bottom: auto !important;
}
#grid-container .product .cart .action {
  display: flex !important;
  justify-content: center !important;
}
#grid-container .product .cart .action ul {
  display: flex !important;
  gap: 6px !important;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
  align-items: center !important;
  justify-content: center !important;
}

/* Every icon circle */
#grid-container .product .cart .action ul li {
  float: none !important;
  width: 30px !important;
  height: 30px !important;
  min-width: 30px !important;
  border-radius: 50% !important;
  margin: 0 !important;
  padding: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: #eef4fb !important;
  border: none !important;
  transition: background 0.18s, transform 0.18s, box-shadow 0.18s !important;
}

/* Cart: blue (store = li#addCart.lnk.wishlist / shop = li.add-cart-button) */
#grid-container .product .cart .action ul li#addCart,
#grid-container .product .cart .action ul li.add-cart-button {
  background: #108bea !important;
}
#grid-container .product .cart .action ul li#addCart:hover,
#grid-container .product .cart .action ul li.add-cart-button:hover {
  background: #0a6dbf !important;
  box-shadow: 0 4px 14px rgba(16,139,234,0.45) !important;
  transform: scale(1.12) !important;
}

/* Wishlist: pink (shop = li.lnk.wishlist-cat) */
#grid-container .product .cart .action ul li.wishlist-cat {
  background: #e84393 !important;
}
#grid-container .product .cart .action ul li.wishlist-cat.active {
  background: #b02a62 !important;
}
#grid-container .product .cart .action ul li.wishlist-cat:hover {
  background: #c7326e !important;
  box-shadow: 0 4px 14px rgba(232,67,147,0.45) !important;
  transform: scale(1.12) !important;
}

/* Compare: orange (shop = li.lnk.compare-cat / store = li.lnk plain) */
#grid-container .product .cart .action ul li.compare-cat,
#grid-container .product .cart .action ul li.lnk:not(.wishlist-cat):not(#addCart) {
  background: #ff6b35 !important;
}
#grid-container .product .cart .action ul li.compare-cat:hover,
#grid-container .product .cart .action ul li.lnk:not(.wishlist-cat):not(#addCart):hover {
  background: #e85520 !important;
  box-shadow: 0 4px 14px rgba(255,107,53,0.45) !important;
  transform: scale(1.12) !important;
}

/* Inner button / link: transparent wrapper with white icon */
#grid-container .product .cart .action ul li button,
#grid-container .product .cart .action ul li a,
#grid-container .product .cart .action ul li .btn,
#grid-container .product .cart .action ul li .addtocartcus {
  width: 100% !important;
  height: 100% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
  margin: 0 !important;
  font-size: 0 !important;
  color: #fff !important;
  border-radius: 50% !important;
  box-shadow: none !important;
  text-decoration: none !important;
  min-height: 0 !important;
}
#grid-container .product .cart .action ul li button i,
#grid-container .product .cart .action ul li a i,
#grid-container .product .cart .action ul li .btn i {
  font-size: 12px !important;
  color: #fff !important;
  line-height: 1 !important;
  display: inline-block !important;
}

/* OFF badge */
#grid-container .product .product-image .badges {
  display: none !important;
}
#grid-container .product > .badges {
  position: absolute !important;
  top: 10px !important;
  left: 10px !important;
  z-index: 10 !important;
  background: linear-gradient(135deg, #ff4757, #ff6b81) !important;
  color: #fff !important;
  font-size: 0.68rem !important;
  font-weight: 700 !important;
  padding: 4px 9px !important;
  border-radius: 20px !important;
  line-height: 1.3 !important;
  box-shadow: 0 2px 6px rgba(255,71,87,0.4) !important;
  white-space: nowrap !important;
}
#grid-container .product > .badges * {
  background: transparent !important;
  color: #fff !important;
  font-size: 0.7rem !important;
  font-weight: 700 !important;
  display: inline !important;
  padding: 0 !important;
  margin: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  border: none !important;
}

/* =============================================================================
   WISHLIST PAGE redesign
   ============================================================================= */
.my-wishlist-page {
  padding: 24px 0;
}
.my-wishlist-page h5 {
  font-size: 1.2rem;
  font-weight: 700;
  color: #1a2332;
  margin-bottom: 0;
}
.my-wishlist-page > .row > .col-md-12 > hr {
  margin: 8px 0 20px;
  border-color: #e8edf4;
}

/* Each wishlist item — card style */
.my-wishlist .row.grid-list,
.my-wishlist .row.align-items-center {
  background: #fff;
  border: 1px solid #eaeff5;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  padding: 14px 10px;
  margin-bottom: 14px !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  transition: box-shadow 0.2s;
}
.my-wishlist .row.grid-list:hover,
.my-wishlist .row.align-items-center:hover {
  box-shadow: 0 6px 24px rgba(16,139,234,0.12);
}

/* Remove the plain <hr> separators — cards already have spacing */
.my-wishlist ~ hr,
hr.orivar1, hr[class^="orivar"] {
  display: none !important;
}

/* Product image */
.my-wishlist .wish-img,
.my-wishlist .pro-img2 {
  width: 100%;
  max-height: 110px;
  object-fit: contain;
  border-radius: 8px;
  background: #f5f7fb;
  padding: 6px;
}

/* Product name */
.my-wishlist .product-name a {
  color: #1a2332;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: color 0.18s;
}
.my-wishlist .product-name a:hover { color: #108bea; }
.my-wishlist .product-name small { color: #888; font-size: 0.78rem; }

/* Price */
.my-wishlist .price2 {
  font-size: 1.05rem;
  font-weight: 800;
  color: #108bea;
}
.my-wishlist .price-before-discount {
  font-size: 0.82rem;
  color: #bbb;
  text-decoration: line-through;
  margin-left: 4px;
}

/* Stock */
.my-wishlist .text-green { color: #22c55e; font-size: 0.82rem; }
.my-wishlist .required   { color: #ef4444; font-size: 0.82rem; }

/* Cart action buttons */
.my-wishlist .btn.btn-primary {
  border-radius: 8px;
  font-size: 0.82rem;
  padding: 7px 16px;
  font-weight: 600;
  background: #108bea;
  border-color: #108bea;
}
.my-wishlist .btn.btn-primary:hover {
  background: #0a6dbf;
  border-color: #0a6dbf;
}

/* Remove (trash) icon */
.my-wishlist .col-md-1 a,
.my-wishlist .col-3 a {
  color: #ef4444;
  font-size: 1.1rem;
  transition: color 0.18s, transform 0.18s;
  display: inline-block;
}
.my-wishlist .col-md-1 a:hover,
.my-wishlist .col-3 a:hover {
  color: #b91c1c;
  transform: scale(1.2);
}

/* Empty wishlist state */
.my-wishlist h3 {
  color: #aab;
  font-size: 1.1rem;
  text-align: center;
  margin-top: 40px;
}

/* =============================================================================
   BLOG POST PAGE redesign
   ============================================================================= */

/* =============================================================================
   BLOG POST PAGE — share bar, author box, comments, form (compact redesign)
   ============================================================================= */

/* Share bar: compact row of brand-coloured icon circles */
/* ---- Share trigger button ---- */
.blog-post .share-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #108bea;
  color: #fff !important;
  border: none;
  border-radius: 30px;
  padding: 10px 24px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  letter-spacing: 0.03em;
  margin: 16px 0 10px;
  transition: background 0.2s, transform 0.15s;
  outline: none;
  box-shadow: 0 3px 12px rgba(16,139,234,0.35);
}
.blog-post .share-btn:hover {
  background: #0d7acc;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(16,139,234,0.4);
}

/* ---- Share modal ---- */
.share-modal-dialog { max-width: 300px !important; }
.share-modal-content {
  border: none !important;
  border-radius: 20px !important;
  overflow: hidden;
  box-shadow: 0 16px 48px rgba(0,0,0,0.22) !important;
}
.share-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(135deg, #108bea 0%, #0d7acc 100%);
  padding: 14px 20px;
}
.share-modal-title {
  color: #fff; font-weight: 700; font-size: 1rem;
}
.share-modal-title i { margin-right: 7px; }
.share-modal-close {
  background: rgba(255,255,255,0.2);
  border: none; color: #fff;
  width: 28px; height: 28px;
  border-radius: 50%; font-size: 1.1rem; line-height: 1;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: background 0.15s;
}
.share-modal-close:hover { background: rgba(255,255,255,0.35); }
.share-modal-body { padding: 24px 20px 20px; background: #fff; }

/* Share icon list — each row: circle + label */
.shr-list {
  list-style: none !important;
  margin: 0 !important; padding: 0 !important;
  display: flex; flex-direction: column; gap: 16px;
}
.shr-list li {
  display: flex; align-items: center; gap: 16px;
  list-style: none !important; margin: 0 !important; padding: 0 !important;
}
.shr-icon {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 58px !important; height: 58px !important;
  border-radius: 50% !important;
  font-size: 1.65rem !important;
  line-height: 1 !important;
  color: #fff !important;
  text-decoration: none !important;
  flex-shrink: 0;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 14px rgba(0,0,0,0.2);
}
.shr-icon:hover { transform: scale(1.1) !important; color: #fff !important; }
.shr-fb { background: #1877f2 !important; }
.shr-tw { background: #1da1f2 !important; }
.shr-tg { background: #0088cc !important; }
.shr-wa { background: #25d366 !important; }
.shr-label {
  font-size: 1rem; font-weight: 600; color: #1a2332;
}

/* Hero image */
.blog-post .img-responsive {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  border-radius: 14px;
  margin-bottom: 24px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.10);
}

/* Post title */
.blog-post h1 {
  font-size: 1.65rem;
  font-weight: 800;
  color: #1a2332;
  margin-bottom: 12px;
  line-height: 1.35;
}

/* Meta row (author · comments · date · views · read time) */
.blog-post .author,
.blog-post .review,
.blog-post .date-time,
.blog-post .views {
  display: inline-block;
  font-size: 0.78rem;
  color: #7a8898;
  margin-right: 4px;
}
.blog-post .author {
  background: #eef4fb;
  color: #108bea;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 20px;
}

/* Post body text */
.blog-post > div,
.blog-post p,
.blog-post li {
  font-size: 0.97rem;
  line-height: 1.8;
  color: #3a4455;
}

/* ---- Author box: compact horizontal card ---- */
.blog-page .blog-post-author-details {
  background: #f8faff !important;
  border: 1px solid #dde8f5 !important;
  border-radius: 12px !important;
  padding: 14px 18px !important;
  margin: 20px 0 16px !important;
}
.blog-page .blog-post-author-details .row {
  display: flex !important;
  align-items: center !important;
  margin: 0 !important;
  gap: 0 !important;
  flex-wrap: nowrap !important;
}
.blog-page .blog-post-author-details .col-md-2 {
  flex: 0 0 52px !important;
  max-width: 52px !important;
  padding: 0 !important;
  margin-right: 14px !important;
}
.blog-page .blog-post-author-details .img-circle {
  width: 48px !important;
  height: 48px !important;
  border-radius: 50% !important;
  object-fit: cover !important;
  border: 2px solid #108bea !important;
  display: block !important;
}
.blog-page .blog-post-author-details .col-md-10 {
  flex: 1 !important;
  padding: 0 !important;
}
.blog-page .blog-post-author-details h4 {
  font-size: 0.92rem !important;
  font-weight: 700 !important;
  color: #1a2332 !important;
  margin: 0 0 2px !important;
  line-height: 1.2 !important;
}
.blog-page .blog-post-author-details .author-job {
  font-size: 0.72rem !important;
  color: #108bea !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.07em !important;
  display: block !important;
}
.blog-page .blog-post-author-details p {
  font-size: 0.82rem !important;
  color: #6b7a8d !important;
  margin: 4px 0 0 !important;
  line-height: 1.5 !important;
}

/* ---- Comments section: compact card ---- */
.blog-page .blog-review {
  background: #fff !important;
  border: 1px solid #eaeff5 !important;
  border-radius: 12px !important;
  padding: 16px 18px !important;
  margin-top: 16px !important;
  margin-bottom: 16px !important;
}
.blog-review .title-review-comments {
  font-size: 0.92rem !important;
  font-weight: 700 !important;
  color: #1a2332 !important;
  margin-bottom: 14px !important;
  padding-bottom: 10px !important;
  border-bottom: 1px solid #eef4fb !important;
}
/* Each comment row */
.blog-review #blogComments > .col-md-2,
.blog-review .col-md-2 {
  width: 44px !important;
  max-width: 44px !important;
  flex: 0 0 44px !important;
  padding: 0 !important;
  margin-right: 12px !important;
}
.blog-review .img-rounded {
  width: 40px !important;
  height: 40px !important;
  border-radius: 50% !important;
  object-fit: cover !important;
  border: 2px solid #e8edf4 !important;
  display: block !important;
}
.blog-review .col-md-10,
.blog-review .col-sm-10 {
  flex: 1 !important;
  padding: 0 !important;
}
.blog-review .blog-comments {
  background: #f8faff;
  border-radius: 8px;
  padding: 10px 14px;
  margin-bottom: 12px;
}
.blog-review .blog-comments h4 {
  font-size: 0.85rem !important;
  font-weight: 700 !important;
  color: #1a2332 !important;
  margin-bottom: 2px !important;
  display: inline !important;
}
.blog-review .review-action {
  font-size: 0.72rem !important;
  color: #aab !important;
  float: right;
}
.blog-review .blog-comments p,
.blog-review .blog-comments > p {
  font-size: 0.85rem !important;
  color: #4a5568 !important;
  margin: 4px 0 0 !important;
  line-height: 1.6 !important;
}
/* Let Bootstrap's .row flexbox handle col pairing; only pin spacing */
.blog-review #blogComments > .col-md-12 { flex: none !important; }
/* Add vertical gap between comment pairs */
.blog-review #blogComments > .col-md-2,
.blog-review #blogComments > .col-sm-2 {
  margin-bottom: 0 !important;
}
.blog-review #blogComments > .col-md-10,
.blog-review #blogComments > .col-sm-10 {
  margin-bottom: 14px !important;
}

/* Load-more button */
.blog-review .btn-upper.btn-primary {
  border-radius: 8px !important;
  font-size: 0.8rem !important;
  padding: 6px 18px !important;
  font-weight: 600 !important;
}

/* ---- Comment form: compact ---- */
.blog-page .blog-write-comment {
  background: #fff !important;
  border: 1px solid #eaeff5 !important;
  border-radius: 12px !important;
  padding: 18px !important;
  margin-bottom: 16px !important;
}
.blog-write-comment h4 {
  font-size: 0.92rem !important;
  font-weight: 700 !important;
  color: #1a2332 !important;
  margin-bottom: 14px !important;
  padding-bottom: 8px !important;
  border-bottom: 1px solid #eef4fb !important;
}
.blog-write-comment .form-group {
  margin-bottom: 10px !important;
}
.blog-write-comment .info-title {
  font-size: 0.8rem !important;
  font-weight: 600 !important;
  color: #4a5568 !important;
  margin-bottom: 4px !important;
}
.blog-write-comment .form-control {
  border-radius: 8px !important;
  border: 1px solid #dde8f5 !important;
  font-size: 0.88rem !important;
  padding: 8px 12px !important;
  height: auto !important;
}
.blog-write-comment .form-control:focus {
  border-color: #108bea !important;
  box-shadow: 0 0 0 3px rgba(16,139,234,0.10) !important;
}
.blog-write-comment textarea.form-control {
  resize: vertical !important;
  min-height: 80px !important;
}
.blog-write-comment .checkout-page-button {
  border-radius: 8px !important;
  padding: 8px 24px !important;
  font-weight: 600 !important;
  background: linear-gradient(135deg, #108bea, #34c5f3) !important;
  border: none !important;
  color: #fff !important;
  font-size: 0.88rem !important;
}

/* ---- Sidebar ---- */
.blog-page .search-area input {
  width: 100% !important;
  border-radius: 8px !important;
  border: 1px solid #dde8f5 !important;
  padding: 8px 12px !important;
  font-size: 0.88rem !important;
}
.blog-page .sidebar .blog-post {
  padding-bottom: 12px !important;
  margin-bottom: 12px !important;
  border-bottom: 1px solid #eef4fb !important;
}
.blog-page .sidebar .blog-post img {
  border-radius: 8px !important;
  margin-bottom: 6px !important;
  object-fit: cover !important;
  height: 80px !important;
  width: 100% !important;
}
.blog-page .sidebar .blog-post h4 {
  font-size: 0.85rem !important;
  font-weight: 600 !important;
  margin-bottom: 3px !important;
  line-height: 1.3 !important;
}
.blog-page .sidebar .blog-post h4 a { color: #1a2332 !important; }
.blog-page .sidebar .blog-post h4 a:hover { color: #108bea !important; }
.blog-page .sidebar .blog-post .review,
.blog-page .sidebar .blog-post .date-time,
.blog-page .sidebar .blog-post .views {
  font-size: 0.7rem !important;
  color: #9aa !important;
  margin-right: 3px !important;
}
.blog-page .sidebar .blog-post p {
  font-size: 0.78rem !important;
  color: #7a8898 !important;
  margin: 3px 0 0 !important;
}

/* =============================================================================
   COMPARISON PAGE redesign
   ============================================================================= */
.product-comparison {
  padding: 0 0 40px;
}
.product-comparison .page-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: #1a2332;
  margin-bottom: 28px;
}

.compare-table {
  border-collapse: separate !important;
  border-spacing: 0 !important;
  border-radius: 14px !important;
  overflow: hidden !important;
  box-shadow: 0 3px 24px rgba(0,0,0,0.08) !important;
  border: none !important;
  background: #fff;
}

/* Header cells */
.compare-table th {
  background: linear-gradient(135deg, #108bea, #34c5f3) !important;
  color: #fff !important;
  font-weight: 700 !important;
  font-size: 0.88rem !important;
  text-transform: uppercase !important;
  letter-spacing: 0.05em !important;
  padding: 14px 18px !important;
  border: none !important;
  white-space: nowrap;
  min-width: 130px;
}

/* Data cells */
.compare-table td {
  padding: 14px 18px !important;
  border: none !important;
  border-bottom: 1px solid #f0f4f8 !important;
  font-size: 0.88rem;
  color: #3a4455;
  vertical-align: middle !important;
}

/* Alternating row shading */
.compare-table tr:nth-child(even) td,
.compare-table tr:nth-child(even) th {
  background: #f8faff;
}
.compare-table tr:nth-child(odd) td {
  background: #fff;
}
/* Override for the header row */
.compare-table tr:first-child th {
  background: linear-gradient(135deg, #108bea, #34c5f3) !important;
}

/* Product image cells */
.compare-table img {
  max-height: 120px;
  object-fit: contain;
  border-radius: 8px;
  background: #f5f7fb;
  padding: 6px;
}

/* Product name in compare */
.compare-table .product-name a,
.compare-table h4 a {
  font-weight: 700;
  color: #1a2332;
  text-decoration: none;
  font-size: 0.92rem;
}
.compare-table .product-name a:hover,
.compare-table h4 a:hover { color: #108bea; }

/* Price in compare */
.compare-table .price {
  font-size: 1rem;
  font-weight: 800;
  color: #108bea;
}

/* Stock badge */
.compare-table .in-stock {
  display: inline-block;
  background: #dcfce7;
  color: #16a34a;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
}

/* Add to cart button in compare */
.compare-table .btn-primary {
  border-radius: 8px;
  font-size: 0.8rem;
  padding: 7px 16px;
  font-weight: 600;
  background: #108bea;
  border-color: #108bea;
}

/* Remove (×) icon */
.compare-table .remove-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #fee2e2;
  color: #ef4444;
  font-size: 1rem;
  transition: background 0.18s, transform 0.18s;
}
.compare-table .remove-icon:hover {
  background: #ef4444;
  color: #fff;
  transform: scale(1.1);
}

/* =============================================================================
   FAQ PAGE — redesign (blue/yellow theme, accordion cards)
   ============================================================================= */
.faq-page {
  max-width: 820px;
  margin: 32px auto 40px !important;
  padding: 0 16px !important;
}

.faq-page > h4 {
  font-size: 1.7rem !important;
  font-weight: 800 !important;
  color: #1a2332 !important;
  margin-bottom: 6px !important;
  letter-spacing: -0.01em;
}

.faq-page > h4::after {
  content: '';
  display: block;
  width: 48px;
  height: 4px;
  background: linear-gradient(90deg, #108bea, #fcd000);
  border-radius: 2px;
  margin-top: 8px;
}

.faq-page > hr {
  display: none !important;
}

/* Remove the outer checkout-box default padding */
.checkout-box.faq-page {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
}

/* Each FAQ card */
.faq-page .card {
  border: 1px solid #e4edf8 !important;
  border-radius: 14px !important;
  box-shadow: 0 2px 12px rgba(16,139,234,0.06) !important;
  margin-bottom: 12px !important;
  overflow: hidden;
  transition: box-shadow 0.2s, border-color 0.2s;
}
.faq-page .card:hover {
  box-shadow: 0 4px 22px rgba(16,139,234,0.13) !important;
  border-color: #b8d9f8 !important;
}

/* Card header */
.faq-page .card-header {
  background: #f6faff !important;
  border-bottom: 1px solid #e4edf8 !important;
  padding: 0 !important;
}

/* Toggle link row */
.faq-page .card-header h4.unicase-checkout-title {
  margin: 0 !important;
  padding: 0 !important;
  font-size: 1rem !important;
  font-weight: 600 !important;
}

.faq-page .faq-toggle {
  display: flex !important;
  align-items: center !important;
  gap: 14px !important;
  padding: 16px 20px !important;
  color: #1a2332 !important;
  text-decoration: none !important;
  font-size: 0.97rem !important;
  font-weight: 600 !important;
  line-height: 1.45 !important;
  transition: color 0.18s, background 0.18s;
}
.faq-page .faq-toggle:hover {
  color: #108bea !important;
  background: #eef6ff !important;
  text-decoration: none !important;
}

/* Number badge */
.faq-page .faq-toggle span:first-child {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 30px !important;
  height: 30px !important;
  border-radius: 50% !important;
  background: #108bea !important;
  color: #fff !important;
  font-size: 0.78rem !important;
  font-weight: 700 !important;
  flex-shrink: 0 !important;
}

/* Arrow indicator — appended via ::after */
.faq-page .card-header .faq-toggle::after {
  content: '\f107';
  font-family: FontAwesome;
  margin-left: auto;
  font-size: 1.1rem;
  color: #108bea;
  transition: transform 0.25s;
  flex-shrink: 0;
}
.faq-page .card-header:has(.collapse.show) .faq-toggle::after,
.faq-page .card-header:has([aria-expanded="true"]) .faq-toggle::after {
  transform: rotate(180deg);
}

/* Highlight open card */
.faq-page .card:has(.card-collapse.show) {
  border-color: #108bea !important;
  box-shadow: 0 4px 22px rgba(16,139,234,0.14) !important;
}
.faq-page .card:has(.card-collapse.show) .card-header {
  background: linear-gradient(90deg, #eef6ff, #f6faff) !important;
}
.faq-page .card:has(.card-collapse.show) .faq-toggle {
  color: #108bea !important;
}
.faq-page .card:has(.card-collapse.show) .faq-toggle span:first-child {
  background: #fcd000 !important;
  color: #1a2332 !important;
}

/* Answer body */
.faq-page .card-body {
  padding: 16px 20px 18px 64px !important;
  font-size: 0.94rem !important;
  line-height: 1.75 !important;
  color: #4a5568 !important;
  background: #fff !important;
  border-top: 1px dashed #dde8f5 !important;
}

/* =============================================================================
   HOMEPAGE SLIDER — modern redesign (dark overlay, yellow accents)
   ============================================================================= */

/* Wrapper height */
#main-slider .owl-z .item {
  background-position: center center !important;
  background-size: cover !important;
  height: 500px !important;
  position: relative;
}

/* Left-to-right dark gradient overlay for text legibility */
#main-slider .owl-z .item::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(15,20,35,0.68) 0%, rgba(15,20,35,0.22) 60%, transparent 100%);
  z-index: 2;
  pointer-events: none;
}

/* Caption sits above the overlay */
#main-slider .owl-z .item .caption,
#main-slider .owl-z .item .caption.bg-color {
  z-index: 10 !important;
  position: absolute !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  left: 7% !important;
  padding-right: 45% !important;
  padding-bottom: 0 !important;
}

/* Accent label (slider-header) — yellow pill */
#main-slider .owl-z .item .caption .slider-header {
  display: inline-block;
  font-size: 0.78rem !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.14em !important;
  line-height: 1 !important;
  padding: 6px 16px !important;
  border-radius: 30px !important;
  background: rgba(252, 208, 0, 0.18) !important;
  border: 1px solid rgba(252,208,0,0.7) !important;
  margin-bottom: 14px !important;
}

/* Main heading */
#main-slider .owl-z .item .caption .big-text,
#main-slider .owl-z .item .caption.bg-color .big-text {
  background: transparent !important;
  font-size: clamp(1.8rem, 3.5vw, 3rem) !important;
  line-height: 1.15 !important;
  font-weight: 800 !important;
  letter-spacing: -0.02em !important;
  padding: 0 !important;
  margin: 0 0 10px !important;
  text-shadow: 0 2px 10px rgba(0,0,0,0.35) !important;
}

/* Subtitle / excerpt */
#main-slider .owl-z .item .caption .excerpt,
#main-slider .owl-z .item .caption.bg-color .excerpt {
  background: transparent !important;
  padding-left: 0 !important;
  margin-top: 4px !important;
}
#main-slider .owl-z .item .caption .excerpt span,
#main-slider .owl-z .item .caption.bg-color .excerpt span {
  background: transparent !important;
  box-shadow: none !important;
  line-height: 1.6 !important;
  font-style: italic !important;
  font-size: 0.97rem !important;
  display: block !important;
  padding: 0 !important;
  opacity: 0.9;
}

/* CTA button */
#main-slider .owl-z .item .caption .button-holder {
  margin-top: 24px !important;
}
#main-slider .shop-now-button {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  border-radius: 30px !important;
  padding: 12px 30px !important;
  font-weight: 700 !important;
  font-size: 0.92rem !important;
  letter-spacing: 0.07em !important;
  text-transform: uppercase !important;
  border: none !important;
  box-shadow: 0 4px 18px rgba(0,0,0,0.3) !important;
  transition: transform 0.18s, box-shadow 0.18s !important;
  text-decoration: none !important;
}
#main-slider .shop-now-button:hover {
  transform: translateY(-3px) !important;
  box-shadow: 0 8px 28px rgba(0,0,0,0.38) !important;
  text-decoration: none !important;
}

/* Nav arrow buttons */
#main-slider .owl-controls .owl-buttons .owl-prev,
#main-slider .owl-controls .owl-buttons .owl-next,
#owl-main .owl-controls .owl-buttons .owl-prev,
#owl-main .owl-controls .owl-buttons .owl-next {
  width: 46px !important;
  height: 46px !important;
  border-radius: 50% !important;
  margin: 0 !important;
  opacity: 1 !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  background: rgba(255,255,255,0.88) !important;
  box-shadow: 0 2px 12px rgba(0,0,0,0.22) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}
#owl-main .owl-controls .owl-buttons .owl-next {
  background: #fcd000 !important;
}
#owl-main .owl-controls .owl-buttons .owl-prev:hover {
  background: #fff !important;
}
#owl-main .owl-controls .owl-buttons .owl-next:hover {
  background: #e6b800 !important;
}
#owl-main .owl-controls .owl-buttons .owl-prev:before,
#owl-main .owl-controls .owl-buttons .owl-next:before {
  color: #1a2332 !important;
  font-size: 16px !important;
}

/* Pagination dots — yellow active */
#owl-main .owl-controls .owl-pagination .owl-page span {
  background: rgba(255,255,255,0.45) !important;
  width: 8px !important;
  height: 8px !important;
  border-radius: 50% !important;
  margin: 0 4px !important;
}
#owl-main .owl-controls .owl-pagination .owl-page.active span {
  background: #fcd000 !important;
  width: 22px !important;
  border-radius: 4px !important;
}

/* Responsive — smaller height on mobile */
@media (max-width: 767px) {
  #main-slider .owl-z .item { height: 260px !important; }
  #main-slider .owl-z .item .caption,
  #main-slider .owl-z .item .caption.bg-color {
    left: 5% !important;
    padding-right: 8% !important;
  }
  #main-slider .owl-z .item .caption .big-text,
  #main-slider .owl-z .item .caption.bg-color .big-text {
    font-size: 1.2rem !important;
  }
  #main-slider .owl-z .item .caption .excerpt { display: none !important; }
  .faq-page .card-body { padding-left: 20px !important; }
}
