/* ROCA STORE - Responsive styles */
:root{
  --bg:#f4f9fb;--card:#fff;--ink:#12303b;--mut:#5d7480;
  --pri:#0ea5a4;--pri2:#0b7f93;--acc:#ff7a45;--line:#e2edf1;
  --shadow:0 12px 32px rgba(13,70,85,.09)
}
@media(prefers-color-scheme:dark){
  :root{--bg:#0d1d24;--card:#142932;--ink:#e8f4f7;--mut:#9ab4be;--line:#24404b;--shadow:0 12px 32px #0004}
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;font-family:"Cairo",Tahoma,sans-serif;background:var(--bg);color:var(--ink);direction:rtl}
body.cart-open{overflow:hidden}
a{color:inherit;text-decoration:none}
button,input,select,textarea{font:inherit}
button{cursor:pointer}
.wrap{width:min(1200px,100% - 36px);margin-inline:auto}
.hdr{position:sticky;top:0;z-index:20;background:color-mix(in srgb,var(--bg) 90%,transparent);border-bottom:1px solid var(--line);backdrop-filter:blur(14px)}
.hdr-in{display:flex;align-items:center;gap:22px;min-height:72px}
.logo{font-size:30px;font-weight:900;color:var(--pri2);letter-spacing:-1px}
.logo span{color:var(--acc)}
nav{display:flex;align-items:center;gap:6px;flex:1}
nav a{padding:9px 16px;border-radius:99px;font-weight:700;color:var(--mut);transition:.2s}
nav a.on,nav a:hover{background:var(--pri);color:#fff}
.cart-btn{border:1px solid var(--line);background:var(--card);color:var(--ink);padding:9px 16px;border-radius:99px;font-weight:700}
.cart-btn b{display:inline-grid;place-items:center;min-width:24px;height:24px;background:var(--acc);color:#fff;border-radius:50%;margin-right:5px}
.menu-toggle{display:none;border:1px solid var(--line);background:var(--card);color:var(--ink);border-radius:10px;padding:8px 12px}
.hero{padding:76px 0 46px;text-align:center}
.hero h1{font-size:clamp(32px,6vw,58px);font-weight:900;margin:0}
.hero h1 span{color:var(--pri)}
.hero p{color:var(--mut);margin:12px auto 0;max-width:560px;line-height:1.9}
.page-title{padding:42px 0 12px}
.page-title h1{font-size:clamp(26px,4vw,38px);margin:0 0 5px}
.page-title p{color:var(--mut);margin:0}
.cats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;padding:30px 0 75px}
.cat{background:linear-gradient(135deg,var(--pri),var(--pri2));color:#fff;border-radius:24px;padding:34px 20px;text-align:center;transition:.25s;box-shadow:var(--shadow)}
.cat:hover{transform:translateY(-6px)}
.cat .big{font-size:52px}.cat h2{margin:8px 0 0}
.grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:20px;padding:20px 0 70px}
.card{position:relative;min-width:0;background:var(--card);border:1px solid var(--line);border-radius:22px;padding:14px;display:flex;flex-direction:column;gap:9px;transition:transform .22s,box-shadow .22s;overflow:hidden}
.card:hover{transform:translateY(-5px);box-shadow:var(--shadow)}
.card[hidden]{display:none!important}
.badge{position:absolute;top:22px;right:22px;background:var(--acc);color:#fff;font-style:normal;font-size:12px;font-weight:800;padding:5px 11px;border-radius:99px;z-index:2}
.thumb{height:210px;border-radius:16px;background:linear-gradient(135deg,#e4f8f6,#eff8fb);display:grid;place-items:center;overflow:hidden;padding:12px}
.thumb img{width:100%;height:100%;object-fit:contain;mix-blend-mode:multiply;transition:transform .3s}
.card:hover .thumb img{transform:scale(1.045)}
.emoji{font-size:64px}
.card h3{font-size:17px;margin:4px 0 0}
.card p{font-size:13px;color:var(--mut);line-height:1.8;flex:1;margin:0}
.price{display:flex;align-items:center;gap:9px;flex-wrap:wrap;margin-top:3px}
.price b{font-size:21px;color:var(--pri2)}
.price del{color:var(--mut);font-size:13px}
.btn{border:0;background:var(--pri);color:#fff;padding:11px 14px;border-radius:13px;font-weight:800;text-align:center;display:block;width:100%;transition:.2s}
.btn:hover{background:var(--pri2);transform:translateY(-1px)}
.btn.ghost{background:transparent;color:var(--pri2);border:1px solid var(--pri)}
.product-tools{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:18px 0 0}
.product-tools input,.product-tools select{min-height:44px;border:1px solid var(--line);background:var(--card);color:var(--ink);border-radius:12px;padding:8px 13px;outline:none}
.product-tools input{flex:1;min-width:190px}
.product-tools select{min-width:190px}
.product-tools span{color:var(--mut);font-size:13px}
.ov{position:fixed;inset:0;background:#0008;opacity:0;pointer-events:none;transition:.25s;z-index:30}
.ov.show{opacity:1;pointer-events:auto}
.drawer{position:fixed;top:0;bottom:0;left:0;width:min(420px,100%);background:var(--bg);z-index:40;transform:translateX(-105%);transition:.3s;display:flex;flex-direction:column;box-shadow:var(--shadow)}
.drawer.open{transform:translateX(0)}
.d-head,.d-foot{padding:18px;border-bottom:1px solid var(--line);background:var(--card)}
.d-foot{border:0;border-top:1px solid var(--line);margin-top:auto}
.d-head{display:flex;justify-content:space-between;align-items:center}
.d-head h3{margin:0}
.d-head button,.checkout-head button{border:0;background:none;color:var(--ink);font-size:21px}
#items{flex:1;overflow:auto;padding:10px 18px}
.row{display:flex;gap:10px;align-items:center;padding:13px 0;border-bottom:1px solid var(--line)}
.cart-thumb{width:54px;height:54px;flex:0 0 54px;border-radius:12px;background:var(--card);display:grid;place-items:center;font-size:25px;overflow:hidden}
.cart-thumb img{width:100%;height:100%;object-fit:contain}
.cart-info{flex:1;min-width:0}
.cart-info b,.cart-info small,.cart-info strong{display:block}
.cart-info b{font-size:13px}
.cart-info small{font-size:12px;color:var(--mut)}
.cart-info strong{font-size:12px;color:var(--pri2)}
.qty{display:flex;align-items:center;gap:7px}
.qty button{width:27px;height:27px;border-radius:50%;border:1px solid var(--line);background:var(--card);color:var(--ink)}
.total{display:flex;justify-content:space-between;margin-bottom:12px;font-size:18px}
.empty{text-align:center;color:var(--mut);padding:40px 0}
.checkout-modal{position:fixed;inset:0;z-index:60;background:#0009;display:grid;place-items:center;padding:16px}
.checkout-box{width:min(480px,100%);max-height:92vh;overflow:auto;background:var(--card);color:var(--ink);border-radius:22px;padding:22px;box-shadow:var(--shadow)}
.checkout-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:15px}
.checkout-head h3{margin:0}
#checkoutForm{display:grid;gap:9px}
#checkoutForm label{font-size:13px;font-weight:700;margin-top:4px}
#checkoutForm input,#checkoutForm textarea{width:100%;border:1px solid var(--line);background:var(--bg);color:var(--ink);border-radius:11px;padding:11px;outline:none}
#checkoutForm input:focus,#checkoutForm textarea:focus,.product-tools input:focus{border-color:var(--pri)}
.roca-toast{position:fixed;bottom:22px;left:50%;transform:translate(-50%,20px);opacity:0;pointer-events:none;z-index:80;background:var(--ink);color:var(--bg);padding:11px 18px;border-radius:99px;box-shadow:var(--shadow);transition:.25s;white-space:nowrap}
.roca-toast.show{opacity:1;transform:translate(-50%,0)}
footer{border-top:1px solid var(--line);padding:25px 0;text-align:center;color:var(--mut);font-size:13px}
@media(max-width:760px){
  .wrap{width:min(100% - 26px,600px)}
  .hdr-in{gap:10px;min-height:64px;flex-wrap:wrap;padding-block:8px}
  .logo{font-size:26px}
  .menu-toggle{display:block;margin-right:auto}
  nav{display:none;order:4;flex-basis:100%;flex-direction:column;align-items:stretch;padding:8px 0}
  nav.nav-open{display:flex}
  nav a{padding:10px 13px}
  .cart-btn{padding:7px 10px;font-size:13px}
  .hero{padding:54px 0 28px}
  .cats{grid-template-columns:1fr;gap:13px;padding:20px 0 50px}
  .cat{padding:23px 15px;display:flex;align-items:center;gap:18px;text-align:right}
  .cat .big{font-size:38px}
  .cat h2{margin:0}
  .page-title{padding-top:30px}
  .grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:11px;padding-bottom:45px}
  .card{padding:9px;border-radius:16px;gap:7px}
  .thumb{height:155px;padding:8px}
  .card h3{font-size:14px;line-height:1.5}
  .card p{font-size:11px;line-height:1.6}
  .price b{font-size:17px}
  .price del{font-size:11px}
  .btn{padding:9px 7px;font-size:12px;border-radius:10px}
  .badge{top:15px;right:15px;font-size:10px;padding:4px 8px}
  .product-tools{gap:8px}
  .product-tools input,.product-tools select{width:100%;min-width:0}
  .product-tools span{width:100%}
}
@media(max-width:360px){
  .grid{gap:8px}
  .thumb{height:130px}
  .card{padding:7px}
}

/* =========================================
   ROCA PREMIUM HOMEPAGE REDESIGN
   Paste at END of css/style.css
========================================= */

:root {
  --roca-bg: #071a20;
  --roca-card: #102a32;
  --roca-card2: #153740;
  --roca-teal: #13c5bd;
  --roca-teal2: #087f8c;
  --roca-orange: #ff8055;
  --roca-white: #f2fbfc;
  --roca-muted: #9bb8bf;
}

/* MAIN BACKGROUND */
body {
  background:
    radial-gradient(ellipse at 50% 0%, #12404a 0%, transparent 48%),
    radial-gradient(circle at 5% 65%, #0b343b 0%, transparent 35%),
    var(--roca-bg) !important;
  color: var(--roca-white);
}

/* HEADER */
.hdr {
  background: rgba(7, 26, 32, .82) !important;
  border-bottom: 1px solid rgba(255,255,255,.08);
  backdrop-filter: blur(20px);
}

.hdr-in {
  min-height: 78px;
}

.logo {
  font-size: 32px;
  letter-spacing: -1.5px;
  color: var(--roca-teal) !important;
}

nav a {
  color: #a9c4ca !important;
  font-size: 15px;
  transition: .3s ease;
}

nav a:hover,
nav a.on {
  background: linear-gradient(135deg, #15c8bd, #07899a) !important;
  color: white !important;
  box-shadow: 0 5px 22px #10bcb455;
  transform: translateY(-2px);
}

.cart-btn {
  background: rgba(255,255,255,.045) !important;
  border: 1px solid rgba(255,255,255,.13) !important;
  color: white !important;
  padding: 11px 19px;
  transition: .3s;
}

.cart-btn:hover {
  border-color: var(--roca-teal) !important;
  box-shadow: 0 0 22px #13c5bd30;
}

/* HERO SECTION */
.hero {
  position: relative;
  padding: 95px 20px 85px;
  text-align: center;
  isolation: isolate;
}

.hero::before {
  content: "";
  position: absolute;
  width: 420px;
  height: 260px;
  border-radius: 50%;
  background: #0bbab5;
  filter: blur(130px);
  opacity: .13;
  z-index: -1;
  left: 50%;
  top: 25%;
  transform: translate(-50%, -50%);
}

.hero h1 {
  font-size: clamp(35px, 5.5vw, 68px) !important;
  line-height: 1.5;
  font-weight: 900;
  letter-spacing: -1.5px;
  animation: rocaHeroIn .8s ease both;
}

.hero h1 span {
  color: var(--roca-teal) !important;
  text-shadow: 0 0 35px #13c5bd45;
}

.hero p {
  color: #a8c3ca !important;
  font-size: 16px;
  line-height: 2;
  margin-top: 17px !important;
  animation: rocaHeroIn 1s ease both;
}

/* CATEGORY SECTION */
.cats {
  gap: 22px !important;
  padding: 15px 0 90px !important;
  perspective: 1000px;
}

.cat {
  position: relative;
  min-height: 245px;
  overflow: hidden;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 15px;
  border-radius: 27px !important;
  padding: 35px 25px !important;
  background:
    linear-gradient(145deg, rgba(24, 69, 77, .95), rgba(10, 39, 48, .98)) !important;
  border: 1px solid rgba(255,255,255,.10);
  box-shadow:
    0 18px 45px rgba(0,0,0,.16),
    inset 0 1px rgba(255,255,255,.08);
  transition: transform .4s ease, border-color .4s, box-shadow .4s;
}

.cat::before {
  content: "";
  position: absolute;
  width: 230px;
  height: 230px;
  border-radius: 50%;
  background: var(--roca-teal);
  filter: blur(100px);
  opacity: .10;
  z-index: -1;
  transition: .4s;
}

.cat::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,.07), transparent 70%);
  transform: translateX(110%);
  transition: .7s;
  z-index: -1;
}

.cat:hover {
  transform: translateY(-10px) scale(1.015);
  border-color: rgba(19,197,189,.55);
  box-shadow:
    0 25px 55px rgba(0,0,0,.28),
    0 0 35px rgba(19,197,189,.12);
}

.cat:hover::before {
  opacity: .24;
}

.cat:hover::after {
  transform: translateX(-110%);
}

.cat .big {
  width: 94px;
  height: 94px;
  display: grid;
  place-items: center;
  border-radius: 27px;
  font-size: 49px;
  background: rgba(19,197,189,.10);
  border: 1px solid rgba(19,197,189,.20);
  box-shadow: 0 10px 30px rgba(0,0,0,.13);
  transition: .4s;
}

.cat:hover .big {
  transform: translateY(-5px) rotate(-5deg);
  background: rgba(19,197,189,.18);
}

.cat h2 {
  color: white;
  font-size: 23px;
  font-weight: 900;
  margin: 0;
}

/* PRODUCT PAGE TITLES */
.page-title {
  padding-top: 55px !important;
}

.page-title h1 {
  font-size: 36px;
  font-weight: 900;
}

.page-title p {
  color: var(--roca-muted) !important;
}

/* PRODUCT CARDS */
.card {
  background: linear-gradient(155deg, #15343d, #0c252e) !important;
  border: 1px solid rgba(255,255,255,.08) !important;
  border-radius: 23px !important;
  box-shadow: 0 12px 30px rgba(0,0,0,.12);
  transition: .35s ease !important;
}

.card:hover {
  border-color: rgba(19,197,189,.45) !important;
  box-shadow: 0 20px 45px rgba(0,0,0,.25), 0 0 25px #13c5bd12 !important;
  transform: translateY(-7px) !important;
}

.thumb {
  background: linear-gradient(145deg, #eaf7f7, #d8eeee) !important;
  border-radius: 17px !important;
}

.card h3 {
  color: white;
  font-weight: 800;
}

.card p {
  color: #a4bdc4 !important;
}

.price b {
  color: var(--roca-teal) !important;
}

.price del {
  color: #829ba2 !important;
}

.badge {
  background: var(--roca-orange) !important;
}

/* BUTTONS */
.btn {
  background: linear-gradient(135deg, #16c8bd, #087f91) !important;
  border-radius: 13px !important;
  box-shadow: 0 7px 20px rgba(13,184,177,.16);
  transition: .3s ease;
}

.btn:hover {
  filter: brightness(1.12);
  box-shadow: 0 9px 25px rgba(13,184,177,.30);
  transform: translateY(-2px);
}

/* SEARCH AND SORT */
.product-tools input,
.product-tools select {
  background: #102b34 !important;
  border: 1px solid rgba(255,255,255,.12) !important;
  color: white !important;
  border-radius: 13px !important;
}

.product-tools input::placeholder {
  color: #91abb2;
}

/* CART */
.drawer {
  background: #0c222a !important;
  color: white;
}

.d-head,
.d-foot {
  background: #102b34 !important;
  border-color: rgba(255,255,255,.10) !important;
}

.d-head button {
  color: white !important;
}

.row {
  border-color: rgba(255,255,255,.09) !important;
}

.cart-info b {
  color: white;
}

.cart-info small {
  color: #9bb8bf;
}

.total {
  color: white;
}

.empty {
  color: #9bb8bf;
}

/* FOOTER */
footer {
  background: rgba(5,19,24,.55);
  border-top: 1px solid rgba(255,255,255,.08) !important;
  color: #91abb2 !important;
  padding: 27px 0 !important;
}

/* ANIMATIONS */
@keyframes rocaHeroIn {
  from {
    opacity: 0;
    transform: translateY(25px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* MOBILE */
@media (max-width: 760px) {
  .hero {
    padding: 65px 10px 48px !important;
  }

  .hero h1 {
    font-size: 34px !important;
    line-height: 1.55;
  }

  .hero p {
    font-size: 13px;
  }

  .cats {
    grid-template-columns: 1fr !important;
    gap: 13px !important;
    padding: 10px 0 55px !important;
  }

  .cat {
    min-height: 145px;
    flex-direction: row;
    justify-content: flex-start;
    text-align: right;
    padding: 20px !important;
    border-radius: 20px !important;
  }

  .cat .big {
    width: 72px;
    height: 72px;
    flex: 0 0 72px;
    font-size: 38px;
    border-radius: 20px;
  }

  .cat h2 {
    font-size: 19px;
  }

  .page-title {
    padding-top: 35px !important;
  }

  .page-title h1 {
    font-size: 27px;
  }

  .card {
    border-radius: 16px !important;
  }

  .thumb {
    border-radius: 12px !important;
  }

  .cart-btn {
    font-size: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
}

/* ROCA CATEGORY ICONS */
.cat .big {
  width: 100px;
  height: 100px;
  font-size: 53px;
  display: grid;
  place-items: center;
  border-radius: 28px;
  background: rgba(19,197,189,.12);
  border: 1px solid rgba(19,197,189,.22);
  box-shadow: 0 10px 30px rgba(0,0,0,.15);
  transition: .4s ease;
}

.cat p {
  color: #a9c4ca;
  font-size: 13px;
  margin: 0;
  text-align: center;
}

.cat-link {
  color: #19d2c7;
  font-size: 13px;
  font-weight: 800;
  opacity: .8;
  transition: .3s;
}

.cat:hover .big {
  transform: scale(1.12) rotate(-7deg);
  box-shadow: 0 0 30px rgba(19,197,189,.2);
}

.cat:hover .cat-link {
  opacity: 1;
  transform: translateX(-5px);
}

.cat-pest .big {
  background: rgba(255,128,85,.12);
  border-color: rgba(255,128,85,.25);
}

.cat-trends .big {
  background: rgba(255,195,100,.10);
  border-color: rgba(255,195,100,.25);
}

@media(max-width:760px) {
  .cat {
    align-items: center !important;
  }

  .cat p,
  .cat-link {
    text-align: right;
  }

  .cat .big {
    width: 75px;
    height: 75px;
    flex: 0 0 75px;
    font-size: 40px;
  }
}

/* =================================
   ROCA CINEMATIC HERO BANNER
================================= */

.hero-banner {
  min-height: 570px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  text-align: right;
  padding: 75px 7% !important;
  overflow: hidden;
  isolation: isolate;

  /* غيّر اسم الصورة حسب اسم صورتك */
  background-image:
    linear-gradient(
      90deg,
      rgba(5, 20, 25, .15),
      rgba(5, 20, 25, .55) 45%,
      rgba(5, 20, 25, .94)
    ),
    url("../roca-hero.jpg.png");

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 0 0 35px 35px;
}

.hero-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    0deg,
    rgba(5, 20, 25, .5),
    transparent 55%
  );
  z-index: -1;
}

.hero-content {
  max-width: 650px;
  position: relative;
  z-index: 2;
  animation: rocaHeroReveal 1s ease both;
}

.hero-tag {
  display: inline-block;
  color: #16d3c6;
  background: rgba(19, 197, 189, .12);
  border: 1px solid rgba(19, 197, 189, .3);
  padding: 9px 17px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 2px;
  margin-bottom: 20px;
}

.hero-banner h1 {
  font-size: clamp(38px, 5.5vw, 68px) !important;
  line-height: 1.4;
  font-weight: 900;
  color: #fff;
  margin: 0;
}

.hero-banner h1 span {
  display: block;
  color: #13c5bd !important;
  text-shadow: 0 0 30px #13c5bd40;
}

.hero-banner p {
  color: #d0e3e6 !important;
  font-size: 16px;
  line-height: 2.1;
  max-width: 510px;
  margin: 18px 0 25px !important;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 150px;
  padding: 14px 24px;
  border-radius: 13px;
  font-size: 14px;
  font-weight: 900;
  transition: .3s ease;
}

.hero-btn.primary {
  background: linear-gradient(135deg, #15cabe, #078997);
  color: white;
  box-shadow: 0 8px 25px #13c5bd35;
}

.hero-btn.secondary {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.3);
  color: white;
  backdrop-filter: blur(10px);
}

.hero-btn:hover {
  transform: translateY(-4px);
  filter: brightness(1.15);
}

.hero-scroll {
  position: absolute;
  bottom: 23px;
  left: 50%;
  transform: translateX(-50%);
  color: #c5dddd;
  font-size: 11px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  opacity: .8;
}

.hero-scroll span {
  width: 20px;
  height: 32px;
  border: 1px solid #a8d5d5;
  border-radius: 20px;
  position: relative;
}

.hero-scroll span::after {
  content: "";
  position: absolute;
  width: 3px;
  height: 7px;
  background: #13c5bd;
  border-radius: 5px;
  left: 50%;
  top: 6px;
  transform: translateX(-50%);
  animation: rocaScroll 1.4s infinite;
}

@keyframes rocaHeroReveal {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes rocaScroll {
  to {
    opacity: 0;
    transform: translate(-50%, 10px);
  }
}

@media(max-width:760px) {
  .hero-banner {
    min-height: 480px;
    padding: 55px 22px !important;
    justify-content: center;
    text-align: center;
    background-position: center;
    border-radius: 0 0 23px 23px;
  }

  .hero-banner h1 {
    font-size: 37px !important;
  }

  .hero-banner p {
    font-size: 13px;
    margin-inline: auto !important;
  }

  .hero-buttons {
    justify-content: center;
  }

  .hero-btn {
    min-width: 135px;
    padding: 12px 17px;
    font-size: 12px;
  }

  .hero-scroll {
    display: none;
  }
}
/* ROCA Hero - Size Adjustment */
.hero.hero-banner {
    width: calc(100% - 40px);
    max-width: 1180px;
    min-height: 520px;
    height: 520px;
    margin: 0 auto 20px;
    border-radius: 0 0 35px 35px;
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

/* ضبط المحتوى */
.hero-banner .hero-content {
    max-width: 600px;
    padding: 35px;
}

.hero-banner h1 {
    font-size: clamp(38px, 4.5vw, 64px);
    line-height: 1.3;
}

/* الموبايل */
@media (max-width: 768px) {
    .hero.hero-banner {
        width: calc(100% - 20px);
        height: 420px;
        min-height: 420px;
        border-radius: 0 0 25px 25px;
    }

    .hero-banner .hero-content {
        padding: 20px;
    }

    .hero-banner h1 {
        font-size: 34px;
    }
}

/* =================================
   ROCA - MOBILE RESPONSIVE UPGRADE
================================= */

@media (max-width: 768px) {

    /* منع أي خروج عن عرض الشاشة */
    html, body {
        width: 100%;
        overflow-x: hidden;
    }

    .wrap {
        width: 100%;
        padding: 0 10px;
    }

    /* الهيدر */
    .hdr {
        padding: 10px 12px;
        min-height: 68px;
    }

    .logo {
        font-size: 25px;
    }

    /* البانر الرئيسي */
    .hero.hero-banner {
        width: calc(100% - 20px);
        height: 390px;
        min-height: 390px;
        margin: 0 auto 18px;
        border-radius: 0 0 22px 22px;
        background-size: cover;
        background-position: center;
    }

    .hero-banner .hero-content {
        width: 100%;
        max-width: 100%;
        padding: 20px 12px;
        text-align: center;
    }

    .hero-banner h1 {
        font-size: clamp(27px, 7vw, 36px);
        line-height: 1.5;
        margin: 15px 0;
    }

    .hero-banner p {
        font-size: 12px;
        line-height: 1.9;
    }

    .hero-tag {
        font-size: 10px;
        padding: 10px 15px;
    }

    .hero-buttons {
        justify-content: center;
        gap: 8px;
        flex-wrap: wrap;
    }

    .hero-btn {
        padding: 12px 18px;
        font-size: 12px;
    }

    /* الأقسام الرئيسية - 3 كروت جنب بعض */
    .cats {
        display: grid !important;
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        gap: 8px !important;
        padding: 10px !important;
    }

    .cats > * {
        min-width: 0;
        width: 100% !important;
        margin: 0 !important;
        padding: 12px 5px !important;
        border-radius: 16px !important;
        text-align: center;
    }

    .cats img,
    .cats svg {
        max-width: 48px;
        max-height: 48px;
        margin: 0 auto 8px;
    }

    .cats h2,
    .cats h3 {
        font-size: 12px !important;
        line-height: 1.5;
    }

    .cats p {
        font-size: 9px !important;
        line-height: 1.6;
    }

    /* شبكة المنتجات - 3 منتجات في الصف */
    .products-grid,
    .product-grid,
    .products {
        display: grid !important;
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        gap: 8px !important;
        padding: 8px !important;
    }

    .product-card,
    .product {
        width: 100% !important;
        min-width: 0 !important;
        margin: 0 !important;
        border-radius: 13px !important;
        overflow: hidden;
    }

    .product-card img,
    .product img {
        width: 100%;
        height: 105px;
        object-fit: contain;
    }

    .product-card h3,
    .product h3 {
        font-size: 11px !important;
        line-height: 1.5;
        padding: 0 4px;
    }

    .product-card p,
    .product p {
        font-size: 10px !important;
    }

    .product-card button,
    .product button {
        font-size: 10px !important;
        padding: 8px 4px !important;
        width: 95%;
    }

    /* عناوين الأقسام */
    .section-title,
    .cats-title {
        font-size: 20px !important;
        text-align: center;
    }

}

/* الشاشات الصغيرة جدًا */
@media (max-width: 380px) {
    .cats,
    .products-grid,
    .product-grid,
    .products {
        gap: 5px !important;
        padding: 5px !important;
    }

    .product-card img,
    .product img {
        height: 85px;
    }

    .cats h2,
    .cats h3 {
        font-size: 10px !important;
    }
}

/* =====================================
   ROCA MOBILE - FIX TEXT & IMAGE
===================================== */

@media (max-width: 768px) {

    /* HERO IMAGE */
    .hero.hero-banner {
        width: calc(100% - 20px);
        height: 420px;
        min-height: 420px;
        margin: 0 auto 20px;
        border-radius: 22px;
        overflow: hidden;

        /* إظهار الجزء الأهم من الصورة */
        background-size: cover !important;
        background-position: 68% center !important;
    }

    /* طبقة تحسين وضوح الكلام */
    .hero.hero-banner::before {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(
            180deg,
            rgba(3, 20, 25, .35),
            rgba(3, 20, 25, .82)
        );
        pointer-events: none;
    }

    .hero-banner .hero-content {
        position: relative;
        z-index: 2;
        width: 100%;
        max-width: 100%;
        padding: 25px 15px;
        margin: 0;
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        height: 100%;
    }

    .hero-banner h1 {
        font-size: 32px !important;
        line-height: 1.5 !important;
        margin: 12px 0 !important;
        text-align: center;
        word-break: normal;
    }

    .hero-banner p {
        font-size: 13px !important;
        line-height: 1.9 !important;
        max-width: 320px;
        text-align: center;
        margin: 8px auto 18px;
    }

    .hero-tag {
        font-size: 10px;
        padding: 9px 15px;
    }

    .hero-buttons {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 10px;
        width: 100%;
        flex-wrap: wrap;
    }

    .hero-btn {
        min-width: 125px;
        padding: 13px 15px !important;
        font-size: 12px !important;
        text-align: center;
    }

    /* CATEGORY CARDS */
    .cats {
        display: grid !important;
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        gap: 9px !important;
        padding: 10px !important;
        width: 100%;
    }

    .cats > * {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        text-align: center !important;

        width: 100% !important;
        min-width: 0 !important;
        min-height: 155px;
        padding: 12px 5px !important;
        margin: 0 !important;
        gap: 8px !important;
        border-radius: 17px !important;
        overflow: hidden;
    }

    /* ترتيب الأيقونات */
    .cats > * img,
    .cats > * svg,
    .cats > * .icon {
        width: 48px !important;
        height: 48px !important;
        max-width: 48px;
        flex-shrink: 0;
        margin: 0 auto !important;
    }

    /* ترتيب النصوص */
    .cats > * h2,
    .cats > * h3,
    .cats > * h4 {
        width: 100%;
        font-size: 12px !important;
        line-height: 1.6 !important;
        text-align: center !important;
        margin: 0 !important;
        white-space: normal !important;
    }

    .cats > * p {
        width: 100%;
        font-size: 9px !important;
        line-height: 1.6 !important;
        text-align: center !important;
        margin: 0 !important;
    }

    .cats > * a {
        font-size: 10px !important;
        text-align: center !important;
    }

}

/* الموبايلات الصغيرة */
@media (max-width: 380px) {

    .hero.hero-banner {
        height: 390px;
        min-height: 390px;
    }

    .hero-banner h1 {
        font-size: 27px !important;
    }

    .cats {
        gap: 6px !important;
        padding: 7px !important;
    }

    .cats > * {
        min-height: 140px;
        padding: 8px 3px !important;
    }

    .cats > * h2,
    .cats > * h3 {
        font-size: 10px !important;
    }
}

/* =================================
   ROCA - PREMIUM BUTTON DESIGN
================================= */

/* جميع الأزرار */
button,
.hero-btn,
.cats a,
.product-card button,
.product button {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(20, 220, 205, .35) !important;
    border-radius: 14px !important;

    background: linear-gradient(
        135deg,
        #12cfc2,
        #078f9b
    ) !important;

    color: #fff !important;
    font-family: inherit;
    font-weight: 800 !important;
    letter-spacing: .2px;

    box-shadow:
        0 5px 15px rgba(0, 190, 180, .18),
        inset 0 1px 0 rgba(255,255,255,.2);

    transition:
        transform .25s ease,
        box-shadow .25s ease,
        background .25s ease;
}

/* تأثير الإضاءة */
button::before,
.hero-btn::before,
.cats a::before,
.product-card button::before,
.product button::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -100%;
    width: 45%;
    height: 200%;
    background: rgba(255,255,255,.2);
    transform: rotate(25deg);
    transition: left .55s ease;
    pointer-events: none;
}

/* عند مرور الماوس */
@media (hover: hover) {
    button:hover,
    .hero-btn:hover,
    .cats a:hover,
    .product-card button:hover,
    .product button:hover {
        transform: translateY(-3px);
        box-shadow:
            0 9px 25px rgba(0, 210, 195, .3),
            0 0 12px rgba(0, 210, 195, .12);
    }

    button:hover::before,
    .hero-btn:hover::before,
    .cats a:hover::before,
    .product-card button:hover::before,
    .product button:hover::before {
        left: 150%;
    }
}

/* عند الضغط */
button:active,
.hero-btn:active,
.cats a:active,
.product-card button:active,
.product button:active {
    transform: scale(.95);
    box-shadow: 0 2px 8px rgba(0, 190, 180, .2);
}

/* زر اكتشف المنتجات */
.cats a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 11px 15px !important;
    text-decoration: none;
}

/* أزرار الهيرو */
.hero-btn {
    min-height: 48px;
    padding: 13px 25px !important;
}

/* الموبايل */
@media (max-width: 768px) {
    button,
    .hero-btn,
    .cats a {
        min-height: 42px;
        font-size: 12px !important;
        border-radius: 12px !important;
    }

    .cats a {
        padding: 9px 7px !important;
        width: 100%;
    }
}

/* ROCA CATEGORY - BLACK BOLD TEXT */

.cat h2,
.cat p,
.cat .cat-link {
    color: #000000 !important;
    font-weight: 900 !important;
    text-shadow: none !important;
    opacity: 1 !important;
}

/* عنوان القسم */
.cat h2 {
    font-size: 23px;
}

/* وصف القسم */
.cat p {
    font-size: 14px;
    line-height: 1.8;
}

/* اكتشف المنتجات */
.cat .cat-link {
    display: inline-block;
    font-size: 14px;
    white-space: nowrap;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

/* عند المرور بالماوس */
.cat:hover h2,
.cat:hover p,
.cat:hover .cat-link {
    color: #000000 !important;
}

@media (max-width: 760px) {
    .cat h2 {
        font-size: 18px;
    }

    .cat p,
    .cat .cat-link {
        font-size: 12px;
    }
}

/* =================================
   ROCA - PREMIUM CATEGORY CARDS
================================= */

.cats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
    padding: 35px 0 75px !important;
}

.cat {
    min-height: 300px;
    padding: 28px 18px !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 13px;

    background: linear-gradient(
        145deg,
        #20d2c5 0%,
        #0ba5a8 55%,
        #078b9a 100%
    ) !important;

    border: 1px solid rgba(255,255,255,.3) !important;
    border-radius: 25px !important;

    box-shadow:
        0 12px 30px rgba(0,0,0,.15),
        inset 0 1px 0 rgba(255,255,255,.35);

    text-align: center;
    text-decoration: none;
    transition: .35s ease;
}

/* الأيقونة */
.cat .big {
    width: 88px !important;
    height: 88px !important;
    display: grid;
    place-items: center;
    border-radius: 25px !important;

    background: rgba(255,255,255,.23) !important;
    border: 1px solid rgba(255,255,255,.4) !important;

    box-shadow: 0 8px 22px rgba(0,0,0,.10);
    font-size: 45px !important;
    transition: .35s ease;
}

/* اسم القسم */
.cat h2 {
    color: #031d20 !important;
    font-size: 24px !important;
    font-weight: 900 !important;
    margin: 4px 0 !important;
}

/* الوصف */
.cat p {
    color: #073438 !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    line-height: 1.9;
    margin: 0 !important;
}

/* اكتشف المنتجات */
.cat .cat-link {
    display: inline-block;
    margin-top: 5px;
    padding: 9px 15px;

    color: #000 !important;
    font-size: 14px !important;
    font-weight: 900 !important;

    background: rgba(255,255,255,.22) !important;
    border: 1px solid rgba(0,0,0,.12) !important;
    border-radius: 50px;

    white-space: nowrap;
    transition: .3s ease;
}

/* حركة الكارت */
@media (hover: hover) {
    .cat:hover {
        transform: translateY(-9px);
        box-shadow:
            0 22px 40px rgba(0,0,0,.22),
            0 0 22px rgba(19,197,189,.18);
    }

    .cat:hover .big {
        transform: scale(1.08) rotate(-5deg);
    }

    .cat:hover .cat-link {
        background: #061d21 !important;
        color: white !important;
    }
}

.cat:active {
    transform: scale(.97);
}

/* الموبايل */
@media (max-width: 760px) {
    .cats {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        gap: 9px !important;
        padding: 20px 8px 45px !important;
    }

    .cat {
        min-height: 205px;
        padding: 13px 5px !important;
        gap: 9px;
        border-radius: 17px !important;
    }

    .cat .big {
        width: 65px !important;
        height: 65px !important;
        font-size: 35px !important;
        border-radius: 19px !important;
    }

    .cat h2 {
        font-size: 14px !important;
    }

    .cat p {
        font-size: 9px !important;
        line-height: 1.7;
    }

    .cat .cat-link {
        font-size: 9px !important;
        padding: 7px 5px;
        margin-top: 2px;
    }
}

@media (max-width: 360px) {
    .cats {
        gap: 6px !important;
    }

    .cat {
        min-height: 190px;
    }

    .cat h2 {
        font-size: 12px !important;
    }

    .cat .cat-link {
        font-size: 8px !important;
    }
}

/* =====================================================
   ROCA STORE - PREMIUM SHOPIFY DESIGN
   Modern / Lightweight / Responsive
===================================================== */

:root {
  --roca-primary: #087f8c;
  --roca-primary-dark: #05636e;
  --roca-accent: #ff8b65;
  --roca-text: #172b32;
  --roca-muted: #77868b;
  --roca-bg: #f6f9fa;
  --roca-white: #ffffff;
  --roca-border: #e9eff0;
  --roca-radius: 20px;
  --roca-shadow: 0 8px 28px rgba(20, 55, 65, .07);
}

/* GLOBAL */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--roca-bg);
  color: var(--roca-text);
  font-family: 'Cairo', sans-serif;
  -webkit-font-smoothing: antialiased;
}

a {
  -webkit-tap-highlight-color: transparent;
}

button {
  font-family: inherit;
  cursor: pointer;
}

/* MAIN WRAP */

.wrap {
  width: min(1200px, 94%);
  margin-inline: auto;
}

/* HEADER & LOGO */

.site-header {
  background: rgba(255,255,255,.96);
  border-bottom: 1px solid var(--roca-border);
  padding: 8px 4%;
}

.logo img {
  object-fit: contain;
  transition: transform .25s ease;
}

.logo:hover img {
  transform: scale(1.04);
}

/* HERO */

.hero {
  border-radius: 26px;
  overflow: hidden;
  position: relative;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  padding: 7px 16px;
  border-radius: 50px;
  background: rgba(255,255,255,.16);
  border: 1px solid rgba(255,255,255,.3);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1px;
}

.hero h1 {
  font-size: clamp(30px, 5vw, 58px);
  line-height: 1.4;
  font-weight: 900;
  letter-spacing: -.8px;
}

.hero p {
  line-height: 2;
  max-width: 580px;
  font-size: 15px;
}

/* HERO BUTTONS */

.hero-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 11px 26px;
  border-radius: 12px;
  font-weight: 800;
  text-decoration: none;
  transition: background .2s ease, transform .2s ease;
}

.hero-btn.primary {
  background: var(--roca-primary);
  color: #fff;
}

.hero-btn.primary:hover {
  background: var(--roca-primary-dark);
  transform: translateY(-2px);
}

.hero-btn.secondary {
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.5);
  color: #fff;
}

/* CATEGORY CARDS */

.cats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-block: 35px;
}

.cat {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-height: 240px;
  padding: 25px;
  overflow: hidden;
  border: 1px solid var(--roca-border);
  border-radius: var(--roca-radius);
  background: var(--roca-white);
  color: var(--roca-text);
  text-decoration: none;
  box-shadow: var(--roca-shadow);
  transition: transform .25s ease, box-shadow .25s ease;
}

.cat:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 38px rgba(20,55,65,.12);
}

.cat .big {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 65px;
  height: 65px;
  margin-bottom: 15px;
  border-radius: 18px;
  background: #eaf7f7;
  font-size: 32px;
}

.cat h2 {
  font-size: 22px;
  font-weight: 900;
  margin: 5px 0;
}

.cat p {
  color: var(--roca-muted);
  font-size: 13px;
  line-height: 1.8;
}

.cat-link {
  margin-top: auto;
  padding-top: 15px;
  color: var(--roca-primary);
  font-size: 13px;
  font-weight: 900;
}

/* PRODUCT GRID */

.products,
.products-grid,
.products-container,
#products {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  align-items: stretch;
}

/* PRODUCT CARDS */

.product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  padding: 10px;
  border: 1px solid var(--roca-border);
  border-radius: 19px;
  background: #fff;
  box-shadow: 0 3px 15px rgba(20,55,65,.035);
  transition: transform .22s ease, box-shadow .22s ease;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(20,55,65,.10);
  border-color: #d5e8e9;
}

/* PRODUCT IMAGE */

.product-card img {
  display: block;
  width: 100%;
  height: 220px;
  object-fit: contain;
  padding: 12px;
  border-radius: 14px;
  background: #f7f9fa;
  transition: transform .3s ease;
}

.product-card:hover img {
  transform: scale(1.045);
}

/* PRODUCT NAME */

.product-card h3,
.product-card .product-name {
  color: var(--roca-text);
  font-size: 15px;
  font-weight: 900;
  line-height: 1.8;
  margin: 12px 5px 5px;
}

/* PRODUCT DESCRIPTION */

.product-card p,
.product-card .product-desc {
  color: var(--roca-muted);
  font-size: 12px;
  line-height: 1.8;
  margin: 0 5px 10px;
}

/* PRODUCT PRICE */

.product-card .price,
.product-card .product-price {
  color: var(--roca-primary);
  font-size: 19px;
  font-weight: 900;
}

.product-card .old-price,
.product-card del {
  color: #a5afb2;
  font-size: 12px;
  margin-inline-start: 5px;
}

/* PRODUCT BADGE */

.product-card .badge,
.product-card .product-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  max-width: 100%;
  padding: 5px 11px;
  border-radius: 50px;
  background: #fff0e9;
  color: #e66c43;
  font-size: 11px;
  font-weight: 900;
}

/* PRODUCT BUTTONS */

.product-card button,
.product-card .add-to-cart,
.product-card .buy-btn {
  width: 100%;
  min-height: 43px;
  margin-top: auto;
  padding: 9px 12px;
  border: 0;
  border-radius: 11px;
  background: var(--roca-primary);
  color: #fff;
  font-size: 13px;
  font-weight: 900;
  transition: background .2s ease, transform .2s ease;
}

.product-card button:hover,
.product-card .add-to-cart:hover,
.product-card .buy-btn:hover {
  background: var(--roca-primary-dark);
}

.product-card button:active {
  transform: scale(.97);
}

/* GENERAL BUTTONS */

button,
input,
select,
textarea {
  font-family: 'Cairo', sans-serif;
}

button:focus-visible,
a:focus-visible {
  outline: 3px solid rgba(8,127,140,.35);
  outline-offset: 3px;
}

/* SECTION TITLES */

section h2 {
  letter-spacing: -.3px;
}

/* IMAGES */

img {
  max-width: 100%;
}

/* TABLET */

@media (max-width: 900px) {
  .products,
  .products-grid,
  .products-container,
  #products {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
  }

  .product-card img {
    height: 190px;
  }

  .cats {
    gap: 14px;
  }
}

/* MOBILE */

@media (max-width: 600px) {

  .wrap {
    width: 94%;
  }

  .hero {
    border-radius: 18px;
  }

  .hero h1 {
    font-size: 30px;
  }

  .hero p {
    font-size: 13px;
  }

  .hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
  }

  .hero-btn {
    min-height: 44px;
    padding: 9px 17px;
    font-size: 13px;
  }

  .cats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 11px;
    margin-block: 20px;
  }

  .cat {
    min-height: 190px;
    padding: 15px;
    border-radius: 15px;
  }

  .cat .big {
    width: 48px;
    height: 48px;
    font-size: 25px;
    border-radius: 13px;
  }

  .cat h2 {
    font-size: 17px;
  }

  .cat p {
    font-size: 11px;
  }

  .cat-link {
    font-size: 11px;
  }

  .products,
  .products-grid,
  .products-container,
  #products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .product-card {
    padding: 7px;
    border-radius: 14px;
  }

  .product-card img {
    height: 145px;
    padding: 7px;
    border-radius: 10px;
  }

  .product-card h3,
  .product-card .product-name {
    font-size: 12px;
    line-height: 1.7;
    margin: 9px 3px 4px;
  }

  .product-card p,
  .product-card .product-desc {
    font-size: 10px;
    margin-inline: 3px;
  }

  .product-card .price,
  .product-card .product-price {
    font-size: 16px;
  }

  .product-card button,
  .product-card .add-to-cart,
  .product-card .buy-btn {
    min-height: 38px;
    font-size: 11px;
    padding: 7px 5px;
    border-radius: 9px;
  }

  .product-card .badge,
  .product-card .product-badge {
    font-size: 9px;
    padding: 4px 8px;
  }
}

