/*
Theme Name: Arab Offers Boutique
Description: The finalized high-end boutique aesthetic for Arab Offers.
*/

@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,300;9..144,400;9..144,500&family=Space+Grotesk:wght@500;700;800&display=swap');

/* 01 Variables */
:root {
  --bg-main: #FFFFFF;
  --bg-alt: #F9FAFB;
  --bg-white: #FFFFFF;
  --text-primary: #111827;
  --text-secondary: #4B5563;
  --text-muted: #9CA3AF;
  --brand-accent: #000000;
  --brand-accent-hover: #333333;
  --accent-sale: #F43F5E;
  --accent-delivery: #3B82F6;
  --border-soft: #EAECEF;
  --font-ui: 'Outfit', sans-serif;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --radius-pill: 99px;
}

/* 02 Reset */
html,
body {
  overflow-x: hidden;
  width: 100%;
  position: relative;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: var(--font-ui);
}

body {
  background: var(--bg-main);
  color: var(--text-primary);
  -webkit-font-smoothing: antialiased;
}

/* ==========================================================
   Safari iOS homepage only
========================================================== */

/* Reserved for future Safari-only fixes */

/* 03 Typography */
.hero-en-tag {

  margin:0;

  font-family:'Space Grotesk',sans-serif;

  font-size:13px;

  font-weight:800;

  letter-spacing:.38em;

  text-transform:uppercase;

  color:#646464;

}

.hero-title{

    margin:0;

    font-family:'Fraunces',serif;

    font-size:clamp(88px,7.8vw,112px);

    font-weight:400;

    line-height:.82;

    letter-spacing:-0.035em;

    white-space:nowrap;

}

.hero-title-arab{

    display:inline;

    font:inherit;

    letter-spacing:inherit;

    line-height:inherit;

    background:linear-gradient(

        90deg,

        #2d2418 0%,

        #4d3922 18%,

        #6b4b29 38%,

        #8b6333 58%,

        #a97a3b 76%,

        #bc9352 100%

    );

    -webkit-background-clip:text;
    background-clip:text;

    -webkit-text-fill-color:transparent;

}

.hero-title-offers{

    display:inline;

    font:inherit;

    letter-spacing:inherit;

    line-height:inherit;

      background:linear-gradient(
    90deg,

        #2d2418 0%,

        #4d3922 18%,

        #6b4b29 38%,

        #8b6333 58%,

        #a97a3b 76%,

        #bc9352 100%
    );

    -webkit-background-clip:text;
    background-clip:text;
    -webkit-text-fill-color:transparent;

}



.hero-subtitle{

    margin:4px 0 0;

    font-family:'Space Grotesk',sans-serif;

    font-size:25px;

    font-weight:560;

    text-transform:uppercase;

    letter-spacing:.14em;

    background:linear-gradient(
        90deg,
        #2d2418 0%,
        #9c7340 50%,
        #2d2418 100%
    );

    -webkit-background-clip:text;

    -webkit-text-fill-color:transparent;

}

.hero-arabic{

    display:block;

    width:100%;

    margin:0 auto;

    max-width:720px;

    text-align:center;

    font-size:19px;

    line-height:1.75;

    font-weight:600;

    color:#444;

    letter-spacing:0;

    transform:translateX(-4px);

}

.section-main-title {
  font-size: 28px;
  font-weight: 800;
  background: linear-gradient(to right, #111 0%, #B88E55 25%, #111 50%, #B88E55 75%, #111 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  white-space: nowrap;
}

.subpage-title,
.subpage-delivery-highlight {
  pointer-events: none;
}

.subpage-title {
  font-size: 22px;
  font-weight: 800;
  color: #12141D;
  margin-bottom: 2px;
  text-align: center;
  line-height: 1.1;
}

.desc-label {
  font-size: 22px;
  font-weight: 800;
  color: #12141D;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* 04 Utilities */
.header-main .brand-logo,
.header-main .shopping-bag-btn,
.header-main .header-actions,
.subpage-breadcrumb,
.breadcrumb-link {
  pointer-events: auto;
}

.close-cart {
  background: none;
  border: none;
  font-size: 32px;
  cursor: pointer;
  color: #111;
}

.qty-controls {
  display: flex;
  align-items: center;
  gap: 12px;
}

.qty-btn {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  border: 1px solid var(--border-soft);
  background: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
}

.social-icon {
  width: 3.5vw;
  height: 3.5vw;
  border: 1px solid var(--border-soft);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-accent);
  text-decoration: none;
  transition: var(--transition);
  font-size: 1.2vw;
}

.social-icon:hover {
  background: var(--brand-accent);
  color: #FFF;
  transform: translateY(-0.5vw);
}

.subpage-breadcrumb {
  position: relative;
  z-index: 99999;
  pointer-events: auto;

  margin-top: 20px;
  margin-bottom: 10px;

  display: flex;
  justify-content: center;
  align-items: center;
}

.breadcrumb-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  position: relative;
  z-index: 99999;
  pointer-events: auto;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}

.input-group {
  margin-bottom: 16px;
  text-align: left;
}

.input-group label {
  display: block;
  font-size: 13px;
  font-weight: 800;
  color: #111;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
}

.input-group input,
.input-group select {
  width: 100%;
  padding: 12px 16px;
  background: #F3F4F6;
  border: 1px solid transparent;
  border-radius: 10px;
  font-size: 14px;
  color: #111;
  transition: all 0.3s ease;
}

.input-group input:focus,
.input-group select:focus {
  border-color: #000;
  background: #FFF;
  outline: none;
  box-shadow: 0 0 0 1px #000;
}

.checkout-qty-controls {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 8px;
}

.checkout-qty-controls .qty-btn {
  width: 24px;
  height: 24px;
  background: #FFF;
  border: 1px solid #DDD;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.checkout-qty-controls .qty-btn:hover {
  background: #000;
  color: #FFF;
  border-color: #000;
}

.checkout-qty-controls span {
  font-size: 14px;
  font-weight: 700;
  color: #111;
  min-width: 15px;
  text-align: center;
}

.delivery-highlight-text {
  width: 100%;
  padding: 16px 16px;
  margin-bottom: 20px;
  background: transparent;
  color: #111;
  text-align: center;
  font-size: 36px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  line-height: 1.2;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
}

.delivery-highlight-text svg {
  color: #111;
}

/* 05 Header */
.header-spacer {
  height: 60px;
}

.header-main {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1001;

  padding: 8px 0;

  background: rgba(255,255,255,.96);

  backdrop-filter: blur(16px);

  -webkit-backdrop-filter: blur(16px);

  border-bottom:1px solid rgba(0,0,0,.06);

  box-shadow:0 4px 20px rgba(0,0,0,.05);

  transition:
      background .25s ease,
      border-color .25s ease,
      box-shadow .25s ease;

  pointer-events:none;
}

body.home .header-main,
body.front-page .header-main,
body.home.blog .header-main,
body.home #navbar{

    background: transparent;

    border-bottom: none;

    box-shadow: none;

    backdrop-filter: none;

    -webkit-backdrop-filter: none;

}

