/* ==========================================================================
   AMAZON.EG OFFICIAL DESIGN SYSTEM (EXACT REPLICA FOR SOFT ERP E-COMMERCE)
   ========================================================================== */

:root {
  --amz-dark: #131921;
  --amz-nav: #232F3E;
  --amz-subnav: #232f3e;
  --amz-orange: #FF9900;
  --amz-orange-dark: #E47911;
  --amz-yellow: #FFD814;
  --amz-yellow-hover: #F7CA00;
  --amz-buy-now: #FFA41C;
  --amz-buy-now-hover: #FA8900;
  --amz-btn-border: #FCD200;
  --amz-link: #007185;
  --amz-link-hover: #C7511F;
  --amz-red: #CC0C39;
  --amz-green: #007600;
  --amz-bg: #EAEDED;
  --amz-card-bg: #FFFFFF;
  --amz-text: #0F1111;
  --amz-text-muted: #565959;
  --amz-border: #D5D9D9;
  --amz-border-light: #E7E7E7;
  --amz-choice-bg: #232F3E;
  --amz-bestseller-bg: #E67A00;
  --font-family: "Amazon Ember", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, Arial, sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

body {
  font-family: var(--font-family);
  background-color: var(--amz-bg);
  color: var(--amz-text);
  direction: rtl;
  text-align: right;
  line-height: 1.4;
  font-size: 14px;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: var(--amz-link);
}
a:hover {
  color: var(--amz-link-hover);
  text-decoration: underline;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

.amz-container {
  width: 100%;
  max-width: 1500px;
  margin: 0 auto;
  padding: 0 16px;
}

/* ==========================================================================
   1. MAIN HEADER (#131921)
   ========================================================================== */
.amz-header {
  background-color: var(--amz-dark);
  color: #FFFFFF;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.amz-header-top {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  min-height: 60px;
}

.amz-nav-item {
  display: flex;
  align-items: center;
  padding: 5px 9px;
  border: 1px solid transparent;
  border-radius: 2px;
  cursor: pointer;
  color: #FFFFFF;
  white-space: nowrap;
  user-select: none;
  flex-shrink: 0;
  text-decoration: none;
}
.amz-nav-item:hover {
  border-color: #FFFFFF;
}

/* BRAND LOGO */
.amz-logo-wrap {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 6px 8px;
}
.amz-logo-text {
  font-size: 24px;
  font-weight: 900;
  letter-spacing: -1px;
  color: #FFFFFF;
  position: relative;
  display: inline-flex;
  align-items: baseline;
}
.amz-logo-text .smile-arrow {
  color: var(--amz-orange);
  font-size: 22px;
  position: absolute;
  bottom: -9px;
  right: 2px;
  transform: rotate(-5deg);
}
.amz-logo-domain {
  font-size: 12px;
  color: var(--amz-orange);
  font-weight: 700;
  margin-right: 4px;
}

/* LOCATION WIDGET */
.amz-location-widget {
  display: flex !important;
  align-items: center !important;
  gap: 5px !important;
  padding: 4px 8px !important;
}
.amz-location-icon {
  font-size: 18px;
  color: #CCC;
  margin-top: 4px;
}
.amz-location-text {
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  line-height: 1.15 !important;
  text-align: right;
}
.amz-location-text .line-1 {
  font-size: 11px !important;
  color: #CCC !important;
  display: block !important;
}
.amz-location-text .line-2 {
  font-size: 13px !important;
  font-weight: 800 !important;
  color: #FFFFFF !important;
  display: block !important;
}

/* SEARCH BAR */
.amz-search-bar {
  flex: 1;
  display: flex;
  height: 40px;
  border-radius: 4px;
  overflow: hidden;
  background: #FFFFFF;
  margin: 0 8px;
  border: 2px solid transparent;
}
.amz-search-bar:focus-within {
  border-color: #FF9900;
  box-shadow: 0 0 0 2px rgba(255, 153, 0, 0.4);
}
.amz-search-dept {
  background: #E6E6E6;
  border: none;
  border-left: 1px solid #DDD;
  padding: 0 10px;
  font-size: 12px;
  color: #555;
  outline: none;
  cursor: pointer;
  font-weight: 600;
  border-top-right-radius: 4px;
  border-bottom-right-radius: 4px;
}
.amz-search-dept:hover {
  background: #DADADA;
  color: #111;
}
.amz-search-input {
  flex: 1;
  padding: 0 14px;
  border: none;
  outline: none;
  font-size: 14px;
  color: var(--amz-text);
  text-align: start;
  unicode-bidi: plaintext;
}
input:not([type="checkbox"]):not([type="radio"]):not([type="file"]):not([type="color"]):not([type="hidden"]),
textarea {
  unicode-bidi: plaintext;
}
.amz-search-submit {
  width: 45px;
  background: #FEB669;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #111;
  font-size: 18px;
  cursor: pointer;
  transition: background 0.1s;
}
.amz-search-submit:hover {
  background: #F3A847;
}

/* LANGUAGE SELECTOR & AMAZON FLYOUT */
.amz-lang-wrap,
.amz-lang-item {
  position: relative !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 5px !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  padding: 6px 9px !important;
  cursor: pointer;
  user-select: none;
  flex-shrink: 0 !important;
}
.amz-lang-flag {
  width: 20px !important;
  height: 14px !important;
  border-radius: 2px !important;
  object-fit: cover !important;
}

/* Flyout container centered right beneath button */
.amz-lang-wrap:hover .amz-lang-flyout,
.amz-lang-flyout.show {
  display: block !important;
}

.amz-lang-flyout {
  display: none;
  position: absolute;
  top: calc(100% + 4px);
  left: 50% !important;
  right: auto !important;
  transform: translateX(-50%) !important;
  width: 260px;
  background: #FFFFFF;
  color: #0F1111;
  border-radius: 8px;
  border: 1px solid #D5D9D9;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.28);
  padding: 14px 16px;
  z-index: 2500;
  cursor: default;
  text-align: right;
  direction: rtl;
}

html[dir="ltr"] .amz-lang-flyout {
  text-align: left;
  direction: ltr;
  left: 50% !important;
  right: auto !important;
  transform: translateX(-50%) !important;
}

/* Upward pointer arrow matching Amazon exactly */
.amz-lang-flyout .amz-flyout-arrow {
  position: absolute;
  top: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-bottom: 8px solid #FFFFFF;
}

.amz-lang-flyout-header {
  padding-bottom: 8px;
  border-bottom: 1px solid #EAEDED;
  margin-bottom: 10px;
}
.amz-lang-title {
  font-size: 13px;
  font-weight: 800;
  color: #0F1111;
  margin-bottom: 2px;
}
.amz-lang-subtitle {
  font-size: 11px;
  color: #565959;
  line-height: 1.3;
}

.amz-lang-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.amz-lang-radio-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease;
  border: 1px solid transparent;
}
.amz-lang-radio-row:hover {
  background: #F7F7F7;
}
.amz-lang-radio-row.active {
  background: #F0F8FF;
  border-color: #BEE3F8;
}

.amz-radio-dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid #A6A6A6;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.15s ease;
}
.amz-radio-dot i {
  font-size: 7px;
  color: transparent;
  transition: color 0.15s ease;
}
.amz-lang-radio-row.active .amz-radio-dot {
  border-color: var(--amz-orange);
  background: #FFF;
}
.amz-lang-radio-row.active .amz-radio-dot i {
  color: var(--amz-orange);
}