/* SMALL MOBILE */

@media (max-width: 360px) {
  .product-card img {
    height: 125px;
  }

  .product-card h3 {
    font-size: 11px;
  }

  .product-card .price {
    font-size: 14px;
  }
}

/* LIGHTWEIGHT ANIMATIONS */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
}
/* ROCA - RESTORE ORIGINAL LIGHT BACKGROUND */

html,
body {
    background: #f4f9fb !important;
    background-image: none !important;
    color: #12303b !important;
}

body {
    background-color: #f4f9fb !important;
}

.wrap,
main {
    background: transparent !important;
    background-image: none !important;
}

/* Keep product cards unchanged */
.card {
    background: #ffffff !important;
    color: #12303b !important;
}

.card h3 {
    color: #12303b !important;
}

.card p {
    color: #5d7480 !important;
}

/* Keep header dark */
.hdr {
    background: #102a32 !important;
}

/* =========================================
   ROCA - PREMIUM NEON CART UPGRADE
   Drawer + Product Entry Animation
========================================= */

:root {
    --cart-neon: #13d8ce;
    --cart-neon-dark: #078b98;
    --cart-dark: #0b222a;
    --cart-panel: #102d36;
}

/* CART OVERLAY */
.ov {
    background: rgba(2, 12, 16, .76) !important;
    backdrop-filter: blur(7px);
    transition: opacity .35s ease !important;
}

