/* Spihem Storefront Theme Enhancements & Real-time CMS Binding */

.se-pre-con {
  display: none !important;
}

.site-header__account,
.shopify-currency-form,
.site-header__search_icon,
.dT_TopStickySearchBtn,
.site-header__compare,
.dT_WhishListAddBtn,
.dT-icon-add-wlist-loaded,
.footer__payment-icons,
.inner-page-team-section,
.home-blog-section,
#shopify-section-customer-purchased,
#shopify-section-gdpr-cookies,
.customer-who-purchased,
.cookie-disclaimer {
  display: none !important;
}

/* Newsletter popup - must NOT be hidden, JS controls it */
.dt-sc-newsletter-modal-overlay {
  display: block !important;
}

.logo img {
  height: 78px;
  width: auto;
  max-width: 220px !important;
  object-fit: contain;
  background: transparent;
}

img[src*="loading.gif"] {
  width: 50px !important;
  height: 50px !important;
  object-fit: contain;
  margin: 0 auto;
}

/* Category Filter Tabs on Shop Page */
.spihem-category-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin: 25px 0 35px;
}

.spihem-cat-btn {
  background: #ffffff;
  border: 1.5px solid #e0d0c0;
  color: #333333;
  padding: 8px 18px;
  border-radius: 25px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
}

.spihem-cat-btn:hover {
  border-color: #9f4103;
  color: #9f4103;
}

.spihem-cat-btn.active {
  background: #9f4103;
  border-color: #9f4103;
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(159, 65, 3, 0.25);
}

/* Best Seller Badge on Cards */
.spihem-bestseller-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: linear-gradient(135deg, #d32f2f, #ff9800);
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  z-index: 1;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.product-grid-item {
  position: relative;
}

.product-grid-item img.featured-image,
.product-grid-item img.hidden-feature_img,
.product-grid-item img {
  object-fit: contain !important;
  background: #fff;
}

/* Contact Page Tab Switcher */
.spihem-form-tabs {
  display: flex;
  gap: 12px;
  margin-bottom: 24px;
  border-bottom: 2px solid #eee;
  padding-bottom: 12px;
}

.spihem-form-tab-btn {
  background: #f8f6f4;
  border: 1px solid #ddd;
  padding: 10px 20px;
  border-radius: 8px;
  font-weight: 700;
  color: #555;
  cursor: pointer;
  transition: all 0.2s ease;
}

.spihem-form-tab-btn.active {
  background: #9f4103;
  border-color: #9f4103;
  color: #fff;
}

.spihem-dealer-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.spihem-dealer-form .full-row {
  grid-column: 1 / -1;
}

.spihem-dealer-form input,
.spihem-dealer-form select,
.spihem-dealer-form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #ccc;
  border-radius: 6px;
  box-sizing: border-box;
  font-size: 14px;
  background: #fff;
}

.spihem-dealer-form select {
  height: 48px;
}

/* Cart Drawer */
body.js-drawer-open #CartDrawer {
  display: block;
  z-index: 2000;
  overflow-x: hidden;
  box-sizing: border-box;
}

#CartDrawer h4 {
  margin: 0;
}

#CartContainer {
  padding: 64px 14px 20px;
  height: 100%;
  overflow: auto;
  box-sizing: border-box;
}

#CartContainer * {
  box-sizing: border-box;
}

.spihem-cart-empty {
  margin: 12px 0 0;
  line-height: 1.5;
}

.spihem-cart-item {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 12px 0;
  border-bottom: 1px solid #eee;
}

.spihem-cart-item img {
  width: 56px;
  height: 56px;
  object-fit: contain;
  border-radius: 6px;
  background: #fff;
  border: 1px solid #eee;
  flex: 0 0 56px;
}

.spihem-cart-item h5 {
  margin: 0 0 4px;
  font-size: 15px;
}

.spihem-cart-item p {
  margin: 0;
  color: #666;
  font-size: 13px;
}

.spihem-cart-meta {
  flex: 1;
  min-width: 0;
}

.spihem-qty {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
}

.spihem-qty button,
.spihem-remove {
  border: 1px solid #9f4103;
  background: #fff;
  color: #9f4103;
  width: 28px;
  height: 28px;
  border-radius: 4px;
  cursor: pointer;
  line-height: 1;
}

.spihem-qty button.spihem-remove {
  width: auto;
  min-width: 72px;
  padding: 0 10px;
  margin-left: 0;
}

.spihem-wa,
.spihem-modal-add {
  display: block;
  width: 100%;
  margin-top: 16px;
  background: #128c7e;
  color: #fff;
  border: 0;
  border-radius: 6px;
  padding: 12px 16px;
  font-weight: 700;
  cursor: pointer;
  text-align: center;
}

.spihem-wa:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.spihem-cart-note {
  margin-top: 10px;
  font-size: 13px;
  color: #444;
}

.spihem-toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  background: #9f4103;
  color: #fff;
  padding: 12px 18px;
  border-radius: 6px;
  z-index: 10001;
  max-width: min(90vw, 420px);
  text-align: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

/* Quick View Modal */
.spihem-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.spihem-modal[hidden] {
  display: none;
}

.spihem-modal-card {
  background: #fff;
  width: min(560px, 100%);
  max-height: 90vh;
  overflow-y: auto;
  border-radius: 12px;
  padding: 24px;
  position: relative;
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.3);
}

.spihem-modal-main-img {
  width: 100%;
  height: 280px;
  object-fit: contain;
  background: #f9f9f9;
  border-radius: 8px;
  margin-bottom: 12px;
}

.spihem-modal-thumbs {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
  overflow-x: auto;
}

.spihem-modal-thumb {
  width: 56px;
  height: 56px;
  object-fit: contain;
  background: #f0f0f0;
  border-radius: 6px;
  cursor: pointer;
  border: 2px solid transparent;
}

.spihem-modal-thumb.active {
  border-color: #9f4103;
}

.spihem-modal-card h3 {
  margin: 10px 0 6px;
  font-size: 20px;
}

.spihem-modal-meta {
  color: #9f4103;
  font-weight: 700;
  margin-bottom: 8px;
}

.spihem-modal-desc {
  font-size: 14px;
  line-height: 1.6;
  color: #555;
  margin-bottom: 16px;
}

.spihem-modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  border: 0;
  background: #f0f0f0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.spihem-form-note {
  grid-column: 1 / -1;
  margin: 8px 0;
  color: #128c7e;
  font-weight: 600;
}

.spihem-form-note.is-error {
  color: #9f4103;
}

.dt-contact-icon-block a {
  color: inherit;
  word-break: break-word;
}

.footer-contact-info .contact-info a {
  color: inherit;
}

/* Shop Page: Sidebar restored, hiding the inline category buttons as they are now in the sidebar */
.spihem-category-filters {
  display: none !important;
}

.filter-panel .spihem-cat-btn.active {
  font-weight: bold !important;
  color: #9f4103 !important;
}

.template-collection .collection-grid {
  width: 100% !important;
  max-width: 100% !important;
}

.template-collection ul.product-collection {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 20px !important;
}

.template-collection .product-grid-item {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  clear: none !important;
  float: none !important;
}

@media (max-width: 1024px) {
  .template-collection ul.product-collection {
    grid-template-columns: repeat(3, 1fr) !important;
  }
}

@media (max-width: 768px) {
  .template-collection ul.product-collection {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

@media (max-width: 480px) {
  .template-collection ul.product-collection {
    grid-template-columns: 1fr !important;
  }
}

/* Only apply grid fixes to the collections page */
@media (max-width: 768px) {
  .spihem-dealer-form {
    grid-template-columns: 1fr;
  }
}

/* Product image height standardized */
.product-grid-item .image_group img {
  height: 200px !important;
  object-fit: contain !important;
  background: #fff !important;
}

/* Shop page heading injected by CMS */
#spihem-shop-intro {
  margin-bottom: 16px;
}

.home-grid-banner,
.home-masonry-banner,
.home-deal-banner,
.inner-page-team-section,
.home-blog-section,
.home-support-block,
.widget_nav_menu,
.widget.product-sidebar-type-image,
.widget.product-sidebar-type-carousel,
#sidebar-sticky .filter-panel-tag:not(:first-child) {
    display: none !important;
}


/* ---- Navbar Fixes ---- */
.dt-sc-header-logo-sec, .sticky-header-active {
    padding: 0 !important;
}

.header_absolute #header {
    position: absolute !important;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999 !important;
}

.header_absolute #header .dt-sc-header-logo-sec {
    background: rgba(0, 0, 0, 0.4) !important;
    backdrop-filter: blur(5px);
}

.sticky-header-active {
    background: #000000 !important; 
    z-index: 10000 !important;
}

#AccessibleNav .site-header__links {
    position: relative;
    z-index: 9999 !important;
}

/* Ensure Logo width is reasonable for inline */
.logo-alignment.dt-sc-logo_left .logo img {
    max-width: 180px !important;
}

/* =========================================================
   NAVBAR – Black bar, logo inline left, menu center/right
   (matches reference waffy-demo.myshopify.com design)
   ========================================================= */

/* Remove the giant top padding that puts logo above menu */
header .dt-sc-header-logo-sec,
.sticky-header-active {
  padding: 0 !important;
}

/* Main nav wrapper: flex row, full width, align center */
.logo-alignment.dt-sc-logo_left #AccessibleNav {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: flex-start !important;
  width: 100%;
  gap: 0;
}

/* Logo on the LEFT */
.logo-alignment.dt-sc-logo_left #AccessibleNav .logo {
  flex-shrink: 0;
  margin-right: 28px !important;
  padding-right: 0 !important;
}

.logo-alignment.dt-sc-logo_left #AccessibleNav .logo img {
  max-width: 160px !important;
  height: 56px !important;
  object-fit: contain;
}

/* Desktop nav links take remaining space */
.logo-alignment.dt-sc-logo_left #AccessibleNav .dt-desktop-menu {
  flex: 1;
}

/* Icons (search, cart, account) pushed to far right */
.logo-alignment.dt-sc-logo_left #AccessibleNav .site-header__links {
  margin-left: auto !important;
  padding-left: 12px !important;
  flex-shrink: 0;
}

/* Hero section: transparent over video, items visible */
.header_absolute {
  position: absolute !important;
  top: 0; left: 0; right: 0;
  z-index: 9999 !important;
}

.header_absolute #header {
  z-index: 9999 !important;
}

.header_absolute .dt-sc-header-logo-sec {
  background: rgba(0, 0, 0, 0.45) !important;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 9999 !important;
}

/* Sticky header clone – solid black, compact */
#header .sticky-header-active {
  background: #111111 !important;
  z-index: 99999 !important;
  width: 100% !important;
  left: 0 !important; right: 0 !important;
  padding: 0 !important;
}

/* Ensure nav links in sticky are visible & clickable */
#header .sticky-header-active .dt-nav li a,
.header_absolute .dt-sc-header-logo-sec .dt-nav li a {
  position: relative;
  z-index: 99999 !important;
  pointer-events: all !important;
}

/* Cart icon clickable */
.site-header__cart, .site-header__cart a,
.dT_MiniCartBtn, .dT_MiniCartBtn a {
  pointer-events: all !important;
  z-index: 99999 !important;
  position: relative;
}


/* =========================================================
   NAVBAR FIX v2 – Logo is now ONLY inside #AccessibleNav
   (outer .logo block removed; inner logo handled by theme)
   ========================================================= */

/* The header section should be a single horizontal bar */
#header .container,
#header .container-fluid {
  padding: 0 20px !important;
}

#header .row {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  flex-wrap: nowrap !important;
  margin: 0 !important;
}

/* Logo inside nav: shrink sensibly */
#AccessibleNav .logo,
.sticky-header-active .logo {
  flex-shrink: 0 !important;
  margin-right: 24px !important;
  padding: 8px 0 !important;
}

#AccessibleNav .logo img,
.sticky-header-active .logo img {
  max-width: 170px !important;
  height: 55px !important;
  width: auto !important;
  object-fit: contain !important;
}

/* Main nav wrapper is already flex via theme; just push icons right */
#AccessibleNav {
  width: 100% !important;
}

/* Entire header row height */
header .dt-sc-header-logo-sec,
.sticky-header-active {
  min-height: 70px !important;
  padding: 0 !important;
}


/* =========================================================
   SPIHEM CART DRAWER & CART PAGE STYLES (VERIFIED FIX)
   ========================================================= */

/* Drawer Overlay Backdrop */
body.js-drawer-open::before {
  content: "" !important;
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  background: rgba(0, 0, 0, 0.6) !important;
  z-index: 9998 !important;
  backdrop-filter: blur(2px) !important;
}

/* Cart Drawer Base */
#CartDrawer {
  position: fixed !important;
  top: 0 !important;
  right: -450px !important;
  left: auto !important;
  width: 400px !important;
  max-width: 90vw !important;
  height: 100vh !important;
  background: #ffffff !important;
  box-shadow: -4px 0 25px rgba(0, 0, 0, 0.3) !important;
  z-index: 9999 !important;
  transition: right 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
  display: flex !important;
  flex-direction: column !important;
  overflow: hidden !important;
  transform: none !important;
}

body.js-drawer-open #CartDrawer,
body.js-drawer-open-right #CartDrawer {
  right: 0 !important;
}

/* Cart Drawer Header */
#CartDrawer .drawer__header {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding: 16px 20px !important;
  background: #111111 !important;
  color: #ffffff !important;
  border-bottom: 1px solid #222222 !important;
  position: relative !important;
  z-index: 2 !important;
  box-shadow: none !important;
  height: 60px !important;
  box-sizing: border-box !important;
}

#CartDrawer .drawer__header h4 {
  margin: 0 !important;
  color: #ffffff !important;
  font-size: 18px !important;
  font-weight: 700 !important;
  font-family: inherit !important;
}

.spihem-drawer-close-btn {
  background: rgba(255, 255, 255, 0.15) !important;
  border: none !important;
  color: #ffffff !important;
  font-size: 18px !important;
  width: 32px !important;
  height: 32px !important;
  border-radius: 50% !important;
  cursor: pointer !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: background 0.2s ease !important;
}

.spihem-drawer-close-btn:hover {
  background: #e53935 !important;
  color: #ffffff !important;
}

/* Cart Container inside Drawer */
#CartContainer {
  flex: 1 !important;
  display: flex !important;
  flex-direction: column !important;
  padding: 0 !important;
  overflow: hidden !important;
  height: calc(100% - 60px) !important;
  background: #f9f9f9 !important;
}

.spihem-cart-empty-drawer {
  padding: 40px 20px !important;
  text-align: center !important;
  color: #666666 !important;
}

.spihem-drawer-items {
  flex: 1 !important;
  overflow-y: auto !important;
  padding: 16px 20px !important;
}

.spihem-cart-item {
  display: flex !important;
  align-items: center !important;
  gap: 14px !important;
  padding: 14px !important;
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 10px !important;
  margin-bottom: 12px !important;
  position: relative !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04) !important;
}

.spihem-cart-item img {
  width: 60px !important;
  height: 60px !important;
  object-fit: cover !important;
  border-radius: 8px !important;
  border: 1px solid #edf2f7 !important;
  background: #fff !important;
}

.spihem-cart-meta {
  flex: 1 !important;
  min-width: 0 !important;
}

