/* ===== SAPPHIRE HOME — GLOBAL DESIGN SYSTEM ===== */
:root {
  --sh-font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --sh-primary: #0A192F;
  --sh-text: #0A192F;
  --sh-text-dark: #0A192F;
  --sh-text-muted: #888;
  --sh-text-light: #aaa;
  --sh-accent: #B28C63;
  --sh-accent-hover: #9c7750;
  --sh-bg: #f8f9fa;
  --sh-bg-card: #fff;
  --sh-border: #eaeaea;
  --sh-border-light: #f0f0f0;
  --sh-radius: 8px;
  --sh-radius-lg: 12px;
  --sh-shadow-sm: 0 1px 3px rgba(0,0,0,0.04);
  --sh-shadow-md: 0 4px 12px rgba(0,0,0,0.06);
  --sh-transition: 0.2s ease;
}

body {
  font-family: var(--sh-font);
  font-weight: 400;
  color: var(--sh-text);
  font-size: 14px;
  line-height: 1.6;
  width: 100%;
  background: var(--sh-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Heading Hierarchy */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--sh-font);
  color: var(--sh-text-dark);
  font-weight: 600;
  line-height: 1.3;
  margin-top: 0;
}
h1 { font-size: 24px; font-weight: 700; letter-spacing: -0.3px; }
h2 { font-size: 20px; font-weight: 600; letter-spacing: -0.2px; }
h3 { font-size: 17px; }
h4 { font-size: 15px; }
h5 { font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; }
h6 { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; color: var(--sh-text-muted); }

/* Paragraphs */
p { margin-bottom: 12px; }

/* Icons */
.fa { font-size: 14px; }

/* Links */
a {
  color: var(--sh-text-dark);
  transition: color var(--sh-transition);
}
a:hover {
  text-decoration: none;
  color: var(--sh-accent);
}

/* Form Elements */
legend {
  font-size: 16px;
  font-weight: 600;
  color: var(--sh-text-dark);
  padding: 7px 0px;
  border-bottom: 1px solid var(--sh-border);
}
label {
  font-size: 13px;
  font-weight: 500;
  color: #555;
}
select.form-control, textarea.form-control, input[type="text"].form-control, input[type="password"].form-control, input[type="datetime"].form-control, input[type="datetime-local"].form-control, input[type="date"].form-control, input[type="month"].form-control, input[type="time"].form-control, input[type="week"].form-control, input[type="number"].form-control, input[type="email"].form-control, input[type="url"].form-control, input[type="search"].form-control, input[type="tel"].form-control, input[type="color"].form-control {
  font-size: 14px;
  font-family: var(--sh-font);
  border-radius: var(--sh-radius);
  border: 1px solid #ddd;
  box-shadow: none;
  height: 42px;
  transition: border-color var(--sh-transition);
}
select.form-control:focus, textarea.form-control:focus, input.form-control:focus {
  border-color: var(--sh-accent);
  box-shadow: 0 0 0 3px rgba(255,96,0,0.08);
}
textarea.form-control {
  height: auto;
  min-height: 100px;
}
.input-group input, .input-group select, .input-group .dropdown-menu, .input-group .popover {
  font-size: 14px;
}
.input-group .input-group-addon {
  font-size: 13px;
  height: 42px;
  border-radius: var(--sh-radius);
}

/* Buttons */
.btn {
  font-family: var(--sh-font);
  font-size: 14px;
  font-weight: 600;
  border-radius: var(--sh-radius);
  transition: all var(--sh-transition);
  padding: 10px 20px;
  letter-spacing: 0.2px;
}
.btn-primary {
  background: var(--sh-accent);
  border-color: var(--sh-accent);
}
.btn-primary:hover, .btn-primary:focus, .btn-primary:active, .btn-primary.active {
  background: var(--sh-accent-hover);
  border-color: var(--sh-accent-hover);
}
.btn-default {
  background: transparent;
  border: 1px solid var(--sh-primary);
  color: var(--sh-primary);
}
.btn-default:hover, .btn-default:focus, .btn-default:active {
  background: var(--sh-primary);
  color: #fff;
  border-color: var(--sh-primary);
}

/* Alerts */
.alert {
  font-size: 14px;
  border-radius: var(--sh-radius);
  border: none;
  padding: 14px 18px;
  line-height: 1.5;
}
.alert i { margin-right: 8px; }
.alert-success { background: #f0faf0; color: #2d6a2e; }
.alert-danger  { background: #fef0f0; color: #c0392b; }
.alert-warning { background: #fff8f0; color: #e67e22; }
.alert-info    { background: #f0f6ff; color: #2980b9; }

/* Tables */
.table { font-size: 14px; }
.table > thead > tr > th {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--sh-text-muted);
  border-bottom: 2px solid var(--sh-border);
  padding: 12px 15px;
}
.table > tbody > tr > td {
  padding: 14px 15px;
  vertical-align: middle;
  border-color: var(--sh-border-light);
}
.table-bordered { border-color: var(--sh-border); }

/* Panels */
.panel { border-radius: var(--sh-radius); box-shadow: var(--sh-shadow-sm); border-color: var(--sh-border); }
.panel-heading { border-radius: var(--sh-radius) var(--sh-radius) 0 0; }
.panel-default > .panel-heading { background: #fafafa; border-color: var(--sh-border); }

/* Wells */
.well {
  background: #fafafa;
  border: 1px solid var(--sh-border);
  border-radius: var(--sh-radius);
  box-shadow: none;
  padding: 20px;
}

/* Pagination */
.pagination > li > a, .pagination > li > span {
  color: var(--sh-text);
  font-size: 13px;
  font-weight: 500;
  border-color: var(--sh-border);
  padding: 8px 14px;
}
.pagination > .active > a, .pagination > .active > span {
  background: var(--sh-accent);
  border-color: var(--sh-accent);
}
.pagination > li > a:hover {
  color: var(--sh-accent);
  border-color: var(--sh-accent);
  background: #fff5f0;
}

/* Nav Tabs */
.nav-tabs {
  margin-bottom: 20px;
  border-bottom: 2px solid var(--sh-border);
}
.nav-tabs > li > a {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--sh-text-muted);
  border: none;
  padding: 12px 18px;
  margin-bottom: -2px;
  transition: color var(--sh-transition);
}
.nav-tabs > li > a:hover {
  border: none;
  border-bottom: 2px solid #ccc;
  background: transparent;
  color: var(--sh-text-dark);
}
.nav-tabs > li.active > a, .nav-tabs > li.active > a:hover, .nav-tabs > li.active > a:focus {
  border: none;
  border-bottom: 2px solid var(--sh-accent);
  color: var(--sh-accent);
  background: transparent;
  font-weight: 700;
}

/* Form Required */
div.required .control-label:before {
  content: '* ';
  color: var(--sh-accent);
  font-weight: bold;
}

/* Dropdown */
.dropdown-menu {
  border-radius: var(--sh-radius);
  box-shadow: var(--sh-shadow-md);
  border: 1px solid var(--sh-border);
  padding: 6px 0;
}
.dropdown-menu li > a {
  font-size: 14px;
  padding: 9px 18px;
  color: var(--sh-text);
  transition: all var(--sh-transition);
}
.dropdown-menu li > a:hover {
  text-decoration: none;
  color: #fff;
  background-color: var(--sh-accent);
  background-image: none;
}

/* Global Page Title — use .sh-page-title class on any h1 */
.sh-page-title,
#content > h1,
#content > h2 {
  font-size: 22px;
  font-weight: 700;
  color: var(--sh-text-dark);
  letter-spacing: -0.3px;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--sh-border);
}

/* Global container background */
#common-home,
#checkout-cart,
#checkout-checkout,
#account-account,
#account-order,
#account-wishlist,
#information-information,
#information-contact,
#product-category,
#product-product {
  background: var(--sh-bg);
}

