/*
Theme Name: iStoreX Apple
Theme URI: https://istorexbd.com/
Description: Ultra-fast, highly converting Apple Store aesthetic theme for iStoreX BD. Built with zero bloat, native WooCommerce integration, express checkout, and seamless ad conversion tracking.
Version: 2.3.1
Author: iStoreX BD
Text Domain: switch-apple
*/

:root {
  --sw-bg: #f5f5f7;
  --sw-surface: #ffffff;
  --sw-text: #1d1d1f;
  --sw-muted: #86868b;
  --sw-border: #e5e5ea;
  --sw-border-hover: #0071e3;
  --sw-blue: #0071e3;
  --sw-blue-hover: #0077ed;
  --sw-green: #34c759;
  --sw-green-hover: #2db34f;
  --sw-orange: #ff9500;
  --sw-red: #ff3b30;
  --sw-black: #000000;
  --sw-radius-sm: 8px;
  --sw-radius-md: 14px;
  --sw-radius-lg: 20px;
  --sw-radius-pill: 980px;
  --sw-font: "Inter", -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
  --sw-shadow-card: 0 4px 16px rgba(0,0,0,0.03);
  --sw-shadow-hover: 0 16px 36px rgba(0,0,0,0.08);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  font-family: var(--sw-font);
  color: var(--sw-text);
  background-color: #fafafc;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.sw-container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 20px;
}


/* ========================================================
   UNCONGESTED TOPBAR & NAVIGATION (DESKTOP & MOBILE)
   ======================================================== */
.sw-topbar {
  background: #1d1d1f;
  color: #f5f5f7;
  font-size: 12px;
  font-weight: 500;
  padding: 8px 0;
  text-align: center;
  letter-spacing: -0.01em;
  position: relative;
  z-index: 1001;
}
.sw-topbar-inner {
  display: flex;
  align-items: center;
  justify-content: center;
}
.sw-topbar strong {
  color: #ffffff;
}
.sw-topbar a {
  color: #2997ff;
  text-decoration: none;
  font-weight: 700;
}
.sw-topbar a:hover {
  text-decoration: underline;
}
.sw-topbar-mobile {
  display: none;
}
.sw-topbar-desktop {
  display: inline-block;
}

/* MAIN HEADER */
.sw-header {
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 12px rgba(0,0,0,0.03);
}

/* DESKTOP HEADER */
.sw-header-desktop {
  display: block;
}
.sw-header-mobile {
  display: none;
}
.sw-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 66px;
  gap: 20px;
}
.sw-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 21px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #1d1d1f;
  flex-shrink: 0;
}
.sw-brand-img {
  width: 32px;
  height: 32px;
  object-fit: contain;
}
.sw-brand-name span {
  color: var(--sw-blue);
}
.sw-nav-wrap {
  flex: 1;
  display: flex;
  justify-content: center;
}
.sw-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.sw-nav-link {
  font-size: 14px;
  font-weight: 500;
  color: #1d1d1f;
  letter-spacing: -0.01em;
  padding: 8px 0;
  white-space: nowrap;
}
.sw-nav-link:hover {
  color: var(--sw-blue);
}
.sw-nav-link.sw-nav-highlight {
  color: var(--sw-blue);
  font-weight: 700;
}
.sw-header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.sw-search-form {
  position: relative;
  display: flex;
  align-items: center;
}
.sw-search-input {
  background: #f5f5f7;
  border: 1px solid transparent;
  border-radius: var(--sw-radius-pill);
  padding: 8px 16px 8px 36px;
  font-size: 13px;
  font-family: inherit;
  color: var(--sw-text);
  outline: none;
  width: 230px;
  transition: all 0.25s ease;
}
.sw-search-input:focus {
  background: #ffffff;
  border-color: var(--sw-blue);
  width: 270px;
  box-shadow: 0 0 0 3px rgba(0,113,227,0.15);
}
.sw-search-icon {
  position: absolute;
  left: 12px;
  pointer-events: none;
  color: var(--sw-muted);
}
.sw-whatsapp-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #f0fdf4;
  color: #16a34a;
  border: 1px solid #bbf7d0;
  padding: 7px 14px;
  border-radius: var(--sw-radius-pill);
  font-size: 12.5px;
  font-weight: 700;
  transition: all 0.2s ease;
  white-space: nowrap;
}
.sw-whatsapp-pill:hover {
  background: #25D366;
  color: #ffffff;
  border-color: #25D366;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.3);
}
.sw-header-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  color: #1d1d1f;
  position: relative;
  transition: background 0.2s ease;
}
.sw-header-btn:hover {
  background: #f5f5f7;
}
.sw-cart-count {
  position: absolute;
  top: 4px;
  right: 4px;
  background: var(--sw-blue);
  color: #ffffff;
  font-size: 10px;
  font-weight: 700;
  height: 16px;
  min-width: 16px;
  padding: 0 4px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

/* MOBILE HEADER & NAVIGATION (STUPID FRIENDLY) */
.sw-mobile-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  height: 54px;
  background: #ffffff;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}
.sw-mobile-menu-btn {
  background: none;
  border: none;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #1d1d1f;
  cursor: pointer;
  padding: 0;
  margin-left: -8px;
}
.sw-mobile-brand {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #1d1d1f;
}
.sw-mobile-brand-img {
  width: 26px;
  height: 26px;
  object-fit: contain;
}
.sw-mobile-brand-name span {
  color: var(--sw-blue);
}
.sw-mobile-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-right: -4px;
}
.sw-mobile-wa-icon {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.sw-mobile-cart-icon {
  position: relative;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #1d1d1f;
}
.sw-mobile-search-row {
  padding: 8px 16px 10px;
  background: #ffffff;
  border-bottom: 1px solid rgba(0,0,0,0.04);
}
.sw-mobile-search-form {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
}
.sw-mobile-search-form svg {
  position: absolute;
  left: 14px;
  color: #86868b;
  pointer-events: none;
}
.sw-mobile-search-form input {
  width: 100%;
  height: 42px;
  background: #f5f5f7;
  border: 1px solid transparent;
  border-radius: var(--sw-radius-pill);
  padding: 0 16px 0 40px;
  font-size: 13.5px;
  font-family: inherit;
  color: var(--sw-text);
  outline: none;
  -webkit-appearance: none;
}
.sw-mobile-search-form input:focus {
  background: #ffffff;
  border-color: var(--sw-blue);
  box-shadow: 0 0 0 3px rgba(0,113,227,0.15);
}
.sw-mobile-pills-row {
  background: #fbfbfd;
  border-bottom: 1px solid var(--sw-border);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.sw-mobile-pills-row::-webkit-scrollbar {
  display: none;
}
.sw-cat-pills {
  display: flex;
  gap: 8px;
  padding: 8px 16px;
  white-space: nowrap;
  width: max-content;
}
.sw-pill {
  display: inline-flex;
  align-items: center;
  padding: 6px 13px;
  border-radius: 980px;
  font-size: 12px;
  font-weight: 600;
  background: #ffffff;
  color: var(--sw-text);
  border: 1px solid var(--sw-border);
  text-decoration: none;
  transition: all 0.2s ease;
}
.sw-pill:hover,
.sw-pill.active {
  background: var(--sw-blue);
  color: #ffffff;
  border-color: var(--sw-blue);
  box-shadow: 0 2px 8px rgba(0,113,227,0.25);
}

/* MOBILE OFF-CANVAS DRAWER */
.sw-drawer-backdrop {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 9998;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}
.sw-drawer-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}
.sw-mobile-drawer {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  width: 320px;
  max-width: 86vw;
  height: 100vh;
  height: 100dvh;
  background: #ffffff;
  z-index: 9999;
  transform: translateX(-100%);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 6px 0 24px rgba(0,0,0,0.15);
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  display: flex;
  flex-direction: column;
}
body.sw-menu-open {
  overflow: hidden !important;
}
.sw-mobile-drawer.open {
  transform: translateX(0);
}
.sw-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid var(--sw-border);
}
.sw-drawer-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 17px;
  font-weight: 700;
}
.sw-drawer-brand img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}
.sw-drawer-close {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #f5f5f7;
  border: none;
  font-size: 24px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #1d1d1f;
  cursor: pointer;
}
.sw-drawer-help {
  padding: 14px 20px;
  background: #f0fdf4;
  border-bottom: 1px solid #bbf7d0;
}
.sw-drawer-help-text strong {
  display: block;
  font-size: 13px;
  color: #166534;
}
.sw-drawer-help-text span {
  font-size: 11px;
  color: #15803d;
  display: block;
  margin-bottom: 8px;
}
.sw-drawer-wa-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #25D366;
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
  padding: 10px 14px;
  border-radius: var(--sw-radius-pill);
  box-shadow: 0 4px 12px rgba(37,211,102,0.3);
}
.sw-drawer-section-title {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #86868b;
  padding: 18px 20px 8px;
}
.sw-mobile-nav {
  list-style: none;
  margin: 0;
  padding: 0 10px;
}
.sw-mobile-nav li a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 14px;
  font-size: 14px;
  font-weight: 600;
  color: #1d1d1f;
  border-radius: 8px;
  text-decoration: none;
}
.sw-mobile-nav li a:hover {
  background: #f5f5f7;
  color: var(--sw-blue);
}
.sw-drawer-sublinks li a {
  font-size: 13px;
  color: #6e6e73;
  padding: 8px 14px;
}
.sw-drawer-footer {
  margin-top: auto;
  padding: 18px 20px;
  background: #fafafc;
  border-top: 1px solid var(--sw-border);
  font-size: 11.5px;
  color: #86868b;
  line-height: 1.8;
}