.ov.show {
    opacity: 1 !important;
}

/* CART DRAWER */
.drawer {
    width: min(440px, 94vw) !important;
    background: linear-gradient(160deg, #102e38, #071c24) !important;
    color: #fff !important;
    border-right: 1px solid rgba(19,216,206,.35);
    box-shadow:
        0 0 35px rgba(19,216,206,.12),
        0 0 90px rgba(0,0,0,.45) !important;
    transform: translateX(-105%);
    transition: transform .42s cubic-bezier(.22,1,.36,1) !important;
}

.drawer.open {
    transform: translateX(0) !important;
}

/* CART HEADER */
.d-head {
    min-height: 85px;
    padding: 20px !important;
    background: linear-gradient(110deg,#123b45,#0b2730) !important;
    border-bottom: 1px solid rgba(19,216,206,.22) !important;
}

.d-head h3 {
    color: #fff !important;
    font-size: 21px;
    font-weight: 900;
    letter-spacing: .3px;
}

.d-head button {
    width: 43px;
    height: 43px;
    border-radius: 13px;
    background: linear-gradient(135deg,#18d8cc,#078b98) !important;
    color: #fff !important;
    border: 1px solid rgba(255,255,255,.3);
    box-shadow: 0 0 18px rgba(19,216,206,.3);
    transition: .3s ease;
}

.d-head button:hover {
    transform: rotate(90deg) scale(1.08);
    box-shadow: 0 0 25px rgba(19,216,206,.55);
}

/* CART ITEMS AREA */
#items {
    padding: 14px 18px !important;
    scrollbar-width: thin;
    scrollbar-color: #13bdb5 transparent;
}

#items::-webkit-scrollbar {
    width: 5px;
}

#items::-webkit-scrollbar-thumb {
    background: #13bdb5;
    border-radius: 10px;
}

