/* ============================================================
   PREMIUM ECOMMERCE UI — EduQuick
   A unified, luxury design system for all pages
   ============================================================ */

/* ---- DESIGN TOKENS ---- */
:root {
  --brand:        #CD3442;
  --brand-dark:   #a0222e;
  --brand-light:  #fdf0f1;
  --ink:          #111827;
  --ink-muted:    #6b7280;
  --surface:      #ffffff;
  --surface-2:    #f9fafb;
  --surface-3:    #f3f4f6;
  --border:       #e5e7eb;
  --radius-sm:    8px;
  --radius-md:    14px;
  --radius-lg:    20px;
  --radius-xl:    28px;
  --shadow-xs:    0 1px 3px rgba(0,0,0,.06), 0 1px 2px rgba(0,0,0,.04);
  --shadow-sm:    0 4px 12px rgba(0,0,0,.07);
  --shadow-md:    0 8px 24px rgba(0,0,0,.10);
  --shadow-lg:    0 20px 48px rgba(0,0,0,.13);
  --transition:   0.25s cubic-bezier(.4,0,.2,1);
  --font-sans:    'Jost', 'Inter', system-ui, sans-serif;
}

/* ---- BASE ---- */
*, *::before, *::after { box-sizing: border-box; }

body {
  font-family: var(--font-sans);
  background: var(--surface);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }

/* ---- HEADER ---- */
.header-common {
  background: rgba(255,255,255,.92) !important;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border) !important;
  box-shadow: none !important;
  transition: box-shadow var(--transition);
}
.header-common.scrolled {
  box-shadow: var(--shadow-sm) !important;
}
.logo-link {
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: -.5px;
  color: var(--ink) !important;
}
.logo-link span { color: var(--brand); }

.header-icon-btn {
  width: 40px; height: 40px;
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--surface-3);
  border: none;
  color: var(--ink);
  transition: background var(--transition), transform var(--transition);
  position: relative;
}
.header-icon-btn:hover {
  background: var(--brand-light);
  color: var(--brand);
  transform: scale(1.08);
}
.cart-badge {
  position: absolute; top: 4px; right: 4px;
  background: var(--brand); color: #fff;
  font-size: 9px; font-weight: 700;
  width: 16px; height: 16px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  border: 2px solid #fff;
}


.desktop-nav a:hover { color: var(--brand) !important; }
.desktop-nav a:hover::after { width: 100%; }