/* BUTTON: SHOP NOW (PRODUCT CARDS & BUTTONS) */
.sw-btn-shopnow {
  background: var(--sw-blue) !important;
  color: #ffffff !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
  font-weight: 700 !important;
  font-size: 13.5px !important;
  border-radius: var(--sw-radius-pill) !important;
  border: none !important;
  padding: 10px 18px !important;
  transition: all 0.2s ease !important;
  text-decoration: none !important;
}
.sw-btn-shopnow:hover {
  background: var(--sw-blue-hover) !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 113, 227, 0.35) !important;
}

/* PRIMARY SINGLE PRODUCT BUY NOW BUTTON */
.sw-btn-buynow {
  background: linear-gradient(135deg, #0071e3 0%, #0077ed 100%) !important;
  color: #ffffff !important;
  font-size: 16px !important;
  font-weight: 800 !important;
  border-radius: var(--sw-radius-pill) !important;
  border: none !important;
  padding: 16px 28px !important;
  cursor: pointer !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  box-shadow: 0 6px 20px rgba(0, 113, 227, 0.35) !important;
  transition: all 0.2s ease !important;
  letter-spacing: -0.01em !important;
}
.sw-btn-buynow:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 26px rgba(0, 113, 227, 0.45) !important;
}

/* STUPID-FRIENDLY CHECKOUT ENHANCEMENTS */
.woocommerce-checkout #customer_details {
  background: #ffffff;
  border: 1px solid var(--sw-border);
  border-radius: var(--sw-radius-md);
  padding: 28px;
  box-shadow: var(--sw-shadow-card);
}
.woocommerce-checkout #customer_details h3 {
  font-size: 20px;
  font-weight: 800;
  color: var(--sw-text);
  margin: 0 0 18px;
}
.woocommerce-checkout .form-row {
  margin-bottom: 16px !important;
}
.woocommerce-checkout .form-row label {
  font-size: 14px !important;
  font-weight: 700 !important;
  color: #1d1d1f !important;
  margin-bottom: 6px !important;
}
.woocommerce-checkout .form-row input.input-text,
.woocommerce-checkout .form-row textarea {
  height: 48px !important;
  font-size: 15px !important;
  border-radius: var(--sw-radius-sm) !important;
  border: 1.5px solid #d2d2d7 !important;
  background: #fafafc !important;
  padding: 12px 14px !important;
  transition: all 0.2s !important;
}
.woocommerce-checkout .form-row textarea {
  height: 90px !important;
}
.woocommerce-checkout .form-row input.input-text:focus,
.woocommerce-checkout .form-row textarea:focus {
  background: #ffffff !important;
  border-color: var(--sw-blue) !important;
  box-shadow: 0 0 0 3px rgba(0,113,227,0.18) !important;
}
#place_order.button {
  background: linear-gradient(135deg, #0071e3 0%, #0077ed 100%) !important;
  color: #ffffff !important;
  font-size: 17px !important;
  font-weight: 800 !important;
  padding: 16px 24px !important;
  border-radius: var(--sw-radius-pill) !important;
  box-shadow: 0 6px 20px rgba(0,113,227,0.35) !important;
  border: none !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
}
#place_order.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 26px rgba(0,113,227,0.45) !important;
}

@media (max-width: 768px) {
  .sw-topbar-desktop {
    display: none;
  }
  .sw-topbar-mobile {
    display: inline-block;
    font-size: 11.5px;
    letter-spacing: -0.01em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .sw-header-desktop {
    display: none;
  }
  .sw-header-mobile {
    display: block;
  }
  .sw-btn-buynow {
    font-size: 15px !important;
    padding: 14px 16px !important;
  }
}

/* HERO SECTION */
.sw-hero-banner {
  background: linear-gradient(135deg, #0b0c10 0%, #1a1b24 100%);
  border-radius: var(--sw-radius-lg);
  margin: 28px 0 40px;
  padding: 50px 48px;
  color: #ffffff;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}
.sw-hero-content {
  max-width: 580px;
  z-index: 2;
}
.sw-hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
  padding: 6px 14px;
  border-radius: var(--sw-radius-pill);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: #2997ff;
  margin-bottom: 16px;
  border: 1px solid rgba(255, 255, 255, 0.15);
}
.sw-hero-title {
  font-size: 42px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin: 0 0 16px;
}
.sw-hero-title span {
  background: linear-gradient(90deg, #2997ff, #0071e3);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.sw-hero-sub {
  font-size: 16px;
  line-height: 1.6;
  color: #a1a1a6;
  margin: 0 0 28px;
}
.sw-hero-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.sw-btn-hero {
  background: var(--sw-blue);
  color: #ffffff;
  font-size: 14px;
  font-weight: 600;
  padding: 13px 28px;
  border-radius: var(--sw-radius-pill);
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.sw-btn-hero:hover {
  background: var(--sw-blue-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 113, 227, 0.4);
}
.sw-btn-hero-sec {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  font-size: 14px;
  font-weight: 600;
  padding: 13px 26px;
  border-radius: var(--sw-radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.25s ease;
}
.sw-btn-hero-sec:hover {
  background: rgba(255, 255, 255, 0.2);
}
.sw-hero-img-wrap {
  max-width: 440px;
  z-index: 1;
}

/* SECTION HEADINGS */
.sw-sec-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--sw-border);
}
.sw-sec-title {
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 6px;
  color: var(--sw-text);
}
.sw-sec-sub {
  font-size: 14px;
  color: var(--sw-muted);
  margin: 0;
}
.sw-view-link {
  font-size: 13px;
  font-weight: 600;
  color: var(--sw-blue);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
  flex-shrink: 0;
}
.sw-view-link:hover {
  text-decoration: underline;
}

/* PRODUCT GRID */
.sw-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin-bottom: 48px;
}

/* PRODUCT CARD */
.sw-card {
  background: #ffffff;
  border: 1px solid var(--sw-border);
  border-radius: var(--sw-radius-md);
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}
.sw-card:hover {
  transform: translateY(-5px);
  border-color: rgba(0, 113, 227, 0.3);
  box-shadow: var(--sw-shadow-hover);
}
.sw-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: var(--sw-radius-pill);
  z-index: 2;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.sw-badge-sale {
  background: #ffe5e5;
  color: var(--sw-red);
}
.sw-badge-blue {
  background: #e5f1ff;
  color: var(--sw-blue);
}
.sw-card-thumb {
  width: 100%;
  height: 200px;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.sw-card-thumb img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: transform 0.35s ease;
}
.sw-card:hover .sw-card-thumb img {
  transform: scale(1.04);
}
.sw-card-cat {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--sw-muted);
  letter-spacing: 0.05em;
  margin-bottom: 6px;
}
.sw-card-title {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--sw-text);
  margin: 0 0 10px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  height: 38px;
}
.sw-card-title a:hover {
  color: var(--sw-blue);
}
.sw-card-price-box {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 12px;
}
.sw-price-current {
  font-size: 17px;
  font-weight: 700;
  color: var(--sw-text);
}
.sw-price-old {
  font-size: 13px;
  color: var(--sw-muted);
  text-decoration: line-through;
}
.sw-btn-cart {
  width: 100%;
  background: #f5f5f7;
  color: var(--sw-text);
  font-size: 13px;
  font-weight: 600;
  padding: 10px 14px;
  border-radius: var(--sw-radius-pill);
  border: 1px solid var(--sw-border);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: all 0.2s ease;
}
.sw-btn-cart:hover {
  background: var(--sw-blue);
  color: #ffffff;
  border-color: var(--sw-blue);
}