.amz-lang-row-flag {
  width: 22px;
  height: 15px;
  border-radius: 2px;
  object-fit: cover;
  box-shadow: 0 1px 2px rgba(0,0,0,0.15);
}

.amz-lang-row-info {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: 1;
}
.amz-lang-name {
  font-size: 13px;
  font-weight: 700;
  color: #0F1111;
}
.amz-lang-code {
  font-size: 11px;
  color: #64748B;
  font-weight: 600;
}

.amz-lang-divider {
  height: 1px;
  background: #EAEDED;
  margin: 10px 0;
}

.amz-lang-currency-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11px;
  color: #565959;
  padding: 0 4px;
}
.amz-lang-curr-badge {
  font-weight: 800;
  color: #007185;
  background: #F0FDF4;
  padding: 2px 8px;
  border-radius: 4px;
  border: 1px solid #DCFCE7;
  font-size: 11px;
}

.amz-lang-region-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  color: #565959;
  padding: 0 4px;
}

/* ACCOUNT & ORDERS - EXACT AMAZON 2-LINE VERTICAL STACK */
.amz-nav-item.amz-two-line,
.amz-two-line {
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  align-items: flex-start !important;
  line-height: 1.15 !important;
  padding: 4px 9px !important;
  position: relative;
  flex-shrink: 0 !important;
}
.amz-two-line .line-1 {
  font-size: 11px !important;
  color: #CCCCCC !important;
  font-weight: normal !important;
  display: block !important;
  line-height: 1.2 !important;
  white-space: nowrap !important;
}
.amz-two-line .line-2 {
  font-size: 13px !important;
  font-weight: 700 !important;
  color: #FFFFFF !important;
  display: block !important;
  line-height: 1.2 !important;
  white-space: nowrap !important;
}

/* CART BUTTON WITH GOLD NUMBER */
.amz-cart-nav-btn,
.amz-cart-item {
  display: flex !important;
  align-items: flex-end !important;
  gap: 5px !important;
  position: relative !important;
  padding: 4px 10px !important;
  flex-shrink: 0 !important;
}
.amz-cart-icon-wrap {
  position: relative !important;
  display: inline-flex !important;
  align-items: flex-end !important;
  line-height: 1 !important;
}
.amz-cart-icon {
  font-size: 26px !important;
  color: #FFFFFF !important;
  display: block !important;
}
.amz-cart-count {
  position: absolute !important;
  top: -8px !important;
  left: 10px !important;
  color: #F08804 !important;
  font-size: 14px !important;
  font-weight: 900 !important;
  line-height: 1 !important;
  text-align: center !important;
  min-width: 14px !important;
}
.amz-cart-label {
  font-size: 13px !important;
  font-weight: 700 !important;
  color: #FFFFFF !important;
  margin-bottom: 2px !important;
  line-height: 1.2 !important;
}

/* ==========================================================================
   2. SUB NAVIGATION BAR (#232F3E)
   ========================================================================== */
.amz-subnav {
  background-color: var(--amz-subnav);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 12px;
  min-height: 38px;
  font-size: 13px;
}
.amz-subnav-left {
  display: flex;
  align-items: center;
  gap: 4px;
  overflow-x: auto;
  white-space: nowrap;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.amz-subnav-left::-webkit-scrollbar {
  display: none;
}
.amz-subnav-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 9px;
  border: 1px solid transparent;
  border-radius: 2px;
  color: #FFFFFF;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.15s ease;
}
.amz-subnav-btn:hover {
  border-color: #FFFFFF;
}
.amz-subnav-btn.active {
  background: rgba(255, 255, 255, 0.16);
  border-color: #FFFFFF;
  color: #FFA41C !important;
  font-weight: 800;
}
.amz-subnav-btn.all-btn {
  font-weight: 900;
  margin-left: 6px;
}
.amz-subnav-right {
  display: flex;
  align-items: center;
  gap: 12px;
}
.amz-tenant-pill {
  background: rgba(255,255,255,0.12);
  padding: 3px 10px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 700;
}
.amz-tenant-pill select {
  background: transparent;
  border: none;
  color: var(--amz-orange);
  font-weight: 800;
  outline: none;
  cursor: pointer;
}
.amz-tenant-pill select option {
  background: var(--amz-dark);
  color: #FFF;
}

/* ==========================================================================
   3. HERO BANNER & THE AUTHENTIC AMAZON CARD OVERLAP
   ========================================================================== */