/* Search bar */
.mobile-search-container .input-group,
.desktop-nav .input-group {
  background: var(--surface-3);
  border-radius: 50px;
  border: 1.5px solid var(--border);
  overflow: hidden;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.mobile-search-container .input-group:focus-within,
.desktop-nav .input-group:focus-within {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(205,52,66,.1);
}
.mobile-search-container .form-control,
.desktop-nav .form-control {
  background: transparent; border: none;
  font-size: .875rem; color: var(--ink);
}
.mobile-search-container .form-control:focus,
.desktop-nav .form-control:focus { box-shadow: none; }

/* ---- MOBILE BOTTOM NAV ---- */
.mobile-menu-footer,
.mobile-bottom-nav {
  position: fixed;
  bottom: 16px; left: 16px; right: 16px;
  background: rgba(17,24,39,.93);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 24px;
  height: 64px;
  display: flex; align-items: center; justify-content: space-around;
  z-index: 2000;
  box-shadow: 0 8px 32px rgba(0,0,0,.25);
  border: 1px solid rgba(255,255,255,.08);
}
.mobile-menu-footer ul,
.mobile-bottom-nav ul {
  display: flex; width: 100%;
  justify-content: space-around; align-items: center;
  list-style: none; margin: 0; padding: 0;
}
.mobile-menu-footer a,
.mobile-bottom-nav a {
  display: flex; flex-direction: column; align-items: center; gap: 3px;
  color: rgba(255,255,255,.5);
  font-size: .65rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: .5px;
  transition: color var(--transition), transform var(--transition);
}
.mobile-menu-footer a.active,
.mobile-bottom-nav a.active,
.mobile-menu-footer a:hover,
.mobile-bottom-nav a:hover {
  color: var(--brand);
  transform: translateY(-2px);
}
.mobile-menu-footer a svg,
.mobile-bottom-nav a svg,
.mobile-menu-footer a i,
.mobile-bottom-nav a i {
  width: 20px; height: 20px; stroke-width: 2px;
}

@media (min-width: 576px) {
  .mobile-menu-footer { display: none !important; }
}

/* ---- MAIN CONTENT OFFSET ---- */
.main { padding-top: 0px; }
@media (max-width: 991px) { .main { padding-top: 110px; } }
@media (max-width: 575px) { .main { padding-bottom: 90px; } }

/* ---- SECTION TITLES ---- */
.title-box {
  text-align: center;
  margin-bottom: 2rem;
}
.title-box .unique-heading {
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  font-weight: 800;
  letter-spacing: -.5px;
  color: var(--ink);
  margin-bottom: .5rem;
}
.title-box p {
  color: var(--ink-muted);
  font-size: .9rem;
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.6;
}
.title-divider1 {
  display: flex; align-items: center; justify-content: center; gap: 6px;
  margin: .5rem 0;
}
.title-divider1 .squre {
  width: 8px; height: 8px;
  background: var(--brand);
  border-radius: 2px;
  transform: rotate(45deg);
}

/* ---- HERO BANNER ---- */
.home-slider-common {
  border-radius: 0 0 var(--radius-xl) var(--radius-xl);
  overflow: hidden;
}
.home-slider-common .banner img {
  width: 100%; height: 55vh;
  object-fit: cover;
}
@media (max-width: 575px) {
  .home-slider-common .banner img { height: 42vw; min-height: 180px; }
}
.swiper-pagination-bullet { background: var(--brand) !important; opacity: .4; }
.swiper-pagination-bullet-active { opacity: 1 !important; width: 20px !important; border-radius: 4px !important; }

/* ---- CATEGORY CIRCLES ---- */
.category-section {
  background: var(--surface) !important;
  padding: 1.5rem 0 !important;
  border-bottom: 6px solid var(--surface-3);
}
.category-circle-wrapper {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: var(--surface-3);
  border: 2px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}
.category-item-link:hover .category-circle-wrapper {
  border-color: var(--brand);
  box-shadow: 0 4px 16px rgba(205,52,66,.18);
  transform: translateY(-4px);
}
.category-img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.category-text {
  font-size: 1rem; font-weight: 600;
  color: black;
  text-align: center;
  white-space: normal;
  word-wrap: break-word;
}

/* ---- PRODUCT CARDS (grid) ---- */
.product-card,
.mini-product-card {
  background: var(--surface);
  border-radius: var(--radius-md);
  border: 1.5px solid var(--border);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  cursor: pointer;
}
.product-card:hover,
.mini-product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--brand);
}
.product-card .img-wrap,
.mini-product-card .img-box {
  position: relative;
  overflow: hidden;
  background: var(--surface-3);
}
.product-card .img-wrap img,
.mini-product-card .img-box img {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
  transition: transform .5s ease;
}
.product-card:hover .img-wrap img,
.mini-product-card:hover .img-box img {
  transform: scale(1.06);
}

/* Price & name inside card */
.product-card .product-detail,
.mini-product-card .content-box {
  padding: .6rem .75rem .75rem;
}
.mini-product-title,
.product-card h6 {
  font-size: .78rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin: 0;
}
.product-card .price {
  font-size: .85rem;
  font-weight: 700;
  color: var(--brand);
  margin-top: .25rem;
}
.product-card .price del {
  font-size: .75rem;
  font-weight: 400;
  color: var(--ink-muted);
  margin-left: 4px;
}

/* Wishlist / quick-add overlay */
.product-card .product-option {
  position: absolute; top: 8px; right: 8px;
  display: flex; flex-direction: column; gap: 6px;
  opacity: 0; transform: translateX(8px);
  transition: opacity var(--transition), transform var(--transition);
}
.product-card:hover .product-option {
  opacity: 1; transform: translateX(0);
}
.product-card .product-option li a,
.product-card .product-option li button {
  width: 34px; height: 34px;
  background: var(--surface);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-sm);
  border: none;
  color: var(--ink);
  transition: background var(--transition), color var(--transition);
}
.product-card .product-option li a:hover,
.product-card .product-option li button:hover {
  background: var(--brand); color: #fff;
}