body.home .header-main.is-solid,
body.front-page .header-main.is-solid,
body.home.blog .header-main.is-solid,
body.home #navbar.is-solid{

    background: rgba(255,255,255,.96);

    border-bottom: 1px solid rgba(0,0,0,.06);

    box-shadow: 0 4px 20px rgba(0,0,0,.05);

    backdrop-filter: blur(16px);

    -webkit-backdrop-filter: blur(16px);

}

.header-actions {
  position: relative;
  z-index: 3000;
  flex-shrink: 0;
  justify-self: end;
}

.header-inner {
  display: grid;
  grid-template-columns: auto minmax(420px, 700px) auto;
  align-items: center;
  gap: 32px;
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 4vw;
}

.header-search-wrapper {
  width: 100%;
  position: relative;
  pointer-events: auto;
}

.header-search-box {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  height: 42px;
  padding: 10px 24px;
  background: #fff;
  border: none;
  border-radius: 12px;
  box-shadow: none;
  transition: var(--transition);
  overflow: hidden;
  isolation: isolate;
}

.header-search-box::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 12px;
  padding: 1.5px;
  background: linear-gradient( to right, #111 0%, #B88E55 25%, #111 50%, #B88E55 75%, #111 100% );
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.header-search-box:hover {
  background: #FDF8ED;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(184, 142, 85, .15);
}

.header-search-box:focus-within {
  background: #FFF;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(184, 142, 85, .15);
}

.search-icon {
  width: 18px;
  height: 18px;
  color: #111;
  margin-right: 12px;
  flex-shrink: 0;
}

.header-search-input {
  flex: 1;
  border: none;
  outline: none;
  background: none;
  font-size: 15px;
  font-weight: 500;
  color: #111;
  padding-right: 42px;
}

.search-clear-btn {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  display: none;
  align-items: center;
  justify-content: center;
  border: none;
  background: transparent;
  color: #888;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  transition: .2s ease;
  z-index: 5;
}

.search-clear-btn:hover {
  color: #111;
}

.search-clear-btn.visible {
  display: flex;
}

.header-search-input::placeholder {
  color: #8a8a8a;
}

.logo-img {
  height: 60px;
  max-width: 100%;
  width: auto;
  transition: var(--transition);
}

.brand-logo {
  min-width: 0;
  flex-shrink: 1;
  display: flex;
  align-items: center;
}

.shopping-bag-btn {
  background: transparent;
  border: none;
  padding: 10px 24px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
}

.shopping-bag-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 12px;
  padding: 1.5px;
  background: linear-gradient(to right, #111 0%, #B88E55 25%, #111 50%, #B88E55 75%, #111 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.shopping-bag-btn svg {
  width: 22px;
  height: 22px;
  min-width: 22px;
  max-width: 22px;
  flex: none;
}

.bag-label {
  background: linear-gradient(to right, #111 0%, #B88E55 25%, #111 50%, #B88E55 75%, #111 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  display: inline-block;
}

.shopping-bag-btn:hover {
  background: #FDF8ED;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(184, 142, 85, 0.15);
}

.bag-count {
  width: 24px;
  height: 24px;
  min-width: 24px;
  max-width: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: linear-gradient( 135deg, #D8A33A 0%, #B8860B 40%, #8C6112 100% );
  border: 1px solid rgba(95, 62, 8, .45);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, .25), 0 2px 6px rgba(0, 0, 0, .20);
  flex: none;
}

.cart-header {
  padding: 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border-soft);
}

.cart-header h2 {
  font-size: 18px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.checkout-header-bar {
  background: #FFF;
  padding: 15px 20px;
  text-align: center;
  flex-shrink: 0;
  border-bottom: none;
  border-radius: 12px 12px 0 0;
}

.checkout-header-title {
  color: #111;
  font-size: 20px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin: 0;
}

.checkout-header-subtext {
  font-size: 14px;
  color: #6B7280;
  font-weight: 500;
  margin-top: 5px;
}

.whatsapp-card-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

/* 06 Hero */
.hero{

    position:relative;

    overflow:hidden;

    background:#fcfaf5;

    display:flex;

    justify-content:center;

    align-items:flex-start;

    width:100%;

    min-height:clamp(540px,60vh,670px);

}
/* Bottom fade */

.hero::after{

    content:"";

    position:absolute;

    left:0;

    right:0;

    bottom:0;

    height:16px;

    pointer-events:none;

    z-index:4;

    background:linear-gradient(

        to bottom,

        rgba(252,250,245,0) 0%,

        rgba(255,255,255,1) 100%

    );

}
.hero-bg{

    position:absolute;

    inset:0;

    overflow:hidden;

    z-index:0;

}

/* ==========================================================
   Safari iOS - Hero top fade into Safari white strip
========================================================== */

html.ios-safari body.home .hero-bg::before,
html.ios-safari body.front-page .hero-bg::before,
html.ios-safari body.home.blog .hero-bg::before{

    content:"";

    position:absolute;

    top:0;
    left:0;
    right:0;

    height:140px;

    pointer-events:none;

    z-index:2;

    background:linear-gradient(
        to bottom,
        rgba(255,255,255,1) 0%,
        rgba(255,255,255,.95) 12%,
        rgba(255,255,255,.82) 28%,
        rgba(255,255,255,.60) 48%,
        rgba(255,255,255,.32) 68%,
        rgba(255,255,255,.12) 85%,
        rgba(255,255,255,0) 100%
    );

}

.hero-bg-image{

    position:absolute;

    inset:0;

    width:100%;

    height:100%;

    object-fit:cover;

    object-position:center top;

    pointer-events:none;

    user-select:none;

}


.hero-inner{

    position:relative;

    z-index:5;

    width:100%;

    max-width:1600px;

    height:100%;

    margin:0 auto;

    display:flex;

    flex-direction:column;

    align-items:center;

    padding-left:clamp(20px,4vw,64px);

    padding-right:clamp(20px,4vw,64px);

    padding-top:clamp(88px,7vh,108px);

    padding-bottom:18px;

}

.hero-content{

    width:min(860px,92%);

    text-align:center;

    margin-top:clamp(18px,2.5vh,34px);

    margin-bottom:clamp(10px,2vh,18px);

}

.hero-content>*+*{

    margin-top:6px;

}

.hero-products{

    margin-top:auto;

    width:100%;

    display:flex;

    justify-content:center;

    align-items:flex-end;

    padding-bottom:18px;

}

.hero-products-image{

    display:block;

    width:clamp(360px,34vw,560px);

    height:auto;

    user-select:none;

    pointer-events:none;

    filter:none;

    transition:none;

}
.checkout-trust-icons {
  display: flex;
  justify-content: center;
  gap: 20px;
  padding: 20px 0;
  background: #F9FAFB;
  border-top: 1px solid #EEE;
  border-radius: 0 0 12px 12px;
}

.trust-mini {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  color: #6B7280;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* 08 Section Divider */
.section-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  padding:12px 4vw 0;
  gap: 30px;
  max-width: 1400px;
  margin: 0 auto;
}

.divider-line {
  flex: 1;
  min-width: 24px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(184, 142, 85, 0.3), transparent);
}

/* 09 Product Grid */
.section-products {
  position: relative;
  z-index: 5;
  background: #fff;
  margin-top: 0px;
  padding: 85px 4vw 80px;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
  justify-content: center;
}

/* 10 Product Cards */
.product-card-v2 {
  background: #FFF;
  padding: 0px;
  border-radius: 18px;
  display: flex;
  flex-direction: column;
  height: 100%;
  width: 100%;
  max-width: none;
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.15);
  box-shadow: 0 4px 12px rgba(0, 0, 0, .05), 0 12px 28px rgba(0, 0, 0, .05);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.product-card-v2:hover{

    transform:translateY(-6px);

    border-color:rgba(184,142,85,.35);

    box-shadow:

        0 20px 45px rgba(0,0,0,.10),

        0 8px 18px rgba(184,142,85,.08);

}

.product-stage img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .35s ease;
  cursor:pointer;
}