.amz-hero-container {
  position: relative;
  width: 100%;
  height: 260px;
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  transition: background-image 0.5s ease-in-out;
}
.amz-hero-gradient {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 160px;
  background: linear-gradient(to bottom, rgba(234, 237, 237, 0) 0%, rgba(234, 237, 237, 1) 100%);
  pointer-events: none;
}
.amz-hero-nav-arrow {
  position: absolute;
  top: 30px;
  background: transparent;
  color: #333;
  font-size: 28px;
  border: 2px solid transparent;
  border-radius: 4px;
  padding: 12px 8px;
  cursor: pointer;
  z-index: 10;
}
.amz-hero-nav-arrow:hover {
  border-color: #007185;
}
.amz-hero-nav-arrow.right { right: 10px; }
.amz-hero-nav-arrow.left { left: 10px; }

/* 4-QUAD PROMO GRID (OVERLAPPING WITH HERO) */
.amz-quad-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: -200px;
  position: relative;
  z-index: 20;
  margin-bottom: 24px;
}
.amz-quad-grid:empty,
.amz-quad-grid.is-empty {
  display: none !important;
  margin: 0 !important;
  padding: 0 !important;
  height: 0 !important;
}

.amz-hero-container + .amz-container:has(.amz-quad-grid.is-empty:first-child),
.amz-hero-container + .amz-container:has(.amz-quad-grid:empty:first-child),
.amz-container.no-quad {
  margin-top: 24px !important;
}

.amz-quad-card {
  background: #FFFFFF;
  padding: 20px;
  border-radius: 0;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 400px;
}
.amz-quad-card h2 {
  font-size: 21px;
  font-weight: 700;
  color: #0F1111;
  margin-bottom: 12px;
  line-height: 1.3;
}
.amz-quad-2x2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 14px;
  margin-bottom: 16px;
}
.amz-quad-cell {
  cursor: pointer;
}
.amz-quad-cell img {
  width: 100%;
  height: 110px;
  object-fit: contain;
  background: #F7F7F7;
  padding: 8px;
  display: block;
}
.amz-quad-cell span {
  font-size: 12px;
  color: #0F1111;
  margin-top: 4px;
  display: block;
  line-height: 1.25;
}
.amz-quad-link {
  color: var(--amz-link);
  font-size: 13px;
  font-weight: 700;
}

/* ==========================================================================
   4. LIGHTNING DEALS HORIZONTAL CAROUSEL
   ========================================================================== */
.amz-deals-section {
  background: #FFFFFF;
  padding: 20px;
  margin-bottom: 24px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}
.amz-deals-top {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}
.amz-deals-top h2 {
  font-size: 21px;
  font-weight: 700;
  color: #0F1111;
}
.amz-deals-timer {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  color: #565959;
}
.amz-deals-timer .timer-box {
  background: #B12704;
  color: #FFF;
  font-weight: 900;
  padding: 2px 6px;
  border-radius: 2px;
  font-family: monospace;
}
.amz-deals-carousel {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding-bottom: 10px;
  scroll-behavior: smooth;
}
.amz-deals-carousel::-webkit-scrollbar {
  height: 7px;
}
.amz-deals-carousel::-webkit-scrollbar-thumb {
  background: #CBD5E1;
  border-radius: 4px;
}

/* DEAL ITEM CARD */
.amz-deal-item {
  min-width: 220px;
  max-width: 220px;
  display: flex;
  flex-direction: column;
  background: #FFFFFF;
  cursor: pointer;
}
.amz-deal-img-wrap {
  width: 100%;
  height: 190px;
  background: #F7F7F7;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  margin-bottom: 8px;
}
.amz-deal-img-wrap img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
.amz-deal-badge-row {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 6px;
}
.amz-deal-discount-badge {
  background: var(--amz-red);
  color: #FFF;
  font-size: 12px;
  font-weight: 700;
  padding: 3px 6px;
  border-radius: 2px;
}
.amz-deal-label {
  color: var(--amz-red);
  font-size: 12px;
  font-weight: 700;
}
.amz-deal-price {
  font-size: 18px;
  font-weight: 700;
  color: #0F1111;
  line-height: 1.2;
}
.amz-deal-price .curr {
  font-size: 12px;
  font-weight: 400;
  vertical-align: super;
}
.amz-deal-title {
  font-size: 13px;
  color: #0F1111;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-top: 4px;
  line-height: 1.3;
}

/* ==========================================================================
   5. AMAZON PRODUCT CARD (EXACT REPLICA)
   ========================================================================== */
.amz-products-section {
  background: #FFFFFF;
  padding: 20px;
  margin-bottom: 30px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}
.amz-sec-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--amz-border-light);
  padding-bottom: 10px;
}
.amz-sec-header h2 {
  font-size: 21px;
  font-weight: 700;
}
.amz-products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(235px, 1fr));
  gap: 16px;
}

.amz-product-card {
  background: #FFFFFF;
  border: 1px solid #E7E7E7;
  border-radius: 0;
  padding: 16px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: box-shadow 0.15s, border-color 0.15s;
}
.amz-product-card:hover {
  box-shadow: 0 4px 14px rgba(0,0,0,0.12);
  border-color: #D5D9D9;
}

/* BEST SELLER & AMAZON CHOICE BADGES */
.amz-badge-choice {
  position: absolute;
  top: 10px;
  right: 10px;
  background: var(--amz-choice-bg);
  color: #FFFFFF;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 2px;
  z-index: 5;
}
.amz-badge-choice span {
  color: var(--amz-orange);
}

.amz-badge-bestseller {
  position: absolute;
  top: 10px;
  right: 10px;
  background: var(--amz-bestseller-bg);
  color: #FFFFFF;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 2px;
  z-index: 5;
}

.amz-card-img-wrap {
  width: 100%;
  height: 210px;
  background: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  cursor: pointer;
  padding: 8px;
}
.amz-card-img-wrap img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: transform 0.2s;
}
.amz-product-card:hover .amz-card-img-wrap img {
  transform: scale(1.04);
}