.spihem-cart-meta h5 {
  margin: 0 0 4px 0 !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  color: #1a202c !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

.spihem-cart-item-subtext {
  margin: 0 0 8px 0 !important;
  font-size: 13px !important;
  color: #64748b !important;
}

.spihem-qty-controls {
  display: inline-flex !important;
  align-items: center !important;
  border: 1px solid #cbd5e1 !important;
  border-radius: 6px !important;
  overflow: hidden !important;
  background: #f8fafc !important;
}

.spihem-qty-controls button {
  width: 26px !important;
  height: 26px !important;
  border: none !important;
  background: #f1f5f9 !important;
  font-size: 14px !important;
  font-weight: bold !important;
  color: #334155 !important;
  cursor: pointer !important;
  transition: background 0.15s !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.spihem-qty-controls button:hover {
  background: #e2e8f0 !important;
}

.spihem-qty-controls span {
  padding: 0 10px !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  color: #0f172a !important;
}

.spihem-remove-item {
  background: none !important;
  border: none !important;
  color: #94a3b8 !important;
  font-size: 16px !important;
  cursor: pointer !important;
  padding: 4px 8px !important;
  border-radius: 4px !important;
  transition: color 0.15s !important;
}

.spihem-remove-item:hover {
  color: #ef4444 !important;
}

.spihem-drawer-footer {
  padding: 16px 20px 24px !important;
  background: #ffffff !important;
  border-top: 1px solid #e2e8f0 !important;
  box-shadow: 0 -4px 12px rgba(0,0,0,0.05) !important;
}

.spihem-drawer-total {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  font-size: 18px !important;
  margin-bottom: 14px !important;
  color: #1e293b !important;
}

.spihem-drawer-total strong {
  color: #15803d !important;
  font-size: 20px !important;
}

/* Button styles */
.spihem-btn {
  display: inline-block !important;
  padding: 12px 20px !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  border-radius: 8px !important;
  border: none !important;
  cursor: pointer !important;
  text-decoration: none !important;
  transition: all 0.2s ease !important;
}

.spihem-btn-block {
  display: block !important;
  width: 100% !important;
  text-align: center !important;
}

.spihem-btn-whatsapp {
  background: #25d366 !important;
  color: #ffffff !important;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3) !important;
}

.spihem-btn-whatsapp:hover {
  background: #128c7e !important;
  color: #ffffff !important;
  transform: translateY(-1px) !important;
}

.spihem-btn-primary {
  background: #e53935 !important;
  color: #ffffff !important;
}

.spihem-btn-primary:hover {
  background: #c62828 !important;
  color: #ffffff !important;
}

.spihem-btn-secondary {
  background: #334155 !important;
  color: #ffffff !important;
}

.spihem-btn-secondary:hover {
  background: #1e293b !important;
  color: #ffffff !important;
}

.spihem-btn-outline-danger {
  background: transparent !important;
  border: 1px solid #ef4444 !important;
  color: #ef4444 !important;
}

.spihem-btn-outline-danger:hover {
  background: #ef4444 !important;
  color: #ffffff !important;
}

.spihem-btn-link {
  background: none !important;
  color: #2563eb !important;
  padding: 6px 0 !important;
  font-weight: 600 !important;
}

.spihem-btn-link:hover {
  text-decoration: underline !important;
}

/* =========================================================
   FULL CART PAGE (cart.html) STYLES
   ========================================================= */

.spihem-cart-page-layout {
  display: grid !important;
  grid-template-columns: 1fr 340px !important;
  gap: 30px !important;
  margin: 30px 0 60px !important;
}

@media (max-width: 991px) {
  .spihem-cart-page-layout {
    grid-template-columns: 1fr !important;
  }
}

.spihem-cart-page-main {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 12px !important;
  padding: 24px !important;
  box-shadow: 0 4px 12px rgba(0,0,0,0.03) !important;
}

.spihem-cart-title {
  font-size: 22px !important;
  font-weight: 700 !important;
  margin: 0 0 20px 0 !important;
  color: #0f172a !important;
  padding-bottom: 12px !important;
  border-bottom: 2px solid #f1f5f9 !important;
}

.spihem-cart-table {
  width: 100% !important;
  border-collapse: collapse !important;
  margin-bottom: 24px !important;
}

.spihem-cart-table th {
  background: #f8fafc !important;
  padding: 12px 14px !important;
  text-align: left !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  color: #475569 !important;
  border-bottom: 1px solid #e2e8f0 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
}

.spihem-cart-table td {
  padding: 16px 14px !important;
  border-bottom: 1px solid #f1f5f9 !important;
  vertical-align: middle !important;
}

.spihem-cart-col-img img {
  width: 64px !important;
  height: 64px !important;
  object-fit: cover !important;
  border-radius: 8px !important;
  border: 1px solid #e2e8f0 !important;
}

.spihem-cart-col-info h4 {
  margin: 0 0 4px 0 !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  color: #1e293b !important;
}

.spihem-cart-weight {
  font-size: 13px !important;
  color: #64748b !important;
}

.spihem-cart-col-price,
.spihem-cart-col-total {
  font-size: 15px !important;
  font-weight: 700 !important;
  color: #0f172a !important;
}

.spihem-cart-col-total {
  color: #15803d !important;
}

.spihem-qty-selector {
  display: inline-flex !important;
  align-items: center !important;
  border: 1px solid #cbd5e1 !important;
  border-radius: 6px !important;
  overflow: hidden !important;
  background: #ffffff !important;
}

.spihem-qty-selector button {
  width: 30px !important;
  height: 30px !important;
  border: none !important;
  background: #f1f5f9 !important;
  font-size: 16px !important;
  font-weight: bold !important;
  color: #334155 !important;
  cursor: pointer !important;
}

.spihem-qty-selector span {
  padding: 0 12px !important;
  font-size: 14px !important;
  font-weight: 700 !important;
}

.spihem-remove-btn {
  background: #fef2f2 !important;
  border: 1px solid #fecaca !important;
  color: #ef4444 !important;
  width: 32px !important;
  height: 32px !important;
  border-radius: 6px !important;
  cursor: pointer !important;
  font-size: 14px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.spihem-remove-btn:hover {
  background: #ef4444 !important;
  color: #ffffff !important;
}

.spihem-cart-actions {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  padding-top: 16px !important;
}

.spihem-cart-page-sidebar {
  display: flex !important;
  flex-direction: column !important;
}

.spihem-summary-card {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 12px !important;
  padding: 24px !important;
  box-shadow: 0 4px 12px rgba(0,0,0,0.03) !important;
  position: sticky !important;
  top: 100px !important;
}

.spihem-summary-card h3 {
  margin: 0 0 16px 0 !important;
  font-size: 18px !important;
  font-weight: 700 !important;
  color: #0f172a !important;
  padding-bottom: 12px !important;
  border-bottom: 1px solid #f1f5f9 !important;
}

.spihem-summary-row {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  font-size: 15px !important;
  margin-bottom: 12px !important;
  color: #475569 !important;
}

.spihem-summary-total {
  font-size: 18px !important;
  font-weight: 700 !important;
  color: #0f172a !important;
  padding-top: 12px !important;
  border-top: 2px dashed #e2e8f0 !important;
  margin-top: 12px !important;
  margin-bottom: 20px !important;
}

.spihem-summary-total strong {
  color: #15803d !important;
  font-size: 22px !important;
}

.spihem-summary-note {
  font-size: 12px !important;
  color: #64748b !important;
  line-height: 1.5 !important;
  margin-top: 14px !important;
  text-align: center !important;
}

.spihem-cart-empty-page {
  text-align: center !important;
  padding: 60px 20px !important;
  background: #ffffff !important;
  border-radius: 16px !important;
  border: 1px solid #e2e8f0 !important;
  margin: 30px 0 !important;
}

.spihem-cart-empty-icon {
  font-size: 56px !important;
  margin-bottom: 16px !important;
}

.spihem-cart-empty-page h3 {
  font-size: 24px !important;
  font-weight: 700 !important;
  color: #0f172a !important;
  margin-bottom: 8px !important;
}

.spihem-cart-empty-page p {
  color: #64748b !important;
  max-width: 420px !important;
  margin: 0 auto 24px !important;
}


/* =========================================================
   SPIHEM HERO SECTION & VISUAL CONTRAST FIXES
   ========================================================= */

/* Hero Title */
.home-slideshow-section .slide-heading {
  color: #ffffff !important;
  font-size: 52px !important;
  font-weight: 800 !important;
  text-transform: capitalize !important;
  letter-spacing: 1px !important;
  text-shadow: 0 4px 18px rgba(0, 0, 0, 0.9), 0 2px 4px rgba(0, 0, 0, 0.95) !important;
  margin-bottom: 16px !important;
}

/* Hero Subtitle (PURE & AUTHENTIC SPICES) */
.home-slideshow-section .slide-sub-heading-2,
.home-slideshow-section .slide-sub-heading {
  color: #fbbf24 !important;
  font-size: 26px !important;
  font-weight: 800 !important;
  text-transform: uppercase !important;
  letter-spacing: 3px !important;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.95), 0 1px 3px rgba(0, 0, 0, 0.9) !important;
  border-top: 2px solid #fbbf24 !important;
  border-bottom: 2px solid #fbbf24 !important;
  padding: 8px 24px !important;
  display: inline-block !important;
  margin-bottom: 18px !important;
  background: rgba(0, 0, 0, 0.4) !important;
  border-radius: 4px !important;
  backdrop-filter: blur(4px) !important;
}

/* Hero Description Text */
.home-slideshow-section .slide-text {
  color: #ffffff !important;
  font-size: 17px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 1.5px !important;
  line-height: 1.6 !important;
  max-width: 820px !important;
  margin: 0 auto 24px !important;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.95) !important;
  background: rgba(0, 0, 0, 0.45) !important;
  padding: 14px 24px !important;
  border-radius: 8px !important;
  backdrop-filter: blur(6px) !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
}

/* Hero Action Button */
.home-slideshow-section .dt-sc-btn.spihem-hero-btn {
  background: linear-gradient(135deg, #e53935 0%, #c62828 100%) !important;
  color: #ffffff !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  padding: 14px 36px !important;
  border-radius: 50px !important;
  box-shadow: 0 4px 18px rgba(229, 57, 53, 0.4) !important;
  text-shadow: none !important;
  text-transform: uppercase !important;
  letter-spacing: 1px !important;
}

/* =========================================================
   SPIHEM LEFT SIDEBAR PANEL STYLING
   ========================================================= */
#sidebar-sticky,
.sidebar {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 16px !important;
  padding: 24px 20px !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05) !important;
  margin-bottom: 30px !important;
}

#sidebar-sticky .sidebar_title {
  font-size: 18px !important;
  font-weight: 800 !important;
  color: #1e293b !important;
  padding-bottom: 12px !important;
  margin-bottom: 18px !important;
  border-bottom: 3px solid #e53935 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
}

#sidebar-sticky .filter-panel ul {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 8px !important;
}

#sidebar-sticky .filter-panel ul li {
  margin: 0 !important;
}

#sidebar-sticky .filter-panel ul li a,
.spihem-cat-btn {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding: 11px 16px !important;
  border-radius: 8px !important;
  background: #f8fafc !important;
  color: #334155 !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  border: 1px solid #cbd5e1 !important;
  transition: all 0.2s ease !important;
  cursor: pointer !important;
}

#sidebar-sticky .filter-panel ul li a:hover,
.spihem-cat-btn:hover {
  background: #fee2e2 !important;
  color: #dc2626 !important;
  border-color: #fca5a5 !important;
  transform: translateX(4px) !important;
}

#sidebar-sticky .filter-panel ul li.active a,
.spihem-cat-btn.active {
  background: #e53935 !important;
  color: #ffffff !important;
  border-color: #c62828 !important;
  box-shadow: 0 4px 12px rgba(229, 57, 53, 0.25) !important;
  font-weight: 700 !important;
}


/* =========================================================
   SPIHEM UNIFIED HEADER NAVBAR (FULL-WIDTH STUNNING NAV)
   ========================================================= */

header#header,
.dt-sc-header-logo-sec,
.sticky-header {
  background: rgba(12, 12, 12, 0.95) !important;
  backdrop-filter: blur(12px) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12) !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4) !important;
  position: sticky !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  z-index: 10000 !important;
  padding: 0 !important;
}

.dt-sc-header-logo-sec .container {
  max-width: 1320px !important;
  width: 100% !important;
  padding: 0 24px !important;
  margin: 0 auto !important;
}

.logo-alignment {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  width: 100% !important;
  min-height: 68px !important;
  padding: 0 !important;
  background: transparent !important;
}

/* Remove small inner black box constraint */
#AccessibleNav {
  background: transparent !important;
  box-shadow: none !important;
  border: none !important;
  padding: 0 !important;
  margin: 0 !important;
  display: flex !important;
  align-items: center !important;
  width: 100% !important;
  justify-content: space-between !important;
}

/* Logo styling inside Header Nav */
.spihem-nav-logo,
.logo-alignment .logo,
#AccessibleNav .logo {
  display: flex !important;
  align-items: center !important;
  margin-right: 28px !important;
  flex-shrink: 0 !important;
}

.spihem-nav-logo img,
.logo-alignment .logo img,
#AccessibleNav .logo img {
  height: 46px !important;
  width: auto !important;
  object-fit: contain !important;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.5)) !important;
  background: #ffffff !important;
  padding: 4px 10px !important;
  border-radius: 8px !important;
}

/* Desktop Menu Links */
ul.dt-desktop-menu {
  display: flex !important;
  align-items: center !important;
  gap: 24px !important;
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

ul.dt-desktop-menu li.top-level-link {
  margin: 0 !important;
  padding: 0 !important;
}

ul.dt-desktop-menu li.top-level-link > a.dt-sc-nav-link {
  color: #ffffff !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  padding: 8px 14px !important;
  border-radius: 6px !important;
  transition: all 0.2s ease !important;
  display: inline-block !important;
  letter-spacing: 0.3px !important;
}

ul.dt-desktop-menu li.top-level-link > a.dt-sc-nav-link:hover {
  color: #fbbf24 !important;
  background: rgba(255, 255, 255, 0.1) !important;
}

ul.dt-desktop-menu li.top-level-link.active > a.dt-sc-nav-link {
  color: #fbbf24 !important;
  font-weight: 700 !important;
  background: rgba(251, 191, 36, 0.15) !important;
  border-bottom: 2px solid #fbbf24 !important;
}

/* Cart Toggle Button in Header */
.site-header__cart-toggle {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  padding: 8px 16px !important;
  background: rgba(255, 255, 255, 0.1) !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  border-radius: 50px !important;
  color: #ffffff !important;
  text-decoration: none !important;
  transition: all 0.2s ease !important;
  margin-left: auto !important;
  flex-shrink: 0 !important;
}

.site-header__cart-toggle:hover {
  background: rgba(229, 57, 53, 0.25) !important;
  border-color: #e53935 !important;
  transform: translateY(-1px) !important;
}

.site-header__cart-toggle svg {
  fill: #ffffff !important;
  width: 20px !important;
  height: 20px !important;
}

.site-header__cart-count {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: #e53935 !important;
  color: #ffffff !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  min-width: 20px !important;
  height: 20px !important;
  border-radius: 10px !important;
  padding: 0 6px !important;
  box-shadow: 0 2px 6px rgba(229, 57, 53, 0.4) !important;
}


/* =========================================================
   SPIHEM STUNNING PAGE LOADER WITH FULL-COLOR LOGO CARD
   ========================================================= */
#spihem-page-loader {
  position: fixed !important;
  inset: 0 !important;
  z-index: 999999 !important;
  background: radial-gradient(circle at center, #261005 0%, #0d0400 100%) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-direction: column !important;
  transition: opacity 0.5s ease, visibility 0.5s ease !important;
}

#spihem-page-loader.fade-out {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

.spihem-loader-inner {
  text-align: center !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
}

.spihem-loader-logo {
  margin-bottom: 28px !important;
}

.spihem-loader-logo-card {
  background: #ffffff !important;
  padding: 12px 28px !important;
  border-radius: 16px !important;
  display: inline-block !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6), 0 0 0 2px rgba(244, 179, 35, 0.5) !important;
  animation: spihemLogoPulse 2s ease-in-out infinite alternate !important;
}

.spihem-loader-logo-card img {
  width: 170px !important;
  height: auto !important;
  display: block !important;
  filter: none !important;
}

@keyframes spihemLogoPulse {
  0% {
    transform: scale(1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6), 0 0 0 2px rgba(244, 179, 35, 0.5);
  }
  100% {
    transform: scale(1.05);
    box-shadow: 0 14px 40px rgba(244, 179, 35, 0.4), 0 0 0 4px rgba(244, 179, 35, 0.8);
  }
}

.spihem-loader-spinner {
  position: relative !important;
  width: 64px !important;
  height: 64px !important;
  margin: 0 auto 18px !important;
}

.spice-ring {
  position: absolute !important;
  inset: 0 !important;
  border-radius: 50% !important;
  border: 4px solid transparent !important;
  animation: spihemSpin 1.4s linear infinite !important;
}

.spice-ring:nth-child(1) {
  border-top-color: #f4b323 !important;
  animation-duration: 1s !important;
}

.spice-ring:nth-child(2) {
  border-right-color: #e53935 !important;
  inset: 7px !important;
  animation-duration: 1.4s !important;
  animation-direction: reverse !important;
}

.spice-ring:nth-child(3) {
  border-bottom-color: #15803d !important;
  inset: 14px !important;
  animation-duration: 1.8s !important;
}

@keyframes spihemSpin {
  to {
    transform: rotate(360deg);
  }
}

.spihem-loader-text {
  color: #f4b323 !important;
  font-family: inherit !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  letter-spacing: 3px !important;
  text-transform: uppercase !important;
  margin: 0 !important;
  opacity: 0.9 !important;
  animation: spihemTextPulse 1.4s ease-in-out infinite !important;
}

@keyframes spihemTextPulse {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 1; }
}


/* =========================================================
   SPIHEM RICH ANIMATIONS & MODERN DESIGN SYSTEM
   ========================================================= */

/* Scroll Reveal Animations */
.spihem-reveal {
  opacity: 0 !important;
  transform: translateY(35px) !important;
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1) !important;
  will-change: opacity, transform !important;
}

.spihem-reveal.spihem-revealed {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

/* Delay Utilites for staggered reveals */
.spihem-delay-1 { transition-delay: 0.1s !important; }
.spihem-delay-2 { transition-delay: 0.2s !important; }
.spihem-delay-3 { transition-delay: 0.3s !important; }
.spihem-delay-4 { transition-delay: 0.4s !important; }

/* Floating particle keyframes */
@keyframes floatParticle {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-10px) rotate(4deg); }
}

@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 4px 15px rgba(229, 57, 53, 0.3); }
  50% { box-shadow: 0 8px 25px rgba(244, 179, 35, 0.6); }
}