.product-card-v2:hover .product-stage img {
  transform: scale(1.03);
}

.product-badges-row{

    display:flex;

    justify-content:center;

    align-items:flex-start;

    flex-wrap:wrap;

    gap:8px;

    width:100%;

    min-height:58px;

    margin-bottom:6px;

}

.product-badge-static,
.free-delivery-tag {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: clamp(9px, 0.75vw, 12px);
  font-weight: 700;
  padding: clamp(5px, .6vw, 6px) clamp(10px, 1vw, 14px);
  border-radius: 8px;
  text-transform: uppercase;
  letter-spacing: .04em;
  border: 1.5px solid transparent;
}

.product-badge-static {
  color: var(--accent-sale);
  border-color: var(--accent-sale);
}

.free-delivery-tag {
  color: var(--accent-delivery);
  border-color: var(--accent-delivery);
}

.product-details-v2{

    display:flex;

    flex-direction:column;

    flex:1 1 auto;

    min-height:0;

    padding:clamp(12px,1vw,18px);

    gap:12px;

}

.product-title-v2 {
    display: block;
    width: 100%;
    text-align: center;

    font-size: clamp(15px, 1vw, 17px);
    font-weight: 700;
    line-height: 1.45;

    padding: 0 6px;
    margin: 0;

    cursor: pointer;

    /* NEW */
    min-height: calc(1.45em * 4);
}

.product-price-v2{

    display:flex;

    flex-direction:column;

    align-items:center;

    justify-content:flex-end;

    flex-shrink:0;

    gap:4px;

    margin-top:auto;

    padding-top:12px;

}

.old-price-v2 {
  font-size: clamp(13px, 0.9vw, 14px);
  color: #9CA3AF;
  text-decoration: line-through;
}

.current-price-v2 {
  font-size: clamp(24px, 1.8vw, 32px);
  font-weight: 900;
  letter-spacing: -1px;
  color: #000;
}

.product-actions-v2{

    display:flex;

    align-items:center;

    gap:clamp(8px,.8vw,10px);

    margin-top:12px;

    flex-shrink:0;

}

.product-stage {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  cursor:pointer;
}

.pill-buy-btn-v2 {
  flex: 1;
  height: 52px;
  border-radius: 14px;
  font-size: clamp(13px, 0.9vw, 17px);
  font-weight: 700;
  letter-spacing: .08em;
  background: #111;
  color: #fff;
  cursor: pointer;
  transition: .25s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  line-height: 1.15;
  border: none;
}

.pill-buy-btn-v2:hover {
  background: #333;
  transform: translateY(-2px);
}

.square-cart-btn-v2 {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  border: 1px solid #DDD;
  background: #FFF;
  color: #111;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: .25s ease;
}

.square-cart-btn-v2:hover {
  background: #F9FAFB;
  border-color: #000;
  color: #000;
}

/* 11 Product Details */
.product-detail-subpage {
  max-width: 1440px;
  margin: 0 auto;

  padding: 1px 4vw 10px;

  position: relative;
  z-index: 1;

  text-align: center;
}

.subpage-delivery-highlight {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(135deg, #FFD700 0%, #B88E55 100%);
  color: #000;
  padding: 7px 20px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin: 0 auto 18px;
  width: fit-content;
  border: 2px solid #FFF;
  box-shadow: 0 5px 20px rgba(184, 142, 85, 0.4);
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.subpage-delivery-highlight::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.6), transparent);
  animation: shimmer 3s infinite;
}

.subpage-delivery-highlight:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 30px rgba(184, 142, 85, 0.5);
}

.subpage-main-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: stretch;
  justify-items: stretch;
  max-width: 1440px;
  width: 100%;
  height: 700px;
  margin: 0 auto 20px;
  padding: 0;
  overflow: visible;
}