/* Content area spacing */
#content {
  padding-bottom: 40px;
}

/* Fix some bootstrap issues */
span.hidden-xs, span.hidden-sm, span.hidden-md, span.hidden-lg {
  display: inline;
}
/* ===== OLD OPENCART HEADER NEUTRALIZATION ===== */
/* Global Section Title */
.sh-section-title {
  font-size: 20px;
  font-weight: 600;
  color: var(--sh-text-dark);
  text-transform: uppercase;
  letter-spacing: 1px;
  text-align: center;
  margin-top: 0;
  margin-bottom: 30px;
}

/* top */
#top { display: none !important; }
/* old logo margin */
#logo { margin: 0; }
/* old search */
#search { margin: 0; }
#search .input-lg { display: none; }
#search .btn-lg { display: none; }
/* old cart */
#cart { margin: 0; }
/* old menu */
#menu {
  display: none !important;
}
#menu .btn-navbar { display: none; }
@media (min-width: 768px) {
	#menu .dropdown:hover .dropdown-menu { display: none; }
}

/* ===== SAPPHIREHOME PREMIUM HEADER ===== */

/* Announcement Bar */
#sapphire-announcement {
  padding: 8px 0;
  font-size: 12px;
  letter-spacing: 0.8px;
  text-align: center;
  line-height: 1.4;
}
.announcement-static {
  text-align: center;
}
.announcement-marquee {
  overflow: hidden;
  white-space: nowrap;
}
.announcement-marquee span {
  display: inline-block;
  animation: sapphire-marquee 20s linear infinite;
}
@keyframes sapphire-marquee {
  0%   { transform: translateX(100%); }
  100% { transform: translateX(-100%); }
}

/* Header */
#sapphire-header {
  background: #fff;
  padding: 22px 0;
}
.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}
.header-col {
  flex: 1;
}
.header-col-left {
  display: flex;
  align-items: center;
}
.header-col-center {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  width: auto;
}
.header-col-right {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

/* Logo */
.header-logo-link img {
  max-height: 80px;
  display: inline-block;
}
.header-logo-text {
  font-size: 26px;
  font-weight: 600;
  color: var(--sh-primary);
  text-decoration: none;
  letter-spacing: 2px;
  text-transform: uppercase;
}
.header-logo-text:hover {
  color: var(--sh-primary);
  text-decoration: none;
}

/* Header Action Buttons */
.header-actions {
  display: flex;
  align-items: center;
  gap: 24px;
}
.header-action-btn {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  color: var(--sh-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.2s ease;
  text-decoration: none;
  line-height: 1;
}
.header-action-btn:hover {
  opacity: 0.55;
  color: var(--sh-primary);
  text-decoration: none;
}
.header-action-btn svg {
  display: block;
}
#sapphire-cart-toggle {
  position: relative;
}
.cart-badge {
  position: absolute;
  top: -6px;
  right: -8px;
  background: #e74c3c;
  color: #fff;
  font-size: 10px;
  font-weight: bold;
  padding: 2px 5px;
  border-radius: 10px;
  line-height: 1;
  min-width: 16px;
  text-align: center;
}

/* Search Dropdown */
#sapphire-search-dropdown {
  background: #f9f9f9;
  padding: 0;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}
#sapphire-search-dropdown.open {
  max-height: 80px;
  padding: 16px 0;
}
.search-bar-inner {
  display: flex;
  max-width: 500px;
  margin: 0 auto;
}
.search-bar-inner input {
  flex: 1;
  border: 1px solid #ddd;
  border-right: none;
  padding: 10px 14px;
  font-size: 14px;
  outline: none;
  border-radius: 0;
  background: #fff;
}
.search-bar-inner input:focus {
  border-color: #999;
}
.search-bar-inner button {
  background: var(--sh-primary);
  color: #fff;
  border: 1px solid var(--sh-primary);
  padding: 10px 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  border-radius: 0;
}
.search-bar-inner button:hover {
  background: #333;
}

/* Hamburger */
.sapphire-hamburger {
  background: none;
  border: none;
  padding: 6px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.sapphire-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--sh-primary);
}

/* Single Category Menu (Desktop & Mobile) */
#sapphire-menu {
  background: #fff;
  text-align: center;
}
#sapphire-menu .sapphire-cat-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
#sapphire-menu .sapphire-cat-list li a {
  color: var(--sh-primary);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  text-decoration: none;
  transition: opacity 0.2s ease, background 0.2s;
  display: inline-block;
}
#sapphire-menu .sapphire-cat-list li a:hover {
  opacity: 0.5;
}

/* Desktop Menu Layout */
@media (min-width: 992px) {
  #sapphire-menu-collapse {
    display: block !important;
    height: auto !important;
  }
  #sapphire-menu {
    padding: 55px 0 12px 0;
  }
  #sapphire-menu .sapphire-cat-list {
    display: inline-flex;
    gap: 32px;
  }
  #sapphire-menu .sapphire-cat-list li a {
    font-size: 13px;
    padding: 4px 0;
  }
}

