@import url('https://fonts.googleapis.com/css2?family=Changa:wght@400;500;600;700;800&display=swap');

* {
  box-sizing: border-box;
  font-family: 'Changa', Arial, sans-serif !important;
}

body {
  margin: 0;
  direction: rtl;
  color: #fff;
  background: radial-gradient(circle at top, #12356d 0%, #07152f 45%, #030814 100%);
}

.top {
  text-align: center;
  padding: 34px 16px 26px;
  background: linear-gradient(135deg, #07152f, #12356d);
  border-bottom: 1px solid rgba(255,255,255,.12);
}

.top h1 {
  margin: 0;
  color: #fff;
  font-size: 34px;
  font-weight: 800;
}

.top p,
.top a {
  color: #dbe7ff !important;
}

.catalog-logo {
  width: 240px;
  max-width: 80%;
  display: block;
  margin: 0 auto 12px;
  object-fit: contain;
}

.main-site-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 15px;
  padding: 12px 24px;
  background: linear-gradient(135deg,#e31b23,#ff4a4a);
  color: #fff !important;
  text-decoration: none;
  border-radius: 14px;
  font-size: 16px;
  font-weight: 700;
  transition: .3s;
  box-shadow: 0 8px 20px rgba(227,27,35,.35);
}

.main-site-btn:hover {
  transform: translateY(-2px);
}

.wrap {
  max-width: 1200px;
  margin: auto;
  padding: 26px 16px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
}

.card {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 18px 45px rgba(0,0,0,.28);
  backdrop-filter: blur(10px);
}

.card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  height: auto;
  object-fit: cover;
  background: #fff;
  display: block;
}

.product-card img,
.product-img,
.product-popup-img {
  cursor: pointer;
}

.card-body {
  padding: 12px;
}

.card h3 {
  margin: 0 0 8px;
  color: #fff;
  font-size: 18px;
  line-height: 1.4;
}

.product-card h3 {
  font-size: 16px;
  margin-bottom: 6px;
  height: 44px;
  overflow: hidden;
}

.card p {
  color: #dbe7ff;
  font-size: 12px;
  line-height: 1.6;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  overflow: visible !important;
  display: block !important;
  -webkit-line-clamp: unset !important;
  -webkit-box-orient: unset !important;
  margin: 0 0 10px;
  white-space: normal;
}

.price-box {
  margin: 10px 0 12px;
  background: rgba(3, 8, 20, .45);
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 14px;
  padding: 8px 10px;
}

.price-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 5px 0;
  font-size: 14px;
  line-height: 1.4;
}

.price-line:not(:last-child) {
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.price-line span {
  color: #cfd8ea;
  font-weight: 700;
}

.price-line strong {
  color: #fff;
  font-size: 17px;
  font-weight: 800;
  white-space: nowrap;
  direction: ltr;
}

.price-usd strong {
  color: #42d77d;
}

.btn {
  display: inline-block;
  width: 100%;
  text-align: center;
  background: linear-gradient(135deg, #e31b23, #ff4a4a);
  color: #fff !important;
  text-decoration: none;
  border: 0;
  border-radius: 14px;
  padding: 9px 14px;
  cursor: pointer;
  font-weight: 700;
}

.btn2 {
  background: #12356d;
}

.admin-box {
  max-width: 420px;
  margin: 70px auto;
  background: rgba(255,255,255,.09);
  padding: 25px;
  border-radius: 22px;
  border: 1px solid rgba(255,255,255,.18);
  box-shadow: 0 18px 45px rgba(0,0,0,.28);
}

input,
textarea,
select {
  width: 100%;
  padding: 12px;
  margin: 7px 0 14px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 12px;
}

table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  color: #111;
  border-radius: 14px;
  overflow: hidden;
}

th,
td {
  padding: 12px;
  border-bottom: 1px solid #eee;
  text-align: right;
}

.small-img {
  width: 70px;
  height: 70px;
  object-fit: cover;
  border-radius: 8px;
}

.actions a {
  margin-left: 8px;
  color: #e31b23;
}

/* Home Banner - 1920x700 */
.home-banners {
  max-width: 1200px;
  margin: 20px auto;
  padding: 0 16px;
}

.home-banners a,
.banner-link {
  display: block;
  text-decoration: none;
}

.home-banners img {
  display: block;
  width: 100%;
  height: auto !important;
  aspect-ratio: 1920 / 700;
  object-fit: contain !important;
  border-radius: 20px;
  box-shadow: 0 15px 35px rgba(0,0,0,.25);
  transition: .25s;
}

.banner-link:hover img {
  transform: scale(1.01);
}

/* Popup */
.image-popup {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: rgba(0,0,0,.86);
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.image-popup.active {
  display: flex;
}

.image-popup img {
  max-width: 95%;
  max-height: 85vh;
  object-fit: contain;
  border-radius: 16px;
  background: #fff;
}

.image-popup-close {
  position: fixed;
  top: 18px;
  right: 18px;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: #fff;
  color: #111;
  font-size: 30px;
  cursor: pointer;
  z-index: 100000;
}

/* Breadcrumb */
.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 15px;
  margin-bottom: 10px;
  font-size: 15px;
}

.breadcrumb a {
  color: #ffffff;
  text-decoration: none;
  padding: 6px 12px;
  border-radius: 10px;
  background: rgba(255,255,255,.10);
  transition: .3s;
}

.breadcrumb a:hover {
  background: rgba(255,255,255,.18);
}

.breadcrumb span {
  color: #dbe7ff;
}

/* Admin Nav */
.admin-nav {
  background: rgba(3, 8, 20, .92);
  border-bottom: 1px solid rgba(255,255,255,.12);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  position: sticky;
  top: 0;
  z-index: 999;
}

.admin-nav-title {
  color: #fff;
  font-weight: 800;
  font-size: 18px;
  white-space: nowrap;
}

.admin-nav-links {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.admin-nav-links a {
  color: #fff;
  text-decoration: none;
  padding: 9px 13px;
  border-radius: 12px;
  background: rgba(255,255,255,.08);
  font-size: 14px;
  font-weight: 600;
}

.admin-nav-links a:hover {
  background: linear-gradient(135deg, #e31b23, #ff4a4a);
}

.admin-nav-links .logout-link {
  background: #e31b23;
}

/* Icons */
.icon-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  margin: 0 3px;
  border-radius: 10px;
  text-decoration: none !important;
  font-size: 17px;
  background: #f3f4f6;
}

.edit-icon {
  color: #0b63ce !important;
}

.delete-icon {
  color: #e31b23 !important;
}

/* Dashboard Cards */
.dashboard-products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill,minmax(170px,1fr));
  gap: 14px;
  margin-top: 20px;
}

.dashboard-product-card {
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0,0,0,.08);
}

.dashboard-product-card img {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
  background: #f5f5f5;
}

.dashboard-product-body {
  padding: 10px;
}

.dashboard-product-body h3 {
  margin: 0 0 6px;
  font-size: 13px;
  color: #111;
  line-height: 1.4;
  height: 36px;
  overflow: hidden;
}

.dashboard-product-category {
  color: #666;
  font-size: 12px;
  margin-bottom: 8px;
}

.dashboard-product-clicks {
  display: inline-block;
  background: #e31b23;
  color: #fff;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
}

/* Products Admin Search */
.products-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.add-product-btn {
  width: auto !important;
}

.product-search-form {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
}

.product-search-form input {
  width: 260px;
  margin: 0;
}

.product-search-form .btn {
  width: auto;
  white-space: nowrap;
}

.clear-search {
  color: #fff;
  text-decoration: none;
  background: rgba(255,255,255,.12);
  padding: 9px 14px;
  border-radius: 12px;
}

.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 22px;
  flex-wrap: wrap;
}

.pagination a {
  min-width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,.10);
  color: #fff;
  text-decoration: none;
  border-radius: 12px;
  font-weight: 700;
}