/* =========================================================
   NEW HOME SECTIONS: PILLARS, RECIPES, PROCESS, REVIEWS
   ========================================================= */

.spihem-section {
  padding: 70px 0 !important;
  position: relative !important;
}

.spihem-section-bg-light {
  background: #fafaf9 !important;
  border-top: 1px solid #f0efed !important;
  border-bottom: 1px solid #f0efed !important;
}

.spihem-section-bg-dark {
  background: #181412 !important;
  color: #ffffff !important;
}

.spihem-section-header {
  text-align: center !important;
  max-width: 760px !important;
  margin: 0 auto 48px !important;
}

.spihem-section-subtitle {
  color: #e53935 !important;
  font-size: 14px !important;
  font-weight: 800 !important;
  text-transform: uppercase !important;
  letter-spacing: 2.5px !important;
  margin-bottom: 8px !important;
  display: block !important;
}

.spihem-section-title {
  font-size: 34px !important;
  font-weight: 800 !important;
  color: #1c1917 !important;
  margin: 0 0 12px 0 !important;
  line-height: 1.25 !important;
}

.spihem-section-bg-dark .spihem-section-title {
  color: #ffffff !important;
}

.spihem-section-desc {
  font-size: 16px !important;
  color: #78716c !important;
  line-height: 1.6 !important;
  margin: 0 !important;
}

.spihem-section-bg-dark .spihem-section-desc {
  color: #a8a29e !important;
}

/* 4 Pillars Grid */
.spihem-pillars-grid {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 24px !important;
}

@media (max-width: 991px) {
  .spihem-pillars-grid { grid-template-columns: repeat(2, 1fr) !important; }
}

@media (max-width: 576px) {
  .spihem-pillars-grid { grid-template-columns: 1fr !important; }
}

.spihem-pillar-card {
  background: #ffffff !important;
  border: 1px solid #e7e5e4 !important;
  border-radius: 16px !important;
  padding: 30px 24px !important;
  text-align: center !important;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1) !important;
  box-shadow: 0 4px 15px rgba(0,0,0,0.02) !important;
}

.spihem-pillar-card:hover {
  transform: translateY(-8px) !important;
  box-shadow: 0 16px 35px rgba(229, 57, 53, 0.12) !important;
  border-color: #fca5a5 !important;
}

.spihem-pillar-icon {
  font-size: 42px !important;
  margin-bottom: 16px !important;
  display: inline-block !important;
  animation: floatParticle 4s ease-in-out infinite alternate !important;
}

.spihem-pillar-card h3 {
  font-size: 18px !important;
  font-weight: 700 !important;
  color: #1c1917 !important;
  margin: 0 0 8px 0 !important;
}

.spihem-pillar-card p {
  font-size: 14px !important;
  color: #78716c !important;
  line-height: 1.5 !important;
  margin: 0 !important;
}

/* Quality Process Timeline */
.spihem-process-grid {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 20px !important;
  position: relative !important;
}

@media (max-width: 991px) {
  .spihem-process-grid { grid-template-columns: repeat(2, 1fr) !important; }
}

@media (max-width: 576px) {
  .spihem-process-grid { grid-template-columns: 1fr !important; }
}

.spihem-process-step {
  background: rgba(255, 255, 255, 0.05) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 16px !important;
  padding: 28px 20px !important;
  text-align: center !important;
  backdrop-filter: blur(8px) !important;
  transition: all 0.3s ease !important;
  position: relative !important;
}

.spihem-process-step:hover {
  background: rgba(255, 255, 255, 0.1) !important;
  border-color: #fbbf24 !important;
  transform: translateY(-6px) !important;
}

.spihem-step-num {
  position: absolute !important;
  top: -16px !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  background: #fbbf24 !important;
  color: #1c1917 !important;
  font-weight: 900 !important;
  font-size: 14px !important;
  width: 32px !important;
  height: 32px !important;
  border-radius: 50% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-shadow: 0 4px 10px rgba(0,0,0,0.4) !important;
}

.spihem-process-step h4 {
  font-size: 17px !important;
  font-weight: 700 !important;
  color: #ffffff !important;
  margin: 12px 0 8px 0 !important;
}

.spihem-process-step p {
  font-size: 13px !important;
  color: #d6d3d1 !important;
  line-height: 1.5 !important;
  margin: 0 !important;
}

/* Recipe Hub Grid */
.spihem-recipe-grid {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 28px !important;
}

@media (max-width: 991px) {
  .spihem-recipe-grid { grid-template-columns: 1fr !important; }
}

.spihem-recipe-card {
  background: #ffffff !important;
  border: 1px solid #e7e5e4 !important;
  border-radius: 16px !important;
  overflow: hidden !important;
  box-shadow: 0 4px 20px rgba(0,0,0,0.04) !important;
  transition: all 0.3s ease !important;
  display: flex !important;
  flex-direction: column !important;
}

.spihem-recipe-card:hover {
  transform: translateY(-6px) !important;
  box-shadow: 0 16px 30px rgba(0,0,0,0.08) !important;
}

.spihem-recipe-img {
  height: 200px !important;
  overflow: hidden !important;
  position: relative !important;
}

.spihem-recipe-img img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  transition: transform 0.5s ease !important;
}

.spihem-recipe-card:hover .spihem-recipe-img img {
  transform: scale(1.08) !important;
}

.spihem-recipe-badge {
  position: absolute !important;
  top: 14px !important;
  right: 14px !important;
  background: rgba(0, 0, 0, 0.7) !important;
  color: #fbbf24 !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  padding: 4px 10px !important;
  border-radius: 20px !important;
  backdrop-filter: blur(4px) !important;
}

.spihem-recipe-body {
  padding: 20px !important;
  flex: 1 !important;
  display: flex !important;
  flex-direction: column !important;
}

.spihem-recipe-body h4 {
  font-size: 18px !important;
  font-weight: 700 !important;
  color: #1c1917 !important;
  margin: 0 0 8px 0 !important;
}

.spihem-recipe-body p {
  font-size: 14px !important;
  color: #78716c !important;
  line-height: 1.5 !important;
  margin-bottom: 16px !important;
  flex: 1 !important;
}

.spihem-recipe-meta {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  font-size: 13px !important;
  color: #a8a29e !important;
  border-top: 1px solid #f5f5f4 !important;
  padding-top: 12px !important;
}

/* Reviews Grid */
.spihem-reviews-grid {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 24px !important;
}

@media (max-width: 991px) {
  .spihem-reviews-grid { grid-template-columns: 1fr !important; }
}

.spihem-review-card {
  background: #ffffff !important;
  border: 1px solid #e7e5e4 !important;
  border-radius: 16px !important;
  padding: 24px !important;
  box-shadow: 0 4px 15px rgba(0,0,0,0.03) !important;
}

.spihem-stars {
  color: #f59e0b !important;
  font-size: 16px !important;
  margin-bottom: 10px !important;
}

.spihem-review-text {
  font-size: 14px !important;
  color: #44403c !important;
  line-height: 1.6 !important;
  font-style: italic !important;
  margin-bottom: 16px !important;
}

.spihem-reviewer {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
}

.spihem-avatar {
  width: 42px !important;
  height: 42px !important;
  border-radius: 50% !important;
  background: #e53935 !important;
  color: #ffffff !important;
  font-weight: 700 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.spihem-reviewer-info h5 {
  font-size: 15px !important;
  font-weight: 700 !important;
  color: #1c1917 !important;
  margin: 0 !important;
}

.spihem-reviewer-info span {
  font-size: 12px !important;
  color: #a8a29e !important;
}

/* Dealer B2B Callout Banner */
.spihem-dealer-banner {
  background: linear-gradient(135deg, #1c1917 0%, #292524 100%) !important;
  border-radius: 20px !important;
  padding: 48px 40px !important;
  color: #ffffff !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 30px !important;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2) !important;
  border: 1px solid rgba(255,255,255,0.1) !important;
}

@media (max-width: 768px) {
  .spihem-dealer-banner {
    flex-direction: column !important;
    text-align: center !important;
    padding: 32px 24px !important;
  }
}

.spihem-dealer-info h3 {
  font-size: 26px !important;
  font-weight: 800 !important;
  color: #ffffff !important;
  margin: 0 0 8px 0 !important;
}

.spihem-dealer-info p {
  font-size: 15px !important;
  color: #d6d3d1 !important;
  margin: 0 !important;
}

/* Fix for Newsletter Popup and any overlay locking scrolling or pointer events */
#shopify-section-modal-newsletter,
.dt-sc-newsletter-modal-overlay,
#dt-sc-newsletter-container,
.dt-sc-newsletter-container {
  display: none !important;
  pointer-events: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
  z-index: -9999 !important;
}

body.popup-opened,
body.prevent-scroll {
  overflow: auto !important;
  pointer-events: auto !important;
}




/* =========================================================
   SPIHEM SUBPAGE & CONTACT FORM PREMIUM DARK/LIGHT SYSTEM
   ========================================================= */

/* General Subpage & Breadcrumbs */
.breadcrumb {
  background: linear-gradient(135deg, #181412 0%, #261005 100%) !important;
  color: #ffffff !important;
  padding: 40px 0 !important;
  margin-bottom: 40px !important;
  border-bottom: 1px solid rgba(251, 191, 36, 0.2) !important;
}

.breadcrumb h1 {
  color: #ffffff !important;
  font-size: 36px !important;
  font-weight: 800 !important;
  margin-bottom: 10px !important;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6) !important;
}

.breadcrumb a {
  color: #fbbf24 !important;
  text-decoration: none !important;
  font-weight: 600 !important;
}

.breadcrumb span {
  color: #d6d3d1 !important;
}

/* Contact Info Cards Grid */
.dt-contact-iconblock-section {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 24px !important;
  margin: 40px 0 !important;
  list-style: none !important;
  padding: 0 !important;
}

@media (max-width: 768px) {
  .dt-contact-iconblock-section {
    grid-template-columns: 1fr !important;
  }
}

.dt-contact-icon-block {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 16px !important;
  padding: 28px 24px !important;
  display: flex !important;
  align-items: flex-start !important;
  gap: 18px !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05) !important;
  transition: all 0.3s ease !important;
}

.dt-contact-icon-block:hover {
  transform: translateY(-6px) !important;
  box-shadow: 0 12px 30px rgba(229, 57, 53, 0.12) !important;
  border-color: #e53935 !important;
}

.dt-contact-icon-image {
  background: linear-gradient(135deg, #e53935 0%, #c62828 100%) !important;
  color: #ffffff !important;
  width: 52px !important;
  height: 52px !important;
  border-radius: 12px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 22px !important;
  flex-shrink: 0 !important;
  box-shadow: 0 4px 12px rgba(229, 57, 53, 0.3) !important;
}

.dt-contact-icon-content h5 {
  font-size: 18px !important;
  font-weight: 700 !important;
  color: #0f172a !important;
  margin: 0 0 8px 0 !important;
}

.dt-contact-icon-content p,
.dt-contact-icon-content a {
  font-size: 14px !important;
  color: #475569 !important;
  line-height: 1.6 !important;
  text-decoration: none !important;
  margin: 0 !important;
}

.dt-contact-icon-content a:hover {
  color: #e53935 !important;
}

/* Contact Form Container */
.contact-form-section {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 20px !important;
  padding: 36px 32px !important;
  box-shadow: 0 6px 30px rgba(0, 0, 0, 0.06) !important;
  margin-top: 40px !important;
  margin-bottom: 50px !important;
}

.contact-form-section h4 {
  font-size: 24px !important;
  font-weight: 800 !important;
  color: #0f172a !important;
  margin-bottom: 24px !important;
  border-bottom: 3px solid #e53935 !important;
  padding-bottom: 10px !important;
  display: inline-block !important;
}

.contact-form-section form {
  display: flex !important;
  flex-direction: column !important;
  gap: 16px !important;
}

.contact-form-section label {
  font-size: 14px !important;
  font-weight: 700 !important;
  color: #1e293b !important;
  margin-bottom: 4px !important;
  display: block !important;
}

.contact-form-section input[type="text"],
.contact-form-section input[type="email"],
.contact-form-section input[type="tel"],
.contact-form-section textarea,
.contact-form-section select {
  width: 100% !important;
  background: #f8fafc !important;
  border: 1.5px solid #cbd5e1 !important;
  border-radius: 10px !important;
  padding: 13px 18px !important;
  font-size: 15px !important;
  color: #0f172a !important;
  outline: none !important;
  transition: all 0.2s ease !important;
  box-sizing: border-box !important;
}

.contact-form-section input:focus,
.contact-form-section textarea:focus,
.contact-form-section select:focus {
  background: #ffffff !important;
  border-color: #e53935 !important;
  box-shadow: 0 0 0 4px rgba(229, 57, 53, 0.15) !important;
}

.contact-form-section button[type="submit"],
.contact-form-section .btn {
  background: linear-gradient(135deg, #e53935 0%, #c62828 100%) !important;
  color: #ffffff !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  padding: 14px 32px !important;
  border-radius: 50px !important;
  border: none !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
  align-self: flex-start !important;
  margin-top: 10px !important;
  box-shadow: 0 4px 15px rgba(229, 57, 53, 0.3) !important;
}

.contact-form-section button[type="submit"]:hover,
.contact-form-section .btn:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 25px rgba(229, 57, 53, 0.45) !important;
}

/* Footer Styling Override across all subpages */
footer,
.site-footer,
#shopify-section-footer {
  background: #0d0d0d !important;
  color: #d6d3d1 !important;
  padding-top: 50px !important;
  padding-bottom: 20px !important;
  border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
}

/* Only the inner <footer> gets the spacing; padding on the section wrapper
   plus the footer's top margin left an empty dark strip above it */
#shopify-section-footer {
  padding: 0 !important;
  border-top: 0 !important;
}

footer.site-footer {
  margin-top: 0 !important;
}

footer .footer__title,
.site-footer .footer__title {
  color: #ffffff !important;
  font-size: 18px !important;
  font-weight: 700 !important;
  margin-bottom: 20px !important;
  border-bottom: 2px solid #e53935 !important;
  padding-bottom: 8px !important;
  display: inline-block !important;
}

footer a,
.site-footer a {
  color: #d6d3d1 !important;
  transition: color 0.2s ease !important;
}

footer a:hover,
.site-footer a:hover {
  color: #fbbf24 !important;
}

footer .footer__copyright,
.site-footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
  margin-top: 40px !important;
  padding-top: 20px !important;
  text-align: center !important;
  font-size: 14px !important;
  color: #a8a29e !important;
}

/* Hero Video Watermark Hiding Rules */
.hero-video-wrapper {
  position: relative;
  width: 100%;
  height: clamp(420px, 82vh, 795px);
  overflow: hidden;
  background: #1a0d06;
}

/* Darken the footage slightly so the white/gold headline stays readable */
.hero-video-wrapper::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.15) 0%, rgba(0, 0, 0, 0.45) 100%);
  pointer-events: none;
}

.hero-video-wrapper video.slide-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Single-slide hero: carousel arrows have nothing to page through */
.home-slideshow-section .swiper-arrows {
  display: none;
}

@media (max-width: 991px) {
  .home-slideshow-section .slide-heading {
    font-size: 40px !important;
  }
}

@media (max-width: 767px) {
  .hero-video-wrapper {
    height: 78vh;
    min-height: 480px;
  }

  /* Hero text: use the full width and drop the theme's dark mobile panel */
  .home-slideshow-section .dt-sc-swiper-slider .swiper-wrapper .slider-content {
    padding: 0 16px !important;
    align-items: center;
  }

  .home-slideshow-section .dt-sc-swiper-slider .swiper-wrapper .slider-content [class*="slide_"] {
    width: 100% !important;
    margin: 0 auto !important;
    padding: 0 !important;
    background: transparent !important;
    align-self: center !important;
  }

  .home-slideshow-section .slide-heading {
    font-size: clamp(30px, 9vw, 40px) !important;
    line-height: 1.15 !important;
    margin-bottom: 14px !important;
  }

  .home-slideshow-section .slide-sub-heading-2,
  .home-slideshow-section .slide-sub-heading {
    font-size: 15px !important;
    letter-spacing: 2px !important;
    padding: 6px 14px !important;
    margin: 0 auto 14px !important;
  }

  .home-slideshow-section .slide-text {
    font-size: 13px !important;
    letter-spacing: 0.5px !important;
    line-height: 1.5 !important;
    padding: 10px 14px !important;
    margin-bottom: 18px !important;
  }

  .home-slideshow-section .dt-sc-btn.spihem-hero-btn {
    font-size: 14px !important;
    padding: 12px 28px !important;
  }

  /*
   * backdrop-filter turns the header into the containing block for its
   * position:fixed children, so the parked off-canvas nav widened the page
   * and pushed the mobile menu off-screen. The header is near-opaque anyway.
   */
  header#header,
  .dt-sc-header-logo-sec,
  .sticky-header {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }

  /* The body-level .mobile-menu clone is the real mobile nav */
  #AccessibleNav ul.dt-desktop-menu.dt-nav {
    display: none !important;
  }

  /* Mobile off-canvas panel: sits above the sticky header, styled like it */
  .mobile-menu-overlay.is-visible {
    z-index: 10001 !important;
  }

  .mobile-menu {
    z-index: 10002 !important;
    width: 280px !important;
    max-width: 85vw !important;
    background: #111111 !important;
    box-shadow: -8px 0 30px rgba(0, 0, 0, 0.4);
  }

  .mobile-menu > ul.dt-desktop-menu {
    display: block !important;
    position: static !important;
    width: 100% !important;
    height: auto !important;
    background: transparent !important;
    padding: 64px 0 24px !important;
  }

  .mobile-menu ul.dt-desktop-menu > li.top-level-link {
    display: block !important;
    opacity: 1 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
  }

  .mobile-menu ul.dt-desktop-menu li.top-level-link > a.dt-sc-nav-link {
    display: block !important;
    padding: 16px 24px !important;
    border-radius: 0 !important;
    border-bottom: 0 !important;
    font-size: 16px !important;
    color: #ffffff !important;
    background: transparent !important;
  }

  .mobile-menu ul.dt-desktop-menu li.top-level-link.active > a.dt-sc-nav-link {
    color: #fbbf24 !important;
    background: rgba(251, 191, 36, 0.1) !important;
    box-shadow: inset 3px 0 0 #fbbf24;
  }

  .mobile-menu ul.dt-sc-list-inline li.close-nav {
    top: 14px !important;
    right: 12px !important;
    height: 36px !important;
    width: 36px !important;
  }

  .mobile-menu ul.dt-sc-list-inline li.close-nav:before,
  .mobile-menu ul.dt-sc-list-inline li.close-nav:after {
    background-color: #ffffff !important;
    width: 2px !important;
    height: 60% !important;
  }
}