/* Mobile Menu Layout */
@media (max-width: 991px) {
  #sapphire-menu {
    text-align: left;
  }
  #sapphire-menu .sapphire-cat-list {
    display: block;
    padding: 10px 0;
  }
  #sapphire-menu .sapphire-cat-list li a {
    display: block;
    font-size: 14px;
    padding: 12px 20px;
  }
  #sapphire-menu .sapphire-cat-list li a:hover {
    background: #fafafa;
    opacity: 1;
  }
}

/* Drawer */
body.drawer-open { overflow: hidden; }
#sapphire-drawer-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.4);
  z-index: 1040;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease;
}
#sapphire-drawer-overlay.open {
  opacity: 1;
  visibility: visible;
}
#sapphire-drawer {
  position: fixed;
  top: 0;
  right: -380px;
  width: 380px;
  max-width: 90vw;
  height: 100%;
  background: #fff;
  z-index: 1050;
  box-shadow: -4px 0 20px rgba(0,0,0,0.08);
  transition: right 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
}
#sapphire-drawer.open {
  right: 0;
}
.drawer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px;
  border-bottom: 1px solid #f0f0f0;
}
.drawer-title {
  font-size: 16px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--sh-primary);
}
#sapphire-drawer-close {
  background: none;
  border: none;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  color: #999;
  padding: 0;
}
#sapphire-drawer-close:hover {
  color: var(--sh-primary);
}
.drawer-content {
  padding: 24px;
  overflow-y: auto;
  flex: 1;
}
.drawer-nav {
  list-style: none;
  padding: 0;
  margin: 0;
}
.drawer-nav li a {
  display: block;
  padding: 14px 0;
  color: var(--sh-primary);
  font-size: 14px;
  letter-spacing: 0.3px;
  border-bottom: 1px solid #f5f5f5;
  text-decoration: none;
  transition: padding-left 0.2s ease;
}
.drawer-nav li a:hover {
  padding-left: 8px;
  color: var(--sh-primary);
}
.drawer-subtitle {
  font-size: 15px;
  font-weight: 600;
  color: var(--sh-primary);
  margin: 0 0 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.drawer-field {
  margin-bottom: 16px;
}
.drawer-field label {
  display: block;
  font-size: 12px;
  color: #666;
  margin-bottom: 6px;
  font-weight: 500;
}
.drawer-field input {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #ddd;
  font-size: 14px;
  outline: none;
  border-radius: 0;
  transition: border-color 0.2s;
}
.drawer-field input:focus {
  border-color: var(--sh-primary);
}
.drawer-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  font-size: 12px;
}
.drawer-check {
  color: #666;
  font-weight: normal;
  cursor: pointer;
}
.drawer-check input {
  margin-right: 6px;
}
.drawer-forgot {
  color: #888;
  text-decoration: none;
  font-size: 12px;
}
.drawer-forgot:hover {
  color: var(--sh-primary);
}
.drawer-btn-primary {
  display: block;
  width: 100%;
  background: var(--sh-primary);
  color: #fff;
  border: none;
  padding: 13px;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  cursor: pointer;
  transition: background 0.2s;
  text-align: center;
}
.drawer-btn-primary:hover {
  background: #333;
}
.drawer-divider {
  height: 1px;
  background: #eee;
  margin: 20px 0;
}
.drawer-btn-secondary {
  display: block;
  width: 100%;
  background: #fff;
  color: var(--sh-primary);
  border: 1px solid var(--sh-primary);
  padding: 12px;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  text-decoration: none;
  text-align: center;
  transition: background 0.2s, color 0.2s;
}
.drawer-btn-secondary:hover {
  background: var(--sh-primary);
  color: #fff;
  text-decoration: none;
}

/* Responsive Header */
@media (min-width: 992px) {
  .sapphire-hamburger { display: none !important; }
}

/* SapphireHome Showcase (Vitrin ÃœrÃ¼nleri) */
.sapphire-showcase-section {
  padding: 60px 0;
  background-color: #fcfcfc;
}
.showcase-title {
  text-align: center;
  font-size: 32px;
  font-weight: 600;
  color: var(--sh-primary);
  margin-bottom: 10px;
  margin-top: 0;
  letter-spacing: 0.5px;
}
.showcase-description {
  text-align: center;
  font-size: 16px;
  color: #666;
  max-width: 600px;
  margin: 0 auto 40px;
}
.showcase-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
}
.showcase-card {
  width: 330px;
  height: 645px;
  background: #fff;
  border-radius: 2px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.03);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}