/* VALUE PROPOSITIONS SECTION */
.sw-val-section {
  padding: 40px 0;
  background: #ffffff;
  border-radius: var(--sw-radius-lg);
  border: 1px solid var(--sw-border);
  margin-bottom: 50px;
}
.sw-val-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding: 0 30px;
}
.sw-val-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.sw-val-icon {
  font-size: 28px;
  line-height: 1;
}
.sw-val-info h4 {
  font-size: 15px;
  font-weight: 700;
  margin: 0 0 4px;
  color: var(--sw-text);
}
.sw-val-info p {
  font-size: 12px;
  color: var(--sw-muted);
  margin: 0;
  line-height: 1.5;
}

/* FOOTER */
.sw-footer {
  background: #f5f5f7;
  border-top: 1px solid var(--sw-border);
  padding: 50px 0 20px;
  margin-top: 60px;
  font-size: 13px;
  color: var(--sw-muted);
}
.sw-footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: 40px;
  margin-bottom: 40px;
}
.sw-footer-col h5 {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--sw-text);
  margin: 0 0 16px;
}
.sw-footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
}
.sw-footer-links li {
  margin-bottom: 10px;
}
.sw-footer-links a:hover {
  color: var(--sw-blue);
}
.sw-footer-bottom {
  border-top: 1px solid var(--sw-border);
  padding-top: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
}

/* ========================================================
   SINGLE PRODUCT PAGE STYLES
   ======================================================== */
.sw-sp-wrapper {
  padding: 24px 0 60px;
}
.sw-breadcrumb {
  font-size: 13px;
  color: var(--sw-muted);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.sw-breadcrumb a:hover {
  color: var(--sw-blue);
}
.sw-breadcrumb .sw-sep {
  color: #c7c7cc;
}
.sw-breadcrumb .sw-current {
  color: var(--sw-text);
  font-weight: 500;
}

.sw-sp-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  background: #ffffff;
  padding: 40px;
  border-radius: var(--sw-radius-lg);
  border: 1px solid var(--sw-border);
  margin-bottom: 40px;
}

/* Gallery */
.sw-sp-gallery {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.sw-sp-main-img-wrap {
  background: #fbfbfd;
  border: 1px solid var(--sw-border);
  border-radius: var(--sw-radius-md);
  padding: 30px;
  height: 440px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.sw-sp-main-img-wrap img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: opacity 0.2s ease;
}
.sw-sp-thumbs {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 4px;
}
.sw-sp-thumb {
  width: 72px;
  height: 72px;
  border-radius: var(--sw-radius-sm);
  border: 2px solid var(--sw-border);
  padding: 6px;
  cursor: pointer;
  background: #fbfbfd;
  transition: all 0.2s ease;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.sw-sp-thumb.active, .sw-sp-thumb:hover {
  border-color: var(--sw-blue);
}
.sw-sp-thumb img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

/* Summary / Buy Box */
.sw-sp-summary {
  display: flex;
  flex-direction: column;
}
.sw-sp-meta-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}
.sw-sp-cat {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--sw-muted);
  letter-spacing: 0.05em;
}
.sw-sp-stock {
  font-size: 12px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.sw-sp-stock.in-stock {
  color: var(--sw-green);
}
.sw-stock-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--sw-green);
  box-shadow: 0 0 0 3px rgba(52, 199, 89, 0.2);
}
.sw-sp-title {
  font-size: 28px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--sw-text);
  margin: 0 0 16px;
}
.sw-sp-price-box {
  background: #f5f5f7;
  padding: 16px 20px;
  border-radius: var(--sw-radius-md);
  margin-bottom: 24px;
}
.sw-sp-price-main {
  display: flex;
  align-items: baseline;
  gap: 10px;
}
.sw-sp-currency {
  font-size: 20px;
  font-weight: 700;
  color: var(--sw-text);
}
.sw-sp-amount {
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--sw-text);
}
.sw-sp-old-price {
  font-size: 18px;
  color: var(--sw-muted);
  text-decoration: line-through;
}
.sw-sp-save-badge {
  background: #ffe5e5;
  color: var(--sw-red);
  font-size: 12px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: var(--sw-radius-pill);
}

.sw-sp-short-desc {
  font-size: 14px;
  line-height: 1.6;
  color: #48484a;
  margin-bottom: 24px;
}

/* WOOCOMMERCE FORM & BUY BUTTONS */
.sw-sp-cart-area {
  margin-bottom: 28px;
}
.woocommerce div.product form.cart {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 0 !important;
}
.woocommerce div.product form.cart .quantity {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--sw-border);
  border-radius: var(--sw-radius-pill);
  background: #f5f5f7;
  padding: 4px 10px;
  width: fit-content;
}
.woocommerce div.product form.cart .quantity input.qty {
  width: 50px;
  height: 38px;
  border: none;
  background: transparent;
  text-align: center;
  font-size: 16px;
  font-weight: 700;
  color: var(--sw-text);
  outline: none;
}
.sw-btn-row {
  display: flex;
  gap: 12px;
  align-items: center;
}
.single_add_to_cart_button.button {
  flex: 1;
  background: var(--sw-blue) !important;
  color: #ffffff !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  padding: 14px 24px !important;
  border-radius: var(--sw-radius-pill) !important;
  border: none !important;
  cursor: pointer !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  transition: all 0.2s ease !important;
}
.single_add_to_cart_button.button:hover {
  background: var(--sw-blue-hover) !important;
  box-shadow: 0 6px 18px rgba(0, 113, 227, 0.35) !important;
  transform: translateY(-2px);
}
.sw-btn-buynow {
  flex: 1;
  background: #1d1d1f !important;
  color: #ffffff !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  padding: 14px 24px !important;
  border-radius: var(--sw-radius-pill) !important;
  border: none !important;
  cursor: pointer !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  transition: all 0.2s ease !important;
}
.sw-btn-buynow:hover {
  background: #000000 !important;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25) !important;
  transform: translateY(-2px);
}

/* Variations Form Styling */
.woocommerce div.product form.variations_form {
  background: #fafafc;
  border: 1px solid var(--sw-border);
  border-radius: var(--sw-radius-md);
  padding: 18px;
  margin-bottom: 20px;
}
.woocommerce div.product form.variations_form table.variations {
  width: 100%;
  border-collapse: collapse;
}
.woocommerce div.product form.variations_form table.variations td {
  padding: 8px 0;
  vertical-align: middle;
}
.woocommerce div.product form.variations_form table.variations td.label {
  width: 90px;
  font-weight: 600;
  font-size: 14px;
}
.woocommerce div.product form.variations_form table.variations select {
  width: 100%;
  max-width: 280px;
  padding: 10px 14px;
  border: 1px solid var(--sw-border);
  border-radius: var(--sw-radius-sm);
  background: #ffffff;
  font-size: 14px;
  font-family: inherit;
  color: var(--sw-text);
  outline: none;
}
.woocommerce div.product form.variations_form table.variations select:focus {
  border-color: var(--sw-blue);
}