/* =========================================================
   HOME: SHOP BY CATEGORY CARDS
   ========================================================= */
.spihem-category-card {
  background: #ffffff;
  border-radius: 14px;
  padding: 0 0 22px;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.06);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.spihem-category-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.1);
}

.spihem-category-card .dt-sc-collection-image {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 4 / 3;
  background: radial-gradient(circle at 50% 60%, #fff7e6 0%, #f6efe4 70%);
  margin-bottom: 18px;
}

.spihem-category-card .dt-sc-collection-image img {
  max-height: 86%;
  max-width: 80%;
  width: auto;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.spihem-category-card:hover .dt-sc-collection-image img {
  transform: scale(1.05);
}

.spihem-category-card .dt-sc-collection-content {
  padding: 0 18px;
}

.spihem-category-card .dt-sc-collection-description {
  min-height: 4.5em;
}

/* Home product carousels: clip to the container (theme class names don't
   match the vendored Swiper's own overflow rule), leave room for shadows */
.home-product-tab .dT_vProdWrap {
  overflow: hidden;
  padding: 12px 6px 18px;
  margin: -12px -6px 0;
}

/* Category cards: equal heights, button pinned to the bottom */
.home-category-listing-inner {
  align-items: stretch !important;
}

.spihem-category-card {
  display: flex;
  flex-direction: column;
}

.spihem-category-card .dt-sc-collection-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
}

.spihem-category-card .dt-sc-collection-content .dt-sc-btn {
  margin-top: auto;
}

.footer-text p + p {
  margin-top: 12px !important;
}

.spihem-category-card {
  align-self: stretch !important;
}

/* Home product carousel: equal card heights, badge clear of the pack,
   centred brand-coloured arrows under the row */
.home-product-tab .swiper-slide {
  height: auto !important;
  display: flex;
}

.home-product-tab .swiper-slide > .products {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.home-product-tab .swiper-slide .product-container {
  margin-top: 44px;
}

.home-product-tab .swiper-slide .product-detail {
  flex: 1;
}

.home-product-tab .dt-sc-swiper-slider {
  padding-bottom: 0 !important;
}

.home-product-tab .swiper-arrows {
  position: static !important;
  display: flex !important;
  justify-content: center;
  gap: 14px;
  height: auto !important;
  width: auto !important;
  margin-top: 28px;
  transform: none !important;
}

.home-product-tab .swiper-arrows .swiper-button-next,
.home-product-tab .swiper-arrows .swiper-button-prev {
  position: static !important;
  margin: 0 !important;
  transform: none !important;
  width: 44px !important;
  height: 44px !important;
  border-radius: 50% !important;
  border: 1.5px solid #9f4103 !important;
  background: #ffffff !important;
  color: #9f4103 !important;
}

.home-product-tab .swiper-arrows .swiper-button-next svg,
.home-product-tab .swiper-arrows .swiper-button-prev svg {
  display: none;
}

.home-product-tab .swiper-arrows .swiper-button-next:after,
.home-product-tab .swiper-arrows .swiper-button-prev:after {
  font-family: swiper-icons;
  font-size: 15px !important;
  font-weight: 700;
  color: #9f4103 !important;
}

.home-product-tab .swiper-arrows .swiper-button-next:after { content: "next"; }
.home-product-tab .swiper-arrows .swiper-button-prev:after { content: "prev"; }

.home-product-tab .swiper-arrows .swiper-button-next:hover,
.home-product-tab .swiper-arrows .swiper-button-prev:hover {
  background: #9f4103 !important;
}

.home-product-tab .swiper-arrows .swiper-button-next:hover:after,
.home-product-tab .swiper-arrows .swiper-button-prev:hover:after {
  color: #ffffff !important;
}

.home-product-tab .swiper-arrows .swiper-button-disabled {
  opacity: 0.35 !important;
  pointer-events: none;
}

.home-product-tab .swiper-arrows .swiper-button-prev { order: 1; }
.home-product-tab .swiper-arrows .swiper-button-next { order: 2; }

.home-product-tab .swiper-arrows .swiper-button-next:after,
.home-product-tab .swiper-arrows .swiper-button-prev:after {
  position: static !important;
  inset: auto !important;
  transform: none !important;
  margin: 0 !important;
  line-height: 1 !important;
  width: auto !important;
  height: auto !important;
}

.home-product-tab .swiper-arrows .swiper-button-next,
.home-product-tab .swiper-arrows .swiper-button-prev {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}

/* Chevrons drawn with borders: no dependency on the swiper-icons font */
.home-product-tab .swiper-arrows .swiper-button-next:after,
.home-product-tab .swiper-arrows .swiper-button-prev:after {
  content: "" !important;
  font-size: 0 !important;
  width: 9px !important;
  height: 9px !important;
  border: 0 !important;
  border-top: 2px solid currentColor !important;
  border-right: 2px solid currentColor !important;
  background: none !important;
  color: #9f4103;
}

.home-product-tab .swiper-arrows .swiper-button-next:after {
  transform: translateX(-2px) rotate(45deg) !important;
}

.home-product-tab .swiper-arrows .swiper-button-prev:after {
  transform: translateX(2px) rotate(-135deg) !important;
}

.home-product-tab .swiper-arrows .swiper-button-next:hover:after,
.home-product-tab .swiper-arrows .swiper-button-prev:hover:after {
  color: #ffffff;
}

/* Shop grid buttons: keep "Add to cart" on one line */
#dT_collectionGrid .dt-sc-btn-group .dT_AddToCart,
ul.product-collection .dt-sc-btn-group .dT_AddToCart {
  white-space: nowrap;
  line-height: 1.2 !important;
  padding: 10px 14px !important;
  min-width: 0;
}

/* Contact page: map fills the column beside the form */
.left_map_form_inline #map {
  align-self: stretch;
  display: flex;
  min-height: 420px;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.06);
}

.left_map_form_inline #map iframe {
  width: 100% !important;
  height: auto !important;
  min-height: 420px;
  flex: 1;
}

@media (min-width: 992px) {
  .left_map_form_inline #map {
    margin-top: 40px;
    padding: 0 !important;
  }
}

/* =========================================================
   STOREFRONT FINISHING PASS
   A quiet, consistent layer for the customer-facing experience.
   Cart behaviour remains entirely in spihem.js.
   ========================================================= */
:root {
  --spihem-ink: #24130d;
  --spihem-wine: #8f230d;
  --spihem-saffron: #f2b63c;
  --spihem-cream: #fffaf3;
  --spihem-line: #eadbcb;
}

html { scroll-behavior: smooth; }

body {
  background: var(--spihem-cream) !important;
  color: var(--spihem-ink);
}

::selection { background: #f2b63c; color: #24130d; }

a, button, input, select, textarea { -webkit-tap-highlight-color: transparent; }

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(242, 182, 60, 0.9) !important;
  outline-offset: 3px;
}

/* Full-viewport first impression. The header is intentionally layered over it. */
.home-slideshow-section,
.home-slideshow-section .container-fluid,
.home-slideshow-section .row,
.home-slideshow-section .dt-sc-swiper-slider,
.home-slideshow-section #home-slider-16215731630f2c43f1,
.home-slideshow-section .swiper-wrapper,
.home-slideshow-section .swiper-slide,
.hero-video-wrapper {
  min-height: 100svh !important;
}

.hero-video-wrapper {
  height: 100svh !important;
  isolation: isolate;
}

.hero-video-wrapper::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(20, 8, 3, 0.68) 0%, rgba(20, 8, 3, 0.28) 52%, rgba(20, 8, 3, 0.12) 100%),
    linear-gradient(0deg, rgba(20, 8, 3, 0.48) 0%, transparent 42%);
  pointer-events: none;
}

.hero-video-wrapper::after {
  z-index: 2;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.10), rgba(0, 0, 0, 0.28)) !important;
}

.home-slideshow-section .slider-content {
  z-index: 3;
  padding: clamp(96px, 13vh, 148px) clamp(24px, 8vw, 124px) 92px !important;
  justify-content: flex-start !important;
  align-items: center !important;
}

.home-slideshow-section .slider-content .slide_1 {
  width: min(660px, 100%) !important;
  margin: 0 !important;
  padding: 0 !important;
  text-align: left !important;
  background: transparent !important;
  align-self: center !important;
}

.home-slideshow-section .slide-heading {
  max-width: 10ch;
  font-family: "Work Sans", Arial, sans-serif !important;
  font-size: clamp(3rem, 7vw, 6.9rem) !important;
  font-weight: 800 !important;
  line-height: 0.94 !important;
  letter-spacing: -0.055em !important;
  text-transform: none !important;
  text-wrap: balance;
  margin-bottom: 22px !important;
}

.home-slideshow-section .slide-sub-heading-2,
.home-slideshow-section .slide-sub-heading {
  border: 0 !important;
  border-radius: 999px !important;
  background: rgba(242, 182, 60, 0.16) !important;
  color: #ffd46d !important;
  font-size: clamp(0.72rem, 1.3vw, 0.88rem) !important;
  font-weight: 700 !important;
  letter-spacing: 0.14em !important;
  line-height: 1.2 !important;
  padding: 9px 14px !important;
  margin: 0 0 18px !important;
  text-shadow: none !important;
}

.home-slideshow-section .slide-text {
  max-width: 48ch !important;
  margin: 0 0 28px !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: rgba(255,255,255,0.91) !important;
  font-size: clamp(1rem, 1.6vw, 1.2rem) !important;
  font-weight: 500 !important;
  letter-spacing: 0.01em !important;
  line-height: 1.58 !important;
  text-align: left !important;
  text-shadow: 0 2px 10px rgba(0,0,0,0.45) !important;
  text-transform: none !important;
}

.home-slideshow-section .slider-content .multiple-buttons { justify-content: flex-start !important; }

.home-slideshow-section .dt-sc-btn.spihem-hero-btn {
  background: var(--spihem-saffron) !important;
  border: 1px solid var(--spihem-saffron) !important;
  border-radius: 999px !important;
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.22) !important;
  color: var(--spihem-ink) !important;
  font-size: 0.9rem !important;
  font-weight: 800 !important;
  letter-spacing: 0.06em !important;
  padding: 15px 24px !important;
  text-transform: uppercase !important;
  transition: transform .2s ease, background-color .2s ease, box-shadow .2s ease !important;
}

.home-slideshow-section .dt-sc-btn.spihem-hero-btn:hover {
  background: #ffd46d !important;
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.32) !important;
  transform: translateY(-2px);
}

.spihem-hero-promises {
  display: flex;
  flex-wrap: wrap;
  gap: 9px 18px;
  margin-top: 30px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.78rem;
  font-weight: 650;
}

.spihem-hero-promises span { display: inline-flex; align-items: center; gap: 7px; }
.spihem-hero-promises i { color: #ffd46d; font-size: 0.9rem; }

.spihem-hero-scroll {
  position: absolute;
  z-index: 4;
  bottom: 28px;
  left: 50%;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  color: rgba(255, 255, 255, 0.82) !important;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-decoration: none !important;
  text-transform: uppercase;
  transform: translateX(-50%);
}
.spihem-hero-scroll i { animation: spihem-bob 1.5s ease-in-out infinite; font-size: 1.25rem; }
@keyframes spihem-bob { 50% { transform: translateY(5px); } }

/* Product, category and content sections get the same calm visual rhythm. */
.home-product-tab .dt-sc-section-wrapper {
  background: linear-gradient(180deg, #fffaf3 0%, #f9f0e5 100%) !important;
  padding-top: clamp(56px, 7vw, 92px) !important;
  padding-bottom: clamp(34px, 4vw, 56px) !important;
}

/* Bring the category section closer to the product carousel without making
   either section feel compressed internally. */
.home-linkedlist-menu .dt-sc-section-wrapper {
  padding-top: clamp(40px, 4vw, 58px) !important;
}

.dt-sc-heading .dt-sc-main-heading {
  color: var(--spihem-ink) !important;
  font-size: clamp(2rem, 3vw, 3rem) !important;
  letter-spacing: -0.04em;
  line-height: 1.05;
}

.dt-sc-heading .dt-sc-heading-description {
  color: #73584a !important;
  font-size: 1rem !important;
  line-height: 1.65 !important;
  margin-inline: auto;
  max-width: 62ch;
}

.home-product-tab .main-block { margin: 26px 0 28px !important; }
.home-product-tab .main-block .dt-sc-btn {
  background: transparent !important;
  border: 1px solid var(--spihem-line) !important;
  border-radius: 999px !important;
  color: #5d3928 !important;
  font-weight: 700 !important;
  padding: 10px 18px !important;
}
.home-product-tab .main-block .dt-sc-btn.active,
.home-product-tab .main-block .dt-sc-btn:hover {
  background: var(--spihem-wine) !important;
  border-color: var(--spihem-wine) !important;
  color: #fff !important;
}

.product-grid-item .products {
  background: #fffdf9;
  border: 1px solid var(--spihem-line);
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(71, 32, 16, 0.06);
  overflow: hidden;
  transition: transform .24s ease, box-shadow .24s ease;
}
.product-grid-item:hover .products {
  box-shadow: 0 18px 36px rgba(71, 32, 16, 0.13);
  transform: translateY(-5px);
}
.product-grid-item .image_group { background: linear-gradient(145deg, #fff, #fff5e7); }
.product-grid-item .product-detail { padding: 16px 16px 18px !important; }
.product-grid-item .grid-link__title a { color: var(--spihem-ink) !important; font-weight: 750; }

.spihem-category-card {
  border: 1px solid var(--spihem-line);
  border-radius: 18px;
  box-shadow: 0 8px 24px rgba(71, 32, 16, .06);
}
.spihem-category-card .dt-sc-collection-heading a { color: var(--spihem-ink) !important; font-weight: 750; }
.spihem-category-card .dt-sc-collection-description { color: #73584a !important; line-height: 1.55; }

@media (max-width: 767px) {
  .home-slideshow-section,
  .home-slideshow-section .container-fluid,
  .home-slideshow-section .row,
  .home-slideshow-section .dt-sc-swiper-slider,
  .home-slideshow-section #home-slider-16215731630f2c43f1,
  .home-slideshow-section .swiper-wrapper,
  .home-slideshow-section .swiper-slide,
  .hero-video-wrapper { min-height: 100svh !important; }

  .hero-video-wrapper { height: 100svh !important; }
  .hero-video-wrapper::before { background: linear-gradient(180deg, rgba(20,8,3,.45), rgba(20,8,3,.72)); }
  .home-slideshow-section .slider-content { padding: 110px 24px 100px !important; }
  .home-slideshow-section .slider-content .slide_1 { text-align: center !important; }
  .home-slideshow-section .slide-heading { max-width: 11ch; margin-inline: auto; }
  .home-slideshow-section .slide-sub-heading-2,
  .home-slideshow-section .slide-sub-heading { display: inline-block !important; }
  .home-slideshow-section .slide-text { margin-inline: auto !important; text-align: center !important; }
  .home-slideshow-section .slider-content .multiple-buttons { justify-content: center !important; }
  .spihem-hero-promises { justify-content: center; margin-top: 25px; }
  .spihem-hero-promises span { font-size: .72rem; }
  .spihem-hero-scroll { bottom: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* Reliable pinned header on every page. Theme-specific absolute positioning
   previously overrode the sticky rule after the first scroll. */
.header_absolute #header,
header#header {
  position: fixed !important;
  inset: 0 0 auto 0 !important;
  z-index: 10000 !important;
}

/* The vendor script creates a second fixed copy once scrolling begins. The
   original header above is already fixed, so retaining that clone produces the
   double navigation shown in the screencast. */
#sticky-header-active,
.sticky-header-active {
  display: none !important;
}

body:not(.template-index) #container { padding-top: 105px; }

/* The desktop links and mobile menu trigger must never be shown together. */
@media (min-width: 768px) {
  #header .mobile-nav-container { display: none !important; }
}

/* Keep the contact map as a full, usable location block. The flex layout gave
   the map a zero-width column once the contact cards were injected by the CMS. */
.layout-type.left_map_form_inline #map {
  display: block !important;
  flex: 0 0 100% !important;
  width: 100% !important;
  min-height: 420px !important;
  margin: 8px 0 28px !important;
  order: 2 !important;
  border: 1px solid var(--spihem-line) !important;
  border-radius: 18px !important;
  overflow: hidden !important;
  box-shadow: 0 10px 30px rgba(71, 32, 16, 0.10) !important;
}

.layout-type.left_map_form_inline #map iframe {
  display: block !important;
  width: 100% !important;
  height: 420px !important;
  min-height: 420px !important;
  border: 0 !important;
}

.layout-type.left_map_form_inline .contact-form-section { order: 3 !important; }










.spihem-policy-intro { max-width: 66ch; color: #704f3d; font-size: 1.1rem; line-height: 1.65; }
.spihem-policy-card { margin-top: 34px; padding: clamp(24px, 5vw, 52px); background: #fff; border: 1px solid var(--spihem-line); border-radius: 22px; box-shadow: 0 16px 36px rgba(71,32,16,.08); }
.spihem-policy-card h2 { margin: 34px 0 10px; color: var(--spihem-ink); font-size: 1.35rem; line-height: 1.2; }
.spihem-policy-card h2:first-child { margin-top: 0; }
.spihem-policy-card p, .spihem-policy-card li { color: #634a3d; line-height: 1.7; }
.spihem-policy-card ul { padding-left: 1.2rem; }
.spihem-policy-card a { color: var(--spihem-wine); font-weight: 700; }


@media (max-width: 640px) {





  .layout-type.left_map_form_inline #map,
  .layout-type.left_map_form_inline #map iframe { min-height: 320px !important; height: 320px !important; }
}

/* =========================================================
   NAVBAR v3 – single source of truth for header alignment.
   Scoped to #sticky-header so it outranks the theme's inline
   rules and the earlier override layers above.
   ========================================================= */
#sticky-header .container {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

#sticky-header .row {
  display: flex !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  min-height: 84px;
  gap: 32px;
  margin: 0 !important;
}

/* Logo: vertically centred with breathing room (the PNG has no margin of its own) */
#sticky-header .logo {
  flex: 0 0 auto;
  padding: 0 !important;
  margin: 0 !important;
  line-height: 0;
}

#sticky-header .logo a {
  display: block;
  line-height: 0;
}

#sticky-header .logo img {
  display: block !important;
  height: 54px !important;
  width: auto !important;
  max-width: none !important;
  margin: 0 !important;
  border-radius: 0 !important;
}

#sticky-header .logo-alignment {
  flex: 1 1 auto;
  min-width: 0;
  display: flex !important;
  align-items: center !important;
}

#sticky-header #AccessibleNav {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  flex-wrap: nowrap !important;
  width: 100%;
  gap: 16px;
  padding: 0 !important;
}

#sticky-header #AccessibleNav > * {
  padding: 0 !important;
}