.showcase-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}
.showcase-image {
  width: 330px;
  height: 435px;
  overflow: hidden;
  position: relative;
  background: #f4f4f4;
}
.showcase-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.showcase-card:hover .showcase-image img {
  transform: scale(1.05);
}
.showcase-info {
  padding: 25px 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.showcase-model {
  font-size: 12px;
  color: #999;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}
.showcase-name {
  margin: 0 0 15px 0;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.4;
}
.showcase-name a {
  color: #222;
  text-decoration: none;
  transition: color 0.2s;
}
.showcase-name a:hover {
  color: #777;
}
.showcase-price {
  margin-top: auto;
  margin-bottom: 20px;
  font-size: 20px;
  font-weight: 600;
}
.price-normal {
  color: var(--sh-primary);
}
.price-new {
  color: #d32f2f;
  margin-right: 8px;
}
.price-old {
  font-size: 14px;
  font-weight: 400;
}
.showcase-btn {
  width: 100%;
  background: var(--sh-primary);
  color: #fff;
  border: none;
  padding: 12px;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 500;
  border-radius: 2px;
  transition: background 0.3s;
}
.showcase-btn:hover {
  background: #444;
  color: #fff;
}
@media (max-width: 767px) {
  .showcase-card {
    width: 100%;
    max-width: 330px;
  }
  .showcase-image {
    width: 100%;
  }
}

*:focus, *:active, a:focus, button:focus, input:focus, select:focus, textarea:focus {
    outline: none !important;
    box-shadow: none !important;
}

/* ===== SAPPHIREHOME PREMIUM PDP ===== */
.sapphire-pdp-container {
  margin-top: 20px;
  margin-bottom: 80px;
}
.sapphire-breadcrumb ul {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #999;
  padding: 0;
  margin-bottom: 40px;
}
.sapphire-breadcrumb li a {
  color: #999;
  text-decoration: none;
  transition: color 0.2s;
}
.sapphire-breadcrumb li a:hover {
  color: var(--sh-primary);
}
.sapphire-breadcrumb li.active {
  color: var(--sh-primary);
  font-weight: 500;
}
.sapphire-breadcrumb li.separator {
  color: #ddd;
}

.sapphire-pdp-main {
  display: flex;
  flex-wrap: wrap;
  gap: 50px;
  margin-bottom: 60px;
}
.sapphire-pdp-gallery {
  flex: 0 0 58%;
  max-width: 58%;
}
.sapphire-pdp-info {
  flex: 1;
  min-width: 300px;
}

/* Gallery */
.sapphire-gallery-layout {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}
.sapphire-gallery-thumbs {
  display: flex;
  flex-direction: column;
  gap: 15px;
  width: 90px;
  max-height: 650px;
  overflow-y: auto;
  scrollbar-width: none; /* Firefox */
}
.sapphire-gallery-thumbs::-webkit-scrollbar {
  display: none; /* Chrome/Safari */
}
.sapphire-thumb-item {
  cursor: pointer;
  border: 1px solid transparent;
  transition: border-color 0.3s;
}
.sapphire-thumb-item img {
  width: 100%;
  display: block;
  object-fit: cover;
  opacity: 0.6;
  transition: opacity 0.3s;
}
.sapphire-thumb-item:hover img, .sapphire-thumb-item.active img {
  opacity: 1;
}
.sapphire-thumb-item.active {
  border-color: var(--sh-primary);
}
.sapphire-gallery-main {
  flex: 1;
  background: #f9f9f9;
}

/* Info */
.pdp-title {
  font-size: 32px;
  font-weight: 400;
  color: var(--sh-primary);
  margin: 0 0 15px 0;
  line-height: 1.3;
}
.pdp-meta {
  font-size: 13px;
  color: #888;
  margin-bottom: 25px;
  display: flex;
  gap: 15px;
}
.pdp-meta a {
  color: var(--sh-primary);
  text-decoration: underline;
}
.pdp-short-desc {
  font-size: 14px;
  line-height: 1.6;
  color: #555;
  margin-bottom: 30px;
}
.pdp-price-area {
  margin-bottom: 30px;
}
.price-normal {
  font-size: 28px;
  font-weight: 500;
  color: var(--sh-primary);
  margin: 0;
}
.price-special-wrapper {
  display: flex;
  align-items: baseline;
  gap: 15px;
}
.price-old {
  font-size: 18px;
  text-decoration: line-through;
  color: #999;
}
.price-new {
  font-size: 28px;
  font-weight: 600;
  color: #d9534f;
  margin: 0;
}

/* Options */
.pdp-options {
  margin-bottom: 30px;
}
.pdp-options .control-label {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--sh-primary);
  margin-bottom: 10px;
  display: block;
  font-weight: 600;
}
.sapphire-select {
  border-radius: 0;
  border: 1px solid #ddd;
  height: 45px;
  box-shadow: none;
  font-size: 14px;
}
.sapphire-select:focus {
  border-color: var(--sh-primary);
}

/* Pill Group for Radio/Checkbox */
.sapphire-pill-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.sapphire-pill {
  margin: 0;
  cursor: pointer;
}
.sapphire-pill input {
  display: none;
}
.sapphire-pill span {
  display: block;
  padding: 10px 20px;
  border: 1px solid #ddd;
  background: #fff;
  color: #555;
  font-size: 13px;
  transition: all 0.2s;
  user-select: none;
}
.sapphire-pill:hover span {
  border-color: #999;
}
.sapphire-pill input:checked + span {
  border-color: var(--sh-primary);
  background: var(--sh-primary);
  color: #fff;
}

/* Actions */
.pdp-actions {
  display: flex;
  gap: 15px;
  margin-bottom: 20px;
}
.pdp-qty-wrapper {
  display: flex;
  border: 1px solid #ddd;
  height: 50px;
  width: 120px;
}
.qty-btn {
  background: #fff;
  border: none;
  width: 40px;
  font-size: 18px;
  cursor: pointer;
  color: #555;
  transition: background 0.2s;
}
.qty-btn:hover {
  background: #f5f5f5;
  color: var(--sh-primary);
}
.qty-input {
  width: 40px;
  border: none;
  text-align: center;
  font-size: 15px;
  color: var(--sh-primary);
  -moz-appearance: textfield;
}
.qty-input::-webkit-outer-spin-button,
.qty-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.pdp-btn-cart {
  flex: 1;
  background: var(--sh-primary);
  color: #fff;
  border: none;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.3s;
}
.pdp-btn-cart:hover {
  background: #333;
}
.pdp-btn-wishlist {
  background: #fff;
  border: 1px solid #ddd;
  width: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--sh-primary);
  transition: border-color 0.2s;
}
.pdp-btn-wishlist:hover {
  border-color: var(--sh-primary);
}

/* Trust Badges */
.pdp-trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 15px 30px;
  margin-top: 30px;
  padding-top: 30px;
  border-top: 1px solid #eee;
}
.trust-badge {
  font-size: 12px;
  color: #666;
  display: flex;
  align-items: center;
  gap: 8px;
}
.trust-badge i {
  font-size: 16px;
  color: var(--sh-primary);
}

/* Accordion */
.sapphire-pdp-accordion {
  border-top: 1px solid #eee;
  margin-top: 20px;
}
.pdp-accordion-item {
  border-bottom: 1px solid #eee;
}
.pdp-accordion-header {
  padding: 20px 0;
  font-size: 15px;
  font-weight: 500;
  color: var(--sh-primary);
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.pdp-accordion-header i {
  transition: transform 0.3s;
  font-size: 12px;
  color: #999;
}
.pdp-accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
  color: #555;
  line-height: 1.8;
  font-size: 14px;
}
.pdp-accordion-item.active .pdp-accordion-header i {
  transform: rotate(180deg);
}
.pdp-accordion-item.active .pdp-accordion-content {
  max-height: 2000px;
  padding-bottom: 20px;
}
.pdp-accordion-content table {
  margin-bottom: 0;
}