/* Discount badge on card */
.arrow-label-wrap .arrow-label {
  background: var(--brand) !important;
  font-size: .7rem;
  font-weight: 700;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  clip-path: polygon(100% 0, 88% 50%, 100% 100%, 0 100%, 0 0);
}

/* ---- SPECIAL CATEGORY BOXES ---- */
.product-box {
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
}
.product-box .img-wrap img { transition: transform .5s ease; }
.product-box:hover .img-wrap img { transform: scale(1.05); }
.catagories-large-label,
.catagories-small-label {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: linear-gradient(to top, rgba(0,0,0,.65) 0%, transparent 100%);
  padding: 1.5rem 1rem .75rem;
}
.catagories-large-label h3,
.catagories-small-label h3 {
  color: #fff;
  font-weight: 700;
  font-size: clamp(.9rem, 2vw, 1.25rem);
  margin: 0;
  text-shadow: 0 1px 4px rgba(0,0,0,.4);
}

/* ---- OFFER / FEATURE BOXES ---- */
.offer {
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  transition: box-shadow var(--transition), border-color var(--transition);
}
.offer:hover {
  box-shadow: var(--shadow-sm);
  border-color: var(--brand);
}
.offer-heading {
  font-size: .95rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: .4rem;
}
.offer p { font-size: .82rem; color: var(--ink-muted); margin: 0; }

/* ---- SERVICE BOXES ---- */
.service-box {
  display: flex; align-items: flex-start; gap: .75rem;
  padding: 1rem;
  background: var(--surface-2);
  border-radius: var(--radius-md);
  border: 1.5px solid var(--border);
  transition: box-shadow var(--transition);
}
.service-box:hover { box-shadow: var(--shadow-sm); }
.service-box h5 { font-size: .9rem; font-weight: 700; margin-bottom: .2rem; }
.service-box span { font-size: .8rem; color: var(--ink-muted); }

/* ---- SUB BANNER ---- */
.sub-banner {
  border-radius: var(--radius-xl);
  overflow: hidden;
  position: relative;
}
.sub-banner img { width: 100%; object-fit: cover; max-height: 320px; }
.content-box1 {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(0,0,0,.55) !important;
  backdrop-filter: blur(8px);
  border-radius: var(--radius-lg) !important;
  padding: 1.5rem 2rem;
  text-align: center;
  border: 1px solid rgba(255,255,255,.15);
}
.heading-wrap .span-1,
.heading-wrap .span-2,
.heading-wrap .span-3,
.heading-wrap .span-4 {
  display: block;
  color: #fff !important;
  font-weight: 800;
  line-height: 1.1;
}
.heading-wrap .span-1 { font-size: .85rem; letter-spacing: 2px; opacity: .8; }
.heading-wrap .span-2 { font-size: 2.5rem; }
.heading-wrap .span-3 { font-size: 2.5rem; color: var(--brand) !important; }
.heading-wrap .span-4 { font-size: 1.1rem; letter-spacing: 3px; opacity: .9; }

/* ---- FOOTER ---- */
.footer-document {
  background: #0f1117 !important;
  color: rgba(255,255,255,.75);
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  margin-top: 3rem;
}
.footer-document .heading-footer {
  font-size: .85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #fff;
  margin-bottom: 1rem;
}
.footer-document ul li { margin-bottom: .5rem; }
.footer-document ul li a,
.footer-document .nav {
  font-size: .82rem;
  color: rgba(255,255,255,.55) !important;
  transition: color var(--transition);
}
.footer-document ul li a:hover,
.footer-document .nav:hover { color: var(--brand) !important; }
.footer-document .content-box ul li {
  display: flex; align-items: flex-start; gap: .5rem;
  font-size: .82rem; color: rgba(255,255,255,.55);
}
.footer-document .content-box ul li svg { flex-shrink: 0; stroke: var(--brand); }
.sub-footer {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 1.25rem 0;
  font-size: .78rem;
  color: rgba(255,255,255,.35);
}
.sub-footer a { color: var(--brand) !important; }
.follow-wrap ul { display: flex; gap: .75rem; list-style: none; padding: 0; margin: 0; }
.follow-wrap ul li a {
  width: 36px; height: 36px;
  background: rgba(255,255,255,.08);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transition: background var(--transition), transform var(--transition);
}
.follow-wrap ul li a:hover {
  background: var(--brand);
  transform: translateY(-3px);
}
.follow-wrap ul li a img { width: 16px; height: 16px; filter: brightness(0) invert(1); }