/* EACH PRODUCT */
#items .row {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 12px !important;
    margin-bottom: 12px;
    background: linear-gradient(125deg,rgba(25,75,84,.75),rgba(9,35,44,.95));
    border: 1px solid rgba(19,216,206,.13) !important;
    border-radius: 17px;
    box-shadow: 0 5px 18px rgba(0,0,0,.12);
    transition: transform .3s ease, border-color .3s, box-shadow .3s;
    transform-origin: right center;
}

#items .row:hover {
    transform: translateX(-4px);
    border-color: rgba(19,216,206,.55) !important;
    box-shadow: 0 7px 24px rgba(19,216,206,.12);
}

/* PRODUCT ENTRY */
@keyframes rocaCartEnter {
    0% {
        opacity: 0;
        transform: translateX(45px) scale(.94);
        filter: blur(5px);
    }
    65% {
        opacity: 1;
        transform: translateX(-5px) scale(1.015);
        filter: blur(0);
    }
    100% {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
}

#items .row {
    animation: rocaCartEnter .55s cubic-bezier(.2,.8,.2,1) both;
}

/* PRODUCT IMAGE */
.cart-thumb {
    width: 65px !important;
    height: 65px !important;
    flex: 0 0 65px !important;
    border-radius: 15px !important;
    background: linear-gradient(145deg,#f4ffff,#d9f2f1) !important;
    border: 2px solid rgba(19,216,206,.25);
    padding: 5px;
    box-shadow: 0 0 15px rgba(19,216,206,.08);
    overflow: hidden;
    transition: .3s ease;
}

.cart-thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform .4s ease;
}