/* Menu links: identical box for every item, active state drawn inside it */
#sticky-header ul.dt-desktop-menu {
  gap: 6px !important;
  align-items: center !important;
}

#sticky-header ul.dt-desktop-menu > li.close-nav {
  display: none !important;
}

#sticky-header ul.dt-desktop-menu li.top-level-link {
  display: flex !important;
  align-items: center;
}

#sticky-header ul.dt-desktop-menu li.top-level-link > a.dt-sc-nav-link {
  display: inline-flex !important;
  align-items: center;
  height: 40px;
  padding: 0 16px !important;
  line-height: 1 !important;
  border: 0 !important;
  border-radius: 8px !important;
  box-shadow: none;
  font-size: 15px !important;
  font-weight: 600 !important;
}

#sticky-header ul.dt-desktop-menu li.top-level-link.active > a.dt-sc-nav-link {
  border: 0 !important;
  color: #fbbf24 !important;
  background: rgba(251, 191, 36, 0.12) !important;
  box-shadow: inset 0 -2px 0 #fbbf24;
}

/* Right-hand actions */
#sticky-header .site-header__links {
  display: flex !important;
  align-items: center !important;
  gap: 10px;
  margin-left: auto;
}

#sticky-header .spihem-nav-icon {
  width: 22px;
  height: 22px;
  display: block;
  flex: 0 0 auto;
}

#sticky-header #cart-number {
  position: relative;
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  height: 42px;
  padding: 0 18px 0 14px !important;
  border-radius: 999px !important;
  border: 1px solid rgba(255, 255, 255, 0.18) !important;
  background: rgba(255, 255, 255, 0.06) !important;
  color: #ffffff !important;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  text-decoration: none !important;
  transition: background 0.2s ease, border-color 0.2s ease;
}

#sticky-header #cart-number:hover {
  background: rgba(251, 191, 36, 0.12) !important;
  border-color: rgba(251, 191, 36, 0.5) !important;
  color: #fbbf24 !important;
}

#sticky-header #cart-number svg {
  width: 22px !important;
  height: 22px !important;
  fill: none !important;
}

#sticky-header #CartCount {
  position: absolute !important;
  top: -6px;
  right: -6px;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 20px;
  padding: 0 5px !important;
  margin: 0 !important;
  border-radius: 10px !important;
  border: 2px solid #0c0c0c !important;
  background: #e53935 !important;
  box-shadow: none !important;
  color: #ffffff !important;
  font-size: 11px !important;
  font-weight: 700;
  line-height: 1 !important;
}

#sticky-header #CartCount .CartCount {
  position: static !important;
  display: inline !important;
  width: auto !important;
  height: auto !important;
  padding: 0 !important;
  margin: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: none !important;
  color: inherit !important;
  font-size: inherit !important;
  line-height: 1 !important;
}

#sticky-header #CartCount[data-cart_item_count="0"] {
  display: none !important;
}

/* Hamburger button (mobile only; theme hides it on desktop) */
#sticky-header .mobile-nav-container .menu-trigger {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  padding: 0 !important;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.06) !important;
  color: #ffffff;
  line-height: 1 !important;
}

@media (max-width: 1100px) {
  #sticky-header .row { gap: 20px; }
  #sticky-header ul.dt-desktop-menu li.top-level-link > a.dt-sc-nav-link { padding: 0 12px !important; }
}

@media (max-width: 767px) {
  #sticky-header .container {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }

  #sticky-header .row {
    min-height: 68px;
    gap: 12px;
  }

  #sticky-header .logo img {
    height: 44px !important;
  }

  /* Logo left; cart then menu button on the right */
  #sticky-header .site-header__links { order: 2; }
  #sticky-header .mobile-nav-container { order: 3; margin: 0 !important; }

  #sticky-header #cart-number {
    width: 42px;
    padding: 0 !important;
    justify-content: center !important;
    border-radius: 10px !important;
  }

  #sticky-header .spihem-nav-label {
    display: none !important;
  }
}

/* Theme adds stray top margins to these; keep both buttons on one line */
#sticky-header .mobile-nav-container {
  display: flex;
  align-items: center;
  height: auto !important;
  line-height: 0 !important;
}

#sticky-header .mobile-nav-container .menu-trigger,
#sticky-header #cart-number {
  margin: 0 !important;
}

@media (min-width: 768px) {
  #sticky-header .mobile-nav-container { display: none !important; }
}

/* =========================================================
   TRANSPARENT NAVBAR AT TOP, SOLID BLACK ONCE SCROLLED
   spihem.js toggles body.spihem-scrolled
   ========================================================= */
header#header,
#sticky-header {
  transition: background-color 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease !important;
}

body:not(.spihem-scrolled) header#header,
body:not(.spihem-scrolled) #sticky-header,
body:not(.spihem-scrolled) .dt-sc-header-logo-sec {
  background: transparent !important;
  box-shadow: none !important;
  border-bottom-color: transparent !important;
}

body.spihem-scrolled header#header {
  background: rgba(12, 12, 12, 0.96) !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12) !important;
}

body.spihem-scrolled #sticky-header,
body.spihem-scrolled .dt-sc-header-logo-sec {
  background: transparent !important;
  box-shadow: none !important;
  border-bottom: 0 !important;
}

/* Keep links readable over bright parts of a photo before scrolling */
body:not(.spihem-scrolled) #sticky-header ul.dt-desktop-menu li.top-level-link > a.dt-sc-nav-link,
body:not(.spihem-scrolled) #sticky-header #cart-number {
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.6);
}

/* =========================================================
   INNER PAGE HERO: half-screen photo banner behind the navbar
   ========================================================= */
nav.breadcrumb.spihem-page-hero {
  position: relative;
  display: flex !important;
  align-items: center;
  justify-content: center;
  min-height: 50vh;
  min-height: 50svh;
  padding: 110px 0 56px !important;
  margin: 0 0 56px !important;
  border: 0 !important;
  background:
    linear-gradient(180deg, rgba(10, 6, 3, 0.72) 0%, rgba(10, 6, 3, 0.38) 45%, rgba(10, 6, 3, 0.7) 100%),
    var(--hero-img) center / cover no-repeat !important;
  color: #ffffff !important;
  overflow: hidden;
}

nav.breadcrumb.spihem-page-hero .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  max-width: 820px;
  padding: 0 20px !important;
}

nav.breadcrumb.spihem-page-hero h1 {
  display: block !important;
  margin: 0 !important;
  font-size: clamp(36px, 5.5vw, 60px) !important;
  line-height: 1.1 !important;
  color: #ffffff !important;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.6) !important;
}

nav.breadcrumb.spihem-page-hero .spihem-page-hero__lead {
  margin: 0 !important;
  max-width: 620px;
  font-size: clamp(15px, 1.6vw, 18px);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9) !important;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.6);
}

nav.breadcrumb.spihem-page-hero .spihem-page-hero__crumbs {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 6px;
  padding: 8px 18px;
  border-radius: 999px;
  border: 1px solid rgba(251, 191, 36, 0.35);
  background: rgba(0, 0, 0, 0.35);
  font-size: 14px;
  backdrop-filter: blur(4px);
}

nav.breadcrumb.spihem-page-hero .spihem-page-hero__crumbs .breadcrumb__sep {
  color: rgba(255, 255, 255, 0.5) !important;
}

/* The page body used to be padded down to clear the solid header; the hero does that now */
nav.breadcrumb.spihem-page-hero ~ .shifter-page {
  padding-top: 0 !important;
}

@media (max-width: 767px) {
  nav.breadcrumb.spihem-page-hero {
    min-height: 50vh;
    min-height: 50svh;
    padding: 92px 0 40px !important;
    margin-bottom: 36px !important;
  }

  nav.breadcrumb.spihem-page-hero .spihem-page-hero__crumbs {
    font-size: 13px;
  }
}

/* Outrank ".header_absolute #header .dt-sc-header-logo-sec" (dark 40% + blur);
   blur on a transparent bar smears the photo and shows up as a band */
body:not(.spihem-scrolled) .header_absolute header#header,
body:not(.spihem-scrolled) .header_absolute header#header #sticky-header.dt-sc-header-logo-sec,
body:not(.spihem-scrolled) .header_absolute header#header .sticky-header-active {
  background: transparent !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  box-shadow: none !important;
  border-bottom-color: transparent !important;
}

body.spihem-scrolled .header_absolute header#header #sticky-header.dt-sc-header-logo-sec,
body.spihem-scrolled .header_absolute header#header .sticky-header-active {
  background: transparent !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

/* =========================================================
   FOOTER BOTTOM BAR: policy links + centred credit
   ========================================================= */
.site-footer__bottom {
  margin-top: 48px !important;
  padding-top: 0 !important;
  border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
}

.site-footer__bottom .row {
  display: block !important;
  margin: 0 !important;
  padding: 28px 0 8px;
}





.spihem-footer-credit {
  text-align: center;
}

.spihem-footer-credit a {
  color: #fbbf24 !important;
  font-weight: 700;
  text-decoration: none !important;
  border-bottom: 1px solid rgba(251, 191, 36, 0.5);
}

.spihem-footer-credit a:hover {
  border-bottom-color: #fbbf24;
}

/* Main 4 pages column: no wrapping */
.site-footer .footer-links li a {
  white-space: nowrap;
}

/* =========================================================
   CONTACT PAGE: cards on top, map + form side by side.
   Grid (not flex) so the map can never collapse to zero width.
   ========================================================= */
.contact-section .layout-type.left_map_form_inline,
.layout-type.left_map_form_inline {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 28px;
  align-items: stretch;
}

.layout-type.left_map_form_inline > .dt-contact-iconblock-section {
  grid-column: 1 / -1;
  margin: 0 0 8px !important;
}

.layout-type.left_map_form_inline > #map {
  grid-column: 1;
  grid-row: 2;
  display: flex !important;
  width: auto !important;
  min-height: 380px !important;
  height: auto !important;
  margin: 0 !important;
}

.layout-type.left_map_form_inline > #map iframe {
  flex: 1;
  width: 100% !important;
  height: 100% !important;
  min-height: 380px !important;
}

.layout-type.left_map_form_inline > .contact-form-section {
  grid-column: 2;
  grid-row: 2;
  width: auto !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 28px !important;
}

/* Compact general enquiry form: two fields per row */
.contact-form-section .label--hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  white-space: nowrap !important;
}

.contact-form-section #contact_form {
  display: grid !important;
  grid-template-columns: 1fr 1fr;
  gap: 14px !important;
}

.contact-form-section #contact_form input,
.contact-form-section #contact_form textarea {
  margin: 0 !important;
}

.contact-form-section #contact_form textarea,
.contact-form-section #contact_form .spihem-form-note,
.contact-form-section #contact_form button {
  grid-column: 1 / -1;
}

.contact-form-section #contact_form textarea {
  min-height: 120px;
}

.contact-form-section #contact_form .spihem-form-note:empty {
  display: none;
}

.contact-form-section #contact_form button {
  justify-self: start;
}

.contact-form-section .spihem-form-tabs {
  margin-bottom: 18px !important;
}

.contact-form-section h4 {
  margin-bottom: 6px !important;
}

@media (max-width: 991px) {
  .layout-type.left_map_form_inline {
    grid-template-columns: 1fr;
  }

  .layout-type.left_map_form_inline > #map,
  .layout-type.left_map_form_inline > .contact-form-section {
    grid-column: 1;
    grid-row: auto;
  }

  .layout-type.left_map_form_inline > .contact-form-section { order: 2; }
  .layout-type.left_map_form_inline > #map { order: 3; min-height: 300px !important; }
  .layout-type.left_map_form_inline > #map iframe { min-height: 300px !important; }
}

@media (max-width: 575px) {
  .contact-form-section #contact_form {
    grid-template-columns: 1fr;
  }

  .layout-type.left_map_form_inline > .contact-form-section {
    padding: 20px !important;
  }
}

/* .input-full spans every grid column; let name/email and phone/subject pair up */
.contact-form-section #contact_form input.input-full {
  grid-column: auto !important;
  width: 100% !important;
}

@media (max-width: 575px) {
  .contact-form-section #contact_form input.input-full { grid-column: 1 / -1 !important; }
}

.contact-form-section #contact_form textarea.input-full,
.contact-form-section #contact_form > .spihem-form-note,
.contact-form-section #contact_form > button {
  grid-column: 1 / -1 !important;
}

/* =========================================================
   CART DRAWER: above the navbar, tidy close button
   ========================================================= */
#CartDrawer {
  z-index: 10050 !important;
}

body.js-drawer-open #CartContainer,
#CartDrawer + .drawer-overlay {
  z-index: 10040 !important;
}

#CartDrawer .drawer__header {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 12px;
  min-height: 64px;
}

#CartDrawer .drawer__header h4 {
  margin: 0 !important;
  line-height: 1.2 !important;
}

#CartDrawer .spihem-drawer-close-btn {
  flex: 0 0 auto;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 36px !important;
  height: 36px !important;
  min-width: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  border: 0 !important;
  border-radius: 50% !important;
  background: rgba(255, 255, 255, 0.12) !important;
  color: #ffffff !important;
  font-size: 20px !important;
  line-height: 1 !important;
  cursor: pointer;
}

#CartDrawer .spihem-drawer-close-btn:hover {
  background: rgba(255, 255, 255, 0.24) !important;
}

.spihem-total-note {
  display: block;
  width: 100%;
  margin-top: 4px;
  font-size: 12px;
  color: #78716c;
}

/* =========================================================
   PACK SIZES: card picker + quick-view chips
   ========================================================= */
.spihem-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin: 8px 0 2px;
}