/* Trust card */
.sw-sp-trust-card {
  border: 1px solid var(--sw-border);
  border-radius: var(--sw-radius-md);
  padding: 16px 20px;
  background: #fafafc;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.sw-sp-trust-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.sw-sp-trust-icon {
  font-size: 18px;
  line-height: 1.2;
}
.sw-sp-trust-info strong {
  display: block;
  font-size: 13px;
  color: var(--sw-text);
}
.sw-sp-trust-info span {
  font-size: 12px;
  color: var(--sw-muted);
}

/* TABS SECTION */
.sw-sp-tabs-section {
  background: #ffffff;
  border: 1px solid var(--sw-border);
  border-radius: var(--sw-radius-lg);
  padding: 30px;
  margin-bottom: 50px;
}
.sw-sp-tabs-nav {
  display: flex;
  gap: 10px;
  border-bottom: 1px solid var(--sw-border);
  padding-bottom: 16px;
  margin-bottom: 24px;
  overflow-x: auto;
}
.sw-tab-btn {
  background: #f5f5f7;
  border: 1px solid transparent;
  color: var(--sw-muted);
  font-size: 14px;
  font-weight: 600;
  padding: 9px 18px;
  border-radius: var(--sw-radius-pill);
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}
.sw-tab-btn:hover {
  color: var(--sw-text);
  background: #e5e5ea;
}
.sw-tab-btn.active {
  background: #1d1d1f;
  color: #ffffff;
}
.sw-tab-pane {
  display: none;
  font-size: 14px;
  line-height: 1.7;
  color: #3a3a3c;
}
.sw-tab-pane.active {
  display: block;
}
.sw-prose h2, .sw-prose h3 {
  font-size: 18px;
  font-weight: 700;
  margin: 16px 0 10px;
  color: var(--sw-text);
}
.sw-prose ul {
  padding-left: 20px;
  margin: 12px 0;
}
.sw-prose li {
  margin-bottom: 6px;
}

/* ========================================================
   WOOCOMMERCE CART & CHECKOUT PAGE STYLING
   ======================================================== */
.woocommerce-cart > .sw-container,
.woocommerce-checkout > .sw-container {
  max-width: 1200px;
  padding-top: 24px;
  padding-bottom: 60px;
}

/* Guard Topbar and Header from any container padding blowout */
.sw-topbar {
  background: #1d1d1f !important;
  color: #f5f5f7 !important;
  font-size: 12px !important;
  font-weight: 500 !important;
  padding: 8px 0 !important;
  line-height: 1.4 !important;
  text-align: center !important;
  position: relative !important;
  z-index: 1001 !important;
  height: auto !important;
  min-height: 0 !important;
}

.sw-topbar .sw-container,
.woocommerce-checkout .sw-topbar .sw-container,
.woocommerce-cart .sw-topbar .sw-container {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  margin: 0 auto !important;
  max-width: 1320px !important;
}

.sw-header .sw-container,
.woocommerce-checkout .sw-header .sw-container,
.woocommerce-cart .sw-header .sw-container {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  margin: 0 auto !important;
}
.woocommerce-cart table.shop_table {
  width: 100%;
  border-collapse: collapse;
  background: #ffffff;
  border: 1px solid var(--sw-border);
  border-radius: var(--sw-radius-md);
  overflow: hidden;
  margin-bottom: 30px;
}
.woocommerce-cart table.shop_table th {
  background: #f5f5f7;
  padding: 14px 16px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--sw-muted);
  border: none;
  text-align: left;
}
.woocommerce-cart table.shop_table td {
  padding: 16px;
  border-top: 1px solid var(--sw-border);
  vertical-align: middle;
  font-size: 14px;
}
.woocommerce-cart table.shop_table td.product-thumbnail img {
  width: 70px;
  height: 70px;
  object-fit: contain;
  border-radius: var(--sw-radius-sm);
  background: #fbfbfd;
  border: 1px solid var(--sw-border);
}
.woocommerce-cart table.shop_table td.product-name a {
  font-weight: 600;
  color: var(--sw-text);
}
.woocommerce-cart table.shop_table td.product-name a:hover {
  color: var(--sw-blue);
}
.woocommerce-cart .cart-collaterals {
  display: flex;
  justify-content: flex-end;
}
.woocommerce-cart .cart_totals {
  width: 100%;
  max-width: 440px;
  background: #ffffff;
  border: 1px solid var(--sw-border);
  border-radius: var(--sw-radius-md);
  padding: 24px;
}
.woocommerce-cart .cart_totals h2 {
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 18px;
}
.woocommerce-cart .cart_totals table.shop_table {
  border: none;
  margin-bottom: 20px;
}
.woocommerce-cart .cart_totals table.shop_table td,
.woocommerce-cart .cart_totals table.shop_table th {
  padding: 10px 0;
  border-top: 1px solid #f0f0f2;
}
.wc-proceed-to-checkout .checkout-button.button {
  display: block !important;
  width: 100% !important;
  background: var(--sw-blue) !important;
  color: #ffffff !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  padding: 14px !important;
  border-radius: var(--sw-radius-pill) !important;
  text-align: center !important;
  border: none !important;
  transition: all 0.2s ease !important;
}
.wc-proceed-to-checkout .checkout-button.button:hover {
  background: var(--sw-blue-hover) !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 113, 227, 0.3) !important;
}

/* CHECKOUT 2-COLUMN LAYOUT */
.woocommerce-checkout form.checkout {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
}
.woocommerce-checkout #customer_details {
  background: #ffffff;
  border: 1px solid var(--sw-border);
  border-radius: var(--sw-radius-md);
  padding: 30px;
}
.woocommerce-checkout #customer_details h3 {
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 20px;
}
.woocommerce-checkout .woocommerce-billing-fields__field-wrapper,
.woocommerce-checkout .woocommerce-shipping-fields__field-wrapper {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.woocommerce-checkout .form-row {
  margin: 0 !important;
  padding: 0 !important;
  width: 100% !important;
}
.woocommerce-checkout .form-row label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--sw-text);
  margin-bottom: 6px;
}
.woocommerce-checkout .form-row input.input-text,
.woocommerce-checkout .form-row select,
.woocommerce-checkout .form-row textarea {
  width: 100% !important;
  background: #fbfbfd;
  border: 1px solid var(--sw-border);
  border-radius: var(--sw-radius-sm);
  padding: 12px 14px;
  font-size: 14px;
  font-family: inherit;
  color: var(--sw-text);
  outline: none;
  transition: all 0.2s ease;
}
.woocommerce-checkout .form-row input.input-text:focus,
.woocommerce-checkout .form-row select:focus,
.woocommerce-checkout .form-row textarea:focus {
  background: #ffffff;
  border-color: var(--sw-blue);
  box-shadow: 0 0 0 3px rgba(0,113,227,0.15);
}

.woocommerce-checkout #order_review_heading {
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 20px;
}
.woocommerce-checkout #order_review {
  background: #ffffff;
  border: 1px solid var(--sw-border);
  border-radius: var(--sw-radius-md);
  padding: 30px;
  height: fit-content;
}
.woocommerce-checkout table.woocommerce-checkout-review-order-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 24px;
}
.woocommerce-checkout table.woocommerce-checkout-review-order-table th,
.woocommerce-checkout table.woocommerce-checkout-review-order-table td {
  padding: 12px 0;
  border-bottom: 1px solid #f0f0f2;
  font-size: 14px;
}
.woocommerce-checkout table.woocommerce-checkout-review-order-table th {
  font-weight: 600;
  color: var(--sw-muted);
}
.woocommerce-checkout table.woocommerce-checkout-review-order-table td {
  color: var(--sw-text);
}
.woocommerce-checkout table.woocommerce-checkout-review-order-table tr.order-total td {
  font-size: 18px;
  font-weight: 800;
  color: var(--sw-text);
}