/* Responsive */
@media (max-width: 991px) {
  .sapphire-pdp-gallery {
    flex: 0 0 100%;
    max-width: 100%;
  }
  .sapphire-gallery-layout {
    flex-direction: column-reverse;
  }
  .sapphire-gallery-thumbs {
    flex-direction: row;
    width: 100%;
    max-height: auto;
    overflow-x: auto;
  }
  .sapphire-thumb-item {
    width: 70px;
    flex-shrink: 0;
  }
  .pdp-title {
    font-size: 26px;
  }
}

/* Showcase Slider Styles for Bestsellers & Related Products */
.sh-related-wrapper {
  position: relative;
  width: 100%;
}
.sh-related-slider {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  gap: 20px;
  padding-bottom: 20px;
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.sh-related-slider::-webkit-scrollbar {
  display: none;
}
.sh-related-card {
  flex: 0 0 calc(25% - 15px); /* 4 cards per view */
  max-width: calc(25% - 15px);
  scroll-snap-align: start;
  transition: transform 0.3s ease;
}
@media (max-width: 768px) {
  .sh-related-card {
    flex: 0 0 calc(50% - 10px);
    max-width: calc(50% - 10px);
  }
}
.sh-related-card.sc-card:hover .sc-hover-action {
  opacity: 1 !important;
  pointer-events: auto !important;
  max-height: 300px !important;
  padding-top: 4px !important;
}
.sh-related-card.sc-card:hover .sc-img-hover {
  opacity: 1 !important;
}
.showcase-main-img { transition: transform 0.4s ease; }
.showcase-card-image:hover img.showcase-main-img { transform: scale(1.04); }

/* GLOBAL BREADCRUMB REDESIGN */
ul.breadcrumb {
    display: flex !important;
    flex-wrap: wrap;
    gap: 10px;
    background: transparent !important;
    padding: 15px 0 !important;
    margin-bottom: 20px !important;
    list-style: none !important;
    border-radius: 0 !important;
    text-transform: uppercase;
    font-size: 11px !important;
    letter-spacing: 1px;
    font-weight: 400 !important;
    color: #999 !important;
}
ul.breadcrumb li {
    display: flex;
    align-items: center;
}
ul.breadcrumb li a {
    color: #999 !important;
    text-decoration: none;
}
ul.breadcrumb li a:hover {
    color: var(--sh-primary) !important;
}
ul.breadcrumb li:last-child a, ul.breadcrumb li:last-child {
    color: var(--sh-primary) !important;
    font-weight: 500 !important;
}
ul.breadcrumb > li + li:before {
    content: '/' !important;
    color: #ddd !important;
    padding: 0 10px 0 0 !important;
}


/* FAKE ONE PAGE CHECKOUT REDESIGN */
.sh-checkout-wrapper {
    margin-top: 30px;
}
.sh-checkout-title {
    font-size: 24px;
    font-weight: 500;
    margin-bottom: 30px;
    color: var(--sh-primary);
    text-transform: uppercase;
    letter-spacing: 1px;
}
.sh-checkout-step {
    background: #fff;
    border: 1px solid #eaeaea;
    border-radius: 0;
    margin-bottom: 25px;
    box-shadow: none !important;
}
.sh-checkout-step .panel-heading {
    background: transparent;
    border-bottom: 1px solid #eaeaea;
    padding: 15px 20px;
}
.sh-checkout-step .panel-heading .panel-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--sh-primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.sh-checkout-step .panel-heading .panel-title a {
    color: var(--sh-primary);
    text-decoration: none;
    pointer-events: none; /* Disable click */
}
.sh-checkout-step .panel-heading .panel-title a i {
    display: none; /* Hide the caret down icon */
}
.sh-checkout-step .panel-body {
    padding: 20px;
}
.sh-checkout-right .sh-checkout-step {
    background: #fdfdfd;
}

/* NEW CART LAYOUT (HEPSIBURADA/TRENDYOL STYLE) */
.sh-cart-layout {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 30px;
}
.sh-cart-left {
    flex: 1 1 65%;
    min-width: 300px;
}
.sh-cart-right {
    flex: 0 0 30%;
    min-width: 300px;
}
@media (max-width: 991px) {
    .sh-cart-left, .sh-cart-right {
        flex: 1 1 100%;
    }
}
.sh-cart-promo-header {
    background: #fdfdfd;
    border: 1px solid #eaeaea;
    border-radius: 4px;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}
.sh-cart-promo-title {
    font-weight: 600;
    color: var(--sh-accent);
    font-size: 15px;
}
.sh-cart-promo-add {
    color: var(--sh-accent);
    font-weight: 500;
    cursor: pointer;
    font-size: 14px;
}
.sh-cart-seller-header {
    background: #fff;
    border: 1px solid #eaeaea;
    border-bottom: none;
    padding: 15px 20px;
    font-size: 14px;
    color: #333;
    border-radius: 4px 4px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.sh-cart-seller-badge {
    color: #4caf50;
    font-weight: 600;
    font-size: 13px;
}
.sh-cart-items {
    background: #fff;
    border: 1px solid #eaeaea;
    border-radius: 0 0 4px 4px;
    padding: 0;
}
.sh-cart-item-card {
    border-bottom: 1px solid #eaeaea;
    padding: 20px;
}
.sh-cart-item-card:last-child {
    border-bottom: none;
}
.sh-cart-item-top {
    margin-bottom: 15px;
}
.sh-cart-delivery-info {
    font-size: 13px;
    color: #555;
    font-weight: 500;
}
.sh-cart-item-body {
    display: flex;
    align-items: center;
}
.sh-cart-item-check {
    margin-right: 15px;
}
.sh-checkbox-container {
    display: block;
    position: relative;
    padding-left: 25px;
    cursor: pointer;
    user-select: none;
}
.sh-checkbox-container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}
.sh-checkmark {
    position: absolute;
    top: -10px;
    left: 0;
    height: 20px;
    width: 20px;
    background-color: var(--sh-accent);
    border-radius: 3px;
}
.sh-checkmark:after {
    content: "";
    position: absolute;
    display: block;
    left: 7px;
    top: 3px;
    width: 6px;
    height: 12px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}
.sh-cart-item-image {
    width: 80px;
    margin-right: 20px;
    border: 1px solid #f0f0f0;
    border-radius: 4px;
    padding: 5px;
}
.sh-cart-item-details {
    flex-grow: 1;
}
.sh-cart-item-title {
    font-size: 15px;
    font-weight: 600;
    color: #333;
    display: block;
    margin-bottom: 5px;
    text-decoration: none;
}
.sh-cart-item-title:hover {
    color: var(--sh-accent);
}
.sh-cart-item-options span {
    display: block;
    font-size: 13px;
    color: #777;
}
.sh-cart-item-actions {
    margin-top: 20px;
}
.sh-qty-pill {
    display: inline-flex;
    align-items: center;
    border: 1px solid #ddd;
    border-radius: 20px;
    overflow: hidden;
    height: 36px;
}
.sh-qty-btn {
    background: #fff;
    border: none;
    width: 36px;
    height: 100%;
    font-size: 18px;
    color: var(--sh-accent);
    cursor: pointer;
    outline: none;
}
.sh-qty-btn.sh-qty-remove {
    color: var(--sh-accent);
    font-size: 16px;
}
.sh-qty-btn:hover {
    background: #fcfcfc;
}
.sh-qty-input {
    width: 40px;
    height: 100%;
    border: none;
    border-left: 1px solid #ddd;
    border-right: 1px solid #ddd;
    text-align: center;
    font-size: 14px;
    font-weight: 600;
    color: #333;
    outline: none;
}
.sh-cart-item-price-col {
    text-align: right;
    min-width: 120px;
}
.sh-cart-item-price-final {
    font-size: 18px;
    font-weight: 700;
    color: var(--sh-primary);
}
.sh-cart-summary-box {
    background: #fff;
    border: 1px solid #eaeaea;
    border-radius: 4px;
    padding: 20px;
    position: sticky;
    top: 20px;
}
.sh-cart-summary-title {
    font-size: 15px;
    font-weight: 600;
    color: var(--sh-accent);
    margin-bottom: 10px;
}
.sh-cart-summary-total {
    font-size: 28px;
    font-weight: 700;
    color: var(--sh-primary);
    margin-bottom: 20px;
}
.sh-cart-checkout-btn {
    display: block;
    width: 100%;
    background: var(--sh-accent);
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    text-align: center;
    padding: 15px;
    border-radius: 4px;
    border: none;
    margin-bottom: 20px;
    text-transform: none;
    transition: background 0.3s;
}
.sh-cart-checkout-btn:hover, .sh-cart-checkout-btn:focus, .sh-cart-checkout-btn:active {
    background: var(--sh-accent-hover);
    color: #fff;
}
.sh-cart-summary-breakdown {
    border-top: 1px solid #eaeaea;
    padding-top: 15px;
}
.sh-cart-summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-size: 14px;
    color: #555;
}
.sh-cart-summary-row-total {
    font-weight: 700;
    color: var(--sh-primary);
    font-size: 16px;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px dashed #eaeaea;
}
.sh-checkout-wrapper { margin-top: 30px; font-family: 'Open Sans', sans-serif; }
.sh-box { background: #fff; border: 1px solid #eaeaea; border-radius: 4px; padding: 20px; }
.sh-box-title { font-size: 16px; font-weight: 600; margin-bottom: 20px; border-bottom: 1px solid #f0f0f0; padding-bottom: 15px; }
.sh-summary-box { background: #fff; border: 1px solid #eaeaea; border-radius: 4px; padding: 20px; position: sticky; top: 20px; }
.sh-confirm-btn { background: var(--sh-accent) !important; border-color: var(--sh-accent) !important; color: #fff !important; transition: opacity 0.3s; }
.sh-confirm-btn:hover { opacity: 0.9 !important; }
.sh-checkbox-container { cursor: pointer; user-select: none; }
/* Hepsiburada Style Overrides for OpenCart Checkout Forms */
#sh-address-content .form-group { margin-bottom: 15px; }
#sh-address-content label.control-label { font-weight: 600; font-size: 13px; color: #555; }
#sh-address-content .form-control { border-radius: 4px; border: 1px solid #ddd; box-shadow: none; height: 40px; }
#sh-address-content .btn-primary { background: var(--sh-accent); border-color: var(--sh-accent); font-weight: 600; border-radius: 4px; padding: 10px 20px; width: 100%; transition: opacity 0.2s; }
#sh-address-content .btn-primary:hover { opacity: 0.9; background: var(--sh-accent-hover); border-color: var(--sh-accent-hover); }
#sh-address-content .buttons { margin-top: 20px; }

/* Make all buttons square-cornered as requested */
.btn, .button, button, input[type='button'], input[type='submit'], .sh-confirm-btn, #sh-address-content .btn-primary {
    border-radius: 0 !important;
}

/* ===== MOBILE APP MODE — Premium Responsive Overhaul ===== */

/* Global horizontal overflow protection */
html, body {
  overflow-x: hidden !important;
  width: 100%;
  max-width: 100%;
}

/* Container responsive padding */
@media (max-width: 767px) {
  .container {
    padding-left: 16px;
    padding-right: 16px;
  }
}

@media (max-width: 480px) {
  .container {
    padding-left: 12px;
    padding-right: 12px;
  }
}

/* ===== MOBILE HEADER — 2-ROW APP LAYOUT ===== */
@media (max-width: 767px) {
  #sapphire-header {
    position: sticky;
    top: 0;
    z-index: 1030;
    padding: 10px 0 !important;
    box-shadow: 0 1px 4px rgba(0,0,0,0.06);
  }

  .header-row {
    flex-wrap: wrap;
  }

  /* Hamburger — second row, full width */
  .header-col-left {
    order: 3;
    flex: 0 0 100% !important;
    width: 100%;
    display: flex;
    align-items: center;
    padding: 6px 0 2px 0;
    margin-top: 8px;
    border-top: 1px solid var(--sh-border-light);
  }

  .sapphire-hamburger {
    display: flex !important;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    padding: 10px 0;
    cursor: pointer;
    align-items: flex-start;
  }

  .sapphire-hamburger span {
    display: block;
    width: 22px;
    height: 2.5px;
    background: var(--sh-primary);
    border-radius: 2px;
  }

  /* Logo — left aligned, first row */
  .header-col-center {
    position: static !important;
    left: auto !important;
    transform: none !important;
    text-align: left;
    flex: 1 !important;
    order: 1;
  }

  .header-logo-link img {
    max-height: 36px !important;
  }

  /* Icons — right aligned, first row */
  .header-col-right {
    order: 2;
    flex: 0 0 auto !important;
  }

  .header-actions {
    gap: 2px;
  }

  .header-action-btn {
    min-width: 42px;
    min-height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .header-action-btn svg {
    width: 20px;
    height: 20px;
  }
}

@media (min-width: 768px) and (max-width: 991px) {
  #sapphire-header {
    position: sticky;
    top: 0;
    z-index: 1030;
    padding: 12px 0 !important;
    box-shadow: 0 1px 4px rgba(0,0,0,0.06);
  }

  .header-col-center {
    position: static !important;
    left: auto !important;
    transform: none !important;
    text-align: center;
    flex: 1 !important;
  }

  .header-col-left {
    flex: 0 0 auto !important;
  }

  .header-col-right {
    flex: 0 0 auto !important;
  }

  .header-logo-link img {
    max-height: 40px !important;
  }

  .header-actions {
    gap: 14px;
  }
}

/* ===== TOUCH-FRIENDLY HIT TARGETS (min 44px) ===== */
@media (max-width: 480px) {
  .header-action-btn {
    min-width: 40px;
    min-height: 40px;
  }

  .header-action-btn svg {
    width: 18px;
    height: 18px;
  }

  .header-logo-link img {
    max-height: 32px !important;
  }

  .header-actions {
    gap: 0;
  }

  /* Prevent iOS zoom on input focus */
  select.form-control,
  textarea.form-control,
  input[type="text"].form-control,
  input[type="search"].form-control,
  input[type="email"].form-control,
  input[type="tel"].form-control,
  input[type="password"].form-control,
  input[type="number"].form-control {
    font-size: 16px !important;
    height: 48px;
  }

  /* Full-width search bar */
  #sapphire-search-dropdown.open {
    max-height: 120px;
  }

  .search-bar-inner {
    max-width: 100%;
  }

  .search-bar-inner input {
    font-size: 16px;
  }
}

/* ===== DRAWER — FULL WIDTH ON SMALL SCREENS ===== */
@media (max-width: 480px) {
  #sapphire-drawer {
    width: 100%;
    max-width: 100%;
    right: -100%;
  }
}