.pagination a.active {
  background: linear-gradient(135deg,#e31b23,#ff4a4a);
}

/* Responsive */
@media (max-width: 1200px) {
  .grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

@media (max-width: 992px) {
  .grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 768px) {
  .top {
    padding: 18px 16px 8px;
  }

  .top p {
    display: none;
  }

  .top h1 {
    margin-bottom: 4px;
    font-size: 24px;
  }

  .catalog-logo {
    width: 140px;
    max-width: 70%;
    margin-bottom: 6px;
  }

  .main-site-btn {
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: 12px;
    margin: 0 !important;
    max-width: none !important;
    width: auto !important;
    z-index: 9999;
    box-shadow: 0 10px 25px rgba(0,0,0,.35);
    display: flex;
    font-size: 15px;
    padding: 11px 18px;
  }

  .home-banners {
    margin: 10px auto 15px !important;
    padding: 0 10px;
  }

  .home-banners img {
    width: 100%;
    height: auto !important;
    aspect-ratio: 1920 / 700;
    object-fit: contain !important;
    border-radius: 14px;
  }

  .wrap {
    padding: 10px 10px 85px !important;
  }

  .grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .card {
    border-radius: 16px;
  }

  .card-body {
    padding: 8px;
  }

  .product-card h3 {
    font-size: 14px;
    height: 40px;
    margin-bottom: 4px;
  }

.card p {
  font-size: 11px;
  line-height: 1.6;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  overflow: visible !important;
  display: block !important;
  -webkit-line-clamp: unset !important;
  -webkit-box-orient: unset !important;
  margin-bottom: 8px;
  white-space: normal;
}

  .price-box {
    padding: 6px 8px;
    margin: 8px 0;
  }

  .price-line {
    font-size: 12px;
    padding: 3px 0;
  }

  .price-line strong {
    font-size: 14px;
  }

  .btn {
    width: 100%;
    padding: 8px;
    font-size: 14px;
    border-radius: 12px;
  }

  .breadcrumb {
    justify-content: flex-start;
    overflow-x: auto;
    flex-wrap: nowrap;
    padding: 8px 12px;
    margin: 14px auto 0;
    max-width: 100%;
    scrollbar-width: none;
  }

  .breadcrumb::-webkit-scrollbar {
    display: none;
  }

  .breadcrumb a,
  .breadcrumb span {
    flex: 0 0 auto;
    white-space: nowrap;
  }

  .breadcrumb a {
    background: rgba(255,255,255,.14);
    border: 1px solid rgba(255,255,255,.18);
    padding: 7px 12px;
    border-radius: 999px;
    font-size: 13px;
  }

  .breadcrumb span {
    font-size: 13px;
    color: #ffd34d;
  }

  .image-popup img {
    max-width: 100%;
    max-height: 80vh;
  }

  .image-popup-close {
    top: 12px;
    right: 12px;
  }

  .admin-nav {
    align-items: flex-start;
    flex-direction: column;
  }

  .admin-nav-links {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }

  .admin-nav-links a {
    text-align: center;
    padding: 10px 8px;
  }

  .dashboard-products-grid {
    grid-template-columns: repeat(2,1fr);
    gap: 12px;
  }

  .products-toolbar {
    display: block;
  }

  .add-product-btn {
    width: 100% !important;
    margin-bottom: 12px;
  }

  .product-search-form {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 8px;
  }

  .product-search-form input {
    width: 100%;
  }

  .clear-search {
    display: block;
    text-align: center;
    margin-top: 8px;
    grid-column: 1 / -1;
  }
}
.product-card {
  display: flex;
  flex-direction: column;
}

.product-card .card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-card .btn {
  margin-top: auto;
}
/* إظهار وصف المنتج كاملاً */
.product-card {
  display: flex;
  flex-direction: column;
  height: auto !important;
}

.product-card .card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  height: auto !important;
}

.product-card .card-body p {
  display: block !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  overflow: visible !important;
  white-space: normal !important;
  text-overflow: unset !important;
  -webkit-line-clamp: unset !important;
  -webkit-box-orient: unset !important;
  margin: 0 0 10px !important;
  line-height: 1.6 !important;
}

.product-card .price-box {
  margin-top: auto;
}

.product-card .btn {
  margin-top: 0;
}
/* PREMIUM STOREFRONT HEADER */
html{scroll-behavior:smooth}.storefront{color:#111;background:#fff}
.storefront .shop-header{position:sticky;top:0;z-index:1000;color:#111;background:rgba(255,255,255,.97);border-bottom:1px solid #e9e9e9;box-shadow:0 8px 28px rgba(17,17,17,.07);backdrop-filter:blur(14px)}
.shop-header__inner{max-width:1200px;min-height:84px;margin:auto;padding:14px 16px;display:grid;grid-template-columns:160px minmax(280px,1fr) auto;align-items:center;gap:28px}
.shop-logo{display:flex;align-items:center}.shop-logo img{display:block;width:150px;max-height:48px;object-fit:contain}
.shop-search{height:52px;display:flex;align-items:center;gap:10px;margin:0;padding:5px 6px 5px 16px;background:#f7f7f7;border:1px solid #e9e9e9;border-radius:16px;transition:.25s}
.shop-search:focus-within{background:#fff;border-color:#d40000;box-shadow:0 0 0 4px rgba(212,0,0,.08)}
.shop-search svg{width:22px;flex:0 0 auto;fill:none;stroke:#777;stroke-width:2;stroke-linecap:round}
.shop-search input{min-width:0;height:40px;flex:1;margin:0;padding:0 4px;color:#111;background:transparent;border:0;border-radius:0;outline:0;font-size:15px}
.shop-search button{height:40px;padding:0 24px;color:#fff;background:#d40000;border:0;border-radius:12px;cursor:pointer;font-weight:700;transition:.2s}
.shop-search button:hover{background:#111;transform:translateY(-1px)}
.shop-header__actions{display:flex;align-items:center;gap:10px}
.header-action{min-height:48px;display:flex;align-items:center;gap:8px;padding:0 15px;color:#111!important;background:#fff;border:1px solid #e9e9e9;border-radius:14px;text-decoration:none;font-size:14px;font-weight:700;transition:.22s}
.header-action:hover{border-color:#d40000;box-shadow:0 8px 20px rgba(17,17,17,.08);transform:translateY(-2px)}
.header-action svg{width:21px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.cart-action{position:relative;color:#fff!important;background:#111;border-color:#111}.cart-action:hover{color:#fff!important;background:#d40000}
.cart-count{min-width:20px;height:20px;display:grid;place-items:center;padding:0 5px;color:#fff;background:#d40000;border-radius:999px;font-size:11px}
.shop-nav{border-top:1px solid #f1f1f1}.shop-nav__inner{max-width:1200px;margin:auto;padding:0 16px;display:flex;gap:32px}
.shop-nav a{position:relative;padding:13px 2px;color:#333;text-decoration:none;font-size:14px;font-weight:700;transition:.2s}
.shop-nav a:after{content:"";position:absolute;right:0;bottom:8px;width:0;height:2px;background:#d40000;transition:.22s}.shop-nav a:hover{color:#d40000}.shop-nav a:hover:after{width:100%}
.storefront .top{color:#111;background:linear-gradient(135deg,#fff 0%,#f7f7f7 100%);border-bottom:1px solid #e9e9e9}.storefront .top h1{color:#111}.storefront .top p,.storefront .top a{color:#555!important}
.storefront .main-site-btn,.storefront .btn{color:#fff!important;background:#d40000;box-shadow:0 10px 24px rgba(212,0,0,.20)}.storefront .main-site-btn:hover,.storefront .btn:hover{background:#111;transform:translateY(-2px)}
.storefront .card{color:#111;background:#fff;border:1px solid #e9e9e9;border-radius:20px;box-shadow:0 10px 32px rgba(17,17,17,.07);transition:transform .25s,box-shadow .25s,border-color .25s}
.storefront a.card:hover,.storefront .product-card:hover{transform:translateY(-5px);border-color:#ddd;box-shadow:0 18px 42px rgba(17,17,17,.12)}
.storefront .card img{transition:transform .35s}.storefront a.card:hover img,.storefront .product-card:hover>img{transform:scale(1.025)}
.storefront .card h3{color:#111}.storefront .card p{color:#666}.storefront .price-box{background:#f7f7f7;border-color:#e9e9e9}.storefront .price-line span{color:#666}
.storefront .breadcrumb a{color:#111!important;background:#fff;border:1px solid #e9e9e9}.storefront .breadcrumb a:hover{color:#d40000!important;border-color:#d40000}.storefront .breadcrumb span{color:#777}
.storefront #products{scroll-margin-top:150px}
@media(max-width:900px){.shop-header__inner{min-height:auto;grid-template-columns:1fr auto;gap:10px;padding:10px 12px}.shop-logo img{width:112px;max-height:38px}.shop-search{grid-column:1/-1;grid-row:2;height:48px}.shop-search button{height:36px;padding:0 18px}.categories-action span,.cart-action>span{display:none}.header-action{min-height:42px;padding:0 11px}.shop-nav__inner{justify-content:center;gap:28px}}
@media(max-width:480px){.shop-header__actions{gap:6px}.shop-search{padding-left:5px}.shop-search button{padding:0 13px;font-size:12px}.shop-search input{font-size:13px}.shop-nav__inner{justify-content:space-around;gap:8px}.shop-nav a{font-size:13px}.storefront .grid{gap:12px}.storefront .card{border-radius:16px}}
/* Premium storefront finish */
.storefront{--primary:#d40000;--ink:#111;--muted:#6b6b6b;--soft:#f7f7f7;--line:#e9e9e9;background:#fff;color:var(--ink);min-height:100vh}
.storefront .shop-header{box-shadow:0 8px 28px rgba(17,17,17,.08);backdrop-filter:blur(14px)}
.storefront .shop-search{border-radius:18px}.storefront .shop-search button{background:var(--primary);border-radius:13px}.storefront .shop-search button:hover{background:#111}
.storefront .wrap{max-width:1280px;padding:46px 24px 72px}.storefront .grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:24px}
.storefront .card{background:#fff;border:1px solid var(--line);border-radius:22px;box-shadow:0 10px 32px rgba(17,17,17,.07);transition:transform .25s,box-shadow .25s,border-color .25s;overflow:hidden}
.storefront .card:hover{transform:translateY(-6px);border-color:#d8d8d8;box-shadow:0 20px 45px rgba(17,17,17,.13)}
.storefront .card>img{aspect-ratio:1/1;object-fit:contain;padding:10px;transition:transform .35s}.storefront .card:hover>img{transform:scale(1.04)}
.storefront .card h3{color:var(--ink);font-size:18px;line-height:1.45}.storefront .card p{color:var(--muted);font-size:13px;line-height:1.8!important}
.storefront .product-card .card-body{padding:18px}.storefront .product-card h3{height:auto;min-height:50px;margin-bottom:8px}.storefront .price-box{background:var(--soft);border:1px solid var(--line);border-radius:14px;padding:10px 13px}.storefront .price-line strong{color:var(--primary);font-size:20px}
.storefront .order-btn{min-height:48px;display:flex;align-items:center;justify-content:center;border-radius:14px;background:var(--primary);box-shadow:0 10px 24px rgba(212,0,0,.2);transition:transform .2s,background .2s}.storefront .order-btn:hover{background:#111;transform:translateY(-2px)}
.storefront .top{background:linear-gradient(135deg,#fff,#f7f7f7);border-bottom:1px solid var(--line)}.storefront .top h1{color:var(--ink)}.storefront .breadcrumb a{color:var(--ink)!important;background:#fff;border:1px solid var(--line);border-radius:999px}.storefront .main-site-btn{background:var(--primary);border-radius:15px}
.storefront .home-banners img{border-radius:24px;border:1px solid var(--line);box-shadow:0 14px 40px rgba(17,17,17,.08)}
@media(max-width:1050px){.storefront .grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:768px){.storefront .wrap{padding:28px 14px 64px!important}.storefront .grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.storefront .shop-header__inner{padding:10px 12px}.storefront .shop-nav__inner{gap:16px}.storefront .card{border-radius:17px}.storefront .card h3{font-size:15px}.storefront .product-card .card-body{padding:13px}.storefront .product-card h3{min-height:42px}.storefront .product-card p{font-size:12px}.storefront .order-btn{min-height:44px;font-size:13px}}
@media(max-width:420px){.storefront .grid{gap:10px}.storefront .card>img{padding:6px}.storefront .product-card .card-body{padding:10px}.storefront .price-line strong{font-size:17px}}

/* Homepage-only layout refinement */
.storefront .shop-header{position:sticky;top:0;z-index:1000}.storefront .shop-header__inner{max-width:1280px;min-height:76px;padding:10px 22px;grid-template-columns:150px minmax(320px,1fr) auto;gap:22px}.storefront .shop-logo img{width:142px;max-height:42px}.storefront .shop-search{height:48px;border-radius:14px}.storefront .shop-search button{height:36px;padding:0 22px;border-radius:10px}.storefront .shop-header__actions{gap:8px}.storefront .header-action{min-height:42px;padding:0 12px;border-radius:12px;font-size:13px}.storefront .shop-nav__inner{max-width:1280px;padding:0 22px;gap:26px}.storefront .shop-nav a{padding:11px 2px}.storefront .home-banners{max-width:1280px;margin:0 auto;padding:24px 22px 0}.storefront .home-banners img{display:block;width:100%;height:auto;aspect-ratio:1920/700;object-fit:contain;border:0!important;outline:0!important;border-radius:20px;box-shadow:0 12px 32px rgba(17,17,17,.1)}.storefront #products{max-width:1280px;padding-top:34px}.storefront #products:before{content:'تسوق من تصنيفاتنا المميزة';display:block;margin-bottom:20px;color:#111;font-size:clamp(24px,3vw,34px);font-weight:800;line-height:1.3}.storefront #products .grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:20px}.storefront #products .card{border-radius:18px;box-shadow:0 8px 24px rgba(17,17,17,.06)}@media(max-width:900px){.storefront .shop-header__inner{grid-template-columns:125px minmax(0,1fr) auto;gap:10px;padding:9px 14px}.storefront .shop-logo img{width:118px}.storefront .shop-search{grid-column:2;grid-row:1;height:44px}.storefront .shop-search button{padding:0 15px}.storefront .shop-nav__inner{padding:0 14px;justify-content:center;gap:20px}.storefront .home-banners{padding:16px 14px 0}.storefront #products{padding-top:28px}}@media(max-width:620px){.storefront .shop-header__inner{grid-template-columns:1fr auto}.storefront .shop-search{grid-column:1/-1;grid-row:2;height:44px}.storefront .shop-logo img{width:110px}.storefront .categories-action span,.storefront .cart-action>span{display:none}.storefront .header-action{padding:0 10px}.storefront .shop-nav{display:block}.storefront .shop-nav__inner{gap:8px;justify-content:space-between}.storefront .shop-nav a{font-size:12px}.storefront .home-banners{padding:10px 10px 0}.storefront .home-banners img{border-radius:14px}.storefront #products{padding:24px 10px 70px!important}.storefront #products .grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.storefront #products:before{margin-bottom:16px;font-size:25px}}

/* Category grid and reusable storefront footer */
.storefront .grid{grid-template-columns:repeat(6,minmax(0,1fr));align-items:stretch;gap:20px}.storefront .grid>.card{height:100%;display:flex;flex-direction:column}.storefront .grid>.card>img{width:100%;aspect-ratio:1/1;object-fit:contain;background:#fff}.storefront .grid>.card .card-body{flex:1;display:flex;align-items:center;justify-content:center;text-align:center}.storefront .grid>.card h3{margin:0;font-size:16px}
.store-footer{margin-top:48px;color:#fff;background:#111;border-top:3px solid #d40000}.store-footer__inner{max-width:1280px;margin:0 auto;padding:34px 24px 28px;display:grid;grid-template-columns:1fr 1fr 1.35fr;gap:48px;direction:rtl}.store-footer__column h2{margin:0 0 14px;color:#fff;font-size:16px}.store-footer__links{display:flex;flex-direction:column;gap:9px}.store-footer__links a{color:#d8d8d8;text-decoration:none;font-size:13px;transition:color .2s}.store-footer__links a:hover{color:#fff}.store-footer__socials{display:flex;gap:8px;margin-top:16px}.store-footer__socials a{width:30px;height:30px;display:grid;place-items:center;color:#fff;text-decoration:none;background:#2b2b2b;border-radius:50%;font-weight:700}.store-footer__socials a:hover{background:#d40000}.store-footer__brand{direction:rtl}.store-footer__brand img{width:128px;max-height:42px;object-fit:contain;object-position:right;margin-bottom:12px;filter:brightness(0) invert(1)}.store-footer__brand p{max-width:330px;margin:0;color:#c6c6c6;font-size:13px;line-height:1.9}.store-footer__copyright{padding:12px 20px;color:#999;text-align:center;border-top:1px solid #2c2c2c;font-size:12px}
@media(max-width:1050px){.storefront .grid{grid-template-columns:repeat(3,minmax(0,1fr))}.store-footer__inner{gap:28px}}
@media(max-width:640px){.storefront .grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.storefront .grid>.card h3{font-size:14px}.store-footer__inner{padding:28px 18px 24px;grid-template-columns:1fr;gap:24px}.store-footer__brand{grid-row:1}.store-footer__contact{grid-row:3}}

.storefront #products .grid{grid-template-columns:repeat(6,minmax(0,1fr))}
@media(max-width:1050px){.storefront #products .grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:640px){.storefront #products .grid{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* Store cart and checkout */
.storefront .order-btn{width:100%;border:0;cursor:pointer;font-family:inherit;font-weight:800}.storefront .order-btn.is-added{background:#16843d!important}
.cart-layer-open{overflow:hidden}.cart-backdrop{position:fixed;inset:0;z-index:1600;background:rgba(0,0,0,.48);opacity:0;transition:opacity .25s}.cart-backdrop.is-open{opacity:1}
.cart-drawer{position:fixed;top:0;right:0;bottom:0;z-index:1700;width:min(430px,92vw);display:flex;flex-direction:column;background:#fff;box-shadow:-20px 0 50px rgba(0,0,0,.2);transform:translateX(105%);transition:transform .28s ease;visibility:hidden}.cart-drawer.is-open{transform:translateX(0);visibility:visible}
.cart-drawer__header,.checkout-dialog__header{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:22px 24px;border-bottom:1px solid #ececec}.cart-drawer__header h2,.checkout-dialog__header h2{margin:2px 0 0;font-size:23px}.cart-drawer__eyebrow,.checkout-dialog__header span{color:#d40000;font-size:12px;font-weight:800}.cart-close{width:38px;height:38px;display:grid;place-items:center;padding:0;color:#222;background:#f4f4f4;border:0;border-radius:50%;font:28px/1 Arial;cursor:pointer}.cart-close:hover{color:#fff;background:#d40000}
.cart-items{flex:1;overflow:auto;padding:8px 20px}.cart-item{position:relative;display:grid;grid-template-columns:74px 1fr auto;gap:13px;align-items:center;padding:14px 0;border-bottom:1px solid #eee}.cart-item>img{width:74px;height:74px;padding:5px;object-fit:contain;background:#f7f7f7;border-radius:12px}.cart-item__details h3{margin:0 0 4px;font-size:14px;line-height:1.55}.cart-item__details p{margin:0 0 9px;color:#d40000;font-size:12px;font-weight:800}.cart-quantity{display:flex;align-items:center;gap:12px}.cart-quantity button{width:27px;height:27px;padding:0;background:#f3f3f3;border:1px solid #e5e5e5;border-radius:8px;cursor:pointer;font-size:18px}.cart-quantity strong{min-width:20px;text-align:center}.cart-remove{align-self:start;width:28px;height:28px;padding:0;color:#999;background:transparent;border:0;font-size:22px;cursor:pointer}.cart-remove:hover{color:#d40000}
.cart-empty{margin:auto;padding:40px 24px;text-align:center}.cart-empty>span{display:block;font-size:48px}.cart-empty h3{margin:12px 0 5px}.cart-empty p{margin:0;color:#777;font-size:13px}.cart-drawer__footer{padding:18px 22px 22px;border-top:1px solid #e9e9e9;box-shadow:0 -8px 24px rgba(0,0,0,.04)}.cart-totals>div,.checkout-summary>div{display:flex;justify-content:space-between;gap:14px;margin-bottom:8px}.cart-totals span,.checkout-summary span{color:#666;font-size:13px}.cart-totals strong,.checkout-summary strong{color:#111}.cart-checkout-btn,.checkout-submit{width:100%;min-height:50px;margin-top:10px;color:#fff;background:#d40000;border:0;border-radius:14px;font-family:inherit;font-size:15px;font-weight:800;cursor:pointer}.cart-checkout-btn:hover,.checkout-submit:hover{background:#111}
.checkout-modal{position:fixed;inset:0;z-index:1750;display:grid;place-items:center;padding:18px;visibility:hidden;opacity:0;transition:opacity .22s}.checkout-modal.is-open{visibility:visible;opacity:1}.checkout-dialog{width:min(760px,100%);max-height:calc(100vh - 36px);overflow:auto;background:#fff;border-radius:24px;box-shadow:0 24px 70px rgba(0,0,0,.3)}.checkout-form{padding:22px 24px 25px}.checkout-form__grid{display:grid;grid-template-columns:1fr 1fr;gap:17px}.checkout-form label{display:flex;flex-direction:column;gap:7px}.checkout-form label>span{color:#222;font-size:13px;font-weight:700}.checkout-form label b{color:#d40000}.checkout-form label small{color:#888;font-weight:400}.checkout-form input,.checkout-form select,.checkout-form textarea{width:100%;box-sizing:border-box;margin:0;padding:11px 12px;color:#111;background:#fafafa;border:1px solid #ddd;border-radius:11px;outline:0;font-family:inherit;font-size:14px}.checkout-form input:focus,.checkout-form select:focus,.checkout-form textarea:focus{background:#fff;border-color:#d40000;box-shadow:0 0 0 3px rgba(212,0,0,.08)}.checkout-form__full{grid-column:1/-1}.checkout-summary{margin-top:20px;padding:14px 16px;background:#f7f7f7;border-radius:13px}.checkout-summary>span{display:block;margin-bottom:8px;color:#111;font-weight:800}.checkout-error{margin:12px 0 0;padding:10px 12px;color:#a40000;background:#fff0f0;border-radius:9px;font-size:13px}.checkout-submit:disabled{opacity:.65;cursor:wait}.checkout-note{margin:9px 0 0;color:#777;text-align:center;font-size:11px;line-height:1.7}
.checkout-success{padding:38px 25px 42px;text-align:center}.checkout-success__icon{width:62px;height:62px;display:grid;place-items:center;margin:0 auto 15px;color:#fff;background:#16843d;border-radius:50%;font-size:32px;font-weight:800}.checkout-success h3{margin:0 0 8px;font-size:22px}.checkout-success p{color:#666}.checkout-success__actions{display:flex;justify-content:center;flex-wrap:wrap;gap:10px;margin-top:20px}.checkout-success__actions a{padding:11px 17px;color:#fff;background:#111;border-radius:11px;text-decoration:none;font-size:13px;font-weight:800}.checkout-success__actions a:last-child{background:#16843d}
.cart-toast{position:fixed;right:50%;bottom:24px;z-index:1900;padding:12px 20px;color:#fff;background:#111;border-radius:999px;box-shadow:0 10px 30px rgba(0,0,0,.22);font-size:13px;font-weight:800;opacity:0;pointer-events:none;transform:translate(50%,20px);transition:.25s}.cart-toast.is-visible{opacity:1;transform:translate(50%,0)}
@media(max-width:600px){.cart-drawer__header,.checkout-dialog__header{padding:17px 16px}.checkout-dialog{border-radius:18px}.checkout-form{padding:17px 15px 20px}.checkout-form__grid{grid-template-columns:1fr;gap:13px}.checkout-form__full{grid-column:auto}.cart-item{grid-template-columns:62px 1fr auto}.cart-item>img{width:62px;height:62px}.checkout-success__actions{flex-direction:column}.checkout-success__actions a{display:block}}
.info-page__content{max-width:900px;margin:28px auto 0;padding:34px;background:#fff;border:1px solid #e9e9e9;border-radius:22px;box-shadow:0 12px 32px rgba(17,17,17,.06);line-height:2;color:#444}.info-page__content h1{margin-top:0;color:#111;font-size:clamp(26px,4vw,38px)}.info-page__content h2,.info-page__content h3{color:#111;margin-top:24px}.info-page__content a{color:#d40000}.info-page__content ul,.info-page__content ol{padding-right:24px}@media(max-width:640px){.info-page__content{padding:22px 16px;border-radius:16px}}

/* Premium homepage product carousels */
.home-product-section{position:relative;margin-top:54px;padding-top:4px}.home-product-section+.home-product-section{padding-top:48px;border-top:1px solid #ededed}.home-section-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:0 0 22px}.home-section-heading h2{position:relative;margin:0;padding-right:17px;color:#111;font-size:clamp(25px,3vw,36px);font-weight:900;letter-spacing:-.4px}.home-section-heading h2:before{content:'';position:absolute;top:15%;right:0;width:5px;height:70%;background:linear-gradient(180deg,#ef0000,#a80000);border-radius:999px}.product-carousel-controls{display:flex;align-items:center;gap:9px;direction:rtl}.product-carousel-controls button{width:44px;height:44px;display:grid;place-items:center;padding:0;color:#111;background:#fff;border:1px solid #dedede;border-radius:50%;box-shadow:0 7px 20px rgba(17,17,17,.08);cursor:pointer;transition:color .2s,background .2s,border-color .2s,transform .2s,box-shadow .2s}.product-carousel-controls button:hover:not(:disabled){color:#fff;background:#d40000;border-color:#d40000;box-shadow:0 10px 24px rgba(212,0,0,.24);transform:translateY(-2px)}.product-carousel-controls button:focus-visible,.product-carousel-viewport:focus-visible{outline:3px solid rgba(212,0,0,.2);outline-offset:3px}.product-carousel-controls button:disabled{color:#aaa;background:#f4f4f4;box-shadow:none;cursor:not-allowed}.product-carousel-controls svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}.product-carousel-status{min-width:48px;color:#777;font-size:12px;font-weight:800;text-align:center;direction:ltr}.product-carousel-viewport{width:100%;box-sizing:border-box;margin:0;padding:9px 2px 22px;overflow-x:auto;overflow-y:hidden;scroll-behavior:smooth;scroll-snap-type:x proximity;scroll-padding-inline:2px;scrollbar-width:none;overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch;cursor:grab}.product-carousel-viewport.is-dragging{cursor:grabbing;scroll-behavior:auto;scroll-snap-type:none;user-select:none}.product-carousel-viewport::-webkit-scrollbar{display:none}.storefront #products .home-products-grid{display:grid!important;width:100%;box-sizing:border-box;grid-template-columns:none!important;grid-auto-flow:column;grid-auto-columns:calc((100% - 90px)/6);align-items:stretch;gap:18px!important}.home-product-card{min-width:0;scroll-snap-align:start}.home-product-card,.home-product-card *{-webkit-user-drag:none}.home-product-card .card-body{min-width:0}.home-product-card h3{overflow:hidden;text-overflow:ellipsis}.home-product-card .order-btn{min-height:46px}.home-product-card .product-popup-img{cursor:grab}.product-carousel-viewport.is-dragging .product-popup-img{cursor:grabbing}.home-product-section.is-static .product-carousel-controls{visibility:hidden}
@media(max-width:1100px){.storefront #products .home-products-grid{grid-auto-columns:calc((100% - 48px)/4);gap:16px!important}}
@media(max-width:820px){.home-product-section{margin-top:42px}.home-product-section+.home-product-section{padding-top:38px}.storefront #products .home-products-grid{grid-auto-columns:calc((100% - 28px)/3);gap:14px!important}.product-carousel-controls button{width:40px;height:40px}}
@media(max-width:640px){.home-product-section{margin-top:36px}.home-product-section+.home-product-section{padding-top:32px}.home-section-heading{margin-bottom:15px}.home-section-heading h2{padding-right:13px;font-size:23px;letter-spacing:0}.home-section-heading h2:before{width:4px}.product-carousel-controls{gap:6px}.product-carousel-controls button{width:36px;height:36px}.product-carousel-controls svg{width:17px;height:17px}.product-carousel-status{display:none}.product-carousel-viewport{padding:7px 1px 18px;scroll-snap-type:none;overscroll-behavior-x:auto;touch-action:pan-y pinch-zoom}.storefront #products .home-products-grid{grid-auto-columns:42.5%;gap:12px!important}.home-product-card{scroll-snap-stop:normal}.home-product-card .card-body{padding:11px}.home-product-card h3{font-size:14px;min-height:42px}.home-product-card p{font-size:11px}.home-product-card .order-btn{min-height:43px;font-size:13px}}
@media(max-width:390px){.storefront #products .home-products-grid{grid-auto-columns:42.5%}.home-section-heading h2{font-size:21px}}

/* Responsive homepage slider */
.home-slider{position:relative;max-width:1280px;margin:0 auto;padding:24px 22px 0;overflow:hidden}.home-slider__track{position:relative;overflow:hidden;border-radius:24px;box-shadow:0 14px 40px rgba(17,17,17,.1);background:#f7f7f7}.home-slide{display:none;position:relative;line-height:0}.home-slide.is-active{display:block}.home-slide img{display:block;width:100%;height:auto;max-width:100%;aspect-ratio:1920/700;object-fit:contain;border:0!important;border-radius:24px}.home-slide>a{display:block}.home-slider__arrow{position:absolute;top:calc(50% + 12px);z-index:2;width:42px;height:42px;display:grid;place-items:center;padding:0;color:#111;background:rgba(255,255,255,.92);border:1px solid #e9e9e9;border-radius:50%;box-shadow:0 6px 18px rgba(17,17,17,.16);font-size:30px;line-height:1;cursor:pointer;transform:translateY(-50%)}.home-slider__arrow:hover{color:#fff;background:#d40000}.home-slider__arrow--prev{right:34px}.home-slider__arrow--next{left:34px}.home-slider__dots{position:absolute;right:0;bottom:14px;left:0;z-index:2;display:flex;justify-content:center;gap:7px}.home-slider__dot{width:9px;height:9px;padding:0;background:#fff;border:1px solid #aaa;border-radius:50%;cursor:pointer;box-shadow:0 2px 6px rgba(0,0,0,.2)}.home-slider__dot.is-active{width:24px;background:#d40000;border-color:#d40000;border-radius:999px}.home-slider:not(.has-multiple) .home-slider__track{border-radius:24px}
@media(max-width:768px){.home-slider{padding:10px 10px 0}.home-slider__track,.home-slide img,.storefront .home-banners img{border-radius:7px}.home-slider__arrow{top:calc(50% + 5px);width:34px;height:34px;font-size:24px}.home-slider__arrow--prev{right:20px}.home-slider__arrow--next{left:20px}.home-slider__dots{bottom:9px}.home-slider__dot{width:7px;height:7px}.home-slider__dot.is-active{width:18px}}

/* Admin visitor statistics responsive grid */
.visitor-stats-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));grid-auto-rows:1fr;gap:15px}.visitor-stats-grid>div{min-width:0;height:100%;display:flex;flex-direction:column;justify-content:space-between}.visitor-stats-grid>div>div:first-child{color:#666!important}.visitor-stats-grid>div>div:last-child{color:#000!important}
@media(max-width:1199px){.visitor-stats-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:640px){.visitor-stats-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* Mobile-only floating social rail */
.mobile-floating-social{display:none}
@media(max-width:768px){.mobile-floating-social{position:fixed;left:max(10px,env(safe-area-inset-left));bottom:max(22px,env(safe-area-inset-bottom));z-index:1450;display:flex;flex-direction:column;gap:10px;padding:8px 6px;background:rgba(255,255,255,.78);border:1px solid rgba(255,255,255,.9);border-radius:24px;box-shadow:0 14px 38px rgba(17,17,17,.18);backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);isolation:isolate}.mobile-floating-social:before{content:'';position:absolute;top:22px;bottom:22px;left:50%;z-index:-1;width:2px;background:linear-gradient(180deg,transparent,rgba(17,17,17,.12),transparent);transform:translateX(-50%)}.mobile-floating-social__link{position:relative;width:44px;height:44px;display:grid;place-items:center;color:#fff;border:2px solid rgba(255,255,255,.9);border-radius:15px;box-shadow:0 8px 18px rgba(0,0,0,.2);text-decoration:none;opacity:0;transform:translateX(-24px) scale(.7);animation:floatingSocialIn .55s cubic-bezier(.2,.9,.25,1.25) forwards}.mobile-floating-social__link:nth-child(2){animation-delay:.12s}.mobile-floating-social__link:nth-child(3){animation-delay:.24s}.mobile-floating-social__link:active{transform:scale(.9)!important}.mobile-floating-social__link svg{width:23px;height:23px;fill:currentColor}.mobile-floating-social__link--whatsapp .whatsapp-bubble{fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.mobile-floating-social__link--whatsapp .whatsapp-phone{fill:currentColor}.mobile-floating-social__link--whatsapp{background:linear-gradient(145deg,#35df79,#08a847)}.mobile-floating-social__link--facebook{background:linear-gradient(145deg,#2684ff,#1254b8)}.mobile-floating-social__link--instagram{background:radial-gradient(circle at 30% 105%,#ffd600 0 18%,#ff3b30 38%,#c13584 62%,#5851db 100%)}.mobile-floating-social__link--whatsapp:after{content:'';position:absolute;inset:-5px;border:2px solid rgba(37,211,102,.38);border-radius:18px;animation:floatingSocialPulse 2.4s ease-out infinite;pointer-events:none}}
@keyframes floatingSocialIn{to{opacity:1;transform:translateX(0) scale(1)}}@keyframes floatingSocialPulse{0%,45%{opacity:0;transform:scale(.82)}70%{opacity:.7}100%{opacity:0;transform:scale(1.22)}}
@media(prefers-reduced-motion:reduce){.mobile-floating-social__link{opacity:1;transform:none;animation:none}.mobile-floating-social__link--whatsapp:after{animation:none}}

/* Full-screen mobile store menu */
.mobile-shop-bar,.mobile-menu-panel{display:none}
@media(max-width:768px){body.mobile-menu-open{overflow:hidden}.storefront .shop-header{z-index:1550!important;min-height:76px;background:#fff!important;backdrop-filter:none!important}.storefront .shop-header__inner,.storefront .shop-nav{display:none!important}.mobile-shop-bar{position:relative;z-index:3;min-height:76px;box-sizing:border-box;display:grid;grid-template-columns:58px minmax(0,1fr) 82px;align-items:center;gap:10px;padding:10px 16px;direction:ltr;background:#fff}.mobile-menu-toggle{width:46px;height:46px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;padding:0;color:#777;background:transparent;border:0;border-radius:14px;cursor:pointer}.mobile-menu-toggle span{width:27px;height:3px;background:currentColor;border-radius:999px;transition:transform .3s,opacity .2s,width .3s}.mobile-menu-toggle[aria-expanded=true] span:first-child{transform:translateY(9px) rotate(45deg)}.mobile-menu-toggle[aria-expanded=true] span:nth-child(2){width:0;opacity:0}.mobile-menu-toggle[aria-expanded=true] span:last-child{transform:translateY(-9px) rotate(-45deg)}.mobile-shop-title{min-width:0;color:#777;text-align:center;direction:rtl;font-size:clamp(18px,5vw,23px);font-weight:500;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mobile-shop-logo{display:flex;justify-content:flex-end}.mobile-shop-logo img{width:72px;height:52px;object-fit:contain}.mobile-menu-panel{position:fixed;inset:0;z-index:2;height:100vh;height:100dvh;display:block;color:#222;background:rgba(255,255,255,.985);visibility:hidden;opacity:0;pointer-events:none;transform:translateY(-16px);transition:opacity .28s,transform .36s cubic-bezier(.2,.8,.2,1),visibility .28s}.mobile-menu-panel.is-open{visibility:visible;opacity:1;pointer-events:auto;transform:translateY(0)}.mobile-menu-panel__inner{height:100%;box-sizing:border-box;display:flex;flex-direction:column;padding:calc(98px + env(safe-area-inset-top)) 28px calc(24px + env(safe-area-inset-bottom));overflow-y:auto;direction:rtl}.mobile-menu-search{height:50px;display:flex;align-items:center;gap:9px;padding:4px 5px 4px 13px;background:#f6f6f6;border:1px solid #e8e8e8;border-radius:16px;opacity:0;transform:translateY(-10px);transition:.35s .08s}.mobile-menu-panel.is-open .mobile-menu-search{opacity:1;transform:none}.mobile-menu-search svg{width:20px;flex:0 0 auto;fill:none;stroke:#888;stroke-width:2;stroke-linecap:round}.mobile-menu-search input{min-width:0;height:40px;flex:1;margin:0;padding:0 3px;background:transparent;border:0;outline:0;font-family:inherit;font-size:14px}.mobile-menu-search button{height:38px;padding:0 18px;color:#fff;background:#d40000;border:0;border-radius:12px;font-family:inherit;font-weight:800}.mobile-menu-links{display:flex;flex-direction:column;align-items:flex-start;gap:4px;margin-top:28px}.mobile-menu-links a{position:relative;width:100%;box-sizing:border-box;padding:15px 7px;color:#777;text-align:right;text-decoration:none;font-size:20px;font-weight:700;opacity:0;transform:translateX(22px);transition:color .2s,transform .38s,opacity .3s}.mobile-menu-links a:after{content:'';position:absolute;right:7px;bottom:7px;width:0;height:3px;background:#d40000;border-radius:999px;transition:width .25s}.mobile-menu-links a:active,.mobile-menu-links a:hover{color:#111}.mobile-menu-links a:active:after,.mobile-menu-links a:hover:after{width:30px}.mobile-menu-panel.is-open .mobile-menu-links a{opacity:1;transform:none}.mobile-menu-panel.is-open .mobile-menu-links a:nth-child(1){transition-delay:.08s}.mobile-menu-panel.is-open .mobile-menu-links a:nth-child(2){transition-delay:.13s}.mobile-menu-panel.is-open .mobile-menu-links a:nth-child(3){transition-delay:.18s}.mobile-menu-panel.is-open .mobile-menu-links a:nth-child(4){transition-delay:.23s}.mobile-menu-actions{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;margin-top:auto;padding-top:26px;opacity:0;transform:translateY(16px);transition:.38s .2s}.mobile-menu-panel.is-open .mobile-menu-actions{opacity:1;transform:none}.mobile-menu-primary{min-height:56px;display:flex;align-items:center;justify-content:center;padding:0 22px;color:#fff;background:linear-gradient(135deg,#ed0000,#9f0000);border-radius:999px;box-shadow:0 12px 28px rgba(180,0,0,.25);text-decoration:none;font-size:16px;font-weight:900}.mobile-menu-cart{position:relative;min-width:92px;min-height:56px;display:flex;align-items:center;justify-content:center;gap:7px;padding:0 13px;color:#111;background:#f5f5f5;border:1px solid #e5e5e5;border-radius:999px;font-family:inherit;font-weight:800}.mobile-menu-cart svg{width:21px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.mobile-menu-cart .cart-count{position:absolute;top:-4px;left:-2px}.mobile-menu-open .mobile-floating-social{opacity:0;pointer-events:none}}
@media(max-width:380px){.mobile-menu-panel__inner{padding-right:18px;padding-left:18px}.mobile-menu-actions{grid-template-columns:1fr}.mobile-menu-cart{min-height:48px}.mobile-shop-bar{padding-right:10px;padding-left:10px}}
@media(prefers-reduced-motion:reduce){.mobile-menu-panel,.mobile-menu-search,.mobile-menu-links a,.mobile-menu-actions,.mobile-menu-toggle span{transition:none}}

/* Persistent mobile cart beside the menu button */
@media(max-width:768px){.mobile-shop-bar{grid-template-columns:58px minmax(0,1fr) 58px;direction:ltr}.mobile-shop-bar .mobile-menu-toggle{grid-column:3;grid-row:1;justify-self:end}.mobile-shop-bar .mobile-shop-logo{grid-column:2;grid-row:1;justify-self:center;justify-content:center}.mobile-shop-bar .mobile-shop-logo img{width:108px;height:52px}.mobile-bar-cart{position:relative;grid-column:1;grid-row:1;justify-self:start;width:46px;height:46px;display:grid;place-items:center;padding:0;color:#222;background:#f5f5f5;border:1px solid #e5e5e5;border-radius:14px;cursor:pointer}.mobile-bar-cart svg{width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.mobile-bar-cart .cart-count{position:absolute;top:-4px;left:-4px;min-width:19px;height:19px;padding:0 4px;font-size:10px;box-shadow:0 2px 7px rgba(212,0,0,.25)}.mobile-bar-cart:active{background:#ececec;transform:scale(.96)}}

/* Smart storefront search */
.shop-search,.mobile-menu-search{position:relative}.smart-search-results[hidden]{display:none!important}.smart-search-results{position:absolute;top:calc(100% + 9px);right:0;left:0;z-index:40;max-height:min(430px,65vh);padding:7px;overflow-y:auto;color:#111;background:rgba(255,255,255,.98);border:1px solid #e4e4e4;border-radius:17px;box-shadow:0 20px 52px rgba(17,17,17,.18);backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);direction:rtl}.smart-search-item{display:grid;grid-template-columns:58px minmax(0,1fr) 24px;align-items:center;gap:11px;padding:8px;color:#111;text-decoration:none;border-radius:12px;transition:background .18s,transform .18s}.smart-search-item:hover,.smart-search-item.is-active{background:#f3f3f3;transform:translateX(-2px)}.smart-search-item img{width:58px;height:58px;padding:3px;box-sizing:border-box;object-fit:contain;background:#fff;border:1px solid #ededed;border-radius:10px}.smart-search-item__details{min-width:0;display:flex;flex-direction:column;gap:5px}.smart-search-item__details strong{overflow:hidden;font-size:13px;line-height:1.5;white-space:nowrap;text-overflow:ellipsis}.smart-search-item__details small{color:#d40000;font-size:12px;font-weight:800;direction:ltr;text-align:right}.smart-search-item__arrow{color:#aaa;font-size:18px}.smart-search-empty{padding:22px;color:#777;text-align:center;font-size:13px}.store-search-page{padding-top:38px!important}.store-search-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;padding-bottom:22px;border-bottom:1px solid #e9e9e9}.store-search-heading span{color:#d40000;font-size:13px;font-weight:900}.store-search-heading h1{margin:5px 0 0;font-size:clamp(24px,3vw,36px)}.store-search-heading a{padding:9px 15px;color:#555;background:#f4f4f4;border-radius:999px;text-decoration:none;font-size:13px;font-weight:800}.store-search-count{margin:22px 0 16px;color:#777;font-size:13px}.storefront .store-search-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important;align-items:stretch}.store-search-empty{max-width:560px;margin:70px auto;padding:38px 24px;text-align:center;background:#fafafa;border:1px solid #ededed;border-radius:24px}.store-search-empty>span{display:block;color:#ccc;font-size:58px}.store-search-empty h2{margin:6px 0 8px}.store-search-empty p{color:#777}.store-search-empty a{display:inline-flex;margin-top:12px;padding:11px 19px;color:#fff;background:#d40000;border-radius:999px;text-decoration:none;font-weight:800}
@media(max-width:900px){.storefront .store-search-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}}
@media(max-width:768px){.mobile-menu-search .smart-search-results{top:calc(100% + 7px);max-height:48vh}.smart-search-results{border-radius:14px}.smart-search-item{grid-template-columns:52px minmax(0,1fr) 20px}.smart-search-item img{width:52px;height:52px}.store-search-heading{align-items:flex-start;flex-direction:column}.storefront .store-search-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important}.store-search-page{padding-top:24px!important}}

/* Three category cards per row on mobile; product carousels stay unchanged */
@media(max-width:640px){.storefront #products>.grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.storefront #products>.grid>.card{border-radius:13px}.storefront #products>.grid>.card .card-body{padding:9px 5px}.storefront #products>.grid>.card h3{font-size:12px;line-height:1.45}}

/* Category heading uses the exact same component as latest products */
.storefront #products:before{content:none!important;display:none!important}.home-category-heading{margin-top:0}.home-category-heading h2{font-size:clamp(21px,2.4vw,30px)}@media(max-width:640px){.home-category-heading h2{font-size:19px}}
.home-section-heading h2,.home-category-heading h2{font-size:clamp(19px,1.7vw,24px);font-weight:600;letter-spacing:0}@media(max-width:640px){.home-section-heading h2,.home-category-heading h2{font-size:17px;font-weight:600}}

/* Subtle animated storefront logo on desktop and mobile */
.storefront .shop-logo img,.storefront .mobile-shop-logo img{transform-origin:center;animation:storeLogoPulse 2.4s ease-in-out infinite;will-change:transform,filter}@keyframes storeLogoPulse{0%,100%{transform:scale(1);filter:drop-shadow(0 0 0 rgba(212,0,0,0))}50%{transform:scale(1.045);filter:drop-shadow(0 5px 8px rgba(212,0,0,.2))}}@media(prefers-reduced-motion:reduce){.storefront .shop-logo img,.storefront .mobile-shop-logo img{animation:none;will-change:auto}}

/* Compact desktop search with social shortcuts beside categories */
.desktop-header-socials{display:none}@media(min-width:901px){.storefront .shop-header__inner{grid-template-columns:150px minmax(340px,720px) auto;justify-content:space-between}.storefront .shop-search{width:100%;max-width:720px;justify-self:center}.desktop-header-socials{display:flex;align-items:center;gap:6px;direction:ltr}.desktop-header-social{width:36px;height:36px;display:grid;place-items:center;color:#fff;border:2px solid #fff;border-radius:12px;box-shadow:0 6px 14px rgba(17,17,17,.13);text-decoration:none;transition:transform .2s,box-shadow .2s}.desktop-header-social:hover{color:#fff;transform:translateY(-2px) scale(1.04);box-shadow:0 9px 18px rgba(17,17,17,.2)}.desktop-header-social svg{width:19px;height:19px;fill:currentColor}.desktop-header-social .social-outline{fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.desktop-header-social .social-fill{fill:currentColor}.desktop-header-social--whatsapp{background:linear-gradient(145deg,#35d976,#08a847)}.desktop-header-social--facebook{background:linear-gradient(145deg,#2684ff,#1254b8)}.desktop-header-social--instagram{background:radial-gradient(circle at 30% 105%,#ffd600 0 18%,#ff3b30 38%,#c13584 62%,#5851db 100%)}}

/* StarSat branches directory */
.branches-page{max-width:1440px;margin:0 auto;padding:42px 22px 76px}.branches-hero{position:relative;overflow:hidden;display:flex;align-items:center;justify-content:space-between;gap:30px;margin-bottom:30px;padding:34px 38px;color:#111;background:linear-gradient(135deg,#fff 20%,#fff5f5);border:1px solid #ececec;border-radius:24px;box-shadow:0 14px 38px rgba(17,17,17,.07)}.branches-hero:after{content:'';position:absolute;top:-70px;left:-55px;width:220px;height:220px;background:radial-gradient(circle,rgba(212,0,0,.13),transparent 68%);pointer-events:none}.branches-hero>div:first-child{position:relative;z-index:1}.branches-hero>div:first-child>span{color:#d40000;font-size:13px;font-weight:800}.branches-hero h1{margin:5px 0 8px;color:#111;font-size:clamp(27px,3vw,38px);font-weight:700}.branches-hero p{max-width:720px;margin:0;color:#616161;font-size:14px;line-height:1.9}.branches-hero__count{position:relative;z-index:1;min-width:126px;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:17px;color:#fff;background:#111;border-radius:18px;box-shadow:0 10px 24px rgba(17,17,17,.16)}.branches-hero__count strong{font-size:31px;line-height:1}.branches-hero__count span{margin-top:7px;color:#ddd;font-size:12px}.branches-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.branch-card{min-width:0;display:flex;flex-direction:column;overflow:hidden;color:#111;background:#fff;border:1px solid #e8e8e8;border-radius:19px;box-shadow:0 10px 30px rgba(17,17,17,.06);transition:transform .25s,border-color .25s,box-shadow .25s}.branch-card:hover{transform:translateY(-5px);border-color:#ddd;box-shadow:0 18px 40px rgba(17,17,17,.11)}.branch-card__image{position:relative;width:100%;display:block;overflow:hidden;aspect-ratio:1/1;margin:0;padding:0;background:#fff;border:0;border-bottom:1px solid #eee;cursor:zoom-in}.branch-card__image img{width:100%;height:100%;display:block;padding:4px;object-fit:contain;transition:transform .45s}.branch-card:hover .branch-card__image img{transform:scale(1.02)}.branch-card__image>span{position:absolute;top:11px;right:11px;padding:6px 10px;color:#fff;background:rgba(17,17,17,.82);border:1px solid rgba(255,255,255,.25);border-radius:999px;backdrop-filter:blur(7px);font-size:10px;font-weight:700}.branch-card__body{position:relative;flex:1;padding:17px}.branch-card__number{position:absolute;top:17px;left:16px;color:#d40000;font:700 11px/1 Arial!important;direction:ltr}.branch-card h2{max-width:calc(100% - 32px);margin:0 0 14px;color:#111;font-size:17px;font-weight:700}.branch-detail{display:grid;grid-template-columns:21px minmax(0,1fr);align-items:start;gap:7px;margin-top:10px}.branch-detail>svg{width:19px;height:19px;margin-top:2px;fill:none;stroke:#d40000;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.branch-detail p{margin:0;color:#606060;font-size:12px;line-height:1.75}.branch-phones{display:flex;flex-wrap:wrap;gap:5px;direction:ltr;justify-content:flex-end}.branch-phones a{padding:6px 8px;color:#222;background:#f5f5f5;border:1px solid #e8e8e8;border-radius:8px;text-decoration:none;font:700 11px/1 Arial!important}.branch-phones a:hover{color:#d40000;border-color:#d40000}.branch-map-button{min-height:46px;display:flex;align-items:center;justify-content:space-between;gap:10px;margin:0 16px 16px;padding:0 13px;color:#fff;background:#d40000;border-radius:11px;text-decoration:none;font-size:12px;font-weight:800;transition:background .2s,transform .2s}.branch-map-button:hover{color:#fff;background:#111;transform:translateY(-1px)}.branch-map-button svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;transform:scaleX(-1)}
@media(max-width:1120px){.branches-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:760px){.branches-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:640px){.branches-page{padding:24px 8px 60px}.branches-hero{align-items:flex-start;flex-direction:column;margin:0 4px 18px;padding:22px 18px;border-radius:18px}.branches-hero h1{font-size:27px}.branches-hero__count{min-width:105px;align-self:stretch;flex-direction:row;gap:9px;padding:12px}.branches-hero__count strong{font-size:23px}.branches-hero__count span{margin:0}.branches-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.branch-card{border-radius:14px}.branch-card__image{aspect-ratio:1/1}.branch-card__image img{padding:2px}.branch-card__image>span{top:7px;right:7px;padding:4px 7px;font-size:9px}.branch-card__body{padding:12px 10px}.branch-card__number{top:12px;left:9px;font-size:10px!important}.branch-card h2{max-width:calc(100% - 25px);min-height:40px;margin-bottom:10px;font-size:14px;line-height:1.5}.branch-detail{grid-template-columns:17px minmax(0,1fr);gap:5px;margin-top:8px}.branch-detail>svg{width:16px;height:16px}.branch-detail p{font-size:11px;line-height:1.65}.branch-phones{gap:4px}.branch-phones a{padding:5px 6px;font-size:10px!important}.branch-map-button{min-height:42px;margin:0 9px 10px;padding:0 9px;border-radius:9px;font-size:10px}.branch-map-button svg{width:15px;height:15px}.mobile-menu-panel.is-open .mobile-menu-links a:nth-child(5){transition-delay:.28s}}

/* Admin sales and invoice details */
.sales-page-heading,.sale-detail-top{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin:8px 0 24px}.sales-page-heading h1,.sale-detail-top h1{margin:0;color:#111;font-size:32px}.sales-page-heading p,.sale-detail-top p{margin:6px 0 0;color:#777}.sales-summary-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px;margin-bottom:22px}.sales-summary-card{min-height:104px;display:flex;flex-direction:column;justify-content:center;padding:20px;box-sizing:border-box;background:linear-gradient(145deg,#fff,#fafafa);border:1px solid #e8e8e8;border-radius:18px;box-shadow:0 10px 26px rgba(17,17,17,.05)}.sales-summary-card span{color:#777;font-size:13px}.sales-summary-card strong{margin-top:7px;color:#111;font-size:24px}.sales-search{display:flex;align-items:center;gap:9px;margin-bottom:18px;padding:10px;background:#f6f6f6;border-radius:15px}.sales-search input{min-width:0;height:44px;flex:1;margin:0;padding:0 14px;background:#fff;border:1px solid #ddd;border-radius:11px;font-family:inherit}.sales-search button,.sales-search a{min-height:44px;display:inline-flex;align-items:center;justify-content:center;padding:0 20px;border:0;border-radius:11px;font-family:inherit;font-weight:800;text-decoration:none;cursor:pointer}.sales-search button{color:#fff;background:#d40000}.sales-search a{color:#555;background:#e9e9e9}.sales-table-wrap{overflow-x:auto;background:#fff;border:1px solid #e6e6e6;border-radius:17px;box-shadow:0 10px 30px rgba(17,17,17,.05)}.sales-table{width:100%;min-width:980px;border-collapse:collapse}.sales-table th{padding:14px 12px;color:#666;background:#f7f7f7;border-bottom:1px solid #e6e6e6;text-align:right;font-size:12px;white-space:nowrap}.sales-table td{padding:15px 12px;border-bottom:1px solid #eee;font-size:13px;vertical-align:middle}.sales-table tbody tr:last-child td{border-bottom:0}.sales-row{cursor:pointer;transition:background .18s}.sales-row:hover,.sales-row:focus{background:#fff8f8;outline:0}.sales-row td strong,.sales-row td small{display:block}.sales-row td small{margin-top:4px;color:#777}.sales-ltr{direction:ltr;unicode-bidi:embed;text-align:right}.sales-view-link{display:inline-flex;padding:7px 13px;color:#d40000;background:#fff0f0;border-radius:999px;text-decoration:none;font-weight:800}.sales-empty{padding:48px!important;color:#888;text-align:center!important}.sales-pagination{display:flex;justify-content:center;flex-wrap:wrap;gap:7px;margin-top:20px}.sales-pagination a{width:38px;height:38px;display:grid;place-items:center;color:#555;background:#f3f3f3;border-radius:10px;text-decoration:none}.sales-pagination a.active{color:#fff;background:#d40000}.sale-back-link{display:inline-block;margin-bottom:7px;color:#d40000;text-decoration:none;font-weight:800}.sale-pdf-link{display:inline-flex;align-items:center;justify-content:center;min-height:46px;padding:0 20px;color:#fff;background:#111;border-radius:13px;text-decoration:none;font-weight:800}.sale-invoice-card{overflow:hidden;background:#fff;border:1px solid #e4e4e4;border-radius:22px;box-shadow:0 16px 46px rgba(17,17,17,.07)}.sale-invoice-header{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:27px 30px;border-bottom:3px solid #d40000;background:linear-gradient(135deg,#fff,#fafafa)}.sale-invoice-header>div{display:flex;flex-direction:column}.sale-invoice-header>div strong{color:#d40000;font-size:29px}.sale-invoice-header>div span{color:#555;font-weight:800}.sale-invoice-header dl{display:flex;gap:28px;margin:0}.sale-invoice-header dl div{display:flex;flex-direction:column;gap:4px}.sale-invoice-header dt,.sale-customer-section dt{color:#777;font-size:12px}.sale-invoice-header dd,.sale-customer-section dd{margin:0;font-weight:700}.sale-customer-section,.sale-items-section{padding:25px 30px}.sale-customer-section h2,.sale-items-section h2{margin:0 0 17px;font-size:20px}.sale-customer-section dl{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1px;margin:0;overflow:hidden;background:#e7e7e7;border:1px solid #e7e7e7;border-radius:14px}.sale-customer-section dl div{min-height:67px;display:flex;flex-direction:column;justify-content:center;gap:5px;padding:12px 15px;background:#fff}.sale-items-section{padding-top:6px}.sale-items-scroll{overflow-x:auto;border:1px solid #e7e7e7;border-radius:14px}.sale-items-table{width:100%;min-width:720px;border-collapse:collapse}.sale-items-table th,.sale-items-table td{padding:14px;text-align:right;border-bottom:1px solid #eee}.sale-items-table th{color:#666;background:#f7f7f7;font-size:12px}.sale-items-table tbody tr:last-child td{border-bottom:0}.sale-items-table td small{display:block;margin-top:4px;color:#777}.sale-totals{display:flex;justify-content:flex-end;gap:30px;padding:22px 30px;background:#111}.sale-totals div{min-width:190px;display:flex;flex-direction:column;gap:6px}.sale-totals span{color:#aaa;font-size:12px}.sale-totals strong{color:#fff;font-size:22px}.sales-empty-state{padding:70px 20px;text-align:center}.sales-empty-state a{color:#d40000}.sales-empty-state h1{margin-bottom:16px}
.sale-invoice-header dd,.sale-customer-section dd,.sale-items-table td,.sale-items-table td strong,.sale-items-table td span{color:#111!important}
.sale-detail-top{padding:22px 26px;background:#fff;border:1px solid #e4e4e4;border-radius:18px;box-shadow:0 12px 32px rgba(0,0,0,.12)}.sale-detail-top h1,.sale-detail-top h1 span,.sale-detail-top p{color:#111!important}.sale-detail-top .sale-back-link{color:#d40000!important}
.sale-detail-actions{display:flex;align-items:flex-end;justify-content:flex-end;gap:12px;flex-wrap:wrap}.sale-order-controls{display:flex;align-items:flex-end;gap:9px;padding:10px;background:#f5f5f5;border:1px solid #e5e5e5;border-radius:14px}.sale-order-controls label{display:flex;flex-direction:column;gap:5px}.sale-order-controls label>span{color:#666;font-size:10px;font-weight:800}.sale-order-controls select{min-width:150px;height:40px;margin:0;padding:0 11px;color:#111;background:#fff;border:1px solid #d8d8d8;border-radius:9px;font-family:inherit;font-weight:700}.sale-order-controls button{height:40px;padding:0 17px;color:#fff;background:#d40000;border:0;border-radius:9px;font-family:inherit;font-weight:800;cursor:pointer}.sale-order-controls button:hover{background:#111}.sale-update-notice{margin:14px 0;padding:12px 16px;border-radius:12px;font-size:13px;font-weight:800}.sale-update-notice.success{color:#176534;background:#e6f7ec;border:1px solid #bce5c9}.sale-update-notice.error{color:#9e1b1b;background:#fff0f0;border:1px solid #f0c2c2}
.sales-page-heading{padding:22px 26px;background:#fff;border:1px solid #e4e4e4;border-radius:18px;box-shadow:0 12px 32px rgba(0,0,0,.12)}.sales-page-heading h1{color:#111!important}.sales-page-heading p{color:#555!important}
@media(max-width:950px){.sales-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.sale-invoice-header{align-items:flex-start;flex-direction:column}}
@media(max-width:640px){.sales-page-heading,.sale-detail-top{align-items:stretch;flex-direction:column}.sales-page-heading h1,.sale-detail-top h1{font-size:27px}.sales-summary-grid{gap:10px}.sales-summary-card{min-height:90px;padding:15px}.sales-summary-card strong{font-size:19px}.sales-search{align-items:stretch;flex-wrap:wrap}.sales-search input{flex-basis:100%}.sales-search button,.sales-search a{flex:1}.sale-invoice-header,.sale-customer-section,.sale-items-section{padding-right:16px;padding-left:16px}.sale-invoice-header dl{gap:16px;flex-wrap:wrap}.sale-customer-section dl{grid-template-columns:1fr}.sale-totals{align-items:stretch;flex-direction:column;gap:15px;padding:20px 16px}.sale-totals div{min-width:0}.sale-pdf-link{width:100%;box-sizing:border-box}.sale-detail-actions,.sale-order-controls{align-items:stretch;flex-direction:column}.sale-order-controls label,.sale-order-controls select,.sale-order-controls button{width:100%;box-sizing:border-box}}

/* Admin branches management */
.admin-branches-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin:8px 0 24px;padding:22px 26px;color:#111;background:#fff;border:1px solid #e4e4e4;border-radius:18px;box-shadow:0 12px 32px rgba(0,0,0,.12)}.admin-branches-heading h1{margin:0;color:#111;font-size:30px}.admin-branches-heading p{margin:6px 0 0;color:#555}.admin-branches-heading a{display:inline-flex;align-items:center;justify-content:center;min-height:42px;padding:0 17px;color:#fff;background:#111;border-radius:11px;text-decoration:none;font-weight:800;white-space:nowrap}.admin-branches-heading a:hover{background:#d40000}
.admin-branch-notice{margin-bottom:18px;padding:13px 16px;color:#176534;background:#eaf8ef;border:1px solid #bfe7ca;border-radius:12px;font-weight:700}.admin-branch-notice.error{color:#9c1616;background:#fff0f0;border-color:#f1c4c4}.admin-branches-layout{display:grid;grid-template-columns:minmax(310px,390px) minmax(0,1fr);gap:20px;align-items:start}.admin-branch-form-card,.admin-branch-list-card{padding:22px;background:#fff;border:1px solid #e5e5e5;border-radius:18px;box-shadow:0 12px 32px rgba(0,0,0,.09)}.admin-branch-form-card{position:sticky;top:18px}.admin-branch-form-card h2,.admin-branch-list-card h2{margin:0;color:#111;font-size:20px}.admin-branch-list-title{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:18px}.admin-branch-list-title span{padding:6px 10px;color:#d40000;background:#fff0f0;border-radius:999px;font-size:12px;font-weight:800}.admin-branch-form-card label{display:block;margin-top:13px;color:#222;font-size:13px;font-weight:800}.admin-branch-form-card label b{color:#d40000}.admin-branch-form-card small{color:#777;font-weight:400}.admin-branch-form-card input,.admin-branch-form-card textarea,.admin-branch-form-card select{width:100%;box-sizing:border-box;margin:7px 0 0;padding:10px 11px;color:#111;background:#fafafa;border:1px solid #dcdcdc;border-radius:10px;font-family:inherit}.admin-branch-form-card textarea{min-height:82px;resize:vertical}.admin-branch-form-card input:focus,.admin-branch-form-card textarea:focus,.admin-branch-form-card select:focus{outline:0;background:#fff;border-color:#d40000;box-shadow:0 0 0 3px rgba(212,0,0,.08)}.admin-branch-form-row{display:grid;grid-template-columns:1fr 1fr;gap:12px}.admin-branch-status{display:flex!important;align-items:center;gap:8px}.admin-branch-status input{width:auto!important;margin:0!important}.admin-branch-current-image{width:100%;aspect-ratio:1/1;display:block;margin:12px 0 3px;padding:6px;box-sizing:border-box;object-fit:contain;background:#f7f7f7;border:1px solid #e6e6e6;border-radius:12px}.admin-branch-form-card .btn{width:100%;min-height:43px;margin-top:19px;border:0;border-radius:11px;font-family:inherit;font-weight:800;cursor:pointer}.admin-branch-cancel{min-height:42px;display:flex;align-items:center;justify-content:center;margin-top:9px;color:#555;background:#ededed;border-radius:11px;text-decoration:none;font-weight:800}
.admin-branch-table-wrap{overflow-x:auto;border:1px solid #e7e7e7;border-radius:14px}.admin-branch-table{width:100%;min-width:850px;border-collapse:collapse;color:#111}.admin-branch-table th{padding:12px 10px;color:#666;background:#f7f7f7;border-bottom:1px solid #e5e5e5;text-align:right;font-size:12px;white-space:nowrap}.admin-branch-table td{padding:12px 10px;color:#111;border-bottom:1px solid #ededed;vertical-align:middle;font-size:12px}.admin-branch-table tbody tr:last-child td{border-bottom:0}.admin-branch-table tbody tr:hover{background:#fff9f9}.admin-branch-table img{width:68px;height:68px;display:block;padding:3px;box-sizing:border-box;object-fit:contain;background:#f5f5f5;border:1px solid #e8e8e8;border-radius:10px}.admin-branch-table td strong{display:block;color:#111;font-size:13px}.admin-branch-table td small{display:block;margin-top:4px;color:#777;line-height:1.6}.admin-branch-phone-cell{max-width:190px;direction:ltr;line-height:1.7}.admin-branch-state{display:inline-flex;padding:6px 9px;color:#176534;background:#eaf8ef;border-radius:999px;font-weight:800}.admin-branch-state.hidden{color:#666;background:#ededed}.admin-branch-actions{display:flex;align-items:center;gap:6px}.admin-branch-actions form{margin:0}.admin-branch-actions a,.admin-branch-actions button{display:inline-flex;align-items:center;justify-content:center;min-height:34px;padding:0 11px;border:0;border-radius:9px;font-family:inherit;font-size:11px;font-weight:800;text-decoration:none;cursor:pointer}.admin-branch-actions a{color:#111;background:#ededed}.admin-branch-actions button{color:#fff;background:#d40000}.admin-branch-actions a:hover{background:#ddd}.admin-branch-actions button:hover{background:#111}
@media(max-width:1100px){.admin-branches-layout{grid-template-columns:1fr}.admin-branch-form-card{position:static}}
@media(max-width:640px){.admin-branches-heading{align-items:stretch;flex-direction:column;padding:19px}.admin-branches-heading h1{font-size:25px}.admin-branches-heading a{width:100%;box-sizing:border-box}.admin-branch-form-card,.admin-branch-list-card{padding:15px;border-radius:15px}.admin-branch-form-row{grid-template-columns:1fr}}

/* Modern StarSat admin shell */
body.admin-body{min-height:100vh;color:#17191f;background:#f3f5f8}.admin-sidebar{position:fixed;top:0;right:0;bottom:0;z-index:1200;width:278px;display:flex;flex-direction:column;padding:20px 16px 16px;color:#fff;background:radial-gradient(circle at 90% 0,rgba(226,0,0,.22),transparent 30%),linear-gradient(180deg,#171a21 0%,#0d0f14 100%);border-left:1px solid rgba(255,255,255,.06);box-shadow:-12px 0 34px rgba(12,15,22,.12);overflow-y:auto;scrollbar-width:thin;scrollbar-color:#444 transparent}.admin-sidebar__brand{height:58px;display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 5px 16px}.admin-sidebar__brand>a{height:52px;min-width:132px;display:flex;align-items:center;justify-content:center;padding:7px 13px;background:#fff;border-radius:15px}.admin-sidebar__brand img{width:125px;height:38px;display:block;object-fit:contain}.admin-sidebar__close{display:none;width:38px;height:38px;padding:0;color:#fff;background:rgba(255,255,255,.08);border:0;border-radius:11px;font:26px/1 Arial!important;cursor:pointer}.admin-user-card{position:relative;display:grid;grid-template-columns:45px minmax(0,1fr);align-items:center;gap:11px;margin:0 2px 22px;padding:14px;background:rgba(255,255,255,.075);border:1px solid rgba(255,255,255,.08);border-radius:17px}.admin-user-card__avatar{width:45px;height:45px;display:grid;place-items:center;color:#fff;background:linear-gradient(145deg,#ee171f,#a80000);border:3px solid rgba(255,255,255,.16);border-radius:14px;font-size:20px;font-weight:800}.admin-user-card strong,.admin-user-card span{display:block}.admin-user-card strong{overflow:hidden;color:#fff;font-size:14px;white-space:nowrap;text-overflow:ellipsis}.admin-user-card div>span{margin-top:2px;color:#9ba2b1;font:500 11px/1.4 Arial!important;direction:ltr;text-align:right}.admin-user-card__status{position:absolute!important;top:17px;left:13px;width:8px;height:8px;background:#36ca70;border:2px solid #292c33;border-radius:50%}
.admin-sidebar__nav{flex:1}.admin-nav-group{margin-bottom:19px}.admin-nav-group__title{display:block;margin:0 13px 8px;color:#737b8b;font-size:10px;font-weight:800;letter-spacing:.4px}.admin-nav-item{position:relative;min-height:43px;display:flex;align-items:center;gap:12px;margin:3px 0;padding:0 13px;color:#cbd0da;text-decoration:none;border-radius:12px;font-size:13px;font-weight:600;transition:color .18s,background .18s,transform .18s}.admin-nav-item svg,.admin-sidebar__footer svg{width:19px;height:19px;flex:0 0 auto;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.admin-nav-item svg.is-solid{fill:currentColor;stroke:none}.admin-nav-item:hover{color:#fff;background:rgba(255,255,255,.07);transform:translateX(-2px)}.admin-nav-item.is-active{color:#fff;background:linear-gradient(135deg,#ef171f,#c40000);box-shadow:0 8px 20px rgba(212,0,0,.24)}.admin-nav-item.is-active:after{content:'';position:absolute;left:9px;width:5px;height:5px;background:#fff;border-radius:50%;box-shadow:0 0 0 4px rgba(255,255,255,.14)}.admin-sidebar__footer{display:grid;gap:7px;padding-top:13px;border-top:1px solid rgba(255,255,255,.08)}.admin-sidebar__footer a{min-height:40px;display:flex;align-items:center;justify-content:space-between;gap:10px;padding:0 12px;color:#b9bfca;text-decoration:none;border-radius:11px;font-size:12px;font-weight:700}.admin-sidebar__footer a:hover{color:#fff;background:rgba(255,255,255,.07)}.admin-sidebar__footer .admin-logout{justify-content:flex-start;color:#ff8c8f}.admin-sidebar__footer .admin-logout:hover{color:#fff;background:rgba(212,0,0,.22)}
.admin-shell{min-height:100vh;margin-right:278px;display:flex;flex-direction:column}.admin-topbar{position:sticky;top:0;z-index:900;min-height:68px;display:flex;align-items:center;justify-content:space-between;gap:20px;padding:10px 28px;background:rgba(255,255,255,.9);border-bottom:1px solid #e7e9ed;box-shadow:0 5px 18px rgba(18,23,34,.04);backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px)}.admin-topbar>div{display:flex;align-items:center;gap:8px}.admin-topbar span{color:#737985;font-size:12px}.admin-topbar strong{color:#d40000;font:800 15px/1 Arial!important}.admin-topbar a{padding:8px 13px;color:#333;background:#f1f2f4;border-radius:10px;text-decoration:none;font-size:12px;font-weight:700}.admin-topbar a:hover{color:#fff;background:#111}.admin-main{flex:1;min-width:0}.admin-content.wrap{max-width:1480px;padding:28px 28px 45px}.admin-content>h1,.admin-content>h2{color:#15171c}.admin-content>p{color:#68707d}.admin-footer{padding:16px 24px;color:#8a909c;text-align:center;background:#fff;border-top:1px solid #e5e8ec;font-size:11px}.admin-footer a{color:#d40000;text-decoration:none;font-weight:700}.admin-mobile-toggle,.admin-sidebar-backdrop{display:none}
.admin-body .card{color:#17191f;background:#fff;border:1px solid #e4e7eb;box-shadow:0 10px 30px rgba(26,32,44,.06);backdrop-filter:none}.admin-body .card h1,.admin-body .card h2,.admin-body .card h3,.admin-body .card strong{color:#17191f}.admin-body .card p{color:#69717e}.admin-body input,.admin-body select,.admin-body textarea{color:#17191f;background:#fff;border-color:#d9dde3}.admin-body table{color:#17191f}.admin-body .visitor-stats-grid>div{border:1px solid #e5e8ed;box-shadow:0 5px 16px rgba(26,32,44,.035)}
@media(max-width:960px){body.admin-body{overflow-x:hidden}.admin-sidebar{width:min(292px,86vw);transform:translateX(105%);transition:transform .28s cubic-bezier(.2,.8,.2,1);box-shadow:-18px 0 50px rgba(0,0,0,.25)}.admin-menu-open .admin-sidebar{transform:translateX(0)}.admin-sidebar__close{display:grid;place-items:center}.admin-sidebar-backdrop{position:fixed;inset:0;z-index:1100;display:block;background:rgba(8,10,15,.55);opacity:0;visibility:hidden;transition:opacity .25s,visibility .25s}.admin-menu-open .admin-sidebar-backdrop{opacity:1;visibility:visible}.admin-menu-open{overflow:hidden!important}.admin-shell{margin-right:0}.admin-mobile-toggle{position:fixed;top:13px;right:14px;z-index:1000;width:43px;height:43px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:5px;padding:0;background:#17191f;border:0;border-radius:12px;box-shadow:0 7px 18px rgba(17,20,27,.2);cursor:pointer}.admin-mobile-toggle span{width:20px;height:2px;background:#fff;border-radius:4px;transition:transform .2s,opacity .2s}.admin-topbar{min-height:68px;padding-right:69px;padding-left:15px}.admin-content.wrap{padding:22px 15px 38px}}
@media(max-width:520px){.admin-topbar>div span{display:none}.admin-topbar{padding-left:11px}.admin-topbar a{padding:8px 10px;font-size:11px}.admin-content.wrap{padding-right:10px;padding-left:10px}.admin-sidebar{padding-right:13px;padding-left:13px}.admin-nav-item{min-height:45px}}
@media(prefers-reduced-motion:reduce){.admin-sidebar,.admin-sidebar-backdrop,.admin-nav-item{transition:none}}

/* Compact, equal-height storefront product cards */
.storefront .product-card{height:100%!important}.storefront .product-card .card-body{min-height:0;height:auto!important;display:flex!important;flex-direction:column}.storefront .product-card .card-body>h3{height:auto!important;min-height:calc(1.45em * 2);max-height:calc(1.45em * 2);display:-webkit-box;overflow:hidden;text-overflow:ellipsis;-webkit-box-orient:vertical;-webkit-line-clamp:2}.storefront .product-card .card-body>p{height:calc(1.75em * 3)!important;min-height:calc(1.75em * 3)!important;max-height:calc(1.75em * 3)!important;display:-webkit-box!important;overflow:hidden!important;white-space:normal!important;text-overflow:ellipsis!important;-webkit-box-orient:vertical!important;-webkit-line-clamp:3!important;line-height:1.75!important}.storefront .product-card .price-box{margin-top:auto}.storefront .product-card .order-btn{flex:0 0 auto}
@media(max-width:640px){.storefront .product-card .card-body>p{height:calc(1.65em * 2)!important;min-height:calc(1.65em * 2)!important;max-height:calc(1.65em * 2)!important;-webkit-line-clamp:2!important;line-height:1.65!important}}

/* Product details action and modal */
.product-details-trigger{align-self:flex-start;margin:-2px 0 9px;padding:3px 0;color:#d40000;background:transparent;border:0;border-bottom:1px solid rgba(212,0,0,.25);font-family:inherit;font-size:11px;font-weight:800;cursor:pointer;transition:color .18s,border-color .18s}.product-details-trigger:hover{color:#111;border-color:#111}.product-details-open{overflow:hidden}.product-details-modal{position:fixed;inset:0;z-index:1950;display:grid;place-items:center;padding:20px;background:rgba(8,8,10,.66);opacity:0;visibility:hidden;transition:opacity .24s,visibility .24s}.product-details-modal.is-open{opacity:1;visibility:visible}.product-details-dialog{position:relative;width:min(880px,100%);max-height:calc(100vh - 40px);display:grid;grid-template-columns:minmax(280px,.9fr) minmax(330px,1.1fr);overflow:auto;color:#111;background:#fff;border-radius:24px;box-shadow:0 28px 80px rgba(0,0,0,.32);transform:translateY(16px) scale(.98);transition:transform .24s}.product-details-modal.is-open .product-details-dialog{transform:translateY(0) scale(1)}.product-details-close{position:absolute;top:14px;left:14px;z-index:2;width:38px;height:38px;display:grid;place-items:center;padding:0;color:#222;background:rgba(255,255,255,.92);border:1px solid #e5e5e5;border-radius:50%;box-shadow:0 5px 16px rgba(0,0,0,.1);font:25px/1 Arial!important;cursor:pointer}.product-details-close:hover{color:#fff;background:#d40000}.product-details-media{min-height:430px;display:grid;place-items:center;padding:25px;background:#f7f7f7}.product-details-media img{width:100%;height:100%;max-height:500px;display:block;object-fit:contain}.product-details-content{display:flex;flex-direction:column;padding:48px 35px 32px}.product-details-eyebrow{color:#d40000;font-size:11px;font-weight:900}.product-details-content h2{margin:7px 0 14px;color:#111;font-size:25px;line-height:1.5}.product-details-content>p{max-height:250px;margin:0 0 18px;padding-left:5px;overflow:auto;color:#606060;font-size:13px;line-height:2;white-space:pre-line}.product-details-price{margin-top:auto;padding:13px 15px;color:#d40000;background:#f7f7f7;border:1px solid #e8e8e8;border-radius:12px;font:800 18px/1.4 Arial!important;direction:ltr;text-align:right}.product-details-content .order-btn{min-height:48px;margin-top:12px}
@media(max-width:700px){.product-details-modal{padding:12px}.product-details-dialog{max-height:calc(100vh - 24px);grid-template-columns:1fr;border-radius:18px}.product-details-media{position:relative;min-height:0;height:220px;max-height:220px;padding:12px;overflow:hidden}.product-details-media img{width:100%!important;height:100%!important;max-width:100%!important;max-height:100%!important;object-fit:contain!important;object-position:center!important}.product-details-content{position:relative;z-index:1;padding:22px 18px 20px;background:#fff}.product-details-content h2{font-size:20px}.product-details-content>p{max-height:180px;font-size:12px}.product-details-close{top:9px;left:9px}.product-details-trigger{margin-bottom:8px;font-size:10px}}

/* Checkout payment methods and receipt upload */
.checkout-dialog{width:min(920px,100%)}.checkout-payment{min-width:0;margin:4px 0 0;padding:0;border:0}.checkout-payment legend{margin-bottom:11px;color:#222;font-size:14px;font-weight:800}.checkout-payment legend b,.checkout-receipt-form label b{color:#d40000}.checkout-payment__options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.checkout-payment-card{position:relative;min-width:0;display:grid!important;grid-template-columns:38px minmax(0,1fr) 22px;align-items:center;gap:9px;padding:12px!important;background:#fafafa;border:1px solid #e2e2e2;border-radius:13px;cursor:pointer;transition:border-color .18s,background .18s,box-shadow .18s,transform .18s}.checkout-payment-card:hover{border-color:#ccc;transform:translateY(-1px)}.checkout-payment-card.is-selected,.checkout-payment-card:has(input:checked){background:#fff7f7;border-color:#d40000;box-shadow:0 0 0 3px rgba(212,0,0,.07)}.checkout-payment-card input{position:absolute;width:1px!important;height:1px;padding:0!important;opacity:0;pointer-events:none}.checkout-payment-card__icon{width:38px;height:38px;display:grid;place-items:center;color:#fff;background:#111;border-radius:10px;font:800 12px/1 Arial!important;direction:ltr}.checkout-payment-card.is-selected .checkout-payment-card__icon,.checkout-payment-card:has(input:checked) .checkout-payment-card__icon{background:#d40000}.checkout-payment-card__text{min-width:0}.checkout-payment-card__text strong,.checkout-payment-card__text small{display:block}.checkout-payment-card__text strong{overflow:hidden;color:#111;font-size:12px;white-space:nowrap;text-overflow:ellipsis}.checkout-payment-card__text small{margin-top:3px;color:#777;font-size:9px;line-height:1.5}.checkout-payment-card__check{width:20px;height:20px;display:grid;place-items:center;color:transparent;background:#e8e8e8;border-radius:50%;font:700 11px/1 Arial!important}.checkout-payment-card.is-selected .checkout-payment-card__check,.checkout-payment-card:has(input:checked) .checkout-payment-card__check{color:#fff;background:#d40000}.checkout-payment-details{min-height:76px;display:flex;align-items:center;justify-content:space-between;gap:18px;margin-top:11px;padding:14px 16px;color:#111;background:linear-gradient(135deg,#f7f7f7,#fff);border:1px solid #e4e4e4;border-radius:13px}.checkout-payment-details[hidden]{display:none!important}.checkout-payment-details strong{color:#111;font-size:13px}.checkout-payment-details p{margin:5px 0 0;color:#606060;font-size:11px;line-height:1.8;white-space:normal}.checkout-payment-details img{width:92px;height:92px;flex:0 0 auto;padding:4px;object-fit:contain;background:#fff;border:1px solid #ddd;border-radius:10px}.checkout-order-number{max-width:360px;display:flex;align-items:center;justify-content:space-between;gap:15px;margin:18px auto;padding:12px 15px;background:#f6f6f6;border:1px dashed #c9c9c9;border-radius:12px}.checkout-order-number span{color:#777;font-size:12px}.checkout-order-number strong{color:#d40000;font:800 16px/1.4 Arial!important;direction:ltr}.checkout-receipt-form{max-width:520px;margin:20px auto 0;padding:17px;text-align:right;background:#fff8f8;border:1px solid #f0cccc;border-radius:15px}.checkout-receipt-form>label{display:block;margin-bottom:9px;color:#222;font-size:13px;font-weight:800}.checkout-receipt-upload{position:relative;min-height:112px;display:flex;align-items:center;justify-content:center;flex-direction:column;padding:16px;text-align:center;background:#fff;border:2px dashed #d8a6a6;border-radius:12px;cursor:pointer}.checkout-receipt-upload input{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer}.checkout-receipt-upload span{color:#222;font-size:13px;font-weight:800}.checkout-receipt-upload small{margin-top:5px;color:#777;font-size:10px}.checkout-receipt-form .checkout-submit{min-height:46px}.checkout-receipt-complete{max-width:520px;margin:18px auto 0;padding:14px;color:#176534;background:#eaf8ef;border:1px solid #bfe7ca;border-radius:12px;font-size:12px;line-height:1.8}.checkout-success__actions a:only-child{background:#111}.checkout-success>p{max-width:600px;margin-right:auto;margin-left:auto;line-height:1.9}
@media(max-width:760px){.checkout-payment__options{grid-template-columns:1fr 1fr}.checkout-payment-card:last-child:nth-child(odd){grid-column:1/-1}.checkout-payment-details{align-items:flex-start}.checkout-dialog{width:min(680px,100%)}}
@media(max-width:520px){.checkout-payment__options{grid-template-columns:1fr}.checkout-payment-card:last-child:nth-child(odd){grid-column:auto}.checkout-payment-card{grid-template-columns:36px minmax(0,1fr) 20px;padding:10px!important}.checkout-payment-card__icon{width:36px;height:36px}.checkout-payment-details{flex-direction:column;padding:12px}.checkout-payment-details img{align-self:center;width:140px;height:140px}.checkout-order-number{margin-top:14px}.checkout-receipt-form{padding:12px}.checkout-success{padding-right:14px;padding-left:14px}}

/* Official payment method logos */
.checkout-payment-card{grid-template-columns:58px minmax(0,1fr) 22px}
.checkout-payment-card__icon{position:relative;width:58px;height:44px;box-sizing:border-box;padding:5px;overflow:hidden;color:#111;background:#fff;border:1px solid #e1e1e1;border-radius:10px}
.checkout-payment-card.is-selected .checkout-payment-card__icon,.checkout-payment-card:has(input:checked) .checkout-payment-card__icon{background:#fff;border-color:#d40000;box-shadow:0 0 0 2px rgba(212,0,0,.07)}
.checkout-payment-card__icon img{position:relative;z-index:2;width:100%;height:100%;display:block;object-fit:contain;background:#fff}
.checkout-payment-card__fallback{position:absolute;inset:0;z-index:1;display:grid;place-items:center;color:#172f52;font:800 9px/1 Arial!important;direction:ltr}
.checkout-payment-card__icon--shamcash .checkout-payment-card__fallback{color:#087d78;font-size:8px!important}
.checkout-payment-card__icon--cod{padding:8px;color:#fff;background:#111!important;border-color:#111!important}
.checkout-payment-card.is-selected .checkout-payment-card__icon--cod,.checkout-payment-card:has(input:checked) .checkout-payment-card__icon--cod{background:#d40000!important;border-color:#d40000!important}
.checkout-payment-card__icon--cod svg{width:100%;height:100%;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
@media(max-width:520px){.checkout-payment-card{grid-template-columns:54px minmax(0,1fr) 20px}.checkout-payment-card__icon{width:54px;height:42px}}

/* Admin payment settings */
.admin-payment-settings{color:#111}.admin-payment-settings__heading{margin-bottom:18px}.admin-payment-settings__heading span{color:#d40000;font-size:11px;font-weight:900}.admin-payment-settings__heading h2{margin:4px 0;color:#111;font-size:25px}.admin-payment-settings__heading p{margin:0;color:#68707d;font-size:13px}.admin-payment-methods-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px;align-items:start}.admin-payment-method-card{padding:18px;color:#111;background:#fff;border:1px solid #e2e5ea;border-radius:17px;box-shadow:0 8px 25px rgba(26,32,44,.05)}.admin-payment-method-card header{display:flex;align-items:center;gap:11px;margin-bottom:16px}.admin-payment-method-card header h3{margin:0;color:#111;font-size:16px}.admin-payment-method-card header small{display:block;margin-top:2px;color:#777;font-size:10px}.admin-payment-method-icon{width:42px;height:42px;display:grid;place-items:center;color:#fff;background:#111;border-radius:12px;font:800 12px/1 Arial!important}.admin-payment-method-card>label:not(.admin-payment-toggle){display:block;margin-top:12px;color:#333;font-size:12px;font-weight:700}.admin-payment-method-card input:not([type=checkbox]),.admin-payment-method-card textarea{width:100%;box-sizing:border-box;margin-top:6px;padding:10px 11px;color:#111;background:#fafafa;border:1px solid #dcdfe4;border-radius:10px;font-family:inherit}.admin-payment-method-card textarea{resize:vertical;line-height:1.8}.admin-payment-toggle{display:flex!important;align-items:center;gap:8px;margin:0 0 15px!important;padding:10px;background:#f5f6f8;border-radius:10px;cursor:pointer}.admin-payment-toggle input{position:absolute;width:1px!important;height:1px;opacity:0}.admin-payment-toggle>span{position:relative;width:38px;height:21px;flex:0 0 auto;background:#bbb;border-radius:999px;transition:background .2s}.admin-payment-toggle>span:after{content:'';position:absolute;top:3px;right:3px;width:15px;height:15px;background:#fff;border-radius:50%;box-shadow:0 2px 5px rgba(0,0,0,.18);transition:transform .2s}.admin-payment-toggle input:checked+span{background:#d40000}.admin-payment-toggle input:checked+span:after{transform:translateX(-17px)}.admin-payment-toggle b{color:#333;font-size:11px}.admin-payment-qr-preview{width:120px;height:120px;display:block;margin:8px auto;padding:5px;object-fit:contain;background:#fff;border:1px solid #ddd;border-radius:11px}.admin-payment-save{max-width:280px;margin-top:18px}.sales-payment-status{display:inline-flex;padding:6px 9px;color:#666;background:#eee;border-radius:999px;font-size:10px;font-weight:800;white-space:nowrap}.sales-payment-status--receipt_uploaded{color:#176534;background:#e6f7ec}.sales-payment-status--awaiting_receipt{color:#9b5a00;background:#fff1d6}.sales-payment-status--cash_on_delivery{color:#174f8c;background:#e7f1ff}.sale-payment-section{padding:6px 30px 25px}.sale-payment-section__heading{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:14px}.sale-payment-section__heading h2{margin:0;color:#111;font-size:20px}.sale-payment-section dl{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1px;margin:0;overflow:hidden;background:#e7e7e7;border:1px solid #e7e7e7;border-radius:14px}.sale-payment-section dl div{padding:12px 15px;background:#fff}.sale-payment-section dt{color:#777;font-size:11px}.sale-payment-section dd{margin:5px 0 0;color:#111;font-weight:700}.sale-payment-snapshot{margin-top:12px;padding:14px;color:#111;background:#f7f7f7;border-radius:12px}.sale-payment-snapshot strong{font-size:12px}.sale-payment-snapshot p{margin:6px 0 0;color:#666;font-size:12px;line-height:1.8}.sale-receipt-link{display:inline-flex;margin-top:12px;padding:10px 15px;color:#fff;background:#d40000;border-radius:10px;text-decoration:none;font-size:12px;font-weight:800}.sale-receipt-link:hover{background:#111}
@media(max-width:1100px){.admin-payment-methods-grid{grid-template-columns:1fr 1fr}.admin-payment-method-card:last-child{grid-column:1/-1}}
@media(max-width:640px){.admin-payment-methods-grid{grid-template-columns:1fr}.admin-payment-method-card:last-child{grid-column:auto}.admin-payment-method-card{padding:14px}.admin-payment-save{max-width:none}.sale-payment-section{padding-right:16px;padding-left:16px}.sale-payment-section dl{grid-template-columns:1fr}.sale-payment-section__heading{align-items:flex-start;flex-direction:column}}

/* Monthly offer popup administration */
.monthly-offer-admin-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin-bottom:20px}.monthly-offer-admin-heading span{color:#d40000;font-size:11px;font-weight:900}.monthly-offer-admin-heading h1{margin:4px 0 5px;color:#17191f;font-size:28px}.monthly-offer-admin-heading p{margin:0;color:#68707d;font-size:13px;line-height:1.8}.monthly-offer-admin-notice{margin-bottom:16px;padding:12px 15px;border:1px solid;border-radius:12px;font-size:13px;font-weight:700}.monthly-offer-admin-notice--success{color:#176534;background:#eaf8ef;border-color:#bfe7ca}.monthly-offer-admin-notice--error{color:#9a1d24;background:#fff0f1;border-color:#f0c3c6}.monthly-offer-admin-layout{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(300px,.85fr);gap:20px;align-items:start}.monthly-offer-admin-card,.monthly-offer-admin-preview{padding:22px;color:#17191f;background:#fff;border:1px solid #e2e5ea;border-radius:18px;box-shadow:0 10px 30px rgba(26,32,44,.06)}.monthly-offer-admin-card__title{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:20px}.monthly-offer-admin-card__title span{font-size:18px;font-weight:800}.monthly-offer-admin-card__title strong{padding:6px 10px;color:#d40000;background:#fff2f2;border-radius:999px;font:800 12px/1.4 Arial!important;direction:ltr}.monthly-offer-admin-card>label:not(.monthly-offer-admin-toggle){display:block;margin:14px 0 7px;color:#30343b;font-size:12px;font-weight:800}.monthly-offer-admin-card input[type=file],.monthly-offer-admin-card input[type=number]{width:100%;box-sizing:border-box;margin:0;padding:11px 12px;color:#17191f;background:#fafafa;border:1px solid #d9dde3;border-radius:11px;font-family:inherit}.monthly-offer-admin-card input[type=file]{padding:8px}.monthly-offer-admin-card input[type=file]::file-selector-button{margin-left:10px;padding:8px 12px;color:#fff;background:#17191f;border:0;border-radius:8px;font-family:inherit;font-weight:700;cursor:pointer}.monthly-offer-admin-help{margin:8px 0 0;color:#7b818c;font-size:11px;line-height:1.7}.monthly-offer-admin-toggle{display:flex!important;align-items:center;gap:9px;margin:18px 0!important;padding:12px;background:#f5f6f8;border-radius:11px;cursor:pointer}.monthly-offer-admin-toggle input{position:absolute;width:1px!important;height:1px;opacity:0}.monthly-offer-admin-toggle>span{position:relative;width:42px;height:23px;flex:0 0 auto;background:#b9bdc5;border-radius:999px;transition:background .2s}.monthly-offer-admin-toggle>span:after{content:'';position:absolute;top:3px;right:3px;width:17px;height:17px;background:#fff;border-radius:50%;box-shadow:0 2px 5px rgba(0,0,0,.2);transition:transform .2s}.monthly-offer-admin-toggle input:checked+span{background:#d40000}.monthly-offer-admin-toggle input:checked+span:after{transform:translateX(-19px)}.monthly-offer-admin-toggle b{color:#30343b;font-size:12px}.monthly-offer-admin-card>.btn{width:100%;min-height:46px;border:0;cursor:pointer}.monthly-offer-admin-preview>span{display:block;margin-bottom:13px;color:#6d7480;font-size:11px;font-weight:800}.monthly-offer-admin-preview>div:not(.monthly-offer-admin-empty){overflow:hidden;background:#111;border-radius:15px}.monthly-offer-admin-preview img{width:100%;height:auto;display:block;aspect-ratio:4/5;object-fit:contain}.monthly-offer-admin-preview__price{display:block;margin-top:13px;color:#d40000;font:900 22px/1.4 Arial!important;direction:ltr;text-align:center}.monthly-offer-admin-preview p{margin:10px 0 0;padding:9px 11px;text-align:center;border-radius:9px;font-size:11px;font-weight:800}.monthly-offer-admin-preview p.is-enabled{color:#176534;background:#eaf8ef}.monthly-offer-admin-preview p.is-disabled{color:#775a12;background:#fff6dc}.monthly-offer-admin-empty{min-height:300px;display:grid;place-items:center;padding:20px;color:#858b95;text-align:center;background:#f5f6f8;border:2px dashed #dfe2e7;border-radius:15px;font-size:13px}.monthly-offer-admin-card input:focus-visible,.monthly-offer-admin-toggle input:focus-visible+span{outline:3px solid rgba(212,0,0,.18);outline-offset:2px;border-color:#d40000}
@media(max-width:860px){.monthly-offer-admin-layout{grid-template-columns:1fr}.monthly-offer-admin-preview{max-width:520px;width:100%;box-sizing:border-box}}
@media(max-width:520px){.monthly-offer-admin-heading h1{font-size:24px}.monthly-offer-admin-card,.monthly-offer-admin-preview{padding:15px;border-radius:15px}.monthly-offer-admin-card__title{align-items:flex-start;flex-direction:column}.monthly-offer-admin-empty{min-height:230px}}

/* Admin form feedback and safe inline actions */
.admin-body .success,.admin-body .error{margin:0 0 16px;padding:12px 15px;border:1px solid;border-radius:11px;font-size:13px;font-weight:700}.admin-body .success{color:#176534;background:#eaf8ef;border-color:#bfe7ca}.admin-body .error{color:#9a1d24;background:#fff0f1;border-color:#f0c3c6}.admin-body .inline-form{display:inline;margin:0;padding:0;background:transparent;border:0;box-shadow:none}.admin-body .link-button{display:inline;padding:0;color:#d40000;background:transparent;border:0;font-family:inherit;font-size:inherit;font-weight:700;text-decoration:underline;cursor:pointer}.admin-body .link-button:hover{color:#111}