/* Payment box */
.woocommerce-checkout #payment {
  background: #f5f5f7;
  border-radius: var(--sw-radius-md);
  padding: 20px;
  border: 1px solid var(--sw-border);
}
.woocommerce-checkout #payment ul.payment_methods {
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
}
.woocommerce-checkout #payment ul.payment_methods li {
  margin-bottom: 12px;
}
.woocommerce-checkout #payment ul.payment_methods li label {
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
}
.woocommerce-checkout #payment ul.payment_methods li .payment_box {
  background: #ffffff;
  border: 1px solid var(--sw-border);
  border-radius: var(--sw-radius-sm);
  padding: 12px;
  font-size: 13px;
  color: var(--sw-muted);
  margin-top: 8px;
}
#place_order.button {
  display: block !important;
  width: 100% !important;
  background: var(--sw-blue) !important;
  color: #ffffff !important;
  font-size: 16px !important;
  font-weight: 800 !important;
  padding: 16px !important;
  border-radius: var(--sw-radius-pill) !important;
  border: none !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
  text-align: center !important;
}
#place_order.button:hover {
  background: var(--sw-blue-hover) !important;
  box-shadow: 0 8px 24px rgba(0, 113, 227, 0.4) !important;
  transform: translateY(-2px);
}

/* WOOCOMMERCE NOTICES */
.woocommerce-message, .woocommerce-info, .woocommerce-error {
  padding: 14px 20px;
  border-radius: var(--sw-radius-md);
  margin-bottom: 24px;
  font-size: 14px;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid transparent;
}
.woocommerce-message {
  background: #eefbf3;
  color: #1e7e34;
  border-color: #c3e6cb;
}
.woocommerce-message a.button {
  background: #1e7e34 !important;
  color: #ffffff !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  padding: 6px 14px !important;
  border-radius: var(--sw-radius-pill) !important;
  text-decoration: none !important;
}
.woocommerce-error {
  background: #fdf2f2;
  color: #b02a37;
  border-color: #f8d7da;
  list-style: none;
}

/* FLOATING TOAST */
.sw-toast {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: #1d1d1f;
  color: #ffffff;
  padding: 14px 22px;
  border-radius: var(--sw-radius-pill);
  box-shadow: 0 12px 32px rgba(0,0,0,0.25);
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 14px;
  font-weight: 600;
  z-index: 9999;
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.sw-toast.show {
  transform: translateY(0);
  opacity: 1;
}
.sw-toast a {
  background: var(--sw-blue);
  color: #ffffff;
  padding: 6px 14px;
  border-radius: var(--sw-radius-pill);
  font-size: 12px;
  font-weight: 700;
}
.sw-toast a:hover {
  background: var(--sw-blue-hover);
}

/* RESPONSIVE */
@media (max-width: 1024px) {
  .sw-nav {
    display: none;
  }
  .sw-mobile-toggle {
    display: block;
  }
  .sw-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .sw-val-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .sw-footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .sw-sp-grid {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 24px;
  }
  .woocommerce-checkout form.checkout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .sw-topbar {
    font-size: 11px;
    padding: 6px 10px;
  }
  .sw-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .sw-card {
    padding: 14px;
  }
  .sw-card-thumb {
    height: 140px;
  }
  .sw-hero-banner {
    padding: 30px 20px;
    flex-direction: column;
    text-align: center;
  }
  .sw-hero-title {
    font-size: 28px;
  }
  .sw-hero-actions {
    justify-content: center;
  }
  .sw-hero-img-wrap {
    display: none;
  }
  .sw-val-grid {
    grid-template-columns: 1fr;
    padding: 0 16px;
  }
  .sw-footer-grid {
    grid-template-columns: 1fr;
  }
  .sw-sp-main-img-wrap {
    height: 300px;
  }
  .sw-btn-row {
    flex-direction: column;
  }
  .single_add_to_cart_button.button, .sw-btn-buynow {
    width: 100% !important;
  }
  .sw-toast {
    left: 20px;
    right: 20px;
    bottom: 20px;
    justify-content: space-between;
  }
}


/* ==========================================================================
   MODERN APPLE / SWITCH SINGLE PRODUCT PAGE (Revamped & Conversion Optimized)
   ========================================================================== */

.sw-sp-wrapper {
  background: #ffffff;
  padding: 24px 0 80px;
}

.sw-breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 13px;
  color: #86868b;
  margin-bottom: 24px;
}
.sw-breadcrumb a {
  color: #86868b;
  text-decoration: none;
  transition: color 0.2s ease;
}
.sw-breadcrumb a:hover {
  color: #0071e3;
}
.sw-sep {
  color: #d2d2d7;
  font-size: 11px;
}
.sw-cat-crumb {
  color: #86868b;
}
.sw-current {
  color: #1d1d1f;
  font-weight: 500;
  max-width: 380px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* 2-Column Responsive Product Layout */
.sw-sp-layout {
  display: grid;
  grid-template-columns: 52% 48%;
  gap: 48px;
  align-items: start;
  margin-bottom: 48px;
}

/* Left Gallery */
.sw-sp-gallery-col {
  width: 100%;
}
.sw-sp-gallery-sticky {
  position: sticky;
  top: 96px;
}
.sw-sp-main-card {
  background: #fbfbfd;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 24px;
  padding: 32px;
  min-height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.02);
  transition: box-shadow 0.3s ease;
}
.sw-sp-main-card:hover {
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.05);
}
.sw-sp-badge-stack {
  position: absolute;
  top: 18px;
  left: 18px;
  display: flex;
  gap: 8px;
  z-index: 2;
}
.sw-pill-badge {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.03em;
  padding: 6px 12px;
  border-radius: 980px;
}
.sw-pill-auth {
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(0, 0, 0, 0.08);
  color: #1d1d1f;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}
.sw-pill-sale {
  background: #ff3b30;
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(255, 59, 48, 0.3);
}

.sw-sp-img-canvas {
  width: 100%;
  height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.sw-sp-img-canvas img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: opacity 0.2s ease, transform 0.3s ease;
}
.sw-sp-img-canvas:hover img {
  transform: scale(1.03);
}

/* Thumbnail Strip */
.sw-sp-thumb-strip {
  display: flex;
  gap: 12px;
  margin-top: 16px;
  overflow-x: auto;
  padding: 4px 2px 8px;
}
.sw-thumb-item {
  width: 76px;
  height: 76px;
  border-radius: 14px;
  border: 2px solid #e5e5ea;
  background: #ffffff;
  padding: 6px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}
.sw-thumb-item:hover,
.sw-thumb-item.active {
  border-color: #0071e3;
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(0, 113, 227, 0.22);
}
.sw-thumb-item img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

/* Right Column: Info & Buy Box */
.sw-sp-info-col {
  width: 100%;
}
.sw-sp-meta-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}
.sw-sp-cat-tag {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #86868b;
}

/* Pulsing Stock Badge */
.sw-sp-stock-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 980px;
}
.sw-sp-stock-badge.in-stock {
  background: rgba(52, 199, 89, 0.12);
  color: #1b5e20;
}
.sw-sp-stock-badge.out-stock {
  background: rgba(255, 59, 48, 0.1);
  color: #ff3b30;
}
.sw-pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #34c759;
  box-shadow: 0 0 0 0 rgba(52, 199, 89, 0.7);
  animation: swPulse 2s infinite;
}
@keyframes swPulse {
  0% { box-shadow: 0 0 0 0 rgba(52, 199, 89, 0.7); }
  70% { box-shadow: 0 0 0 8px rgba(52, 199, 89, 0); }
  100% { box-shadow: 0 0 0 0 rgba(52, 199, 89, 0); }
}
.sw-stock-static-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ff3b30;
}