.spihem-size-select {
  flex: 1 1 auto;
  min-width: 0;
  height: 34px;
  padding: 0 28px 0 10px;
  border: 1px solid #e7d9c9;
  border-radius: 8px;
  background: #fffaf3 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%239f4103' stroke-width='1.8'/%3E%3C/svg%3E") right 10px center / 10px 7px no-repeat;
  color: #3f2a1d;
  font-size: 13px;
  font-weight: 600;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
}

.spihem-size-select:focus {
  outline: 2px solid #f4b323;
  outline-offset: 1px;
}

.spihem-size-single {
  font-size: 13px;
  font-weight: 700;
  color: #9f4103;
}

.spihem-card-price {
  flex: 0 0 auto;
  font-size: 14px;
  font-weight: 700;
  color: #1c1917;
  white-space: nowrap;
}

.spihem-modal-sizes {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 10px 0 8px;
}

.spihem-size-chip {
  min-width: 64px;
  height: 36px;
  padding: 0 14px;
  border: 1.5px solid #e7d9c9;
  border-radius: 999px;
  background: #ffffff;
  color: #3f2a1d;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s ease;
}

.spihem-size-chip:hover {
  border-color: #9f4103;
}

.spihem-size-chip.active {
  border-color: #9f4103;
  background: #9f4103;
  color: #ffffff;
}

.spihem-modal-price {
  margin-bottom: 10px;
  font-size: 20px;
  font-weight: 800;
  color: #9f4103;
}

/* =========================================================
   CHAT ASSISTANT
   ========================================================= */
#spihem-chat {
  --chat-brand: #9f4103;
  --chat-ink: #2a1a10;
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 10030;
  font-family: inherit;
}

#spihem-chat .spihem-chat__launcher {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: linear-gradient(135deg, #b84d0a, #8a3602);
  color: #ffffff;
  box-shadow: 0 10px 28px rgba(122, 46, 4, 0.4);
  cursor: pointer;
  transition: transform 0.2s ease;
}

#spihem-chat .spihem-chat__launcher:hover { transform: scale(1.06); }
#spihem-chat .spihem-chat__launcher svg { width: 28px; height: 28px; }
#spihem-chat .spihem-chat__icon-close { display: none; }
#spihem-chat.is-open .spihem-chat__icon-open { display: none; }
#spihem-chat.is-open .spihem-chat__icon-close { display: block; }

#spihem-chat .spihem-chat__panel {
  position: absolute;
  right: 0;
  bottom: 72px;
  display: flex;
  flex-direction: column;
  width: 370px;
  height: min(560px, calc(100vh - 120px));
  border-radius: 18px;
  background: #fffaf3;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
  overflow: hidden;
}

#spihem-chat .spihem-chat__panel[hidden] { display: none; }

#spihem-chat .spihem-chat__head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: #111111;
  color: #ffffff;
}

#spihem-chat .spihem-chat__head img {
  width: 54px;
  height: 30px;
  object-fit: contain;
  border-radius: 6px;
  background: #ffffff;
  padding: 2px 4px;
}

#spihem-chat .spihem-chat__head div { flex: 1; min-width: 0; line-height: 1.25; }
#spihem-chat .spihem-chat__head strong { display: block; font-size: 15px; color: #ffffff; }
#spihem-chat .spihem-chat__head span { font-size: 12px; color: #a8a29e; }

#spihem-chat .spihem-chat__close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  cursor: pointer;
}

#spihem-chat .spihem-chat__close svg { width: 18px; height: 18px; }

#spihem-chat .spihem-chat__log {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

#spihem-chat .spihem-chat__msg {
  max-width: 88%;
  padding: 10px 14px;
  border-radius: 16px;
  font-size: 14px;
  line-height: 1.5;
  word-wrap: break-word;
}

#spihem-chat .spihem-chat__msg--bot {
  align-self: flex-start;
  border-bottom-left-radius: 4px;
  background: #ffffff;
  color: var(--chat-ink);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

#spihem-chat .spihem-chat__msg--user {
  align-self: flex-end;
  border-bottom-right-radius: 4px;
  background: var(--chat-brand);
  color: #ffffff;
}

#spihem-chat .spihem-chat__quick {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}

#spihem-chat .spihem-chat__quick button {
  padding: 6px 12px;
  border: 1px solid #e7d9c9;
  border-radius: 999px;
  background: #fffaf3;
  color: var(--chat-brand);
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
}

#spihem-chat .spihem-chat__quick button:hover { background: #fdebd5; }

#spihem-chat .spihem-chat__product {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 10px;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid #f1e6da;
}

#spihem-chat .spihem-chat__product img {
  width: 56px;
  height: 56px;
  object-fit: contain;
  border-radius: 8px;
  background: #fffaf3;
}

#spihem-chat .spihem-chat__product strong { display: block; font-size: 14px; }
#spihem-chat .spihem-chat__product p { margin: 2px 0 4px; font-size: 12.5px; color: #78716c; line-height: 1.4; }

#spihem-chat .spihem-chat__link {
  padding: 0;
  border: 0;
  background: none;
  color: var(--chat-brand);
  font-size: 12.5px;
  font-weight: 700;
  text-decoration: underline;
  cursor: pointer;
}

#spihem-chat .spihem-chat__sizes {
  grid-column: 1 / -1;
  margin: 0;
  padding: 0;
  list-style: none;
}

#spihem-chat .spihem-chat__sizes li {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 10px;
  padding: 6px 0;
  border-bottom: 1px dashed #f1e6da;
  font-size: 13px;
}

#spihem-chat .spihem-chat__sizes li span:first-child { font-weight: 700; }
#spihem-chat .spihem-chat__sizes li span:nth-child(2) { color: #57534e; }

#spihem-chat .spihem-chat__sizes button {
  height: 28px;
  padding: 0 10px;
  border: 1px solid var(--chat-brand);
  border-radius: 6px;
  background: #ffffff;
  color: var(--chat-brand);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

#spihem-chat .spihem-chat__sizes button:hover { background: var(--chat-brand); color: #ffffff; }

#spihem-chat .spihem-chat__wa {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  padding: 8px 14px;
  border-radius: 999px;
  background: #25d366;
  color: #ffffff !important;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none !important;
}

#spihem-chat .spihem-chat__typing { display: inline-flex; gap: 4px; padding: 4px 0; }
#spihem-chat .spihem-chat__typing i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #c4b5a5;
  animation: spihem-chat-dot 1s infinite ease-in-out;
}
#spihem-chat .spihem-chat__typing i:nth-child(2) { animation-delay: 0.15s; }
#spihem-chat .spihem-chat__typing i:nth-child(3) { animation-delay: 0.3s; }

@keyframes spihem-chat-dot {
  0%, 80%, 100% { opacity: 0.3; transform: translateY(0); }
  40% { opacity: 1; transform: translateY(-3px); }
}

#spihem-chat .spihem-chat__form {
  display: flex;
  gap: 8px;
  padding: 12px;
  border-top: 1px solid #f1e6da;
  background: #ffffff;
}

#spihem-chat .spihem-chat__form input {
  flex: 1;
  min-width: 0;
  height: 42px;
  margin: 0 !important;
  padding: 0 14px !important;
  border: 1px solid #e7d9c9 !important;
  border-radius: 999px !important;
  background: #fffaf3 !important;
  font-size: 14px !important;
}

#spihem-chat .spihem-chat__form input:focus {
  outline: 2px solid #f4b323;
  outline-offset: 0;
}

#spihem-chat .spihem-chat__form button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--chat-brand);
  color: #ffffff;
  cursor: pointer;
}

#spihem-chat .spihem-chat__form button svg { width: 20px; height: 20px; }

/* Back-to-top sits above the chat launcher */
body.has-spihem-chat #to-top {
  right: 29px !important;
  bottom: 92px !important;
}

@media (max-width: 575px) {
  #spihem-chat { right: 14px; bottom: 14px; }
  #spihem-chat .spihem-chat__launcher { width: 54px; height: 54px; }
  #spihem-chat .spihem-chat__panel {
    position: fixed;
    inset: auto 10px 80px 10px;
    width: auto;
    height: min(72vh, calc(100vh - 110px));
  }
  body.has-spihem-chat #to-top { right: 21px !important; bottom: 82px !important; }
}

/* Theme gives every button margin-top:10px, padding, border and a hover colour,
   and squashes button SVGs; reset those inside the chat widget */
#spihem-chat button {
  margin: 0;
  min-width: 0;
  flex-wrap: nowrap;
  line-height: 1;
  font-weight: 700;
  box-shadow: none;
}

#spihem-chat button svg {
  margin: 0;
  flex: 0 0 auto;
}

#spihem-chat .spihem-chat__launcher svg { width: 28px; height: 28px; }
#spihem-chat .spihem-chat__close svg { width: 18px; height: 18px; }
#spihem-chat .spihem-chat__form button svg { width: 20px; height: 20px; }
#spihem-chat .spihem-chat__close,
#spihem-chat .spihem-chat__form button,
#spihem-chat .spihem-chat__launcher { border: 0; }
#spihem-chat .spihem-chat__close:hover { background: rgba(255, 255, 255, 0.24); color: #ffffff; }
#spihem-chat .spihem-chat__launcher:hover { background: linear-gradient(135deg, #b84d0a, #8a3602); color: #ffffff; border: 0; }
#spihem-chat .spihem-chat__form button:hover { background: #7f3402; color: #ffffff; border: 0; }
#spihem-chat .spihem-chat__link,
#spihem-chat .spihem-chat__link:hover { display: inline; padding: 0; border: 0; border-radius: 0; background: none; color: var(--chat-brand); font-weight: 700; }
#spihem-chat .spihem-chat__quick button:hover { background: #fdebd5; color: var(--chat-brand); border: 1px solid #e7d9c9; }
#spihem-chat .spihem-chat__sizes button { display: inline-flex; align-items: center; }
#spihem-chat .spihem-chat__sizes button:hover { background: var(--chat-brand); color: #ffffff; border: 1px solid var(--chat-brand); }

/* =========================================================
   QUANTITY STEPPERS (drawer + cart page) – the theme's button
   padding/margin pushed the − and + glyphs out of their boxes
   ========================================================= */
.spihem-qty-controls,
.spihem-qty-selector {
  display: inline-flex !important;
  align-items: center !important;
  height: 34px;
  padding: 0 !important;
  border: 1px solid #e7d9c9 !important;
  border-radius: 8px !important;
  background: #ffffff !important;
  overflow: hidden;
}

.spihem-qty-controls button,
.spihem-qty-selector button {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-wrap: nowrap !important;
  width: 32px !important;
  min-width: 0 !important;
  height: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: #3f2a1d !important;
  font-size: 18px !important;
  font-weight: 600 !important;
  line-height: 1 !important;
  box-shadow: none !important;
}

.spihem-qty-controls button:hover,
.spihem-qty-selector button:hover {
  background: #fdebd5 !important;
  color: #9f4103 !important;
  border: 0 !important;
}

.spihem-qty-controls span,
.spihem-qty-selector span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 30px;
  height: 100%;
  border-left: 1px solid #f1e6da;
  border-right: 1px solid #f1e6da;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
}

/* Estimated total: amount stays on one line, note goes underneath */
.spihem-drawer-total {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: baseline !important;
  justify-content: space-between !important;
  gap: 2px 12px;
}

.spihem-drawer-total strong {
  white-space: nowrap;
}

.spihem-drawer-total .spihem-total-note {
  flex-basis: 100%;
  text-align: right;
}

/* Chat "+ Add" and contact form tabs: keep labels on one line */
#spihem-chat .spihem-chat__sizes button { white-space: nowrap; }

@media (max-width: 575px) {
  .contact-form-section .spihem-form-tabs { display: flex !important; gap: 6px !important; }
  .contact-form-section .spihem-form-tab-btn {
    flex: 1 1 0;
    min-width: 0;
    padding: 10px 8px !important;
    font-size: 13px !important;
    line-height: 1.25 !important;
    white-space: normal;
    text-align: center;
  }
}

/* Collections page reuses the home "Shop by Category" card */
.spihem-collections {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  padding-bottom: 60px;
}

.spihem-collections .spihem-category-card h5 {
  margin: 0 0 6px;
  font-size: 18px;
}

.spihem-collections .spihem-category-card .dt-sc-collection-description {
  min-height: 3em;
  margin-bottom: 14px;
  color: #6b5a4e;
  font-size: 14px;
}