/* PRODUCT TITLE */
.amz-card-title {
  font-size: 14px;
  font-weight: 500;
  color: #0F1111;
  line-height: 1.35;
  margin-bottom: 6px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  height: 38px;
  cursor: pointer;
}
.amz-card-title:hover {
  color: var(--amz-link-hover);
}

/* RATING STARS */
.amz-rating-row {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 6px;
}
.amz-stars {
  color: #FFA41C;
  font-size: 12px;
}
.amz-review-num {
  font-size: 12px;
  color: var(--amz-link);
}

/* AMAZON AUTHENTIC PRICE BLOCK */
.amz-price-box {
  margin-top: auto;
  margin-bottom: 8px;
}
.amz-main-price {
  font-size: 24px;
  font-weight: 700;
  color: #0F1111;
  line-height: 1;
}
.amz-main-price .sym {
  font-size: 12px;
  font-weight: 400;
  vertical-align: super;
  margin-left: 2px;
}
.amz-main-price .cents {
  font-size: 12px;
  font-weight: 700;
  vertical-align: super;
}
.amz-old-price {
  font-size: 12px;
  color: #565959;
  text-decoration: line-through;
  margin-right: 6px;
}
.amz-save-tag {
  font-size: 12px;
  color: var(--amz-green);
  font-weight: 700;
  display: block;
  margin-top: 2px;
}

/* PRIME / DELIVERY BADGE */
.amz-delivery-info {
  font-size: 12px;
  color: #565959;
  margin-bottom: 12px;
  line-height: 1.3;
}
.amz-delivery-info strong {
  color: #0F1111;
}
.amz-prime-tag {
  color: #00A8E1;
  font-weight: 900;
  font-style: italic;
  font-size: 13px;
  display: inline-block;
  margin-left: 4px;
}

/* BUTTONS */
.amz-btn-add {
  width: 100%;
  background: var(--amz-yellow);
  color: #0F1111;
  border: 1px solid var(--amz-btn-border);
  border-radius: 20px;
  padding: 8px 12px;
  font-size: 13px;
  font-weight: 600;
  box-shadow: 0 2px 5px rgba(213,217,217,0.5);
  transition: background 0.1s;
}
.amz-btn-add:hover {
  background: var(--amz-yellow-hover);
}
.amz-btn-add:active {
  background: #F0B800;
}

/* ==========================================================================
   6. AMAZON FLYOUT SIDEBAR (HAMBURGER MENU)
   ========================================================================== */
.amz-sidebar-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0,0,0,0.7);
  z-index: 3000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s;
}
.amz-sidebar-overlay.open {
  opacity: 1;
  pointer-events: auto;
}
.amz-sidebar {
  position: fixed;
  top: 0;
  right: 0;
  width: 365px;
  max-width: 85vw;
  height: 100vh;
  background: #FFFFFF;
  z-index: 3001;
  transform: translateX(100%);
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
}
.amz-sidebar.open {
  transform: translateX(0);
}
.amz-sidebar-header {
  background: var(--amz-nav);
  color: #FFFFFF;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 18px;
  font-weight: 800;
}
.amz-sidebar-close {
  position: fixed;
  top: 14px;
  right: 380px;
  color: #FFFFFF;
  font-size: 26px;
  cursor: pointer;
  z-index: 3002;
  display: none;
}
.amz-sidebar-overlay.open .amz-sidebar-close {
  display: block;
}
.amz-sidebar-body {
  flex: 1;
  overflow-y: auto;
  padding: 16px 0;
}
.amz-sidebar-heading {
  font-size: 16px;
  font-weight: 800;
  color: #0F1111;
  padding: 10px 24px 6px;
}
.amz-sidebar-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 24px;
  font-size: 14px;
  color: #111;
  cursor: pointer;
  transition: background 0.1s;
}
.amz-sidebar-row:hover {
  background: #EAEDED;
}
.amz-sidebar-row.active {
  background: #FFF8EE;
  color: #C45500;
  font-weight: 800;
  border-right: 4px solid #C45500;
}
html[dir="ltr"] .amz-sidebar-row.active {
  border-right: none;
  border-left: 4px solid #C45500;
}
.amz-sidebar-divider {
  height: 1px;
  background: #D5D9D9;
  margin: 10px 0;
}

/* ==========================================================================
   7. CART DRAWER & NOTIFICATIONS (NO SCREEN DARKENING)
   ========================================================================== */
.amz-cart-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.12); /* Extremely soft, crystal clear - never darkens or obscures screen */
  z-index: 3100;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}
.amz-cart-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.amz-cart-drawer {
  position: fixed;
  top: 0;
  left: 0;
  width: 440px;
  max-width: 95vw;
  height: 100vh;
  background: #FFFFFF;
  z-index: 3200; /* Strictly on top of overlay - never dimmed */
  transform: translateX(-100%);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  box-shadow: 0 0 30px rgba(0,0,0,0.18);
}
.amz-cart-drawer.open {
  transform: translateX(0);
}