/* ---- BUTTONS ---- */
.btn-theme,
.btn-solid {
  background: var(--brand);
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  padding: .65rem 1.5rem;
  font-weight: 600;
  font-size: .875rem;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  display: inline-flex; align-items: center; gap: .5rem;
}
.btn-theme:hover,
.btn-solid:hover {
  background: var(--brand-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(205,52,66,.35);
  color: #fff;
}
.btn-outline-theme {
  background: transparent;
  color: var(--brand);
  border: 2px solid var(--brand);
  border-radius: var(--radius-sm);
  padding: .6rem 1.4rem;
  font-weight: 600;
  font-size: .875rem;
  transition: all var(--transition);
  display: inline-flex; align-items: center; gap: .5rem;
}
.btn-outline-theme:hover {
  background: var(--brand);
  color: #fff;
  transform: translateY(-2px);
}

/* ---- CART / WISHLIST PAGES ---- */
.cart-table { border-radius: var(--radius-lg); overflow: hidden; }
.cart-table thead th {
  background: var(--surface-3);
  font-size: .8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .8px;
  color: var(--ink-muted);
  border: none;
  padding: .875rem 1rem;
}
.cart-table tbody td {
  vertical-align: middle;
  border-color: var(--border);
  padding: 1rem;
}
.cart-table tbody tr:hover { background: var(--surface-2); }

/* ---- PROFILE / DASHBOARD ---- */
.user-dashboard .side-bar {
  background: var(--surface);
  border-radius: var(--radius-lg);
  border: 1.5px solid var(--border);
  padding: 1.5rem;
  box-shadow: var(--shadow-xs);
}
.user-dashboard .nav-tabs2 .nav-link {
  display: flex; align-items: center; justify-content: space-between;
  padding: .75rem 1rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: .875rem;
  color: var(--ink);
  border: none;
  transition: background var(--transition), color var(--transition);
}
.user-dashboard .nav-tabs2 .nav-link:hover,
.user-dashboard .nav-tabs2 .nav-link.active {
  background: var(--brand-light);
  color: var(--brand);
}
.user-dashboard .profile-box {
  padding: 1rem;
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 100%);
  border-radius: var(--radius-md);
  margin-bottom: 1rem;
  color: #fff;
}
.user-dashboard .profile-box h5 { font-weight: 700; margin: 0; }

/* ---- PRODUCT DETAIL PAGE ---- */
.creative-product-page { background: var(--surface-2); }

.product-hero {
  background: var(--surface);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  border: 1.5px solid var(--border);
}
.product-hero::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--brand) 0%, #ff6b6b 100%);
}
.image-gallery { background: var(--surface-3); padding: 1.5rem; }
.main-image-container {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  aspect-ratio: 1/1;
}
.main-image { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.main-image-container:hover .main-image { transform: scale(1.04); }

.thumbnail {
  min-width: 68px; height: 68px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 2px solid transparent;
  cursor: pointer;
  transition: border-color var(--transition), transform var(--transition);
}
.thumbnail.active, .thumbnail:hover {
  border-color: var(--brand);
  transform: scale(1.05);
}
.thumbnail img { width: 100%; height: 100%; object-fit: cover; }

.product-details { padding: 2rem 1.75rem; }
.product-badge {
  display: inline-block;
  background: var(--brand-light);
  color: var(--brand);
  padding: .35rem .9rem;
  border-radius: 50px;
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: .875rem;
  border: 1px solid rgba(205,52,66,.2);
}
.product-title {
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  font-weight: 800;
  color: var(--ink);
  line-height: 1.2;
}

.price-section {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
  color: #fff;
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius-md);
  margin-bottom: 1.5rem;
  position: relative;
  overflow: hidden;
}
.price-section::after {
  content: '';
  position: absolute; top: -40%; right: -20%;
  width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(205,52,66,.25) 0%, transparent 70%);
  pointer-events: none;
}
.current-price { font-size: 2rem; font-weight: 800; position: relative; z-index: 1; }
.original-price { font-size: .9rem; opacity: .65; text-decoration: line-through; position: relative; z-index: 1; }
.discount-badge {
  position: absolute; top: 1rem; right: 1rem;
  background: var(--brand);
  color: #fff;
  padding: .3rem .75rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: .8rem;
  z-index: 2;
}