.subpage-gallery {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.subpage-product-stats {
  margin-top: 18px;
  margin-bottom: 35px;
  width: 100%;
}

.price-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.subpage-current-price {
  font-size: 36px;
  font-weight: 900;
  color: #111;
  line-height: 1;
}

.subpage-old-price {
  font-size: 20px;
  font-weight: 700;
  color: #999;
  text-decoration: line-through;
}

.subpage-sold-block {
  font-size: 18px;
  font-weight: 800;
  color: #16A34A;
  white-space: nowrap;
}

.main-img-wrap{

    width:100%;

    height:700px;

    display:flex;

    flex-direction:column;

    overflow:hidden;

    background:#ffffff;

    border-radius:12px;

    box-shadow:
        0 0 0 1px rgba(0,0,0,.18),
        0 10px 40px rgba(0,0,0,.05);

}

.subpage-image-stage{

    position:relative;

    flex:1 1 auto;

    min-height:0;

    overflow:hidden;

    background:#ffffff;

    display:flex;

    align-items:flex-start;

    justify-content:center;

} 

.subpage-main-img{

    display:block;

    width:100%;

    height:100%;

    max-width:100%;

    max-height:100%;

    margin:0;

    padding:0;

    object-fit:contain;

    object-position:center top;

    background:transparent;

    opacity:1;

    transform:none;

    transition:
        opacity .28s ease;

    will-change:opacity;

    backface-visibility:hidden;

    -webkit-backface-visibility:hidden;

}

.subpage-thumbnails{

    display:flex;

    justify-content:center;

    align-items:center;

    flex-wrap:wrap;

    gap:8px;

    padding:10px 10px 14px;

    background:#FFF;

    border-top:1px solid rgba(0,0,0,.05);

    flex:0 0 auto;

}

.detail-thumb{

    width:50px;

    height:50px;

    border-radius:8px;

    object-fit:cover;

    cursor:pointer;

    background:#F8F9FA;

    border:2px solid transparent;

    opacity:.72;

    transform:scale(.96);

    transition:
    opacity .30s ease,
    transform .30s cubic-bezier(.22,.61,.36,1),
    border-color .30s ease,
    box-shadow .30s ease,
    filter .30s ease;

}

.detail-thumb:hover{

    opacity:1;

    transform:translateY(-2px) scale(1.05);

    filter:brightness(1.05);

}

.detail-thumb.active{

    opacity:1;

    transform:translateY(-3px) scale(1.10);

    border-color:#111;

    filter:brightness(1.08);

    box-shadow:
        0 0 0 3px rgba(184,142,85,.18),
        0 10px 24px rgba(0,0,0,.20);

}

.subpage-checkout {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.subpage-description-section {
  margin-top: 49px;
  padding-top: 15px;
  border-top: 1px solid #EEE;
}

.subpage-desc-content,
.subpage-desc-content p,
.subpage-desc-content li {
  font-size: 16px;
  line-height: 1.8;
  color: #5F6473;
  text-align: justify !important;
  hyphens: auto;
  -webkit-hyphens: auto;
}

.subpage-desc-content img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  margin: 20px 0;
}

/* 12 Cart */
.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(8px);
  z-index: 10000;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.cart-overlay.open {
  opacity: 1;
  visibility: visible;
}

.cart-sidebar {
  position: fixed;
  top: 20px;
  right: 20px;
  bottom: 20px;
  width: 420px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(25px);
  z-index: 10001;
  border-radius: 24px;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  transform: translateX(calc(100% + 40px));
  transition: var(--transition);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.cart-sidebar.open {
  transform: translateX(0);
}

.cart-items {
  flex: 1;
  overflow-y: auto;
  padding: 32px;
}

.cart-item {
  display: flex;
  gap: 20px;
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border-soft);
}

.cart-item-img {
  width: 80px;
  height: 80px;
  object-fit: contain;
  background: #F8F9FA;
  border-radius: 12px;
}

.cart-item-info {
  flex: 1;
}

.cart-item-title {
  font-weight: 700;
  font-size: 15px;
  margin-bottom: 8px;
  text-align: left;
}

.cart-item-price {
  color: var(--brand-accent);
  font-weight: 800;
  margin-bottom: 12px;
  text-align: left;
}

.cart-item-remove {
  color: #E60000;
  font-size: 12px;
  background: none;
  border: none;
  cursor: pointer;
  margin-left: auto;
  text-decoration: underline;
}

.cart-footer {
  padding: 32px;
  background: #F8F9FA;
  border-radius: 0 0 24px 24px;
}

.cart-checkout-btn {
  width: 100%;
  padding: 18px;
  background: #000;
  color: #FFF;
  border: none;
  border-radius: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  cursor: pointer;
  transition: var(--transition);
}

.cart-checkout-btn:hover {
  background: #333;
  transform: translateY(-2px);
}

.cart-clear-btn {
  width: 100%;
  padding: 14px;
  border: 1px solid #e53935;
  background: #fff;
  color: #e53935;
  font-weight: 700;
  border-radius: 12px;
  cursor: pointer;
  transition: 0.25s ease;
  margin-bottom: 12px;
}

.cart-clear-btn:hover {
  background: #e53935;
  color: #fff;
}

/* 13 Checkout */
.checkout-form-card {
  width: 100%;
  height: 700px;
  background: #FFF;
  border-radius: 12px;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.18), 0 10px 40px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.order-form {
  padding: 15px 25px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  overflow: hidden;
}

.order-total-summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-top: 1px solid #EEE;
  margin-top: auto;
}

.order-total-summary span {
  font-size: 18px;
  font-weight: 800;
  color: #6B7280;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.total-amount {
  font-size: 32px;
  font-weight: 900;
  color: #111;
}

.checkout-mode .order-total-summary span {
  font-size: 28px;
  font-weight: 800;
  color: #111;
}

.checkout-mode .total-amount {
  font-size: 52px !important;
  font-weight: 900 !important;
  color: #000 !important;
  letter-spacing: -0.02em;
}

.order-form-footer {
  margin-top: auto;
  padding-top: 8px;
  width: 100%;
}

.btn-place-order {
  width: 100%;
  padding: 16px;
  background: #000;
  color: #FFF;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-place-order:hover {
  background: #333;
}

.checkout-footer-note {
  margin: 6px 0;
  font-size: 11px;
  color: #666;
  text-align: center;
}

.whatsapp-order-card {
  margin-top: 8px;
  border: 1px solid #d6eadb;
  border-radius: 10px;
  background: #f8fffa;
  padding: 14px 16px;
  cursor: pointer;
  transition: all .2s ease;
}

.whatsapp-order-card:hover {
  border-color: #25D366;
  transform: translateY(-1px);
}

.whatsapp-icon {
  font-size: 16px;
}

.whatsapp-card-title {
  font-size: 14px;
  font-weight: 800;
  color: #111;
}

.whatsapp-card-benefits {
  font-size: 12px;
  line-height: 1.7;
  color: #555;
}

.btn-whatsapp-order {
  width: 100%;
  margin-top: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: #25D366;
  color: #ffffff;
  border: none;
  border-radius: 6px;
  padding: 9px 16px;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all .25s ease;
}

.btn-whatsapp-order:hover {
  background: #20bd5a;
  transform: translateY(-1px);
}

.whatsapp-btn-icon {
  width: 20px;
  height: 20px;
  color: #ffffff;
  flex-shrink: 0;
}

.whatsapp-btn-arrow {
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
}

.whatsapp-helper-text {
  text-align: center;
  margin-top: 8px;
  font-size: 12px;
  font-weight: 600;
  color: #6b7280;
}

.checkout-progress-bar {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-bottom: 40px;
  padding-bottom: 20px;
  border-bottom: 1px solid #EEE;
}

.checkout-progress-bar .step {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 700;
  color: #9CA3AF;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.checkout-progress-bar .step span {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #F3F4F6;
  color: #9CA3AF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
}

.checkout-progress-bar .step.active {
  color: #000;
}

.checkout-progress-bar .step.active span {
  background: #000;
  color: #FFF;
}

.checkout-progress-bar .step.completed span {
  background: #E5E7EB;
  color: #000;
}

.checkout-items-list {
  padding: 20px 30px;
  max-height: 400px;
  overflow-y: auto;
}

.checkout-mini-item {
  display: flex;
  align-items: center;
  gap: 25px;
  padding: 20px 0;
  border-bottom: 1px solid #F3F4F6;
}

.checkout-mini-item:last-child {
  border-bottom: none;
}

.checkout-mini-item img {
  width: 90px;
  height: 90px;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid #EEE;
}

.mini-item-info {
  flex: 1;
  text-align: left;
}

.mini-item-name {
  font-size: 16px;
  font-weight: 700;
  color: #111;
  line-height: 1.4;
  margin-bottom: 6px;
}

.mini-item-qty {
  font-size: 13px;
  color: #6B7280;
  font-weight: 500;
}

.mini-item-price {
  font-size: 18px;
  font-weight: 800;
  color: #000;
}

/* 14 Search */
.search-dropdown {
  position: absolute;
  top: calc(100% + 12px);
  left: 0;
  width: 100%;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, .12);
  display: none;
  z-index: 5000;
  max-height: 520px;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}