/* Title */
.sw-sp-title {
  font-size: 32px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.025em;
  color: #1d1d1f;
  margin: 0 0 10px;
}

/* Rating Bar */
.sw-sp-rating-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  color: #6e6e73;
  margin-bottom: 22px;
}
.sw-stars {
  color: #f5a623;
  letter-spacing: 1px;
  font-size: 14px;
}
.sw-rating-score {
  font-weight: 700;
  color: #1d1d1f;
}
.sw-rating-sep {
  color: #d2d2d7;
}
.sw-rating-count {
  color: #6e6e73;
}

/* Price Card */
.sw-sp-price-card {
  background: #fbfbfd;
  border: 1px solid #e5e5ea;
  border-radius: 18px;
  padding: 18px 24px;
  margin-bottom: 24px;
}
.sw-sp-price-primary {
  display: flex;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 6px;
}
.sw-currency-symbol {
  font-size: 24px;
  font-weight: 700;
  color: #1d1d1f;
}
.sw-price-val {
  font-size: 38px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #1d1d1f;
}
.sw-regular-price {
  font-size: 18px;
  font-weight: 500;
  color: #86868b;
  text-decoration: line-through;
}
.sw-discount-pill {
  font-size: 12px;
  font-weight: 700;
  color: #ffffff;
  background: #ff3b30;
  padding: 4px 10px;
  border-radius: 980px;
}
.sw-price-subtext {
  font-size: 13px;
  color: #6e6e73;
  display: flex;
  gap: 8px;
  font-weight: 500;
}

/* Short Description Lead */
.sw-sp-lead {
  font-size: 15px;
  line-height: 1.6;
  color: #424245;
  margin-bottom: 24px;
}

/* Action Box & Buttons */
.sw-sp-action-box {
  margin-bottom: 28px;
}
.woocommerce div.product form.cart {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 0 !important;
}

/* Variations Form Styling */
.woocommerce div.product form.variations_form {
  background: #fbfbfd;
  border: 1px solid #e5e5ea;
  border-radius: 16px;
  padding: 20px;
  margin-bottom: 20px;
}
.woocommerce div.product form.variations_form table.variations {
  width: 100%;
  border-collapse: collapse;
}
.woocommerce div.product form.variations_form table.variations td {
  padding: 10px 0;
  vertical-align: middle;
}
.woocommerce div.product form.variations_form table.variations td.label {
  width: 100px;
  font-weight: 700;
  font-size: 14px;
  color: #1d1d1f;
}
.woocommerce div.product form.variations_form table.variations select {
  width: 100%;
  max-width: 320px;
  padding: 12px 16px;
  border: 1.5px solid #d2d2d7;
  border-radius: 12px;
  background: #ffffff;
  font-size: 14.5px;
  font-family: inherit;
  color: #1d1d1f;
  outline: none;
  transition: border-color 0.2s ease;
}
.woocommerce div.product form.variations_form table.variations select:focus {
  border-color: #0071e3;
}
.single_variation_wrap {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid #e5e5ea;
}
.woocommerce-variation-price {
  margin-bottom: 14px;
}
.woocommerce-variation-price .price {
  font-size: 26px !important;
  font-weight: 800 !important;
  color: #1d1d1f !important;
}

/* Quantity Stepper */
.woocommerce div.product form.cart .quantity {
  display: inline-flex;
  align-items: center;
  background: #f5f5f7;
  border: 1.5px solid #d2d2d7;
  border-radius: 12px;
  padding: 2px 4px;
  width: fit-content;
}
.sw-qty-btn {
  width: 38px;
  height: 38px;
  background: transparent;
  border: none;
  font-size: 20px;
  font-weight: 600;
  color: #1d1d1f;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  transition: background 0.15s ease;
}
.sw-qty-btn:hover {
  background: #e8e8ed;
}
.woocommerce div.product form.cart .quantity input.qty {
  width: 48px;
  height: 38px;
  border: none;
  background: transparent;
  text-align: center;
  font-size: 16px;
  font-weight: 700;
  color: #1d1d1f;
  outline: none;
}

/* 1-Click Buy Now Button (High Impact Conversion Engine) */
.sw-btn-buynow {
  width: 100%;
  background: linear-gradient(135deg, #0071e3 0%, #0077ed 100%) !important;
  color: #ffffff !important;
  font-size: 17px !important;
  font-weight: 700 !important;
  padding: 16px 28px !important;
  border-radius: 14px !important;
  border: none !important;
  cursor: pointer !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 10px !important;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
  box-shadow: 0 6px 20px rgba(0, 113, 227, 0.32) !important;
  margin-top: 6px;
}
.sw-btn-buynow:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(0, 113, 227, 0.45) !important;
  background: linear-gradient(135deg, #0077ed 0%, #005ec4 100%) !important;
}
.sw-btn-buynow:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(0, 113, 227, 0.3) !important;
}

/* Add to Cart Secondary Button */
.single_add_to_cart_button.button {
  width: 100%;
  background: #ffffff !important;
  color: #1d1d1f !important;
  border: 1.5px solid #1d1d1f !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  padding: 14px 24px !important;
  border-radius: 14px !important;
  cursor: pointer !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  transition: all 0.2s ease !important;
}
.single_add_to_cart_button.button:hover {
  background: #f5f5f7 !important;
  transform: translateY(-1px);
}

/* Reassurance Strip */
.sw-reassurance-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 14px;
  padding: 12px 16px;
  background: #f5fbf7;
  border: 1px solid rgba(52, 199, 89, 0.25);
  border-radius: 14px;
}
.sw-reassure-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: #1b5e20;
}