.quantity-selector {
  background: var(--surface-2);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  border: 1.5px solid var(--border);
  margin-bottom: 1.5rem;
}
.quantity-label { font-weight: 600; font-size: .875rem; margin-bottom: .75rem; display: flex; align-items: center; gap: .5rem; }
.quantity-controls { display: flex; align-items: center; gap: .875rem; }
.quantity-btn {
  width: 38px; height: 38px;
  background: var(--brand); color: #fff;
  border: none; border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
}
.quantity-btn:hover { background: var(--brand-dark); transform: scale(1.08); }
.quantity-input {
  width: 56px; height: 38px;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  text-align: center;
  font-size: .95rem; font-weight: 700;
  transition: border-color var(--transition);
}
.quantity-input:focus { border-color: var(--brand); outline: none; }

.action-buttons { display: flex; gap: .75rem; margin-bottom: 1.5rem; }
.btn-creative {
  flex: 1; padding: .8rem 1.25rem;
  border: none; border-radius: var(--radius-md);
  font-weight: 700; font-size: .875rem;
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition);
  text-transform: uppercase; letter-spacing: .5px;
}
.btn-primary-creative {
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 100%);
  color: #fff;
}
.btn-secondary-creative {
  background: var(--surface);
  color: var(--brand);
  border: 2px solid var(--brand);
}
.btn-creative:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }

/* Product tabs */
.product-tabs {
  background: var(--surface);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-sm);
  border: 1.5px solid var(--border);
  overflow: hidden;
  margin-bottom: 2rem;
}
.tab-nav { display: flex; background: var(--surface-2); border-bottom: 1.5px solid var(--border); }
.tab-btn {
  flex: 1; padding: .875rem;
  border: none; background: transparent;
  font-weight: 600; font-size: .875rem;
  color: var(--ink-muted); cursor: pointer;
  transition: color var(--transition), background var(--transition);
  position: relative;
}
.tab-btn.active { color: var(--brand); background: var(--surface); }
.tab-btn.active::after {
  content: '';
  position: absolute; bottom: 0; left: 20%; right: 20%;
  height: 3px; background: var(--brand); border-radius: 2px 2px 0 0;
}
.tab-content { padding: 1.75rem; }

/* Related products */
.related-products {
  background: var(--surface);
  border-radius: var(--radius-xl);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  border: 1.5px solid var(--border);
}
.related-card {
  background: var(--surface-2);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1.5px solid var(--border);
  transition: transform var(--transition), box-shadow var(--transition);
  cursor: pointer;
}
.related-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); }
.related-image { width: 100%; height: 150px; object-fit: cover; }
.related-info { padding: .875rem; }
.related-title { font-weight: 600; font-size: .82rem; color: var(--ink); margin-bottom: .35rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.related-price { font-size: .9rem; font-weight: 700; color: var(--brand); }

/* ---- SHOP / LISTING PAGE ---- */
.shop-page { padding: 1.5rem 0; }
.shop-product { background: var(--surface); border-radius: var(--radius-xl); padding: 1.5rem; box-shadow: var(--shadow-xs); border: 1.5px solid var(--border); }

/* ---- BREADCRUMB ---- */
.breadcrumb-section {
  background: var(--surface-2);
  padding: .875rem 0;
  border-bottom: 1px solid var(--border);
}
.breadcrumb-item a { color: var(--ink-muted); font-size: .82rem; }
.breadcrumb-item.active { color: var(--brand); font-size: .82rem; font-weight: 600; }
.breadcrumb-item + .breadcrumb-item::before { color: var(--border); }

/* ---- FORMS / INPUTS ---- */
.form-control, .form-select {
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: .875rem;
  color: var(--ink);
  background: var(--surface);
  transition: border-color var(--transition), box-shadow var(--transition);
}
.form-control:focus, .form-select:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(205,52,66,.1);
}