#items .row:hover .cart-thumb img {
    transform: scale(1.13) rotate(-3deg);
}

/* PRODUCT NAME & PRICE */
.cart-info {
    min-width: 0;
}

.cart-info b {
    color: #f2ffff !important;
    font-size: 14px !important;
    font-weight: 900;
    line-height: 1.6;
    margin-bottom: 5px;
}

.cart-info small {
    color: #9abcc2 !important;
    font-size: 12px !important;
}

.cart-info strong {
    color: var(--cart-neon) !important;
    font-size: 14px !important;
    font-weight: 900;
    margin-top: 5px;
}

/* QUANTITY CONTROLS */
.qty {
    gap: 7px !important;
}

.qty button {
    width: 32px !important;
    height: 32px !important;
    border-radius: 11px !important;
    background: linear-gradient(135deg,#16cfc4,#087f91) !important;
    color: white !important;
    border: 1px solid rgba(255,255,255,.2) !important;
    font-weight: 900;
    box-shadow: 0 3px 12px rgba(19,216,206,.18);
    transition: transform .2s ease, box-shadow .2s ease;
}

.qty button:hover {
    transform: translateY(-2px) scale(1.08);
    box-shadow: 0 0 17px rgba(19,216,206,.45);
}

.qty button:active {
    transform: scale(.88);
}

/* CART FOOTER */
.d-foot {
    padding: 20px !important;
    background: linear-gradient(145deg,#102e38,#071c24) !important;
    border-top: 1px solid rgba(19,216,206,.25) !important;
    box-shadow: 0 -10px 30px rgba(0,0,0,.16);
}

.total {
    color: #fff !important;
    font-size: 19px !important;
    font-weight: 900;
    margin-bottom: 17px !important;
}

.total strong,
.total b {
    color: var(--cart-neon) !important;
}

/* CHECKOUT BUTTON */
.d-foot .btn,
.d-foot button {
    min-height: 55px;
    border: 1px solid rgba(255,255,255,.25) !important;
    border-radius: 15px !important;
    background: linear-gradient(115deg,#18d7ca,#078b9a) !important;
    color: #fff !important;
    font-size: 15px !important;
    font-weight: 900 !important;
    box-shadow:
        0 7px 22px rgba(19,216,206,.2),
        inset 0 1px rgba(255,255,255,.25);
    transition: .3s ease;
}

.d-foot .btn:hover,
.d-foot button:hover {
    transform: translateY(-3px);
    box-shadow:
        0 10px 30px rgba(19,216,206,.4),
        0 0 20px rgba(19,216,206,.2);
    filter: brightness(1.1);
}

/* EMPTY CART */
.empty {
    padding: 65px 15px !important;
    color: #a4c3c9 !important;
    font-size: 15px;
    line-height: 2;
}

/* CART OPEN BUTTON */
.cart-btn {
    transition: .3s ease !important;
}

.cart-btn:hover {
    border-color: var(--cart-neon) !important;
    box-shadow: 0 0 20px rgba(19,216,206,.2);
    transform: translateY(-2px);
}

/* MOBILE */
@media(max-width:600px) {
    .drawer {
        width: min(390px,94vw) !important;
    }

    .d-head {
        min-height: 72px;
        padding: 15px !important;
    }

    #items {
        padding: 12px !important;
    }

    #items .row {
        padding: 12px 9px !important;
        gap: 9px;
        border-radius: 14px;
    }

    .cart-thumb {
        width: 57px !important;
        height: 57px !important;
        flex-basis: 57px !important;
    }

    .cart-info b {
        font-size: 12px !important;
    }

    .qty button {
        width: 29px !important;
        height: 29px !important;
    }

    .d-foot {
        padding: 15px !important;
    }
}

/* ACCESSIBILITY */
@media(prefers-reduced-motion:reduce) {
    .drawer,
    #items .row,
    .cart-thumb,
    .qty button {
        animation: none !important;
        transition: none !important;
    }
}

/* ===================================
   ROCA PREMIUM LOADER
=================================== */

.roca-loader {
    position: fixed;
    inset: 0;
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f4f9fb;
    transition: opacity .7s ease, visibility .7s ease;
}

.roca-loader.hide {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.loader-content {
    width: 90%;
    max-width: 360px;
    text-align: center;
    animation: loaderAppear .8s ease both;
}

.loader-logo {
    font-size: 76px;
    font-weight: 1000;
    letter-spacing: -5px;
    color: #087f8c;
    text-shadow: 0 5px 25px #13c5bd30;
}

.loader-logo span {
    color: #13c5bd;
}

.loader-icon {
    font-size: 37px;
    margin: 12px 0;
    animation: loaderFloat 1.5s ease-in-out infinite;
}

.loader-content h2 {
    font-size: 25px;
    font-weight: 900;
    color: #12303b;
    margin: 10px 0;
}

.loader-content p {
    color: #71878e;
    font-size: 14px;
}

.loader-track {
    width: 100%;
    height: 6px;
    background: #dcebed;
    border-radius: 50px;
    overflow: hidden;
    margin: 30px 0 13px;
}

.loader-track span {
    display: block;
    width: 40%;
    height: 100%;
    border-radius: 50px;
    background: linear-gradient(90deg,#087f8c,#13d8ce);
    box-shadow: 0 0 18px #13c5bd;
    animation: loaderProgress 1.5s ease-in-out infinite;
}

.loader-content small {
    color: #087f8c;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 2px;
}

@keyframes loaderProgress {
    0% { transform: translateX(250%); }
    100% { transform: translateX(-250%); }
}

@keyframes loaderFloat {
    0%,100% { transform: translateY(0) rotate(-5deg); }
    50% { transform: translateY(-10px) rotate(5deg); }
}

@keyframes loaderAppear {
    from { opacity: 0; transform: translateY(25px) scale(.95); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

/* ===================================
   ROCA HOMEPAGE PREMIUM DESIGN
=================================== */

body {
    background: #f4f9fb !important;
    color: #12303b;
}

.hero.hero-banner {
    border-radius: 0 0 32px 32px !important;
    box-shadow: 0 18px 45px rgba(10,60,70,.13);
    border: 1px solid rgba(255,255,255,.4);
}

.hero-banner .hero-content {
    animation: rocaContentIn 1s ease both;
}

@keyframes rocaContentIn {
    from { opacity: 0; transform: translateY(35px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Category cards */
.cats {
    gap: 22px !important;
}

.cat {
    border-radius: 25px !important;
    box-shadow: 0 12px 30px rgba(10,60,70,.10);
    transition: transform .35s ease, box-shadow .35s ease !important;
}

.cat:hover {
    transform: translateY(-9px) !important;
    box-shadow: 0 20px 40px rgba(8,127,140,.2);
}

/* Product cards */
.card {
    background: #fff !important;
    border: 1px solid #e2edf1 !important;
    border-radius: 22px !important;
    box-shadow: 0 8px 25px rgba(13,70,85,.07);
    transition: .35s ease !important;
}

.card:hover {
    transform: translateY(-8px) !important;
    box-shadow: 0 18px 38px rgba(13,70,85,.15) !important;
    border-color: #13c5bd !important;
}

.thumb {
    background: linear-gradient(145deg,#effafa,#e0f2f2) !important;
    border-radius: 17px !important;
}

.card h3 {
    color: #12303b !important;
    font-weight: 900;
}

.card p {
    color: #71878e !important;
}

.price b {
    color: #087f8c !important;
}

/* Responsive */
@media(max-width:760px) {
    .hero.hero-banner {
        border-radius: 20px !important;
        min-height: 390px;
    }

    .cats {
        gap: 9px !important;
    }

    .card:hover {
        transform: translateY(-3px) !important;
    }
}

/* ROCA - تكبير صور المنتجات بشكل فعلي */
.grid .card .thumb {
    height: 270px !important;
    min-height: 270px !important;
    padding: 5px !important;
    overflow: hidden !important;
}

.grid .card .thumb img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    object-fit: contain !important;
    transform: scale(1.15) !important;
    transition: transform .15s ease !important;
}

.grid .card:hover .thumb img {
    transform: scale(1.48) !important;
}

/* تكبير الكروت على الكمبيوتر */
@media (min-width: 1000px) {
    .grid {
        grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
        gap: 22px !important;
    }
}

/* الموبايل */
@media (max-width: 768px) {
    .grid .card .thumb {
        height: 190px !important;
        min-height: 190px !important;
    }

    .grid .card .thumb img {
        transform: scale(1.2) !important;
    }
}