/* ===== SHOWCASE CARDS — FULLY RESPONSIVE ===== */
@media (max-width: 767px) {
  .showcase-card {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    min-height: auto !important;
  }

  .showcase-image {
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 330 / 435;
  }

  .showcase-info {
    padding: 16px !important;
  }

  .sapphire-showcase-section {
    padding: 40px 0 !important;
  }

  .showcase-title {
    font-size: 24px !important;
  }

  /* Showcase product cards inside slider — 1 per screen on mobile */
  [class*="sc-slider-"] .sc-card,
  .showcase-slider .sc-card {
    height: auto !important;
    min-height: auto !important;
    flex: 0 0 100% !important;
    max-width: 100% !important;
  }

  .showcase-card-image {
    aspect-ratio: 330 / 440;
  }

  /* Hover action on mobile — always visible, inline (not absolute) */
  .sc-hover-action {
    opacity: 1 !important;
    pointer-events: auto !important;
    position: relative !important;
    top: auto !important;
    left: auto !important;
    box-shadow: none !important;
    padding-top: 8px !important;
  }
}

/* ===== STORY SECTION — RESPONSIVE HEIGHTS ===== */
@media (max-width: 767px) {
  .sapphire-story-section {
    padding: 0 12px !important;
  }

  .sapphire-story-section > div > div:first-child {
    height: auto !important;
    max-width: 100% !important;
    aspect-ratio: 4 / 3;
  }

  .sapphire-story-section > div > div:first-child img,
  .sapphire-story-section > div > div:first-child div {
    position: relative !important;
    height: auto !important;
  }

  .sapphire-story-section > div > div:last-child {
    padding: 20px 0 !important;
    min-width: auto !important;
  }
}