/* ---- ALERTS / TOASTS ---- */
.alert-theme {
  background: var(--brand-light);
  border: 1px solid rgba(205,52,66,.2);
  color: var(--brand-dark);
  border-radius: var(--radius-md);
  font-size: .875rem;
  font-weight: 500;
}

/* ---- TAP TO TOP ---- */
.tap-to-top-box {
  position: fixed; bottom: 90px; right: 20px; z-index: 1500;
}
.tap-to-top-button {
  width: 44px; height: 44px;
  background: var(--brand); color: #fff;
  border: none; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-md);
  cursor: pointer;
  transition: transform var(--transition), background var(--transition);
}
.tap-to-top-button:hover { background: var(--brand-dark); transform: translateY(-3px); }
.tap-to-top-box.hide { display: none; }

/* ---- POPUP ---- */
.popup-content {
  border-radius: var(--radius-xl) !important;
  overflow: hidden;
  box-shadow: var(--shadow-lg) !important;
  border: none !important;
}
.close-btn {
  background: var(--brand) !important;
  color: #fff !important;
  border-radius: 0 var(--radius-xl) 0 var(--radius-md) !important;
  width: 40px !important; height: 40px !important;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.25rem !important;
}

/* ---- OFFCANVAS MOBILE MENU ---- */
.offcanvas { border-radius: 0 var(--radius-xl) var(--radius-xl) 0 !important; }
.offcanvas-header { border-bottom: 1px solid var(--border) !important; }
.offcanvas-body a {
  font-weight: 600; font-size: .9rem;
  color: var(--ink);
  padding: .5rem .75rem;
  border-radius: var(--radius-sm);
  display: block;
  transition: background var(--transition), color var(--transition);
}
.offcanvas-body a:hover { background: var(--brand-light); color: var(--brand); }

/* ---- DROPDOWN MENUS ---- */
.dropdown-menu {
  border: 1.5px solid var(--border) !important;
  border-radius: var(--radius-md) !important;
  box-shadow: var(--shadow-md) !important;
  padding: .5rem !important;
}
.dropdown-item {
  border-radius: var(--radius-sm);
  font-size: .875rem;
  font-weight: 500;
  padding: .5rem .875rem;
  transition: background var(--transition), color var(--transition);
}
.dropdown-item:hover { background: var(--brand-light) !important; color: var(--brand) !important; }

/* ---- MOBILE RESPONSIVE TWEAKS ---- */
@media (max-width: 575px) {
  .product-details { padding: 1.25rem 1rem; }
  .action-buttons { flex-direction: column; }
  .tab-nav { overflow-x: auto; }
  .tab-btn { white-space: nowrap; font-size: .8rem; padding: .75rem .875rem; }
  .related-grid { grid-template-columns: repeat(2, 1fr) !important; gap: .75rem !important; }
  .related-image { height: 130px; }
  .current-price { font-size: 1.6rem; }
  .product-title { font-size: 1.35rem;  }
  .category-tag { font-size: 0.8rem;  }
  .price-section { padding: 1rem; }
  .content-box1 { padding: 1rem 1.25rem; }
  .heading-wrap .span-2, .heading-wrap .span-3 { font-size: 1.75rem; }
  .sub-banner img { max-height: 220px; }
  .footer-document { border-radius: var(--radius-lg) var(--radius-lg) 0 0; }
}

/* ---- LOADER ---- */
.loader-wrapper { background: var(--surface) !important; }
.loader-wrapper .loader span { color: var(--brand) !important; }

/* ---- SCROLLBAR ---- */
::-webkit-scrollbar { width: 5px; height: 5px; }
::-webkit-scrollbar-track { background: var(--surface-3); }
::-webkit-scrollbar-thumb { background: var(--brand); border-radius: 4px; }