.search-dropdown.active {
  display: block;
}

.search-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 18px;
  cursor: pointer;
  transition: .2s;
  border-left: 3px solid transparent;
}

.search-item:hover {
  background: #faf6ee;
  border-left-color: #b88e55;
}

.search-thumb {
  width: 54px;
  height: 54px;
  object-fit: cover;
  border-radius: 10px;
  flex-shrink: 0;
  border: 1px solid #eee4d2;
  background: #f6efe0;
}

.search-info {
  flex: 1;
}

.search-title {
  font-weight: 600;
  color: #222;
  margin-bottom: 5px;
}

.search-price {
  color: #8d6b17;
  font-weight: 700;
}

.search-empty {
  padding: 20px;
  text-align: center;
  color: #777;
}

.search-view-all {
  padding: 15px;
  text-align: center;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .03em;
  color: #8d6b17;
  background: #fdfaf3;
  border-top: 1px solid #efe6d4;
  cursor: pointer;
  transition: .25s;
}

.search-view-all:hover {
  background: #b88e55;
  color: #fff;
}

.search-results-toolbar {
  padding-bottom: 14px;
  border-bottom: 1px solid #ececec;
  font-size: 15px;
  color: #555;
  max-width: 1400px;
  margin: 0 auto 45px;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 14px;
  text-align: center;
}

.search-results-toolbar strong {
  color: #111;
}

.search-results-page {
  padding: 70px 0 60px;
}

.search-results-toolbar::after {
  content: "";
  width: 64px;
  height: 3px;
  border-radius: 3px;
  background: linear-gradient(90deg, #e9c789, #b88e55, #e9c789);
}

.search-results-summary {
  font-size: 22px;
  font-weight: 600;
  color: #3a352c;
  text-align: center;
  letter-spacing: .2px;
  line-height: 1.5;
}

.search-results-summary strong {
  font-weight: 800;
  color: #111;
}

.search-results-summary strong:last-of-type {
  color: #b88e55;
}

.search-empty-state {
  width: 100%;
  max-width: 700px;
  margin: 100px auto;
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.search-empty-icon {
  font-size: 60px;
  margin-bottom: 20px;
}

.search-empty-state h2 {
  font-size: 34px;
  margin-bottom: 15px;
}

.search-empty-state p {
  color: #666;
  font-size: 18px;
}

.search-empty-tips {
  margin: 35px auto;
  text-align: center;
}

.search-empty-tips ul {
  list-style: none;
  padding: 0;
  margin: 15px auto;
}

.search-empty-tips li {
  margin: 10px 0;
  color: #555;
}

.search-view-all-btn {
  background: #111;
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 15px 36px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: .25s;
}

.search-view-all-btn:hover {
  background: #c89b2b;
}

#searchResultsContainer.search-empty {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

/* 15 Footer */
.footer {
  padding: 8vw 4vw 4vw;
  background: #FFF;
  border-top: 1px solid var(--border-soft);
}

.footer-grid {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 4vw;
  margin-bottom: 5vw;
}

.footer-col h3 {
  font-size: 1.1vw;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 2vw;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 1vw;
  font-size: 0.8vw;
}

.footer-links a,
.footer-links span {
  color: var(--text-secondary);
  text-decoration: none;
  transition: var(--transition);
  font-size: inherit;
}

.footer-links a:hover {
  color: var(--brand-accent);
}

/* 16 Modals */
.success-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .55);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 99999;
}

.success-modal.active {
  display: flex;
}

.success-modal-content {
  background: #fff;
  width: 90%;
  max-width: 500px;
  padding: 40px;
  border-radius: 20px;
  text-align: center;
  box-shadow: 0 20px 50px rgba(0, 0, 0, .2);
}

.success-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: #22c55e;
  color: #fff;
  font-size: 42px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.success-modal-content h2 {
  margin-bottom: 15px;
}

.success-modal-content p {
  line-height: 1.7;
  color: #666;
}

.success-btn {
  margin-top: 25px;
  padding: 14px 40px;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  font-weight: 600;
  background: #111;
  color: #fff;
}

/* 17 404 */
.ao-404-page {
  min-height: 55vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
}

.ao-404-box {
  width: 100%;
  max-width: 700px;
  text-align: center;
}

.ao-404-box h1 {
  font-size: 110px;
  margin: 0;
  line-height: 1;
  font-weight: 800;
  color: #111;
}

.ao-404-box h2 {
  font-size: 36px;
  margin: 20px 0;
  color: #111;
}

.ao-404-box p {
  font-size: 18px;
  line-height: 1.8;
  color: #666;
  margin-bottom: 40px;
}

.ao-404-button {
  display: inline-block;
  padding: 16px 40px;
  background: #111;
  color: #fff;
  text-decoration: none;
  border-radius: 12px;
  font-weight: 700;
  transition: .25s;
}

.ao-404-button:hover {
  background: #8a6b2d;
  color: #fff;
}

/* Animations */
@keyframes shimmer {
  0% { left: -100%; }
  50%, 100% { left: 100%; }
}

/* ==========================================================
   PRODUCT GALLERY ANIMATIONS
========================================================== */

.subpage-main-img.gallery-changing{

    opacity:0;

}

.subpage-main-img.gallery-show{

    opacity:1;

}

.detail-thumb.gallery-active{

    opacity:1;

    transform:scale(1.08);

}

@keyframes galleryPulse{

    0%{

        transform:scale(1);

    }

    50%{

        transform:scale(1.04);

    }

    100%{

        transform:scale(1);

    }

}

.subpage-gallery{

    position:relative;

}

.subpage-gallery.paused{

    cursor:default;

}

/* 18 Responsive */
@media (max-width:1200px) {
  .header-inner {
    grid-template-columns: auto minmax(260px, 700px) auto;
    gap: 20px;
  }

  .hero{

min-height:500px;

}
    
  .hero-content {
    width: min(700px, 92%);
    gap: 16px;
  }

  .hero-products-image{

    width:clamp(310px,42vw,460px);

}

  .hero-title{

    font-size:clamp(72px,7vw,92px);

    line-height:.84;

}

  .hero-subtitle {
    font-size: 30px;
  }

 
   .products-grid{

    grid-template-columns:repeat(3,1fr) !important;

    gap:20px;

    max-width:1100px;

}
}

@media (max-width:1100px) {
  
}

@media (max-width:980px){
  .search-dropdown {
    max-height: 420px;
  }
}

@media (max-width:1024px) and (min-width:769px){

.header-inner{

    grid-template-columns:
        minmax(145px,170px)
        minmax(240px,1fr)
        minmax(170px,185px);

    gap:18px;

    padding:0 24px;

}

.logo-img{

    height:46px;

}

.header-search-box{

    height:40px;

    padding:0 18px;

}

.search-icon{

    width:17px;

    height:17px;

    margin-right:10px;

}

.header-search-input{

    font-size:14px;

}

.shopping-bag-btn{

    padding:8px 16px;

    gap:8px;

}

.shopping-bag-btn svg{

    width:20px;

    height:20px;

}

.bag-label{

    font-size:11px;

}

.bag-count{

    width:22px;

    height:22px;

}

.hero{

    min-height:450px;

}

.hero-inner{

    padding-top:92px;

    padding-bottom:14px;

}

.hero-content{

    margin-top:14px;

    margin-bottom:14px;

}

.hero-products-image{

    width:300px;

}

}