/* ===== BRAND SECTION — RESPONSIVE ===== */
@media (max-width: 767px) {
  .sapphire-brand-section {
    padding: 0 12px !important;
  }

  .sapphire-brand-section > div > div:last-child {
    height: auto !important;
    max-width: 100% !important;
    aspect-ratio: 16 / 9;
  }

  .sapphire-brand-section > div > div:last-child video,
  .sapphire-brand-section > div > div:last-child img,
  .sapphire-brand-section > div > div:last-child div {
    position: relative !important;
  }
}

/* ===== FOOTER SERVICES — 2-2-1 ON MOBILE ===== */
.footer-services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 30px;
  text-align: center;
}
.footer-services-grid .footer-service-item {
  text-align: center;
  min-width: 0;
}
@media (max-width: 768px) {
  .footer-services-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 20px !important;
  }
  .footer-services-grid .footer-service-item:last-child {
    grid-column: 1 / -1;
    max-width: 50%;
    margin: 0 auto;
  }
}

/* ===== CART POPUP — MOBILE FRIENDLY ===== */
@media (max-width: 767px) {
  #cart-popup-notification {
    width: calc(100% - 16px) !important;
    right: 8px !important;
    top: 8px !important;
    left: 8px !important;
    padding: 16px !important;
  }
}

/* ===== PDP — MOBILE IMPROVEMENTS ===== */
@media (max-width: 767px) {
  .sapphire-pdp-main {
    gap: 20px !important;
  }

  .pdp-title {
    font-size: 22px !important;
  }

  .pdp-meta {
    flex-wrap: wrap;
    gap: 8px;
  }

  .pdp-actions {
    flex-wrap: nowrap;
    gap: 10px !important;
  }

  .pdp-qty-wrapper {
    order: 1;
    flex: 0 0 auto;
  }

  .pdp-btn-cart {
    flex: 1 1 auto !important;
    order: 2;
    min-height: 48px;
  }

  .pdp-btn-wishlist {
    order: 3;
    min-height: 48px;
    flex: 0 0 50px;
  }

  .pdp-trust-badges {
    gap: 12px !important;
  }

  /* Related/upsell products — sc-hover-action always visible */
  .sh-related-card {
    flex: 0 0 100% !important;
    max-width: 100% !important;
  }
  .sh-related-card .sc-hover-action {
    opacity: 1 !important;
    pointer-events: auto !important;
    position: relative !important;
    top: auto !important;
    left: auto !important;
    box-shadow: none !important;
    padding-top: 8px !important;
    max-height: none !important;
    overflow: visible !important;
  }
}

@media (max-width: 991px) {
  .sh-related-card {
    flex: 0 0 calc(50% - 10px);
    max-width: calc(50% - 10px);
  }
}