/* AMAZON ADDED-TO-CART TOAST NOTIFICATION */
.amz-cart-toast {
  position: fixed;
  top: 80px;
  left: 50%;
  transform: translateX(-50%) translateY(-20px);
  z-index: 4000;
  background: #FFFFFF;
  border: 1px solid #D5D9D9;
  border-right: 5px solid var(--amz-green);
  border-radius: 6px;
  box-shadow: 0 6px 24px rgba(0,0,0,0.14);
  padding: 12px 20px;
  min-width: 320px;
  max-width: 90vw;
  opacity: 0;
  pointer-events: none;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.amz-cart-toast.show {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.amz-toast-inner {
  display: flex;
  align-items: center;
  gap: 14px;
}
.amz-toast-icon {
  font-size: 22px;
  color: var(--amz-green);
}
.amz-toast-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.amz-toast-info strong {
  font-size: 14px;
  color: #0F1111;
}
.amz-toast-info span {
  font-size: 11px;
  color: #007185;
  font-weight: 600;
}
.amz-toast-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}
.amz-toast-btn-view {
  background: #FFFFFF;
  border: 1px solid #D5D9D9;
  border-radius: 20px;
  padding: 6px 14px;
  font-size: 12px;
  font-weight: bold;
  color: #0F1111;
  cursor: pointer;
}
.amz-toast-btn-view:hover {
  background: #F7F7F7;
}
.amz-toast-btn-checkout {
  background: var(--amz-yellow);
  border: 1px solid var(--amz-btn-border);
  border-radius: 20px;
  padding: 6px 14px;
  font-size: 12px;
  font-weight: bold;
  color: #0F1111;
  cursor: pointer;
}
.amz-toast-btn-checkout:hover {
  background: var(--amz-yellow-hover);
}
.amz-toast-close {
  background: none;
  border: none;
  font-size: 18px;
  color: #888;
  cursor: pointer;
  padding: 0 4px;
}
.amz-cart-header {
  background: var(--amz-dark);
  color: #FFFFFF;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.amz-cart-body {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
}
.amz-cart-item {
  display: flex;
  gap: 12px;
  padding-bottom: 14px;
  margin-bottom: 14px;
  border-bottom: 1px solid var(--amz-border-light);
}
.amz-cart-item img {
  width: 75px;
  height: 75px;
  object-fit: contain;
}
.amz-cart-footer {
  background: #F8F9FA;
  padding: 16px 20px;
  border-top: 1px solid var(--amz-border);
}
.amz-btn-proceed {
  width: 100%;
  background: var(--amz-yellow);
  color: #0F1111;
  border: 1px solid var(--amz-btn-border);
  border-radius: 20px;
  padding: 11px;
  font-size: 15px;
  font-weight: 700;
  box-shadow: 0 2px 5px rgba(213,217,217,0.5);
  margin-top: 10px;
}
.amz-btn-proceed:hover {
  background: var(--amz-yellow-hover);
}

/* ==========================================================================
   8. FOOTER (AMAZON OFFICIAL STRUCTURE)
   ========================================================================== */
.amz-footer {
  background-color: var(--amz-nav);
  color: #FFFFFF;
  margin-top: 40px;
}
.amz-back-to-top {
  background-color: #37475A;
  color: #FFFFFF;
  text-align: center;
  padding: 15px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}
.amz-back-to-top:hover {
  background-color: #485769;
}
.amz-footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  padding: 40px 20px;
  max-width: 1200px;
  margin: 0 auto;
}
.amz-footer-col h3 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 14px;
}
.amz-footer-col ul {
  list-style: none;
}
.amz-footer-col ul li {
  margin-bottom: 8px;
}
.amz-footer-col ul li a {
  color: #DDD;
  font-size: 12px;
}
.amz-footer-col ul li a:hover {
  color: #FFF;
}
.amz-footer-sub {
  background-color: var(--amz-dark);
  padding: 24px 20px;
  text-align: center;
  border-top: 1px solid rgba(255,255,255,0.06);
  font-size: 12px;
  color: #999;
}

/* ==========================================================================
   ADVANCED RESPONSIVE DESIGN FOR ALL SCREEN SIZES & BILINGUAL SUPPORT
   ========================================================================== */

/* Tablets & Small Laptops (max-width: 1024px) */
@media (max-width: 1024px) {
  .amz-quad-grid { grid-template-columns: repeat(2, 1fr); margin-top: -100px; gap: 14px; }
  .amz-grid { grid-template-columns: repeat(3, 1fr); gap: 14px; }
  .amz-footer-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .amz-catalog-layout { grid-template-columns: 1fr; }
  .amz-filter-sidebar { display: none; }
  .amz-search-wrapper { max-width: 580px; }
}

/* Mobile Devices & Small Tablets (max-width: 768px) */
@media (max-width: 768px) {
  .amz-header-top {
    flex-wrap: wrap;
    padding: 8px 12px;
    gap: 8px;
    justify-content: space-between;
  }
  .amz-logo-wrap img { height: 26px; }
  .amz-location-widget {
    order: 3;
    padding: 4px 8px;
    background: rgba(255,255,255,0.06);
    border-radius: 4px;
    font-size: 11px;
  }
  .amz-location-widget .line-1 { font-size: 10px; }
  .amz-location-widget .line-2 { font-size: 12px; }
  .amz-lang-item { padding: 4px 8px; }
  .amz-account-wrap { padding: 4px 8px; }
  .amz-search-wrapper {
    order: 10;
    width: 100%;
    max-width: 100%;
    margin: 6px 0 2px;
  }
  .amz-subnav {
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
    padding: 0 8px;
    height: 38px;
  }
  .amz-subnav::-webkit-scrollbar { display: none; }
  .amz-subnav-left {
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
  }
  .amz-subnav-right { display: none; } /* Hide tenant switcher on mobile header for clean Amazon feel */
  .amz-hero-container { height: 200px; }
  .amz-quad-grid {
    grid-template-columns: 1fr;
    margin-top: 10px;
    gap: 12px;
    padding: 0 8px;
  }
  .amz-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
    padding: 0 4px;
  }
  .amz-product-card {
    padding: 10px;
    border-radius: 6px;
  }
  .amz-product-card .img-wrap {
    height: 140px;
  }
  .amz-product-card h3 {
    font-size: 13px;
    height: 38px;
    line-height: 1.4;
  }
  .amz-product-card .price {
    font-size: 16px;
  }
  .amz-deals-top {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  .amz-deals-timer {
    font-size: 12px;
  }
  .amz-footer-grid { grid-template-columns: 1fr; gap: 20px; }
  .amz-quickview-grid { grid-template-columns: 1fr; gap: 16px; }
  .amz-sidebar { width: min(320px, 86vw); }
  .amz-cart-drawer { width: min(340px, 92vw); }
  
  /* Responsive Modals on Mobile */
  .amz-sidebar-overlay > div {
    max-width: 94vw !important;
    width: 94% !important;
    margin: 20px auto !important;
    border-radius: 8px !important;
  }
}