@media (max-width: 991px) {
  .spihem-collections { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 480px) {
  .spihem-collections { grid-template-columns: 1fr; }
}

.spihem-cart-note,
.spihem-draft-note {
  margin: 10px 0 0 !important;
  font-size: 12.5px !important;
  line-height: 1.5 !important;
  color: #78716c !important;
  text-align: center;
}

.spihem-draft-note { margin: 0 0 14px !important; text-align: left; }

.spihem-collections .spihem-category-card .dt-sc-collection-image {
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.spihem-collections .spihem-category-card .dt-sc-collection-image img {
  position: static !important;
  width: auto !important;
  height: auto !important;
  max-width: 80% !important;
  max-height: 86% !important;
  object-fit: contain;
}

.spihem-collections .spihem-category-card .collection-detail {
  position: static !important;
  padding: 18px 16px 0 !important;
  background: none !important;
}

/* =========================================================
   HOME: COMPANY SHOWCASE (story, values, quote, visit)
   ========================================================= */

.spihem-btn-outline {
  background: transparent !important;
  border: 2px solid var(--spihem-wine) !important;
  color: var(--spihem-wine) !important;
}
.spihem-btn-outline:hover {
  background: var(--spihem-wine) !important;
  color: #ffffff !important;
}

/* Our story */
.spihem-story { background: var(--spihem-cream) !important; padding: 100px 0 !important; }
.spihem-story-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 72px;
  align-items: center;
}
.spihem-story-media { position: relative; padding: 0 0 56px 0; }
.spihem-story-img-main {
  width: 88%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: 0 24px 50px rgba(36, 19, 13, 0.18);
  display: block;
}
.spihem-story-img-small {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 46%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 18px;
  border: 6px solid var(--spihem-cream);
  box-shadow: 0 18px 40px rgba(36, 19, 13, 0.2);
}
.spihem-story-badge {
  position: absolute;
  left: -14px;
  bottom: 20px;
  background: var(--spihem-wine);
  color: #fff;
  padding: 14px 20px;
  border-radius: 14px;
  box-shadow: 0 12px 28px rgba(143, 35, 13, 0.35);
  line-height: 1.2;
}
.spihem-story-badge strong { display: block; font-size: 18px; }
.spihem-story-badge span { font-size: 12px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--spihem-saffron); }
.spihem-story-text .spihem-section-title { font-size: 40px !important; }
.spihem-story-text p { color: #5c4a42; font-size: 16px; line-height: 1.75; margin: 0 0 14px; }
.spihem-story-text .spihem-story-lead { font-size: 19px; color: var(--spihem-ink); font-weight: 600; line-height: 1.6; }
.spihem-story-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.spihem-story-actions .spihem-btn { padding: 14px 26px !important; font-size: 15px !important; border-radius: 999px !important; }

/* Mission / vision / promise */
.spihem-values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.spihem-value-card {
  background: #fff;
  border: 1px solid var(--spihem-line);
  border-top: 4px solid var(--spihem-saffron);
  border-radius: 18px;
  padding: 34px 30px;
  transition: transform .35s cubic-bezier(.16,1,.3,1), box-shadow .35s;
}
.spihem-value-card:hover { transform: translateY(-6px); box-shadow: 0 18px 38px rgba(36, 19, 13, 0.1); }
.spihem-value-num { font-size: 42px; font-weight: 800; color: rgba(143, 35, 13, 0.15); line-height: 1; display: block; margin-bottom: 14px; }
.spihem-value-card h3 { font-size: 22px; margin: 0 0 10px; color: var(--spihem-ink); }
.spihem-value-card p { margin: 0; color: #6b5a52; line-height: 1.7; }

/* Brand quote */
.spihem-quote {
  position: relative;
  padding: 120px 0;
  background: linear-gradient(rgba(24, 12, 8, 0.72), rgba(24, 12, 8, 0.72)), var(--hero-img, url("/assets/spice-gallery-4.jpg")) center / cover no-repeat !important;
  background-attachment: fixed !important;
  color: #fff;
  text-align: center;
}
.spihem-quote-inner { max-width: 820px; margin: 0 auto; }
.spihem-quote-mark { font-size: 96px; line-height: .6; color: var(--spihem-saffron); display: block; font-family: Georgia, serif; }
.spihem-quote-text { font-size: 30px; line-height: 1.45; font-weight: 600; margin: 18px 0 16px; color: #fff; }
.spihem-quote-by { display: block; color: var(--spihem-saffron); letter-spacing: 2px; text-transform: uppercase; font-size: 13px; font-weight: 700; }
.spihem-quote-btn {
  margin-top: 30px !important;
  background: var(--spihem-saffron) !important;
  color: var(--spihem-ink) !important;
  border-radius: 999px !important;
  padding: 14px 28px !important;
  font-size: 15px !important;
}
.spihem-quote-btn:hover { background: #fff !important; color: var(--spihem-wine) !important; }

/* Get in touch */
.spihem-visit-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-bottom: 48px; }
.spihem-visit-card {
  background: #fff;
  border: 1px solid var(--spihem-line);
  border-radius: 16px;
  padding: 28px 22px;
  text-align: center;
}
.spihem-visit-card .fa {
  width: 54px; height: 54px; line-height: 54px;
  border-radius: 50%;
  background: rgba(242, 182, 60, 0.18);
  color: var(--spihem-wine);
  font-size: 22px;
  margin-bottom: 14px;
}
.spihem-visit-card h4 { margin: 0 0 6px; font-size: 17px; color: var(--spihem-ink); }
.spihem-visit-card p { margin: 0; color: #6b5a52; line-height: 1.6; overflow-wrap: anywhere; }
.spihem-visit-card a { color: var(--spihem-wine); font-weight: 600; }

@media (max-width: 991px) {
  .spihem-story-grid { grid-template-columns: 1fr; gap: 48px; }
  .spihem-values-grid { grid-template-columns: 1fr; }
  .spihem-visit-grid { grid-template-columns: repeat(2, 1fr); }
  .spihem-quote { background-attachment: scroll !important; padding: 90px 0; }
}
@media (max-width: 576px) {
  .spihem-story { padding: 70px 0 !important; }
  .spihem-story-text .spihem-section-title { font-size: 30px !important; }
  .spihem-story-badge { left: 8px; }
  .spihem-visit-grid { grid-template-columns: 1fr; }
  .spihem-quote-text { font-size: 22px; }
}

/* =========================================================
   BROCHURE DOWNLOAD POPUP
   ========================================================= */
.spihem-brochure { position: fixed; inset: 0; z-index: 100000; display: flex; align-items: center; justify-content: center; padding: 16px; }
.spihem-brochure[hidden] { display: none !important; }
.spihem-brochure-backdrop { position: absolute; inset: 0; background: rgba(20, 10, 6, 0.65); backdrop-filter: blur(3px); animation: spihemFade .25s ease; }
.spihem-brochure-card {
  position: relative;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  width: 100%;
  max-width: 760px;
  max-height: calc(100vh - 32px);
  overflow-y: auto;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.35);
  animation: spihemPop .35s cubic-bezier(.16,1,.3,1);
}
.spihem-brochure-side {
  background: linear-gradient(rgba(143, 35, 13, 0.88), rgba(36, 19, 13, 0.92)), var(--brochure-img, url("/assets/images/hero2.jpg")) center / cover;
  color: #fff;
  padding: 40px 30px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.spihem-brochure-kicker { color: var(--spihem-saffron); font-size: 12px; font-weight: 800; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 10px; }
.spihem-brochure-side h3 { color: #fff; font-size: 26px; line-height: 1.25; margin: 0 0 12px; }
.spihem-brochure-side p { color: rgba(255, 255, 255, 0.85); margin: 0; line-height: 1.6; font-size: 14px; }
.spihem-brochure-form { padding: 32px 30px 28px; display: flex; flex-direction: column; gap: 12px; }
.spihem-brochure-form label { display: flex; flex-direction: column; gap: 5px; font-size: 13px; font-weight: 700; color: var(--spihem-ink); margin: 0; }
.spihem-brochure-form input,
.spihem-brochure-form select {
  width: 100%;
  height: 44px;
  padding: 0 14px;
  border: 1px solid var(--spihem-line);
  border-radius: 10px;
  background: #fffdf9;
  font-size: 15px;
  font-weight: 400;
  color: var(--spihem-ink);
  margin: 0;
}
.spihem-brochure-form input:focus,
.spihem-brochure-form select:focus { border-color: var(--spihem-saffron); outline: none; box-shadow: 0 0 0 3px rgba(242, 182, 60, 0.3); }
.spihem-brochure-form .spihem-btn { padding: 14px !important; font-size: 15px !important; border-radius: 10px !important; margin-top: 4px; }
.spihem-brochure-form .spihem-btn:disabled { opacity: .7; cursor: wait !important; }
.spihem-brochure-honey { position: absolute !important; left: -9999px !important; width: 1px !important; height: 1px !important; }
.spihem-brochure-msg { margin: 0; font-size: 13px; min-height: 0; }
.spihem-brochure-msg.is-error { color: #c62828; }
.spihem-brochure-msg.is-ok { color: #2e7d32; font-weight: 600; }
.spihem-brochure-x {
  position: absolute !important; top: 10px; right: 12px; z-index: 2;
  width: 36px !important; height: 36px !important; min-width: 0 !important; padding: 0 !important; border-radius: 50% !important;
  border: none !important; background: rgba(36, 19, 13, 0.08) !important; color: var(--spihem-ink) !important;
  font-size: 24px !important; line-height: 36px !important; cursor: pointer; box-shadow: none !important;
}
.spihem-brochure-x:hover { background: var(--spihem-wine) !important; color: #fff !important; }
body.spihem-brochure-open { overflow: hidden; }
@keyframes spihemFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes spihemPop { from { opacity: 0; transform: translateY(20px) scale(.97); } to { opacity: 1; transform: none; } }
@media (max-width: 640px) {
  .spihem-brochure-card { grid-template-columns: 1fr; }
  .spihem-brochure-side { padding: 26px 22px 20px; }
  .spihem-brochure-side h3 { font-size: 21px; }
  .spihem-brochure-side p { display: none; }
  .spihem-brochure-form { padding: 20px 22px 22px; }
  .spihem-brochure-x { background: rgba(255, 255, 255, 0.2) !important; color: #fff !important; }
}

/* =========================================================
   ALIGNMENT FIXES
   ========================================================= */
/* Theme gives breadcrumb items a 15px top margin, which pushed the text low in the pill */
nav.breadcrumb.spihem-page-hero .spihem-page-hero__crumbs > * {
  margin: 0 !important;
  line-height: 1.4 !important;
}

/* Theme ".three-column > li" caps each card at 50% of its grid cell */
.dt-contact-iconblock-section > li.dt-contact-icon-block {
  width: auto !important;
  max-width: none !important;
  flex: none !important;
  min-width: 0;
}

/* Contact form tabs: equal-width pills, text kept on one line where it fits */
.contact-form-section .spihem-form-tabs { display: flex !important; gap: 10px !important; }
.contact-form-section .spihem-form-tab-btn {
  flex: 1 1 0 !important;
  min-width: 0 !important;
  min-height: 48px;
  padding: 10px 12px !important;
  font-size: 14px !important;
  line-height: 1.25 !important;
  text-align: center !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
}

/* Shop page: sidebar + product grid as a real two-column layout.
   The theme's flex row gave the grid a fixed 859px width, which pushed the
   sidebar off the left edge of the page. Below 768px the theme turns the
   sidebar into a slide-out drawer, so that is left alone. */
@media (min-width: 768px) {
  .left-sidebar.has-sidebar {
    display: grid !important;
    grid-template-columns: 275px minmax(0, 1fr);
    gap: 28px;
    align-items: start;
  }
  .left-sidebar.has-sidebar > .collection-grid {
    grid-column: 2;
    grid-row: 1;
    width: auto !important;
    max-width: none !important;
    min-width: 0;
    margin: 0 !important;
    padding: 0 !important;
    float: none !important;
  }
  .left-sidebar.has-sidebar > #sidebar-sticky {
    grid-column: 1;
    grid-row: 1;
    width: auto !important;
    max-width: none !important;
    left: auto !important;
    transform: none !important;
    margin: 0 !important;
    float: none !important;
  }
  .left-sidebar.has-sidebar > .sidebar_btn,
  .left-sidebar.has-sidebar > #sidebar-sticky .close-icon { display: none !important; }
}
@media (min-width: 768px) and (max-width: 1199px) {
  .template-collection .left-sidebar.has-sidebar ul.product-collection { grid-template-columns: repeat(2, 1fr) !important; }
}
/* Tablet: categories become a row of chips above the products */
@media (min-width: 768px) and (max-width: 991px) {
  .left-sidebar.has-sidebar { grid-template-columns: minmax(0, 1fr); }
  .left-sidebar.has-sidebar > #sidebar-sticky { grid-column: 1; grid-row: 1; padding: 18px 20px !important; }
  .left-sidebar.has-sidebar > .collection-grid { grid-column: 1; grid-row: 2; }
  .left-sidebar.has-sidebar > #sidebar-sticky .filter-panel ul { display: flex !important; flex-direction: row !important; flex-wrap: wrap !important; gap: 8px !important; }
  .left-sidebar.has-sidebar > #sidebar-sticky .filter-panel ul li { margin: 0 !important; }
}

/* Home: "Our Reach" numbers band */
.spihem-reach {
  padding: 70px 0 !important;
  background: linear-gradient(135deg, var(--spihem-wine) 0%, #5a1608 100%) !important;
  color: #fff;
  text-align: center;
}
.spihem-reach-head { margin: 0 auto 40px; max-width: 700px; }
.spihem-reach .spihem-section-subtitle { color: var(--spihem-saffron) !important; }
.spihem-reach .spihem-section-title { color: #fff !important; margin: 0 !important; }
.spihem-reach-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.spihem-reach-item {
  padding: 28px 16px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.06);
}
.spihem-reach-num {
  display: block;
  font-size: 54px;
  line-height: 1;
  font-weight: 800;
  color: var(--spihem-saffron);
  margin-bottom: 10px;
  font-variant-numeric: tabular-nums;
}
.spihem-reach-item span { font-size: 15px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: rgba(255, 255, 255, 0.9); }
@media (max-width: 767px) {
  .spihem-reach-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .spihem-reach-num { font-size: 42px; }
  .spihem-reach-item span { font-size: 13px; letter-spacing: 1.5px; }
}

/* Pillar cards: photo header instead of emoji icons */
.spihem-pillar-card {
  padding: 0 0 26px !important;
  overflow: hidden !important;
  display: flex !important;
  flex-direction: column;
}
.spihem-pillar-media {
  aspect-ratio: 3 / 2;
  overflow: hidden;
  margin-bottom: 20px;
  background: var(--spihem-line);
}
.spihem-pillar-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .6s cubic-bezier(.16,1,.3,1);
}
.spihem-pillar-card:hover .spihem-pillar-media img { transform: scale(1.06); }
.spihem-pillar-card h3,
.spihem-pillar-card p { padding: 0 22px !important; }

.spihem-hero-promises em.spihem-hero-point { font-style: normal; }

/* Product cards: swap to the second photo on hover, gentle zoom when there is none */
.product-grid-item .image_group { position: relative; overflow: hidden; }
.product-grid-item .image_group img.featured-image { transition: opacity .45s ease, transform .6s cubic-bezier(.16,1,.3,1); }
.product-grid-item .image_group .spihem-hover-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100% !important;
  object-fit: contain;
  padding: 12px;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity .45s ease, transform .6s cubic-bezier(.16,1,.3,1);
  pointer-events: none;
  background: #fff !important;
}
.product-grid-item:hover .image_group.has-hover-image img.featured-image { opacity: 0; }
.product-grid-item:hover .image_group.has-hover-image .spihem-hover-image { opacity: 1; transform: scale(1); }
.product-grid-item:hover .image_group:not(.has-hover-image) img.featured-image { transform: scale(1.06); }


/* Navbar keeps the same height in both states (the scrolled state used to add a
   1px border, nudging the logo and links each time the bar changed). */
header#header { border-bottom: 1px solid transparent !important; }
body.spihem-scrolled header#header { border-bottom-color: rgba(255, 255, 255, 0.12) !important; }

/* =========================================================
   SHOP GRID: equal-height cards, aligned rows
   ========================================================= */
.template-collection ul.product-collection { align-items: stretch !important; }
.template-collection ul.product-collection > li.product-grid-item {
  display: flex !important;
  flex-direction: column;
  height: auto !important;
}
.product-grid-item > .products {
  display: flex !important;
  flex-direction: column;
  flex: 1 1 auto;
  height: 100%;
}
.product-grid-item .product-detail {
  display: flex !important;
  flex-direction: column;
  flex: 1 1 auto;
}
.product-grid-item .grid-link__title {
  min-height: 2.6em;
  display: flex;
  align-items: flex-start;
  line-height: 1.3 !important;
  margin-bottom: 4px !important;
}
.product-grid-item .spihem-card-meta { min-height: 40px; margin: 8px 0 12px !important; }
.product-grid-item .spihem-size-select,
.product-grid-item .spihem-size-single {
  flex: 0 1 140px !important;
  height: 38px !important;
  min-height: 0 !important;
  line-height: 36px !important;
  padding: 0 30px 0 14px !important;
  border: 1px solid #e7d9c9 !important;
  border-radius: 999px !important;
  background-color: #fffaf3 !important;
  color: #3f2a1d !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  box-shadow: none !important;
  margin: 0 !important;
}
.product-grid-item .spihem-size-single {
  display: inline-flex;
  align-items: center;
  padding: 0 14px !important;
  background-image: none !important;
}
.product-grid-item .spihem-size-single.is-empty { visibility: hidden; }

.spihem-card-actions {
  display: flex !important;
  gap: 8px !important;
  margin-top: auto !important;
  align-items: stretch;
}
.spihem-card-actions .spihem-card-add {
  flex: 1 1 auto;
  height: 44px;
  margin: 0 !important;
  padding: 0 12px !important;
  border: 0 !important;
  border-radius: 10px !important;
  background: #9f4103 !important;
  color: #fff !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  line-height: 44px !important;
  box-shadow: none !important;
  transition: background .2s ease, transform .2s ease !important;
}
.spihem-card-actions .spihem-card-add:hover { background: #7f3402 !important; }
.spihem-card-actions .spihem-card-view {
  flex: 0 0 44px;
  width: 44px !important;
  height: 44px !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  border: 1.5px solid #9f4103 !important;
  border-radius: 10px !important;
  background: #fff !important;
  color: #9f4103 !important;
  box-shadow: none !important;
  transition: background .2s ease, color .2s ease !important;
}
.spihem-card-actions .spihem-card-view:hover { background: #9f4103 !important; color: #fff !important; }
.spihem-eye-icon { display: block; pointer-events: none; }

/* =========================================================
   QUICK VIEW POPUP
   ========================================================= */
body.spihem-modal-open { overflow: hidden; }
#spihem-product-modal.spihem-modal {
  z-index: 100001 !important;
  padding: 16px !important;
  background: rgba(20, 10, 6, 0.65) !important;
  backdrop-filter: blur(3px);
}
#spihem-product-modal .spihem-qv {
  position: relative;
  display: grid !important;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  width: 100% !important;
  max-width: 880px !important;
  max-height: calc(100vh - 32px);
  overflow-y: auto;
  padding: 32px !important;
  border-radius: 20px !important;
  background: #fff !important;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.35) !important;
  text-align: left;
  animation: spihemPop .3s cubic-bezier(.16,1,.3,1);
}
#spihem-product-modal .spihem-modal-close {
  position: absolute !important;
  top: 12px !important;
  right: 12px !important;
  z-index: 2;
  width: 38px !important;
  height: 38px !important;
  min-width: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  border: 0 !important;
  border-radius: 50% !important;
  background: #f5ede4 !important;
  color: #3f2a1d !important;
  line-height: 1 !important;
  box-shadow: none !important;
  cursor: pointer;
}
#spihem-product-modal .spihem-modal-close:hover { background: #9f4103 !important; color: #fff !important; }
#spihem-product-modal .spihem-qv-media { min-width: 0; }
#spihem-product-modal .spihem-qv-main {
  aspect-ratio: 1 / 1;
  border-radius: 16px;
  background: linear-gradient(145deg, #fff, #fff5e7);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
#spihem-product-modal .spihem-modal-main-img {
  width: 100% !important;
  height: 100% !important;
  max-height: none !important;
  object-fit: contain !important;
  padding: 18px;
  margin: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
}
#spihem-product-modal .spihem-modal-thumbs { display: flex; gap: 10px; margin-top: 12px !important; flex-wrap: wrap; }
#spihem-product-modal .spihem-modal-thumb {
  width: 64px !important;
  height: 64px !important;
  object-fit: contain;
  padding: 6px;
  border: 2px solid #eadbcb !important;
  border-radius: 10px !important;
  background: #fff;
  cursor: pointer;
}
#spihem-product-modal .spihem-modal-thumb.active { border-color: #9f4103 !important; }
#spihem-product-modal .spihem-qv-info { display: flex; flex-direction: column; min-width: 0; padding-top: 6px; }
#spihem-product-modal .spihem-qv-badge {
  align-self: flex-start;
  margin-bottom: 10px;
  padding: 4px 12px;
  border-radius: 999px;
  background: linear-gradient(90deg, #e53935, #ff9800);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .5px;
  text-transform: uppercase;
}
#spihem-product-modal .spihem-qv-info h3 {
  margin: 0 40px 8px 0 !important;
  font-size: 28px !important;
  line-height: 1.2 !important;
  color: #24130d !important;
}
#spihem-product-modal .spihem-modal-price { font-size: 26px !important; font-weight: 800 !important; color: #9f4103 !important; margin: 0 0 12px !important; }
#spihem-product-modal .spihem-modal-desc { margin: 0 0 18px !important; color: #5c4a42 !important; font-size: 15px !important; line-height: 1.6 !important; }
#spihem-product-modal .spihem-qv-label { font-size: 13px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: #8a7466; margin: 0 0 8px; }
#spihem-product-modal .spihem-modal-sizes { display: flex !important; flex-wrap: wrap; gap: 8px !important; margin: 0 0 18px !important; }
#spihem-product-modal .spihem-size-chip {
  height: 40px !important;
  min-width: 64px;
  margin: 0 !important;
  padding: 0 16px !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  border: 1.5px solid #e2cfbd !important;
  border-radius: 999px !important;
  background: #fff !important;
  color: #3f2a1d !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  line-height: 1 !important;
  box-shadow: none !important;
  cursor: pointer;
}
#spihem-product-modal .spihem-size-chip:hover { border-color: #9f4103 !important; }
#spihem-product-modal .spihem-size-chip.active { background: #9f4103 !important; border-color: #9f4103 !important; color: #fff !important; }
#spihem-product-modal .spihem-qv-buy { display: flex; gap: 12px; align-items: stretch; margin-top: auto; }
#spihem-product-modal .spihem-qty {
  display: inline-flex !important;
  align-items: center;
  flex: 0 0 auto;
  height: 50px;
  margin: 0 !important;
  border: 1.5px solid #e2cfbd;
  border-radius: 12px;
  overflow: hidden;
}
#spihem-product-modal .spihem-qty button {
  width: 44px !important;
  height: 100% !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: #fff8f0 !important;
  color: #9f4103 !important;
  font-size: 22px !important;
  line-height: 1 !important;
  box-shadow: none !important;
  cursor: pointer;
}
#spihem-product-modal .spihem-qty button:hover { background: #f5e3cf !important; }
#spihem-product-modal #spihem-modal-qty { min-width: 44px; text-align: center; font-size: 17px; font-weight: 700; color: #24130d; }
#spihem-product-modal .spihem-modal-add {
  flex: 1 1 auto;
  height: 50px !important;
  margin: 0 !important;
  padding: 0 20px !important;
  border: 0 !important;
  border-radius: 12px !important;
  background: #9f4103 !important;
  color: #fff !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  line-height: 50px !important;
  box-shadow: 0 8px 18px rgba(159, 65, 3, 0.25) !important;
  cursor: pointer;
}
#spihem-product-modal .spihem-modal-add:hover { background: #7f3402 !important; }
@media (max-width: 720px) {
  #spihem-product-modal .spihem-qv { grid-template-columns: 1fr; gap: 18px; padding: 20px !important; }
  #spihem-product-modal .spihem-qv-main { aspect-ratio: 4 / 3; }
  #spihem-product-modal .spihem-qv-info h3 { font-size: 22px !important; }
  #spihem-product-modal .spihem-modal-price { font-size: 22px !important; }
}