@media (min-width:1025px) and (max-height:820px){

/* Laptop / Nest Hub / Nest Hub Max */

.hero{

    min-height:400px;

}

.hero-inner{

    padding-top:74px;

    padding-bottom:8px;

}

.hero-content{

    width:min(720px,90%);

    margin-top:8px;

    margin-bottom:10px;

}

.hero-content>*+*{

    margin-top:6px;

}

.hero-en-tag{

    font-size:11px;

    letter-spacing:.32em;

}

.hero-title{

    font-size:clamp(60px,5vw,74px);

    line-height:.90;

}

.hero-subtitle{

    font-size:28px;

    letter-spacing:.06em;

}

.hero-arabic{

    font-size:18px;

    line-height:1.55;

    max-width:620px;

    transform:none;

}

.hero-products{

    align-items:flex-end;

}

.hero-products-image{

    width:400px;

}

}

@media (min-width:900px) and (max-width:1280px) and (max-height:700px){

    /* Nest Hub specific */

    .hero-content{

    width:min(610px,90%);

    margin-top:0;

    margin-bottom:2px;

}

    .hero-content>*+*{

        margin-top:3px;

    }

    .hero-en-tag{

        font-size:10px;

        letter-spacing:.28em;

    }

    .hero-title{

    font-size:clamp(50px,5vw,60px);

    line-height:.90;

}

    .hero-subtitle{

        font-size:23px;

        letter-spacing:.05em;

    }

    .hero-arabic{

        font-size:16px;

        line-height:1.42;

        max-width:560px;

    }

    .hero-products-image{

    width:335px;

}

    .hero-bg{

    transform:none;

    transform-origin:center top;

}

.hero{

    min-height:350px;

}

}

@media (min-width:900px) and (max-width:1280px) and (max-height:820px){

/* ==========================================================
   Compact Product Cards
   Nest Hub / Nest Hub Max / Small Height Laptops
========================================================== */

.section-products{

    padding:60px 4vw 70px;

}

.products-grid{

    grid-template-columns:repeat(3,1fr) !important;

    gap:18px;

    max-width:980px;

}

.product-stage{

    aspect-ratio:.88 / 1;

}

.product-details-v2{

    padding:14px;

    gap:8px;

}

.product-badges-row{

    min-height:44px;

    gap:6px;

    margin-bottom:2px;

}

.product-badge-static,
.free-delivery-tag{

    font-size:10px;

    padding:5px 10px;

}

.product-title-v2{

    font-size:15px;

    line-height:1.35;

    min-height:calc(1.35em * 3);

    padding:0;

}

.product-price-v2{

    gap:2px;

    padding-top:8px;

}

.old-price-v2{

    font-size:13px;

}

.current-price-v2{

    font-size:28px;

}

.product-actions-v2{

    margin-top:8px;

    gap:8px;

}

.pill-buy-btn-v2{

    height:46px;

    font-size:13px;

}

.square-cart-btn-v2{

    width:46px;

    height:46px;

}

}

/* ==========================================================
   TABLET PRODUCT PAGE
   901px – 1024px
   (iPad Pro, Surface Pro, large tablets)
========================================================== */

@media (max-width:1024px) and (min-width:901px){

    .product-detail-subpage{
        padding-top:40px;
    }

    .subpage-main-grid{

        display:flex;
        flex-direction:column;

        gap:26px;

        height:auto;

        max-width:760px;

        margin:0 auto 26px;

    }

    .subpage-gallery{

        width:100%;

        order:1;

    }

    .main-img-wrap{

    width:100%;

    height:auto;

    display:flex;

    flex-direction:column;

    justify-content:flex-start;

    align-items:stretch;

    padding:0;

    border-radius:14px;

    overflow:hidden;

}

    .subpage-main-img{

    display:block;

    width:100%;

    max-width:none;

    height:auto;

    max-height:none;

    object-fit:contain;

    object-position:center;

    margin:0;

    background:#fff;

}

    .subpage-thumbnails{

    padding:12px;

    margin:0;

    background:#fff;

}

    .subpage-product-stats{

        margin-top:18px;

        margin-bottom:18px;

    }

    .price-row{

        gap:20px;

    }

    .subpage-checkout{

    width:100%;

    order:2;

    display:flex;

    justify-content:center;

}

    .checkout-form-card{

        width:100%;

        max-width:760px;

        height:auto;

        min-height:0;

    }

    .order-form{

        height:auto;

        overflow:visible;

    }

    .subpage-description-section{

        margin-top:40px;

        padding-top:24px;

    }

    .subpage-desc-content{

        max-width:760px;

        margin:0 auto;

    }

    .subpage-desc-content,
.subpage-desc-content p{

    font-size:17px;

    line-height:1.9;

}

}

@media (max-width:900px) {
  .product-detail-subpage {
    margin-top: 0px;
    padding-top: 48px;
  }

  .subpage-title{

    font-size:clamp(23px,5.5vw,25px);

    line-height:1.18;

    font-weight:800;

    margin-bottom:16px;

    padding:0 14px;

    max-width:700px;

    margin-left:auto;

    margin-right:auto;

    text-wrap:balance;

}

  .subpage-main-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    height: auto !important;
    max-width: 100%;
  }

  .main-img-wrap{

    width:100% !important;

    height:auto !important;

    margin-bottom:10px;

    display:flex !important;

    flex-direction:column !important;

    justify-content:flex-start !important;

    align-items:stretch !important;

    padding:0 !important;

    overflow:hidden !important;

}

  .subpage-main-img{

    display:block !important;

    width:100% !important;

    max-width:none !important;

    height:auto !important;

    max-height:none !important;

    margin:0 !important;

    object-fit:contain !important;

    object-position:center !important;

    background:#fff;

}

  .subpage-gallery{

    width:100%;

    align-items:stretch !important;

    position:static;

}

  .subpage-thumbnails {
    width: 100%;
    justify-content: center;
    padding: 10px 5px;
  }

  .checkout-form-card {
    height: auto !important;
    min-height: 0;
  }

  .order-form {
    height: auto !important;
    overflow: visible !important;
    padding: 20px 15px;
  }

  .btn-back-trendy {
    font-size: 12px;
    padding: 8px 15px;
  }
}