/* Extra Small Phones (max-width: 480px) */
@media (max-width: 480px) {
  .amz-header-top { padding: 6px 8px; }
  .amz-logo-wrap img { height: 24px; }
  .amz-cart-label { display: none; } /* Show cart badge icon only on small phones */
  .amz-account-wrap .line-1 { font-size: 10px; }
  .amz-account-wrap .line-2 { font-size: 11px; }
  .amz-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 8px !important;
  }
  .amz-product-card {
    padding: 8px;
  }
  .amz-product-card .img-wrap {
    height: 125px;
  }
  .amz-product-card h3 {
    font-size: 12px;
    height: 34px;
  }
  .amz-product-card .price {
    font-size: 15px;
  }
  .amz-hero-container { height: 160px; }
  .amz-hero-nav-arrow { width: 30px; height: 50px; font-size: 14px; }
}

/* ==========================================================================
   BILINGUAL (ENGLISH - LTR) SPECIFIC STYLES
   ========================================================================== */
html[dir="ltr"] body,
body.lang-en {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  letter-spacing: 0.1px;
}

html[dir="ltr"] .amz-subnav-btn.all-btn i {
  margin-left: 0;
  margin-right: 6px;
}

html[dir="ltr"] .amz-location-icon {
  margin-left: 0;
  margin-right: 6px;
}

html[dir="ltr"] .amz-cart-icon-wrap {
  margin-left: 0;
  margin-right: 4px;
}

html[dir="ltr"] .amz-sidebar {
  right: auto;
  left: -100%;
  box-shadow: 4px 0 20px rgba(0,0,0,0.5);
  transition: left 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

html[dir="ltr"] .amz-sidebar.open {
  left: 0;
  right: auto;
}

html[dir="ltr"] .amz-sidebar-close {
  left: auto;
  right: -42px;
}

html[dir="ltr"] .amz-sidebar-row i {
  transform: rotate(180deg);
}

html[dir="ltr"] .amz-cart-drawer {
  left: auto;
  right: -100%;
  box-shadow: -4px 0 25px rgba(0,0,0,0.3);
  transition: right 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

html[dir="ltr"] .amz-cart-drawer.open {
  right: 0;
  left: auto;
}

html[dir="ltr"] .amz-nav-flyout {
  left: auto;
  right: 0;
  transform: none;
}

html[dir="ltr"] .amz-badge-limited-time {
  margin-left: 10px;
  margin-right: 0;
}

html[dir="ltr"] .amz-search-cat-select,
html[dir="ltr"] .amz-search-dept {
  border-left: none !important;
  border-right: 1px solid #D5D9D9 !important;
  border-radius: 4px 0 0 4px !important;
}

html[dir="ltr"] .amz-search-input {
  direction: ltr !important;
  text-align: left !important;
}

html[dir="ltr"] .amz-search-btn,
html[dir="ltr"] .amz-search-submit {
  border-radius: 0 4px 4px 0 !important;
}

html[dir="ltr"] .amz-two-line {
  align-items: flex-start !important;
  text-align: left !important;
}

html[dir="ltr"] .amz-location-text {
  text-align: left !important;
}

/* ==========================================================================
   ADVANCED AMAZON.EG DESIGN SYSTEM COMPONENTS
   ========================================================================== */

/* 1. SEARCH AUTOCOMPLETE SUGGESTIONS */
.amz-search-wrapper {
  flex: 1;
  position: relative;
  max-width: 820px;
}
.amz-search-bar:focus-within {
  box-shadow: 0 0 0 2px #C45500, 0 0 0 3px #F90;
  border-radius: 4px;
}
.amz-search-suggestions {
  position: absolute;
  top: 100%;
  right: 0;
  left: 0;
  background: #FFFFFF;
  border: 1px solid #D5D9D9;
  border-top: none;
  border-radius: 0 0 4px 4px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.25);
  z-index: 2000;
  color: #0F1111;
  max-height: 380px;
  overflow-y: auto;
}
.amz-suggestion-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  cursor: pointer;
  border-bottom: 1px solid #F3F3F3;
  transition: background 0.15s;
}
.amz-suggestion-item:hover {
  background-color: #F7F7F7;
}
.amz-suggestion-item img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  border-radius: 2px;
  background: #FAFAFA;
}
.amz-suggestion-item .title {
  flex: 1;
  font-size: 13px;
  font-weight: 600;
  color: #0F1111;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.amz-suggestion-item .brand {
  font-size: 11px;
  color: #565959;
  margin-top: 2px;
}
.amz-suggestion-item .price {
  font-size: 14px;
  font-weight: 800;
  color: #B12704;
}

/* 2. ACCOUNT & LISTS HOVER FLYOUT MEGA MENU */
.amz-account-wrap {
  position: relative;
}
.amz-nav-flyout {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  width: 450px;
  background: #FFFFFF;
  color: #0F1111;
  border-radius: 4px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
  padding: 18px 20px;
  z-index: 2100;
  cursor: default;
}
.amz-account-wrap:hover .amz-nav-flyout {
  display: block;
}
.amz-flyout-arrow {
  position: absolute;
  top: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-bottom: 8px solid #FFFFFF;
}
.amz-flyout-btn-wrap {
  text-align: center;
  padding-bottom: 14px;
  border-bottom: 1px solid #E7E7E7;
  margin-bottom: 14px;
}
.amz-flyout-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.amz-flyout-col h4 {
  font-size: 14px;
  font-weight: 800;
  color: #0F1111;
  margin-bottom: 10px;
}
.amz-flyout-col ul {
  list-style: none;
}
.amz-flyout-col ul li {
  margin-bottom: 7px;
}
.amz-flyout-col ul li a {
  font-size: 12px;
  color: #444;
}
.amz-flyout-col ul li a:hover {
  color: var(--amz-orange-dark);
}