/* Apple 4-Feature Trust Grid */
.sw-sp-trust-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 24px;
}
.sw-trust-tile {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: #fbfbfd;
  border: 1px solid #e5e5ea;
  border-radius: 14px;
  padding: 14px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.sw-trust-tile:hover {
  border-color: #0071e3;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
}
.sw-trust-icon-box {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: #ffffff;
  border: 1px solid #e5e5ea;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0071e3;
  flex-shrink: 0;
}
.sw-trust-text strong {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: #1d1d1f;
  margin-bottom: 2px;
}
.sw-trust-text span {
  display: block;
  font-size: 11.5px;
  color: #6e6e73;
  line-height: 1.4;
}

/* Details Tabs (Segmented Control) */
.sw-sp-tabs-wrap {
  margin-top: 56px;
  background: #ffffff;
  border: 1px solid #e5e5ea;
  border-radius: 24px;
  padding: 36px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.02);
}
.sw-tabs-segmented {
  display: flex;
  gap: 6px;
  background: #f5f5f7;
  padding: 6px;
  border-radius: 980px;
  width: fit-content;
  margin-bottom: 32px;
  overflow-x: auto;
  max-width: 100%;
}
.sw-tab-pill {
  border: none;
  background: transparent;
  padding: 10px 24px;
  border-radius: 980px;
  font-size: 14.5px;
  font-weight: 600;
  color: #6e6e73;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}
.sw-tab-pill.active {
  background: #ffffff;
  color: #1d1d1f;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}
.sw-tab-panel {
  display: none;
}
.sw-tab-panel.active {
  display: block;
  animation: swFadeIn 0.25s ease;
}
@keyframes swFadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Related Products Section */
.sw-sp-related-section {
  margin-top: 64px;
}

/* Sticky Mobile Purchase Bar */
.sw-mobile-sticky-bar {
  display: none;
}

/* Bulletproof Mobile Single Product Layout */
@media (max-width: 992px) {
  .sw-sp-layout {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    max-width: 100% !important;
    gap: 24px !important;
  }
  .sw-sp-gallery-col,
  .sw-sp-info-col {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
  }
  .sw-sp-gallery-sticky {
    position: static !important;
  }
  .sw-sp-thumb-strip {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    box-sizing: border-box !important;
  }
  .sw-sp-main-card {
    width: 100% !important;
    max-width: 100% !important;
    min-height: 280px !important;
    padding: 16px !important;
    box-sizing: border-box !important;
  }
  .sw-sp-img-canvas {
    width: 100% !important;
    max-width: 100% !important;
    height: 260px !important;
  }
  .sw-sp-img-canvas img {
    max-width: 90% !important;
    max-height: 90% !important;
  }
  .sw-sp-title {
    width: 100% !important;
    max-width: 100% !important;
    font-size: 21px !important;
    line-height: 1.35 !important;
    word-break: break-word !important;
  }
  .sw-sp-price-card {
    width: 100% !important;
    max-width: 100% !important;
    padding: 16px !important;
    box-sizing: border-box !important;
  }
  .sw-price-subtext {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 4px 8px !important;
    font-size: 11.5px !important;
  }
  .sw-sp-action-box {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
  .sw-btn-buynow {
    width: 100% !important;
    max-width: 100% !important;
    font-size: 14.5px !important;
    padding: 14px 12px !important;
    white-space: normal !important;
    text-align: center !important;
    justify-content: center !important;
    box-sizing: border-box !important;
  }
  .single_add_to_cart_button.button {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
  .sw-reassurance-strip {
    width: 100% !important;
    max-width: 100% !important;
    flex-direction: column !important;
    gap: 8px !important;
    align-items: flex-start !important;
    padding: 12px !important;
    box-sizing: border-box !important;
  }
  .sw-sp-trust-grid {
    width: 100% !important;
    max-width: 100% !important;
    grid-template-columns: 1fr !important;
    box-sizing: border-box !important;
  }
  .sw-sp-tabs-wrap {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
  .sw-sp-tabs-nav {
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
  }
}

@media (max-width: 768px) {
  .sw-sp-wrapper {
    padding: 16px 0 100px;
  }
  .sw-sp-main-card {
    min-height: 320px;
    padding: 20px;
    border-radius: 18px;
  }
  .sw-sp-img-canvas {
    height: 280px;
  }
  .sw-sp-title {
    font-size: 24px;
  }
  .sw-price-val {
    font-size: 32px;
  }
  .sw-sp-trust-grid {
    grid-template-columns: 1fr;
  }
  .sw-sp-tabs-wrap {
    padding: 20px;
    border-radius: 18px;
    margin-top: 40px;
  }
  .sw-tab-pill {
    padding: 8px 16px;
    font-size: 13px;
  }

  /* Fixed Bottom Bar on Mobile */
  .sw-mobile-sticky-bar {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 999;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    padding: 10px 16px;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08);
    transform: translateY(110%);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  }
  .sw-mobile-sticky-bar.visible {
    transform: translateY(0);
  }
  .sw-msb-left {
    display: flex;
    align-items: center;
    gap: 10px;
    max-width: 52%;
  }
  .sw-msb-thumb {
    width: 44px;
    height: 44px;
    border-radius: 8px;
    object-fit: contain;
    background: #f5f5f7;
    flex-shrink: 0;
    border: 1px solid rgba(0,0,0,0.06);
  }
  .sw-msb-info {
    overflow: hidden;
  }
  .sw-msb-title {
    font-size: 12px;
    font-weight: 600;
    color: #1d1d1f;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .sw-msb-price {
    font-size: 15px;
    font-weight: 800;
    color: #1d1d1f;
  }
  .sw-msb-btn {
    background: linear-gradient(135deg, #0071e3 0%, #0077ed 100%);
    color: #ffffff;
    border: none;
    border-radius: 980px;
    font-size: 14px;
    font-weight: 700;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(0, 113, 227, 0.35);
  }
}


@media (max-width: 768px) {
  .sw-brand-badge {
    display: none !important;
  }
  .sw-btn-buynow {
    font-size: 14.5px !important;
    padding: 14px 14px !important;
    letter-spacing: -0.01em !important;
  }
  .single_add_to_cart_button.button {
    font-size: 14px !important;
    padding: 13px 18px !important;
  }
}


*, *::before, *::after {
  box-sizing: border-box !important;
}

html, body {
  overflow-x: hidden !important;
  overflow-x: clip !important;
  max-width: 100% !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

.sw-header, .sw-header-desktop, .sw-header-mobile {
  width: 100% !important;
  max-width: 100vw !important;
  box-sizing: border-box !important;
}

.sw-mobile-top-row {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding: 0 14px !important;
  height: 54px !important;
  width: 100% !important;
  max-width: 100vw !important;
  box-sizing: border-box !important;
}

.sw-mobile-brand {
  position: absolute !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
}

.sw-mobile-actions {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  margin-left: auto !important;
}

.sw-mobile-search-row {
  width: 100% !important;
  max-width: 100vw !important;
  box-sizing: border-box !important;
}

.sw-mobile-pills-row {
  width: 100% !important;
  max-width: 100vw !important;
  box-sizing: border-box !important;
  overflow-x: auto !important;
  -webkit-overflow-scrolling: touch !important;
}


/* =========================================================================
   BANGLADESH COD SHIPPING: Inside Dhaka / Outside Dhaka Selectable Cards
   ========================================================================= */
.woocommerce-shipping-fields {
  display: none !important;
}

.isx-shipping-zone-selector {
  margin: 22px 0 26px;
  padding: 18px 20px;
  background: #fbfbfd;
  border: 1.5px solid #e5e5ea;
  border-radius: 16px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.isx-sz-header {
  margin-bottom: 14px;
}

.isx-sz-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 4px;
}

.isx-sz-title {
  font-size: 15px;
  font-weight: 700;
  color: #1d1d1f;
  display: flex;
  align-items: center;
  gap: 6px;
}

.isx-sz-badge {
  font-size: 11px;
  font-weight: 700;
  background: rgba(0, 113, 227, 0.1);
  color: #0071e3;
  padding: 3px 9px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.isx-sz-hint {
  font-size: 12.5px;
  color: #86868b;
  display: block;
}

.isx-sz-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

@media (min-width: 640px) {
  .isx-sz-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.isx-sz-card {
  position: relative;
  display: block;
  background: #ffffff;
  border: 2px solid #e5e5ea;
  border-radius: 14px;
  padding: 14px 16px;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

.isx-sz-card input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  pointer-events: none;
}

.isx-sz-card-inner {
  display: flex;
  align-items: center;
  gap: 12px;
}

.isx-sz-radio-dot {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid #c7c7cc;
  background: #ffffff;
  flex-shrink: 0;
  position: relative;
  transition: all 0.2s ease;
}

.isx-sz-card.isx-sz-active .isx-sz-radio-dot {
  border-color: #0071e3;
  background: #0071e3;
}

.isx-sz-card.isx-sz-active .isx-sz-radio-dot::after {
  content: "";
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ffffff;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.isx-sz-info {
  flex: 1;
  min-width: 0;
}

.isx-sz-zone-name {
  display: block;
  font-size: 14.5px;
  font-weight: 700;
  color: #1d1d1f;
  line-height: 1.3;
}

.isx-sz-zone-desc {
  display: block;
  font-size: 11.5px;
  color: #86868b;
  margin-top: 3px;
  line-height: 1.25;
}

.isx-sz-price-tag {
  font-size: 16px;
  font-weight: 800;
  color: #1d1d1f;
  background: #f5f5f7;
  padding: 6px 12px;
  border-radius: 10px;
  white-space: nowrap;
  flex-shrink: 0;
  transition: all 0.2s ease;
}

.isx-sz-card:hover {
  border-color: #0071e3;
}

.isx-sz-card.isx-sz-active {
  border-color: #0071e3;
  background: #f0f7ff;
  box-shadow: 0 4px 14px rgba(0, 113, 227, 0.12);
}

.isx-sz-card.isx-sz-active .isx-sz-zone-name {
  color: #0071e3;
}

.isx-sz-card.isx-sz-active .isx-sz-price-tag {
  background: #0071e3;
  color: #ffffff;
}

/* Polished Order Review Shipping List */
.woocommerce-checkout table.woocommerce-checkout-review-order-table ul#shipping_method {
  list-style: none;
  margin: 0;
  padding: 0;
}
.woocommerce-checkout table.woocommerce-checkout-review-order-table ul#shipping_method li {
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
}
.woocommerce-checkout table.woocommerce-checkout-review-order-table ul#shipping_method input[type="radio"],
.woocommerce-checkout table.woocommerce-checkout-review-order-table ul#shipping_method input[type="hidden"] {
  accent-color: #0071e3;
  cursor: pointer;
}
.woocommerce-checkout table.woocommerce-checkout-review-order-table ul#shipping_method label {
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}


/* Desktop 2-Column Checkout Layout: Form (Left) & Sticky Order Review (Right) */
.woocommerce-checkout form.checkout {
  display: grid !important;
  grid-template-columns: 1.25fr 0.75fr !important;
  gap: 32px !important;
  align-items: start !important;
}

.woocommerce-checkout #customer_details {
  grid-column: 1 !important;
  grid-row: 1 !important;
  background: #ffffff !important;
  border: 1px solid #e5e5ea !important;
  border-radius: 18px !important;
  padding: 28px !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04) !important;
}

.woocommerce-checkout #customer_details .col-1,
.woocommerce-checkout #customer_details .col-2 {
  float: none !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}

.woocommerce-checkout #customer_details .woocommerce-additional-fields h3 {
  font-size: 14px !important;
  font-weight: 700 !important;
  color: #1d1d1f !important;
  margin: 16px 0 6px !important;
}

.woocommerce-checkout #order_review_heading {
  display: none !important;
}

