/* gridpin storefront design · homepage (A × C) and gift guide (E) */
:root{--teal:#5D8089;--teal-d:#476872;--amber:#FCC06D;--coral:#FFB7AC;--light:#C9DED3;--peach:#FF9D6C;--gt:#ABB6B5;--ink:#1c2526;--mut:#66777a;--line:#E3E9E7;--soft:#F4F8F6;--paper:#F8F6F2;--blush:#FFF1EE}
*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
body{font-family:'IBM Plex Sans Arabic',sans-serif;color:var(--ink);background:var(--paper);font-size:15px;line-height:1.6}
h1,h2,h3,h4,.h{font-family:'Alexandria','IBM Plex Sans Arabic',sans-serif;line-height:1.3}
a{color:inherit;text-decoration:none}
svg{flex:none;vertical-align:middle}
.wrap{max-width:1280px;margin:0 auto;padding:0 32px}

/* header (from A) */
.top{background:var(--teal);color:#fff;font-size:13px}
.top .wrap{display:flex;justify-content:space-between;align-items:center;height:36px}
.top b{font-weight:600}
.head{background:#fff;border-bottom:1px solid var(--line);position:sticky;top:0;z-index:20}
.head .wrap{display:flex;align-items:center;gap:28px;height:78px}
.head img{height:48px;display:block}
.head nav{display:flex;gap:22px;flex:1;font-weight:500;font-size:15px;white-space:nowrap}
.head nav a{padding:6px 0;border-bottom:2px solid transparent}
.head nav a:hover,.head nav a.on{color:var(--teal-d);border-color:var(--teal)}
.head nav a.gift{color:#b8502c}
.icons{display:flex;gap:16px;align-items:center;color:var(--teal-d)}
.search{display:flex;gap:8px;align-items:center;background:var(--soft);border-radius:99px;padding:9px 18px;color:#7a8a8b;font-size:14px;width:210px}
.cart{position:relative;display:inline-flex}
.cart em{position:absolute;top:-7px;left:-8px;background:var(--amber);color:#3b2c0f;font-style:normal;font-size:11px;font-weight:700;border-radius:99px;min-width:18px;height:18px;display:grid;place-items:center}

/* buttons, chips */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;background:var(--teal);color:#fff;border-radius:99px;padding:12px 26px;font-weight:600;font-size:15px;white-space:nowrap;transition:.15s}
.btn:hover{background:var(--teal-d)}
.btn.white{background:#fff;color:var(--teal-d)}.btn.white:hover{background:var(--soft)}
.btn.line{background:transparent;box-shadow:inset 0 0 0 1.5px currentColor}
.btn.dark{background:#3a2a27}
.eyebrow{display:inline-block;font-size:13px;font-weight:500;border-radius:99px;padding:4px 14px;background:rgba(255,255,255,.18)}
.chip{display:inline-block;border-radius:99px;padding:8px 18px;font-size:14px;background:#fff;box-shadow:inset 0 0 0 1px #cfd9d6;white-space:nowrap}
.chip.on{background:var(--teal);color:#fff;box-shadow:none}

/* bento grid (from C), teal-led (from A) */
.bento{display:grid;grid-template-columns:repeat(4,1fr);grid-auto-rows:250px;gap:16px;padding-top:24px}
.tile{border-radius:28px;padding:28px;position:relative;overflow:hidden;background-size:cover;background-position:center;display:flex;flex-direction:column;transition:transform .2s}
a.tile:hover{transform:translateY(-3px)}
.w2{grid-column:span 2}.h2{grid-row:span 2}
.t-teal{background:var(--teal);color:#fff}.t-amber{background:var(--amber);color:#3b2c0f}.t-coral{background:var(--coral);color:#4a2620}.t-light{background:var(--light);color:#2f4a50}.t-white{background:#fff}
.tile h3{font-size:26px;font-weight:800}
.tile p{font-size:15px;max-width:300px;margin-top:6px}
.tile .go{margin-top:auto;font-weight:700;font-size:15px}
.tile .label{position:absolute;right:18px;bottom:18px;background:#fff;color:var(--ink);border-radius:99px;padding:8px 20px;font-weight:600;font-size:15px}
.hero{padding:40px 44px}
.hero h1{font-size:50px;font-weight:800;line-height:1.35;margin:16px 0 10px;position:relative;z-index:2}
.hero p{font-size:17px;color:#e6efec;max-width:310px;position:relative;z-index:2}
.hero .acts{display:flex;gap:12px;margin-top:26px;flex-wrap:wrap;max-width:310px;position:relative;z-index:2}
.hero .ph1,.hero .ph2{position:absolute;background-size:cover;background-position:center;border-radius:20px}
.hero .ph1{left:36px;bottom:64px;width:180px;height:205px}
.hero .ph2{display:none}
.hero .rib{position:absolute;right:-30px;bottom:-14px;width:900px;opacity:.45}
.offer small{font-size:15px;font-weight:600}
.offer .big{font-family:'Alexandria';font-weight:900;font-size:92px;line-height:1.05}
.t-coral .q{font-family:'Alexandria';font-weight:800;font-size:28px;line-height:1.4}
.icrow{display:flex;gap:14px;margin-top:14px;color:var(--teal-d)}
.t-teal.corp .rib{position:absolute;left:-30px;bottom:-12px;width:640px;opacity:.4}
.t-teal.corp .btn{margin-top:18px;align-self:flex-start;position:relative;z-index:2}

/* sections */
.sec{padding-top:56px}
.sec-h{display:flex;justify-content:space-between;align-items:baseline;margin-bottom:20px}
.sec-h h2{font-size:30px;font-weight:800}
.sec-h a{color:var(--teal-d);font-weight:600}
.cats{padding-top:64px;text-align:center}
.cats h2{font-size:30px;font-weight:500;color:var(--mut);margin-bottom:36px}
.cats-g{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:48px 24px;max-width:1000px;margin:0 auto}
.cats a{display:flex;flex-direction:column;align-items:center;color:var(--gt);transition:color .2s}
.cats svg{width:120px;height:120px;fill:currentColor;margin-bottom:16px;transition:transform .2s}
.cats b{font-family:'Alexandria',sans-serif;font-weight:400;font-size:12px;letter-spacing:.14em;color:var(--mut);direction:ltr}
.cats span{font-size:15px;font-weight:500;color:var(--ink)}
.cats a:hover{color:var(--teal)}.cats a:hover svg{transform:translateY(-4px)}

/* product cards (from A) */
.grid{display:grid;grid-template-columns:repeat(5,1fr);gap:20px}
.grid.c4{grid-template-columns:repeat(4,1fr)}
.pc .im{aspect-ratio:1/1;border-radius:18px;background-size:cover;background-position:center;position:relative;display:block}
.pc .badge{position:absolute;top:12px;right:12px;font-size:12.5px;font-weight:700;border-radius:99px;padding:3px 12px}
.badge.new{background:var(--teal);color:#fff}.badge.sale{background:var(--amber);color:#3b2c0f}.badge.gift{background:var(--coral);color:#4a2620}
.pc .fav{position:absolute;top:10px;left:10px;width:34px;height:34px;border-radius:50%;background:rgba(255,255,255,.92);display:grid;place-items:center;color:var(--teal-d)}
.pc .nm{font-weight:500;margin-top:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.pc .pr{display:flex;gap:10px;align-items:baseline}
.pc .pr b{color:var(--teal-d);font-size:16px}.pc .pr small{font-weight:500;font-size:12px}.pc .pr del{color:#9aa7a8;font-size:13.5px}
.pc .why{font-size:13px;color:var(--mut)}

/* why strip + footer */
.why4{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin-top:64px;background:var(--light);border-radius:28px;padding:32px;color:#2f4a50}
.why4 div{display:flex;gap:14px;align-items:flex-start}
.why4 span{width:46px;height:46px;border-radius:14px;background:#fff;display:grid;place-items:center;color:var(--teal-d);flex:none}
.why4 b{display:block;font-family:'Alexandria';font-size:16px;white-space:nowrap}.why4 p{font-size:14px}
footer{background:var(--teal);color:#fff;margin-top:72px;position:relative;overflow:hidden}
footer .wrap{display:grid;grid-template-columns:1.4fr 1fr 1fr 1.2fr;gap:40px;padding-top:56px;padding-bottom:120px}
footer img.lg{height:64px}
footer h4{font-size:16px;margin-bottom:12px;color:var(--light)}
footer li{list-style:none;padding:4px 0;font-size:15px}
footer p{font-size:15px;color:#e6efec;margin-top:14px;max-width:320px}
.news{display:flex;background:#fff;border-radius:99px;padding:5px;margin-top:10px}
.news span{flex:1;padding:8px 16px;color:#7a8a8b;font-size:14px}.news .btn{padding:8px 20px;font-size:14px}
footer .wrap:first-child{padding-bottom:40px}
footer .tag{position:absolute;left:0;bottom:34px;height:44px}
footer .tag img{height:100%;display:block}

/* gift guide (E) */
.g-hero{background:var(--blush)}
.g-hero .wrap{display:grid;grid-template-columns:1fr 440px;gap:40px;padding-top:44px;padding-bottom:44px;align-items:center}
.g-hero .eyebrow{background:var(--coral);color:#4a2620}
.g-hero h1{font-size:60px;font-weight:900;color:#3a2a27;margin:14px 0 6px}
.g-hero .sub{font-size:17px;color:#6b4c46;margin-bottom:24px}
.finder{background:#fff;border-radius:24px;padding:14px;display:flex;gap:6px;align-items:center;box-shadow:0 10px 30px rgba(255,157,108,.16)}
.finder div{flex:1;padding:6px 16px;border-left:1px solid var(--line)}
.finder div:nth-child(3){border:0}
.finder label{display:block;font-size:13px;color:#7a8a8b}
.finder b{font-size:17px;font-family:'Alexandria';font-weight:700}
.g-hero .assure{display:flex;gap:22px;margin-top:20px;font-size:14px;color:#6b4c46}.g-hero .assure span{display:flex;gap:6px;align-items:center}.g-hero .assure svg{color:var(--teal)}
.collage{display:grid;grid-template-columns:1fr 1fr;grid-template-rows:170px 170px;gap:14px}
.collage i{border-radius:24px;background-size:cover;background-position:center}.collage i:first-child{grid-row:span 2}
.res-h{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-bottom:22px}
.res-h h2{font-size:28px;font-weight:800;margin-left:auto}
.res-h h2 span{color:#b8502c}
.shelves{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}
.shelf{border-radius:28px;height:230px;padding:26px;position:relative;overflow:hidden;transition:transform .2s}.shelf:hover{transform:translateY(-3px)}
.shelf small{display:block;font-size:14px}.shelf b{font-family:'Alexandria';font-weight:800;font-size:27px}
.shelf span{position:absolute;right:26px;bottom:24px;font-weight:700}
.shelf i{position:absolute;left:18px;bottom:18px;width:130px;height:110px;border-radius:18px;background-size:cover;background-position:center}
.occ{display:grid;grid-template-columns:repeat(6,1fr);gap:16px}
.occ a{border-radius:22px;aspect-ratio:1/1.15;background-size:cover;background-position:center;position:relative;overflow:hidden;display:block}
.occ a:after{content:"";position:absolute;inset:40% 0 0;background:linear-gradient(transparent,rgba(28,37,38,.6))}
.occ b{position:absolute;right:16px;bottom:14px;color:#fff;font-family:'Alexandria';font-size:17px;z-index:2}
.duo{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-top:56px}
.duo .tile{min-height:280px;padding:36px}
.duo .steps{display:flex;gap:10px;margin:16px 0 0;flex-wrap:wrap}
.duo .steps span{background:rgba(255,255,255,.16);border-radius:99px;padding:6px 16px;font-size:14px}
.duo .t-light .steps span{background:#fff}
.duo .btn{align-self:flex-start;margin-top:auto;position:relative;z-index:2}
.duo .box{position:absolute;left:28px;top:36px;bottom:36px;width:200px;border-radius:20px;background-size:cover;background-position:center}
.duo .rib{position:absolute;left:-20px;bottom:-12px;width:700px;opacity:.4}

@media(max-width:900px){
  .head nav,.search{display:none}.top .wrap span:first-child{display:none}
  .bento{grid-template-columns:1fr 1fr;grid-auto-rows:200px}.bento .hero{grid-column:span 2;grid-row:span 2}
  .hero h1{font-size:34px}.hero .ph1,.hero .ph2{display:none}
  .grid,.grid.c4,.shelves{grid-template-columns:1fr 1fr}.cats{padding-top:44px}.cats h2{font-size:24px;margin-bottom:24px}.cats-g{grid-template-columns:repeat(3,minmax(0,1fr));gap:28px 10px}.cats svg{width:84px;height:84px;margin-bottom:10px}.cats b{font-size:10px}.cats span{font-size:13px}
  .why4,.duo,.g-hero .wrap{grid-template-columns:1fr}footer .wrap{grid-template-columns:1fr 1fr;gap:32px 20px}footer .wrap>div:first-child,footer .wrap>div:last-child{grid-column:1/-1}.occ{grid-template-columns:repeat(3,1fr)}
  .finder{flex-direction:column;align-items:stretch}.finder div{border:0;border-bottom:1px solid var(--line)}.g-hero h1{font-size:38px}.collage{display:none}
}

@media(max-width:600px){
  .wrap{padding:0 16px}
  .tile{padding:18px;border-radius:22px}
  .offer .big{font-size:56px}.offer small,.offer p{font-size:13px}
  .t-coral .q{font-size:20px}
  .shelf{height:210px;padding:18px}.shelf b{font-size:19px}.shelf i{width:84px;height:76px;left:14px;bottom:14px}.shelf span{right:18px;bottom:18px}
  .duo .box{display:none}.duo .tile{min-height:230px;padding:24px}
  .grid>:nth-child(5):last-child{display:none}
}

html,body{overflow-x:clip}

/* Language switch (header and footer) */
.gp-lang{font:600 13px 'Alexandria','IBM Plex Sans Arabic',sans-serif;padding:6px 12px;border:1.5px solid currentColor;border-radius:99px;white-space:nowrap;line-height:1}
.icons .gp-lang{color:var(--teal-d)}.icons .gp-lang:hover{background:var(--soft)}
/* English: the menu words are longer than the Arabic ones and no longer fit beside the logo, search and icons,
   so on desktop the menu gets its own row under them. */
@media(min-width:901px){.gp-en .head .wrap{flex-wrap:wrap;height:auto;row-gap:0;padding-top:14px}.gp-en .head .icons{margin-inline-start:auto}.gp-en .head nav{order:3;flex:1 0 100%;flex-wrap:wrap;justify-content:space-between;column-gap:12px;row-gap:0;margin-top:14px;padding:4px 0;border-top:1px solid var(--line)}.gp-en .head nav a{padding:10px 0}}
@media(min-width:1181px){.gp-en .head nav{column-gap:18px;font-size:15px}}
.head nav .gp-lang-m{display:none}
@media(max-width:900px){.icons .gp-lang{display:none}.head nav.open .gp-lang-m{display:inline-block;align-self:flex-start;margin-top:8px;padding:8px 14px;color:var(--teal-d)}}
footer .gp-lang{display:inline-block;margin-top:6px;color:#fff;opacity:.9}footer .gp-lang:hover{opacity:1}
/* Every block of text lines up with its own language: Arabic to the right, English to the left, whichever language the page is in. */
p,li,h1,h2,h3,h4,h5,h6,dt,dd,td,th,label,legend,blockquote,figcaption,caption,summary,address,.nm,.gp-content,.term-description,.woocommerce-product-details__short-description,input,textarea{unicode-bidi:plaintext}