/* =========================================================
   CART: delivery details before a WhatsApp order
   ========================================================= */
.spihem-delivery { margin: 14px 0 12px; text-align: left; }
.spihem-delivery h4 { margin: 0 0 10px !important; font-size: 16px !important; color: #24130d !important; }
.spihem-delivery label { display: block; margin: 0 0 10px; font-size: 13px; font-weight: 600; color: #3f2a1d; }
.spihem-delivery input,
.spihem-delivery textarea {
  display: block;
  width: 100% !important;
  margin: 4px 0 0 !important;
  padding: 10px 12px !important;
  border: 1px solid #e2cfbd !important;
  border-radius: 10px !important;
  background: #fffdf9 !important;
  color: #24130d !important;
  font-size: 15px !important;
  font-weight: 400;
  line-height: 1.4 !important;
  height: auto !important;
  box-shadow: none !important;
  resize: vertical;
}
.spihem-delivery input:focus,
.spihem-delivery textarea:focus { outline: none; border-color: #f2b63c !important; box-shadow: 0 0 0 3px rgba(242, 182, 60, 0.3) !important; }
.spihem-delivery .is-invalid { border-color: #d32f2f !important; background: #fff6f6 !important; }
.spihem-delivery-msg { margin: 0; color: #c62828; font-size: 13px; font-weight: 600; }
.spihem-delivery-msg:empty { display: none; }

/* =========================================================
   FOOTER: venture line, ISO & FSSAI
   ========================================================= */
.spihem-footer-venture { margin: 10px 0 12px !important; color: #f2b63c !important; font-weight: 600; font-style: italic; }
.spihem-footer-licence {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px 12px;
  margin: 0 0 22px;
  padding-bottom: 22px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
}
.spihem-footer-licence strong { color: #fff; font-size: 14px; letter-spacing: .5px; }
.spihem-licence-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border: 1px solid rgba(242, 182, 60, 0.45);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 13px;
}
.spihem-licence-chip b { color: #f2b63c; font-weight: 700; letter-spacing: .5px; }
.site-footer .contact-info a[href^="tel:"] { color: inherit; }

/* Our Story: three buttons wrap neatly */
.spihem-story-actions .spihem-btn { display: inline-flex !important; align-items: center; gap: 8px; }

/* The theme turns every <select> into a select2 widget once the page is ready,
   so cards drawn before that look different from cards drawn after a filter
   click. Product cards always use the native picker. */
.product-grid-item .spihem-card-meta .select2-container { display: none !important; }
.product-grid-item .spihem-card-meta select.spihem-size-select.select2-hidden-accessible {
  position: static !important;
  clip: auto !important;
  clip-path: none !important;
  width: auto !important;
  height: 38px !important;
  margin: 0 !important;
  padding: 0 30px 0 14px !important;
  overflow: visible !important;
  white-space: normal !important;
  border: 1px solid #e7d9c9 !important;
}
.product-grid-item .spihem-size-select {
  background: #fffaf3 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%239f4103' stroke-width='1.8'/%3E%3C/svg%3E") right 12px center / 10px 7px no-repeat !important;
  -webkit-appearance: none !important;
  appearance: none !important;
  cursor: pointer;
}

/* Quick view: quantity row sits right under its label */
#spihem-product-modal .spihem-qv-buy { margin-top: 0 !important; }

/* Cart: compact address box */
.spihem-delivery textarea { min-height: 64px !important; max-height: 160px; }
.spihem-card-actions .spihem-card-view .spihem-eye-icon { width: 22px !important; height: 22px !important; }

/* Cart page: columns may shrink (the item table scrolls inside its card instead
   of pushing the page wider), and the summary only sticks on wide screens where
   it fits; with the delivery form it is taller than a phone screen. */
.spihem-cart-page-layout { grid-template-columns: minmax(0, 1fr) 360px !important; }
.spihem-cart-page-layout > * { min-width: 0; }
.spihem-cart-page-main { overflow-x: auto; }
@media (max-width: 991px) {
  .spihem-cart-page-layout { grid-template-columns: minmax(0, 1fr) !important; }
  .spihem-summary-card { position: static !important; top: auto !important; }
}
@media (max-height: 900px) {
  .spihem-summary-card { position: static !important; }
}

/* Cart table: scrolls sideways on tablets, becomes stacked item rows on phones */
.spihem-cart-table th, .spihem-cart-table td { word-break: normal !important; overflow-wrap: normal !important; white-space: nowrap; }
.spihem-cart-table .spihem-cart-col-info { white-space: normal; }
@media (min-width: 641px) {
  .spihem-cart-table { min-width: 600px; }
}
@media (max-width: 640px) {
  .spihem-cart-page-main { padding: 16px !important; }
  .spihem-cart-table { min-width: 0 !important; }
  .spihem-cart-table thead { display: none !important; }
  .spihem-cart-table, .spihem-cart-table tbody { display: block !important; width: 100% !important; }
  .spihem-cart-table tr {
    display: grid !important;
    grid-template-columns: 64px minmax(0, 1fr) auto;
    grid-template-areas:
      "img info remove"
      "img price total"
      "img qty qty";
    gap: 6px 12px;
    align-items: center;
    padding: 14px 0;
    border-bottom: 1px solid #f1f5f9;
  }
  .spihem-cart-table td { display: block !important; padding: 0 !important; border: 0 !important; white-space: normal; }
  .spihem-cart-table .spihem-cart-col-img { grid-area: img; align-self: start; }
  .spihem-cart-table .spihem-cart-col-info { grid-area: info; }
  .spihem-cart-table .spihem-cart-col-info h4 { margin: 0 !important; font-size: 16px !important; }
  .spihem-cart-table .spihem-cart-col-price { grid-area: price; font-size: 14px; color: #6b5a52; }
  .spihem-cart-table .spihem-cart-col-total { grid-area: total; text-align: right; font-weight: 700; }
  .spihem-cart-table .spihem-cart-col-qty { grid-area: qty; }
  .spihem-cart-table .spihem-cart-col-remove { grid-area: remove; text-align: right; }
  .spihem-cart-actions { flex-wrap: wrap; gap: 10px; }
}


/* =========================================================
   SHARED LAYOUT: hero actions, footer bar, product names, legal pages
   ========================================================= */

/* Hero: brand association above the headline */
.spihem-hero-venture {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 14px;
  color: #f4b323;
  font-family: "Work Sans", Arial, sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.spihem-hero-venture::before {
  content: "";
  width: 36px;
  height: 2px;
  border-radius: 2px;
  background: #f4b323;
}

/* Hero: Shop Now and Download Brochure share one size and style */
.home-slideshow-section .spihem-hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: 14px;
}

.home-slideshow-section .dt-sc-btn.spihem-hero-cta {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  width: 236px;
  height: 52px;
  white-space: nowrap;
  margin: 0 !important;
  background: var(--spihem-saffron) !important;
  border: 1px solid var(--spihem-saffron) !important;
  border-radius: 999px !important;
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.22) !important;
  color: var(--spihem-ink) !important;
  font-size: 0.9rem !important;
  font-weight: 800 !important;
  letter-spacing: 0.06em !important;
  line-height: 1 !important;
  padding: 0 20px !important;
  text-align: center;
  text-decoration: none !important;
  text-transform: uppercase !important;
  transition: transform .2s ease, background-color .2s ease, box-shadow .2s ease !important;
}

.home-slideshow-section .dt-sc-btn.spihem-hero-cta:hover,
.home-slideshow-section .dt-sc-btn.spihem-hero-cta:focus-visible {
  background: #ffd46d !important;
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.32) !important;
  transform: translateY(-2px);
}

@media (max-width: 575px) {
  .home-slideshow-section .spihem-hero-actions { gap: 12px; }
  .home-slideshow-section .dt-sc-btn.spihem-hero-cta {
    flex: 1 1 0;
    width: auto;
    min-width: 0;
    height: 50px;
    font-size: 0.74rem !important;
    letter-spacing: 0.04em !important;
    padding: 0 12px !important;
  }
  .spihem-hero-venture { font-size: 0.72rem; display: flex; width: 100%; justify-content: center; }
}

/* Product names: Fraunces, the display face used across the shop, cards and cart */
.spihem-product-name {
  font-family: "Fraunces", Georgia, "Times New Roman", serif !important;
  font-weight: 600 !important;
  font-optical-sizing: auto;
  letter-spacing: 0 !important;
  line-height: 1.2 !important;
  text-transform: none !important;
}

/* Icons (Iconify Material Design Icons, inline SVG) keep the size of the text around them */
.spihem-icon {
  display: inline-block;
  width: 1em;
  height: 1em;
  flex: none;
  vertical-align: -0.125em;
  overflow: visible;
}

.spihem-badge-icon { margin-right: 5px; width: 1.25em; height: 1.25em; vertical-align: -0.2em; }
.spihem-cat-icon { margin-right: 6px; }
.spihem-cart-empty-icon .spihem-icon { width: 44px; height: 44px; }
.spihem-cart-empty-icon { margin-bottom: 12px; }

/* Footer bottom: one row, copyright and developer credit left, legal links right */
.site-footer .spihem-footer-bottom { padding: 0 0 26px; border-top: 1px solid rgba(255, 255, 255, 0.1); }

/* One divider (the bottom container's top border) separates the licence line and the bar */
.spihem-footer-licence {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 22px 0 22px;
  margin-top: 8px;
  border: 0 !important;
}

.spihem-footer-bar {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px 32px;
  padding-top: 0;
  border: 0;
}

.spihem-footer-bar__copy {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 12px;
  min-width: 0;
}

.site-footer .spihem-footer-bar p {
  margin: 0 !important;
  color: #a8a29e !important;
  font-size: 14px !important;
  line-height: 1.5 !important;
}

.spihem-footer-bar .spihem-footer-sep { color: rgba(255, 255, 255, 0.25); }

.site-footer .spihem-footer-credit a {
  color: #fbbf24 !important;
  font-weight: 700;
  text-decoration: none !important;
  border-bottom: 1px solid rgba(251, 191, 36, 0.5);
}

.site-footer .spihem-footer-credit a:hover { border-bottom-color: #fbbf24; }

.site-footer .spihem-footer-links {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: flex-end;
  gap: 8px 26px;
  white-space: nowrap;
}

.site-footer .spihem-footer-links a {
  color: #d6d3d1 !important;
  font-size: 14px;
  text-decoration: none !important;
  transition: color 0.2s ease;
}

.site-footer .spihem-footer-links a:hover { color: #fbbf24 !important; }

@media (max-width: 991px) {
  .spihem-footer-bar { flex-wrap: wrap; }
  .site-footer .spihem-footer-links { flex-wrap: wrap; gap: 8px 20px; }
}

@media (max-width: 767px) {
  .spihem-footer-bar { flex-direction: column; align-items: flex-start; }
  .site-footer .spihem-footer-links { justify-content: flex-start; gap: 8px 18px; white-space: normal; }
  .spihem-footer-licence { justify-content: flex-start; }
  .spihem-footer-sep { display: none; }
}

/* Legal pages: same hero and container as the other inner pages */
.spihem-policy-section { padding: 56px 0 96px; }
.spihem-policy-section .container { max-width: 880px; }
.spihem-policy-section .spihem-policy-intro { margin-top: 0; }
.spihem-policy-section .spihem-policy-card { margin-top: 28px; }


/* Brand logo in the navbar: the new logo is narrower than the old one, so size it by height */
html body #sticky-header .logo img {
  width: auto !important;
  height: 68px !important;
  max-width: 220px !important;
  object-fit: contain;
}

@media (max-width: 767px) {
  html body #sticky-header .logo img { height: 54px !important; max-width: 170px !important; }
}

/* Shop categories: every row left-aligned with its icon inline; Best Seller leads and is highlighted */
#sidebar-sticky .filter-panel ul li .spihem-cat-btn {
  display: flex !important;
  align-items: center;
  justify-content: flex-start !important;
  gap: 10px;
  text-align: left !important;
}

#sidebar-sticky .filter-panel ul li .spihem-cat-btn[data-spihem-category="bestsellers"] {
  background: var(--spihem-saffron) !important;
  border-color: var(--spihem-saffron) !important;
  color: var(--spihem-ink) !important;
  font-weight: 800 !important;
  box-shadow: 0 8px 18px rgba(242, 182, 60, 0.28);
}

#sidebar-sticky .filter-panel ul li .spihem-cat-btn[data-spihem-category="bestsellers"].active,
#sidebar-sticky .filter-panel ul li .spihem-cat-btn[data-spihem-category="bestsellers"]:hover {
  background: #ffd46d !important;
}

#sidebar-sticky .spihem-cat-icon {
  color: var(--spihem-ink);
  width: 1.1em;
  height: 1.1em;
  flex: none;
}

/* Section photos (About page): never show a dark box while the image loads, and keep the frame's proportions */
.dt-sc-image {
  background-color: #f3e7d3;
}

.dt-sc-image img {
  display: block;
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 1280 / 760;
  object-fit: cover;
  background-color: #f3e7d3;
}

/* Open shop sidebar (phone and tablet) sits above the sticky header, so its close button can be tapped */
.has-sidebar.open .sidebar {
  z-index: 10000;
}

.has-sidebar.open .sidebar .dt-sc-btn.close-icon {
  z-index: 10001;
}

/* Inner pages on phones: text sections stack in one left-aligned column at full width */
@media (max-width: 767px) {
  .dt-sc-image-section-wrapper .dt-sc-image-section-content,
  .dt-sc-image-section-wrapper .dt-sc-image-section-content * {
    text-align: left !important;
  }

  .dt-sc-image-section-content .dt-sc-main-title,
  .dt-sc-image-section-content .dt-sc-main-heading {
    width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  .dt-sc-image-section-wrapper,
  .dt-sc-image-section-content {
    width: 100% !important;
    float: none !important;
  }
}

/* Legal pages: fluid container that never exceeds the screen (the theme fixes .container at 880px) */
html body .spihem-policy-section .container {
  width: 100% !important;
  max-width: 880px !important;
  padding-left: 20px !important;
  padding-right: 20px !important;
  box-sizing: border-box !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

html body .spihem-policy-section .spihem-policy-intro,
html body .spihem-policy-section .spihem-policy-card {
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
  overflow-wrap: anywhere;
}

@media (max-width: 575px) {
  html body .spihem-policy-section .spihem-policy-card {
    padding: 22px 18px !important;
    border-radius: 14px !important;
  }
}