/* ===== CART PAGE — MOBILE LAYOUT ===== */
@media (max-width: 767px) {
  .sh-cart-item-body {
    flex-wrap: wrap;
  }

  .sh-cart-item-image {
    width: 60px !important;
    margin-right: 12px !important;
  }

  .sh-cart-item-details {
    flex: 1;
    min-width: 150px;
  }

  .sh-cart-item-price-col {
    min-width: auto !important;
    width: 100%;
    text-align: left !important;
    margin-top: 12px;
    padding-left: 87px;
  }

  .sh-cart-summary-total {
    font-size: 24px !important;
  }

  .sh-cart-checkout-btn {
    min-height: 48px;
    font-size: 15px;
  }

  .sh-cart-item-title {
    font-size: 14px !important;
  }
}

/* ===== FOOTER — MOBILE LAYOUT ===== */
@media (max-width: 767px) {
  footer > div > div:last-child {
    flex-direction: column !important;
  }

  footer [style*="min-width: 280px"] {
    min-width: 100% !important;
    max-width: 100% !important;
  }

  footer [style*="flex-wrap: nowrap"] {
    flex-wrap: wrap !important;
  }

  footer > div > div:nth-child(2) > div:first-child {
    gap: 20px !important;
  }
}

/* ===== SHOWCASE TABS — WRAPPED GRID ON MOBILE ===== */
@media (max-width: 767px) {
  .sc-tabs-nav {
    justify-content: center !important;
    gap: 6px 10px !important;
    overflow-x: visible !important;
    padding-bottom: 0;
  }

  .sc-tab-link {
    font-size: 11px !important;
    padding: 8px 4px !important;
    white-space: nowrap !important;
    flex: 0 0 calc(33.33% - 8px);
    text-align: center;
    letter-spacing: 0.5px !important;
  }
}

/* ===== BUTTON TOUCH TARGETS ===== */
@media (max-width: 767px) {
  .btn,
  .drawer-btn-primary,
  .drawer-btn-secondary,
  .pdp-btn-cart,
  .showcase-btn,
  .sh-cart-checkout-btn,
  #sapphire-nl-btn,
  #newsletter-btn,
  .search-bar-inner button,
  .sh-confirm-btn {
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
}

/* ===== SLIDER — MOBILE HEIGHT ===== */
@media (max-width: 767px) {
  .sapphire-slide img {
    max-height: 400px !important;
    object-fit: cover !important;
  }
}

/* ===== SHOPPABLE — MOBILE POPUP ===== */
@media (max-width: 480px) {
  .shoppable-popup {
    width: calc(100vw - 32px) !important;
    max-width: 320px !important;
  }

  .shoppable-container {
    margin-bottom: 30px !important;
  }
}

/* ===== ACCORDION — MOBILE ===== */
@media (max-width: 767px) {
  .pdp-accordion-header {
    font-size: 13px;
    padding: 14px 0 !important;
  }
}

/* ===== BREADCRUMB — MOBILE ===== */
@media (max-width: 767px) {
  ul.breadcrumb {
    font-size: 10px !important;
    gap: 6px !important;
    padding: 10px 0 !important;
  }

  ul.breadcrumb > li + li:before {
    padding: 0 4px 0 0 !important;
  }
}

/* ===== TABLES — HORIZONTAL SCROLL ON MOBILE ===== */
@media (max-width: 767px) {
  .table-responsive {
    border: none;
    margin-bottom: 0;
  }
}

/* ===== CATEGORY GRID — RESPONSIVE CARDS ===== */
@media (max-width: 991px) {
  .sc-grid-category {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)) !important;
    padding: 0 12px !important;
  }

  .sc-grid-category .sh-related-card.sc-card {
    width: 100% !important;
    min-width: 100% !important;
    max-width: 100% !important;
  }

  .sc-grid-category .showcase-card-image {
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 330 / 440;
  }

  .sc-grid-category .showcase-card-info {
    width: 100% !important;
    min-width: 100% !important;
    max-width: 100% !important;
  }
}

/* ===== PDP GALLERY — RESPONSIVE HEIGHT ===== */
@media (max-width: 991px) {
  .sapphire-gallery-layout {
    height: auto !important;
    flex-direction: column-reverse !important;
  }

  .sapphire-gallery-main {
    flex: 0 0 100% !important;
    height: 350px !important;
  }

  .sapphire-gallery-thumbs-wrapper {
    height: auto !important;
  }

  .sapphire-gallery-thumbs {
    grid-template-rows: none !important;
    grid-auto-flow: row !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 10px !important;
    height: auto !important;
  }

  .sapphire-thumb-item {
    height: 80px !important;
  }

  .sapphire-pdp-info {
    min-width: auto !important;
  }
}

@media (max-width: 480px) {
  .sapphire-gallery-main {
    height: 280px !important;
  }

  .sapphire-thumb-item {
    height: 60px !important;
  }
}

/* ===== MOBILE APP POLISH — Native Feel ===== */

/* Smooth scrolling for all scrollable containers on iOS */
.sapphire-slides,
[class*="sc-slider-"],
.showcase-slider,
.sapphire-gallery-thumbs,
.sc-tabs-nav,
.sh-related-slider {
  -webkit-overflow-scrolling: touch;
}

/* Remove tap highlight color on mobile */
* {
  -webkit-tap-highlight-color: transparent;
}

/* Better focus-visible for keyboard users */
:focus-visible {
  outline: 2px solid var(--sh-accent) !important;
  outline-offset: 2px;
}

/* Safe area padding for notched devices */
@supports (padding-top: env(safe-area-inset-top)) {
  body {
    padding-top: env(safe-area-inset-top);
    padding-bottom: env(safe-area-inset-bottom);
    padding-left: env(safe-area-inset-left);
    padding-right: env(safe-area-inset-right);
  }

  #sapphire-header {
    padding-top: calc(12px + env(safe-area-inset-top)) !important;
  }

  #sapphire-drawer {
    padding-top: env(safe-area-inset-top);
    padding-bottom: env(safe-area-inset-bottom);
  }
}

/* Prevent text size adjustment on orientation change */
html {
  -webkit-text-size-adjust: 100%;
}

/* Selection color */
::selection {
  background: var(--sh-accent);
  color: #fff;
}

/* ===== RESPECT REDUCED MOTION ===== */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