/* 3. CAROUSELS & SCROLL CONTROLS */
/* 3. CAROUSELS & SCROLL CONTROLS (AMAZON EXACT EXPERIENCE) */
.amz-carousel-wrapper {
  position: relative;
  width: 100%;
}
.amz-scroll-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 1px solid #D5D9D9;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.16);
  font-size: 15px;
  color: #0F1111;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  outline: none;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.22s ease, transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease;
  user-select: none;
}
.amz-scroll-btn:hover {
  background: #FFFFFF;
  border-color: #007185;
  color: #007185;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.24);
  transform: translateY(-50%) scale(1.08);
}
.amz-scroll-btn:active {
  transform: translateY(-50%) scale(0.96);
  background: #F0F2F2;
}
.amz-scroll-btn:focus-visible {
  box-shadow: 0 0 0 3px rgba(0, 113, 133, 0.35);
}
.amz-scroll-btn.right { right: 6px; }
.amz-scroll-btn.left { left: 6px; }
.amz-scroll-btn.is-hidden {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  transform: translateY(-50%) scale(0.85);
}

.amz-bestsellers-section, .amz-brands-section {
  background: #FFFFFF;
  padding: 18px 20px;
  border-radius: 4px;
  margin-bottom: 20px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}
.amz-bestsellers-carousel {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 8px 4px 14px;
}
.amz-bestsellers-carousel::-webkit-scrollbar { height: 6px; }
.amz-bestsellers-carousel::-webkit-scrollbar-thumb { background: #CCC; border-radius: 3px; }

.amz-bestseller-card {
  flex: 0 0 200px;
  background: #FFFFFF;
  border: 1px solid #E7E7E7;
  border-radius: 4px;
  padding: 12px;
  cursor: pointer;
  position: relative;
  transition: box-shadow 0.2s, transform 0.2s;
}
.amz-bestseller-card:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,0.12);
  transform: translateY(-2px);
}
.amz-bestseller-rank {
  position: absolute;
  top: 8px;
  right: 8px;
  background: #E67A00;
  color: #FFFFFF;
  font-size: 12px;
  font-weight: 900;
  padding: 2px 8px;
  border-radius: 3px;
  z-index: 2;
}
.amz-bestseller-img {
  width: 100%;
  height: 150px;
  object-fit: contain;
  margin-bottom: 8px;
}

/* 4. BRANDS PARTNER RIBBON */
.amz-brands-ribbon {
  display: flex;
  align-items: center;
  gap: 14px;
  overflow-x: auto;
  padding: 6px 0 10px;
}
.amz-brand-pill {
  flex: 0 0 auto;
  background: #F8FAFC;
  border: 1px solid #D5D9D9;
  border-radius: 20px;
  padding: 8px 18px;
  font-size: 13px;
  font-weight: 700;
  color: #0F1111;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  gap: 6px;
}
.amz-brand-pill:hover, .amz-brand-pill.active {
  background: #232F3E;
  color: #FFFFFF;
  border-color: #232F3E;
}

/* 5. LIGHTNING DEALS CLAIM PROGRESS */
.amz-deal-claim-wrap {
  margin-top: 6px;
}
.amz-deal-claim-bar {
  width: 100%;
  height: 6px;
  background: #E7E7E7;
  border-radius: 3px;
  overflow: hidden;
  margin-bottom: 3px;
}
.amz-deal-claim-fill {
  height: 100%;
  background: #E67A00;
  border-radius: 3px;
}
.amz-deal-claim-text {
  font-size: 11px;
  color: #565959;
}

/* 6. AMAZON 2-COLUMN CATALOG & FILTER SIDEBAR */
.amz-catalog-section {
  margin-top: 24px;
}
.amz-catalog-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 20px;
  align-items: start;
}
.amz-filter-sidebar {
  background: #FFFFFF;
  border: 1px solid #E7E7E7;
  border-radius: 4px;
  padding: 16px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}
.amz-filter-card {
  border-bottom: 1px solid #E7E7E7;
  padding-bottom: 14px;
  margin-bottom: 14px;
}
.amz-filter-card:last-child {
  border-bottom: none;
  padding-bottom: 0;
  margin-bottom: 0;
}
.amz-filter-card h3 {
  font-size: 14px;
  font-weight: 800;
  color: #0F1111;
  margin-bottom: 10px;
}
.amz-checkbox-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  cursor: pointer;
  margin-bottom: 8px;
  color: #0F1111;
}
.amz-checkbox-row input {
  cursor: pointer;
  width: 16px;
  height: 16px;
  accent-color: var(--amz-orange);
}
.amz-prime-pill {
  color: #00A8E1;
  font-weight: 900;
  font-size: 13px;
  letter-spacing: -0.5px;
}
.amz-filter-sublabel {
  font-size: 12px;
  color: #333;
}
.amz-stars-filter-row {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  padding: 4px 0;
}
.amz-stars-filter-row:hover span:last-child {
  color: var(--amz-orange-dark);
}
.amz-price-range-link {
  font-size: 12px;
  color: var(--amz-link);
  padding: 4px 0;
  cursor: pointer;
}
.amz-price-range-link:hover {
  color: var(--amz-link-hover);
  text-decoration: underline;
}
.amz-custom-price-inputs {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
}
.amz-custom-price-inputs input {
  width: 70px;
  padding: 6px 8px;
  border: 1px solid #D5D9D9;
  border-radius: 3px;
  font-size: 12px;
}
.amz-custom-price-inputs button {
  background: var(--amz-bg);
  border: 1px solid #D5D9D9;
  padding: 6px 10px;
  border-radius: 3px;
  font-size: 12px;
  font-weight: bold;
}
.amz-custom-price-inputs button:hover {
  background: #E2E8F0;
}
.amz-btn-reset-filters {
  width: 100%;
  padding: 8px;
  background: #F8FAFC;
  border: 1px solid #CBD5E1;
  border-radius: 4px;
  font-size: 12px;
  font-weight: bold;
  color: #475569;
  margin-top: 8px;
}
.amz-btn-reset-filters:hover {
  background: #F1F5F9;
  color: #0F172A;
}