@media (max-width:768px) {
  .hero{

    min-height:440px;

}

.hero-inner{

padding-top:150px;

}

  .hero-bg {
    overflow: hidden;
  }

  .hero-bg-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 30%;
  }

  

  .hero-content {
    width:min(92%,520px);
    gap: 12px;
  }

  .hero-en-tag {
    font-size: clamp(9px, 2.4vw, 11px);
    letter-spacing: .18em;
    white-space: normal;
    word-break: break-word;
  }

  .hero-title{

    font-size:clamp(48px,11vw,68px);

    line-height:.90;

}

  .hero-subtitle {
    font-size:clamp(17px,4.6vw,22px);
  }

  .hero-arabic {
    font-size: clamp(13px, 3.6vw, 16px);
    line-height: 1.7;
  }

  .hero-products{

    margin-top:auto;

}

.hero-products-image{

    width:clamp(220px,60vw,320px);

}

    .header-inner {
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-areas: "logo bag" "search search";
    align-items: center;
    column-gap: 16px;
    row-gap: 14px;
  }

  .brand-logo {
    grid-area: logo;
    min-width: 0;
  }

  .header-actions {
    grid-area: bag;
    justify-self: end;
    align-self: center;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    min-width: 0;
  }

  .header-search-wrapper {
    grid-area: search;
    order: 3;
    flex: 0 0 100%;
    width: 100%;
  }

  .header-search-box {
    height: 42px;
    border-radius: 12px;
    padding: 0 18px;
  }

  .header-search-input {
    font-size: 14px;
  }

  .bag-label {
    flex: 1;
    text-align: center;
    white-space: nowrap;
    overflow: visible;
    text-overflow: clip;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .08em;
  }

  .header-main {
    padding: 12px 0 !important;
    height: auto !important;
  }

  .logo-img {
    height: 45px !important;
    width: auto !important;
    max-width: none !important;
  }

  .shopping-bag-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    height: 44px;
    padding: 0 16px;
    border-radius: 12px;
    background: transparent;
    white-space: nowrap;
    overflow: hidden;
  }

    .products-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
    padding: 0 1vw !important;
  }

  .product-card-v2 {
    min-height: 100%;
  }

  .product-stage {
    aspect-ratio: 1 / 1;
    height: auto !important;
    width: 100%;
    padding: 0 !important;
    overflow: hidden !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  .product-details-v2{

    display:flex;

    flex-direction:column;

    flex:1 1 auto;

    min-height:0;

    padding:clamp(10px,2vw,18px);

    gap:12px;

}

  .product-badges-row {
    gap: clamp(4px, .8vw, 8px);
    margin-bottom: clamp(6px, 1vw, 15px);
  }

  .product-badge-static,
  .free-delivery-tag {
    font-size: clamp(10px, 0.8vw, 12px);
    font-weight: 700;
    padding: clamp(5px, .6vw, 6px) clamp(10px, 1vw, 14px);
    border-radius: 8px;
  }

  .product-title-v2{

    display:block !important;

    width:100%;

    text-align:center !important;

    font-size:13px !important;

    font-weight:700;

    line-height:1.3 !important;

    padding:0 4px;

    margin:0 !important;

    cursor:pointer;

    min-height:calc(1.3em * 4);

}

  .current-price-v2 {
    font-size: 16px !important;
  }

  .product-price-v2{

    display:flex !important;

    flex-direction:column !important;

    justify-content:flex-end !important;

    align-items:center !important;

    flex-shrink:0 !important;

    margin-top:auto !important;

    padding-top:8px !important;

    margin-bottom:8px !important;

}

  .pill-buy-btn-v2 {
    height: 42px !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    border-radius: 10px !important;
  }

  .square-cart-btn-v2 {
    width: 42px !important;
    height: 42px !important;
    min-width: 42px !important;
    border-radius: 10px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  .square-cart-btn-v2 svg {
    width: clamp(16px, 1vw, 20px);
    height: clamp(16px, 1vw, 20px);
  }

  .checkout-mode .subpage-main-grid {
    padding: 0 !important;
    height: auto !important;
  }

  .checkout-mode .main-img-wrap {
    height: auto !important;
  }

  .checkout-mode .checkout-form-card {
    height: auto !important;
    padding-bottom: 20px;
  }

  /* ---------- Product page spacing ---------- */

.product-detail-subpage{

    padding-top:58px;

}

.subpage-breadcrumb{

    margin-top:22px;

    margin-bottom:14px;

}

.subpage-title{

    margin-bottom:20px;

}

.subpage-delivery-highlight{

    margin-bottom:22px;

}

  .checkout-mode .order-total-summary {
    padding: 20px 15px !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 10px;
    text-align: center;
  }

  .checkout-mode .order-total-summary span {
    font-size: 20px;
  }

  .checkout-mode .total-amount {
    font-size: 42px !important;
  }

  .delivery-highlight-text {
    font-size: 18px;
    padding: 25px 15px;
    gap: 15px;
  }

  .delivery-highlight-text svg {
    width: 32px;
    height: 32px;
  }

  .delivery-highlight-text small {
    font-size: 12px !important;
  }

  .cart-sidebar {
    width: calc(100% - 30px) !important;
    right: 15px !important;
    top: 15px !important;
    bottom: 15px !important;
    border-radius: 20px !important;
  }

  .cart-header,
  .cart-items {
    padding: 20px !important;
  }

  .cart-footer {
    padding: 24px 20px 28px !important;
  }

  .cart-item {
    gap: 15px !important;
    padding-bottom: 15px !important;
    margin-bottom: 15px !important;
  }

  .cart-item-img {
    width: 60px !important;
    height: 60px !important;
  }

  .cart-item-title {
    font-size: 13px !important;
  }

  .footer {
    padding: 40px 20px !important;
  }

  .footer-grid {
    grid-template-columns: 1fr !important;
    gap: 40px !important;
    text-align: center;
  }

  .footer-col {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .footer-col p {
    padding-right: 0 !important;
  }

  .footer-col h3 {
    font-size: 16px !important;
    margin-bottom: 15px !important;
  }

  .footer-links li {
    font-size: 12px !important;
  }

  .search-results-page {
    padding-top: 145px !important;
  }

  .search-results-page .container {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    padding-left: 16px !important;
    padding-right: 16px !important;
    box-sizing: border-box;
  }

  .search-results-toolbar {
    margin: 0 auto 40px !important;
    padding: 0 18px !important;
  }

  .search-results-summary {
    font-size: 20px !important;
    line-height: 1.4;
  }

  .search-dropdown {
    max-height: 320px;
  }
}

@media (max-width:520px) {
  
}

@media (max-width:480px) {
  .section-divider {
    gap: 14px;
    padding: 24px 5vw 0;
  }

  .section-main-title {
    font-size: 18px;
    letter-spacing: 0.12em;
  }

  .search-dropdown {
    max-height: 260px;
  }
}

@media (max-width:400px) {
  .header-inner {
    column-gap: 10px !important;
  }

  .logo-img {
    height: 38px !important;
  }

  .shopping-bag-btn {
    gap: 7px !important;
    padding: 0 12px !important;
    height: 40px !important;
  }

  .shopping-bag-btn .bag-label {
    font-size: 10px !important;
    letter-spacing: .06em !important;
  }

  .shopping-bag-btn svg {
    width: 18px !important;
    height: 18px !important;
  }

  .products-grid {
    gap: 8px !important;
    padding: 0 !important;
  }

  .product-details-v2 {
    padding: 10px 11px 12px !important;
  }

  .product-title-v2{

    font-size:12.5px !important;

    line-height:1.3 !important;

    min-height:calc(1.3em * 4);

}

  .product-badge-static,
  .free-delivery-tag {
    font-size: 9px !important;
    padding: 4px 7px !important;
  }

  .free-delivery-tag svg {
    width: 11px !important;
    height: 11px !important;
  }

  .current-price-v2 {
    font-size: 17px !important;
  }

  .old-price-v2 {
    font-size: 12px !important;
  }

  .pill-buy-btn-v2 {
    font-size: 11px !important;
    height: 44px !important;
    padding: 0 6px !important;
    letter-spacing: .04em !important;
  }

  .square-cart-btn-v2 {
    width: 44px !important;
    height: 44px !important;
    flex: 0 0 44px !important;
  }

  .square-cart-btn-v2 svg {
    width: 17px !important;
    height: 17px !important;
  }
.hero{

    min-height:420px;

}

.hero-inner{

padding-top:145px;

}

.hero-products-image{

    width:230px;

}

.hero-content{

    margin-top:14px;

}


}



/* =====================================================
   ARAB OFFERS — FLOATING WHATSAPP WIDGET
   Self-contained. Namespaced .ao-wa-* / #aoWhatsapp*.
   Does not touch body, html, :root, or existing selectors.
   Approved design: breathing blob + pulse ring, filled glyph.
===================================================== */
#aoWhatsappFab.ao-wa-fab {

    position:fixed;

    bottom:24px;

    right:24px;

    width:58px;

    height:58px;

    display:flex;

    align-items:center;

    justify-content:center;

    z-index:100000;

    text-decoration:none;

    -webkit-tap-highlight-color:transparent;

    contain:layout style;

}

/* =====================================================
   iMessage Style Notification Bubble
===================================================== */

#aoWhatsappFab .ao-wa-notification{

    position:absolute;

    top:50%;

    right:74px;

    transform:
        translateY(-50%)
        translateX(18px);

    display:flex;

    align-items:center;

    gap:10px;

    width:166px;

    min-height:40px;

    padding:10px 16px;

    background:#2C2C2E;

    color:#fff;

    border-radius:20px;

    box-shadow:
        0 12px 30px rgba(0,0,0,.22);

    opacity:0;

    visibility:hidden;

    pointer-events:none;

    transition:
    opacity .35s ease,
    transform .55s cubic-bezier(.22,1,.36,1);

} 