.woocommerce-checkout #order_review {
  grid-column: 2 !important;
  grid-row: 1 !important;
  background: #ffffff !important;
  border: 1px solid #e5e5ea !important;
  border-radius: 18px !important;
  padding: 28px !important;
  position: sticky !important;
  top: 90px !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04) !important;
}

@media (max-width: 900px) {
  .woocommerce-checkout form.checkout {
    display: flex !important;
    flex-direction: column !important;
    gap: 20px !important;
  }
  .woocommerce-checkout #customer_details,
  .woocommerce-checkout #order_review {
    grid-column: auto !important;
    grid-row: auto !important;
    position: static !important;
    padding: 20px !important;
  }
}


/* ========================================================
   ERADICATE AWKWARD 1PX BORDER ON ORDER TABLE
   ======================================================== */
.woocommerce table.shop_table,
.woocommerce-checkout table.shop_table,
.woocommerce-checkout table.woocommerce-checkout-review-order-table {
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  margin: 0 0 20px 0 !important;
  background: transparent !important;
}

.woocommerce table.shop_table th,
.woocommerce table.shop_table td,
.woocommerce-checkout table.woocommerce-checkout-review-order-table th,
.woocommerce-checkout table.woocommerce-checkout-review-order-table td {
  border-left: none !important;
  border-right: none !important;
  border-top: none !important;
  border-bottom: 1px solid #f0f0f2 !important;
  padding: 14px 0 !important;
  background: transparent !important;
}

.woocommerce-checkout table.woocommerce-checkout-review-order-table tfoot th,
.woocommerce-checkout table.woocommerce-checkout-review-order-table tfoot td {
  border-left: none !important;
  border-right: none !important;
}

.woocommerce-checkout table.woocommerce-checkout-review-order-table tr.order-total th,
.woocommerce-checkout table.woocommerce-checkout-review-order-table tr.order-total td {
  border-bottom: none !important;
  padding-top: 18px !important;
}


/* ========================================================
   CHECKOUT ORDER REVIEW: Product Thumbnail & Layout
   ======================================================== */
.isx-checkout-item-row {
  display: flex !important;
  align-items: center !important;
  gap: 14px !important;
}

.isx-item-thumb-box {
  position: relative !important;
  width: 56px !important;
  height: 56px !important;
  border-radius: 12px !important;
  border: 1px solid #e5e5ea !important;
  background: #fbfbfd !important;
  flex-shrink: 0 !important;
  padding: 4px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.isx-item-thumb-img {
  max-width: 100% !important;
  max-height: 100% !important;
  width: auto !important;
  height: auto !important;
  object-fit: contain !important;
  border-radius: 8px !important;
  display: block !important;
}

.isx-item-qty-badge {
  position: absolute !important;
  top: -6px !important;
  right: -6px !important;
  background: #1d1d1f !important;
  color: #ffffff !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  min-width: 18px !important;
  height: 18px !important;
  line-height: 18px !important;
  border-radius: 10px !important;
  text-align: center !important;
  padding: 0 5px !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2) !important;
  z-index: 2 !important;
}

.isx-item-content {
  flex: 1 !important;
  min-width: 0 !important;
}

.isx-item-title {
  display: block !important;
  font-size: 13.5px !important;
  font-weight: 600 !important;
  color: #1d1d1f !important;
  line-height: 1.35 !important;
}

.woocommerce-checkout table.woocommerce-checkout-review-order-table td.product-total {
  font-size: 14.5px !important;
  font-weight: 700 !important;
  color: #1d1d1f !important;
  text-align: right !important;
  white-space: nowrap !important;
  vertical-align: middle !important;
}

.woocommerce-checkout table.woocommerce-checkout-review-order-table th.product-total {
  text-align: right !important;
}


/* ========================================================
   EXPLORE CATEGORIES: APPLE STORE AESTHETIC GRID & CAROUSEL
   ======================================================== */
.sw-lob-section {
  margin: 40px 0 48px;
}

.sw-lob-slider {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 16px;
  width: 100%;
}

@media (max-width: 1024px) {
  .sw-lob-slider {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 12px;
    padding-bottom: 14px;
    margin: 0 -20px;
    padding-left: 20px;
    padding-right: 20px;
    scrollbar-width: none;
  }
  .sw-lob-slider::-webkit-scrollbar {
    display: none;
  }
  .sw-lob-card {
    flex: 0 0 135px;
    min-width: 135px;
    scroll-snap-align: start;
    padding: 16px 10px 14px;
    border-radius: 16px;
  }
  .sw-lob-icon-wrap {
    height: 76px;
    margin-bottom: 10px;
  }
}

.sw-lob-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 18px;
  padding: 22px 14px 18px;
  text-decoration: none;
  color: inherit;
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
  user-select: none;
}

@media (max-width: 768px) {
  .sw-lob-card {
    flex: 0 0 135px;
    min-width: 135px;
    scroll-snap-align: start;
    padding: 16px 10px 14px;
    border-radius: 16px;
  }
}

.sw-lob-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 113, 227, 0.3);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.08);
  background: #ffffff;
}

.sw-lob-card:active {
  transform: scale(0.97);
}

.sw-lob-icon-wrap {
  width: 100%;
  height: 96px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  position: relative;
}

@media (max-width: 768px) {
  .sw-lob-icon-wrap {
    height: 76px;
    margin-bottom: 10px;
  }
}

.sw-lob-icon-wrap img {
  max-width: 82%;
  max-height: 82%;
  width: auto;
  height: auto;
  object-fit: contain;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.06));
}

.sw-lob-card:hover .sw-lob-icon-wrap img {
  transform: scale(1.08);
}

.sw-lob-title {
  font-size: 13.5px;
  font-weight: 700;
  color: #1d1d1f;
  line-height: 1.3;
  margin-bottom: 4px;
  transition: color 0.2s ease;
}

.sw-lob-card:hover .sw-lob-title {
  color: #0071e3;
}

.sw-lob-price {
  font-size: 11.5px;
  font-weight: 500;
  color: #86868b;
  letter-spacing: -0.01em;
}