/* RESULTS MAIN AREA */
.amz-results-counter {
  font-size: 14px;
  color: #565959;
}
.amz-sort-box {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #565959;
}
.amz-sort-box select {
  padding: 6px 12px;
  border: 1px solid #D5D9D9;
  border-radius: 4px;
  font-weight: bold;
  background: #F0F2F2;
  cursor: pointer;
}
.amz-active-pills-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}
.amz-active-pill {
  background: #FFFFFF;
  border: 1px solid #D5D9D9;
  border-radius: 14px;
  padding: 4px 12px;
  font-size: 12px;
  font-weight: bold;
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}
.amz-active-pill:hover {
  background: #FFF1E5;
  border-color: var(--amz-orange);
}

/* 7. QUICK VIEW MODAL & BUY BOX */
.amz-quickview-container {
  background: #FFFFFF;
  width: 100%;
  max-width: 1100px;
  margin: 30px auto;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 4px 25px rgba(0,0,0,0.35);
}
.amz-quickview-header {
  background: var(--amz-dark);
  color: #FFFFFF;
  padding: 12px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: bold;
  font-size: 14px;
}
.amz-quickview-header button {
  color: #FFF;
  font-size: 24px;
}
.amz-quickview-grid {
  display: grid;
  grid-template-columns: 320px 1fr 280px;
  gap: 20px;
  padding: 24px;
  max-height: 82vh;
  overflow-y: auto;
}
.amz-qv-gallery {
  display: flex;
  gap: 12px;
}
.amz-qv-thumbnails {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.amz-qv-thumb {
  width: 50px;
  height: 50px;
  border: 1px solid #D5D9D9;
  border-radius: 3px;
  object-fit: contain;
  cursor: pointer;
  padding: 2px;
}
.amz-qv-thumb.active, .amz-qv-thumb:hover {
  border-color: #E77600;
  box-shadow: 0 0 3px rgba(231,118,0,0.5);
}
.amz-qv-main-img-wrap {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #E7E7E7;
  border-radius: 4px;
  padding: 16px;
  background: #FAFAFA;
}
.amz-qv-main-img-wrap img {
  max-width: 100%;
  max-height: 280px;
  object-fit: contain;
}
.amz-qv-brand-tag {
  font-size: 12px;
  color: var(--amz-link);
  font-weight: bold;
  margin-bottom: 4px;
}
.amz-qv-title {
  font-size: 18px;
  font-weight: 700;
  color: #0F1111;
  line-height: 1.4;
  margin-bottom: 8px;
}
.amz-qv-rating-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  margin-bottom: 12px;
}
.amz-qv-pricing-card {
  background: #F7F7F7;
  border: 1px solid #E7E7E7;
  border-radius: 4px;
  padding: 12px 16px;
  margin-bottom: 14px;
}
.amz-qv-main-price {
  font-size: 24px;
  font-weight: 800;
  color: #0F1111;
}
.amz-qv-old-price {
  font-size: 13px;
  color: #565959;
  text-decoration: line-through;
}
.amz-qv-save-badge {
  font-size: 12px;
  color: var(--amz-green);
  font-weight: bold;
  margin-top: 2px;
}
.amz-prime-delivery-notice {
  font-size: 12px;
  color: #007185;
  margin-top: 6px;
  font-weight: 600;
}
.amz-qv-bullets-section h4 {
  font-size: 13px;
  font-weight: 800;
  margin-bottom: 6px;
}
.amz-qv-bullets-list {
  list-style-type: square;
  padding-right: 18px;
  font-size: 12px;
  color: #333;
  line-height: 1.7;
}
.amz-qv-desc {
  font-size: 12px;
  color: #555;
  margin-top: 10px;
  line-height: 1.6;
}

/* THE AMAZON BUY BOX */
.amz-buybox {
  background: #FFFFFF;
  border: 1px solid #D5D9D9;
  border-radius: 8px;
  padding: 18px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.08);
}
.amz-bb-price {
  font-size: 22px;
  font-weight: 800;
  color: #B12704;
  margin-bottom: 6px;
}
.amz-bb-delivery {
  font-size: 12px;
  line-height: 1.5;
  margin-bottom: 10px;
}
.amz-bb-location {
  font-size: 12px;
  color: var(--amz-link);
  margin-bottom: 10px;
}
.amz-bb-stock {
  font-size: 16px;
  font-weight: 700;
  color: var(--amz-green);
  margin-bottom: 12px;
}
.amz-bb-qty-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  margin-bottom: 14px;
}
.amz-bb-qty-row select {
  padding: 5px 12px;
  border: 1px solid #D5D9D9;
  border-radius: 4px;
  background: #F0F2F2;
  font-weight: bold;
}
.amz-bb-btn-cart {
  width: 100%;
  padding: 10px;
  margin-bottom: 8px;
}
.amz-bb-btn-buy {
  width: 100%;
  padding: 10px;
  background: var(--amz-buy-now);
  border-color: #FF8F00;
  margin-bottom: 14px;
}
.amz-bb-btn-buy:hover {
  background: var(--amz-buy-now-hover);
}
.amz-bb-meta {
  border-top: 1px solid #E7E7E7;
  padding-top: 10px;
  font-size: 11px;
  color: #565959;
}
.amz-bb-meta-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 4px;
}
.amz-badge-limited-time {
  background: #CC0C39;
  color: #FFF;
  font-size: 11px;
  font-weight: bold;
  padding: 2px 8px;
  border-radius: 3px;
}
.amz-link-see-all {
  margin-right: auto;
  font-size: 13px;
  font-weight: bold;
}