#aoWhatsappFab:hover .ao-wa-notification,
#aoWhatsappFab.ao-wa-show-tip .ao-wa-notification{

    opacity:1;

    visibility:visible;

    transform:
        translateY(-50%)
        translateX(0);

}

/* iMessage bubble tail */

#aoWhatsappFab .ao-wa-notification::after{

    content:"";

    position:absolute;

    right:-5px;

    top:50%;

    width:14px;

    height:14px;

    background:#2C2C2E;

    transform:
        translateY(-50%)
        rotate(45deg);

}

#aoWhatsappFab .ao-wa-status-dot{

    width:9px;

    height:9px;

    flex:0 0 9px;

    border-radius:50%;

    background:#34C759;

    margin:0;

    box-shadow:
        0 0 0 4px rgba(52,199,89,.18);

}

#aoWhatsappFab .ao-wa-notification-text{

    display:flex;

    flex-direction:column;

    justify-content:center;

    font-size:13px;

    line-height:1.2;

    color:#fff;

}

#aoWhatsappFab .ao-wa-notification-text strong{

    margin-top:2px;

    font-size:13px;

    font-weight:700;

    color:#fff;

}

/* Pulse ring — two staggered rings matching the blob's resting silhouette */
#aoWhatsappFab .ao-wa-blob::before,
#aoWhatsappFab .ao-wa-blob::after {
    content: "";
    position: absolute;
    inset: 0;
    border: 2px solid #25D366;
    border-radius: 42% 58% 63% 37% / 41% 44% 56% 59%;
    animation: aoWaPulse 2.4s ease-out infinite;
    pointer-events: none;
}
#aoWhatsappFab .ao-wa-blob::after {
    animation-delay: 1.2s;
}

@keyframes aoWaPulse {
    0%   { transform: scale(1);   opacity: 0.75; }
    100% { transform: scale(1.9); opacity: 0; }
}

/* Breathing blob core */
#aoWhatsappFab .ao-wa-blob {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #25D366;
    color: #fff;
    box-shadow:
        0 10px 24px -8px rgba(11, 79, 69, 0.45),
        0 6px 16px rgba(37, 211, 102, 0.35);
    animation: aoWaBlobMorph 6s ease-in-out infinite;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes aoWaBlobMorph {
    0%, 100% {
        border-radius: 42% 58% 63% 37% / 41% 44% 56% 59%;
        transform: scale(1);
    }
    33% {
        border-radius: 63% 37% 41% 59% / 58% 39% 61% 42%;
        transform: scale(1.04);
    }
    66% {
        border-radius: 37% 63% 58% 42% / 63% 58% 42% 37%;
        transform: scale(0.98);
    }
}

#aoWhatsappFab .ao-wa-icon {
    position: relative;
    width: 28px;
    height: 28px;
    fill: #fff;
    display: block;
}

/* Interaction */
#aoWhatsappFab.ao-wa-fab:hover .ao-wa-blob {
    transform: scale(1.06);
}
#aoWhatsappFab.ao-wa-fab:active .ao-wa-blob {
    transform: scale(0.96);
}

/* Keyboard focus state */
#aoWhatsappFab.ao-wa-fab:focus-visible {
    outline: 3px solid #0b4f45;
    outline-offset: 4px;
    border-radius: 50%;
}

/* Hide on JS-driven product-detail & checkout views.
   The theme adds body.subpage-active for both (app.js). */
body.subpage-active #aoWhatsappFab.ao-wa-fab {
    display: none;
}

/* Tablet */
@media (max-width: 1024px) {
    #aoWhatsappFab.ao-wa-fab {
        bottom: 22px;
        right: 22px;
    }
}

/* Mobile */
@media (max-width: 768px) {
    #aoWhatsappFab.ao-wa-fab {
        width: 54px;
        height: 54px;
        bottom: 18px;
        right: 18px;
    }
    #aoWhatsappFab .ao-wa-icon {
        width: 26px;
        height: 26px;
    }
}

#aoWhatsappFab .ao-wa-notification{

    right:68px;

    max-width:180px;

    padding:12px 16px;

    font-size:13px;

    border-radius:20px;

}

/* Respect reduced-motion preference */
@media (prefers-reduced-motion: reduce) {
    #aoWhatsappFab .ao-wa-blob {
        animation: none;
        border-radius: 50%;
    }
    #aoWhatsappFab .ao-wa-blob::before,
    #aoWhatsappFab .ao-wa-blob::after {
        animation: none;
        opacity: 0;
    }
}
