/* GRID */
.store-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 24px;
}

/* CARD */
.store-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  overflow: hidden;
  transition: all .25s ease;
}

.store-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(0,0,0,.08);
}

/* IMAGE */
.card-image {
  overflow: hidden;
  height: 220px;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .3s ease;
}

.store-card:hover img {
  transform: scale(1.08);
}

/* BODY */
.card-body {
  padding: 16px;
}

.card-body h3 {
  font-size: 18px;
  margin-bottom: 6px;
}

.price {
  font-weight: bold;
  font-size: 18px;
  margin: 10px 0;
}

/* ACTIONS */
.card-actions {
  display: flex;
  gap: 10px;
  margin-top: 12px;
}

.btn-primary {
  background: #2563eb;
  color: #fff;
  border: none;
  padding: 10px 14px;
  border-radius: 8px;
  cursor: pointer;
  text-decoration: none;
  text-align: center;
  flex: 1;
}

.btn-primary:hover {
  background: #1e40af;
}

.btn-outline {
  border: 1px solid #2563eb;
  color: #2563eb;
  padding: 10px 14px;
  border-radius: 8px;
  text-decoration: none;
  text-align: center;
  flex: 1;
}

.btn-outline:hover {
  background: #2563eb;
  color: #fff;
}

/* PACKAGE */
.package-card {
  padding: 16px;
}

.card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.badge {
  background: #f59e0b;
  color: #fff;
  padding: 4px 8px;
  font-size: 12px;
  border-radius: 6px;
}

.package-features {
  list-style: none;
  padding: 0;
  margin: 12px 0;
}

.package-features li {
  margin-bottom: 6px;
}
/* RETAIL PRODUCTS */
.product-view {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 30px;
}

.product-gallery img {
  width: 100%;
  border-radius: 12px;
  transition: transform .3s ease;
}

.product-gallery img:hover {
  transform: scale(1.1);
}

.product-info h1 {
  font-size: 28px;
  margin-bottom: 10px;
}

.description {
  margin: 15px 0;
  color: #374151;
}



/* =========================
   STORE CARD GRID
========================= */

.store-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

/* =========================
   CARD
========================= */

.store-card {
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 8px 22px rgba(0,0,0,.08);
  transition: transform .25s ease, box-shadow .25s ease;
}

.store-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(0,0,0,.12);
}

/* =========================
   IMAGE
========================= */

.store-card-image {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.store-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s ease;
}

.store-card:hover img {
  transform: scale(1.08);
}

/* Badge (Package / Retail) */
.store-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: #0a5cff;
  color: #fff;
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 999px;
}

/* =========================
   BODY
========================= */

.store-card-body {
  padding: 16px;
}

.store-card-body h3 {
  font-size: 16px;
  margin: 0 0 6px;
}

.store-card-desc {
  font-size: 13px;
  color: #666;
  min-height: 34px;
}

.store-card-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 10px;
}

.store-price {
  font-weight: 700;
  color: #0a5cff;
}

.store-items {
  font-size: 12px;
  color: #888;
}

/* =========================
   CTA
========================= */

.store-card-action {
  margin-top: 14px;
  text-align: center;
}

.store-card-action a {
  display: inline-block;
  padding: 8px 14px;
  background: #0a5cff;
  color: #fff;
  border-radius: 8px;
  text-decoration: none;
  font-size: 14px;
}

.store-card-action a:hover {
  background: #084bcc;
}
/* ===== CARD BASE ===== */
.store-card {
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 8px 22px rgba(0,0,0,.06);
  transition: transform .25s ease, box-shadow .25s ease;
}

.store-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0,0,0,.12);
}

/* ===== IMAGE WRAP ===== */
.store-card-image {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.store-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s ease;
}

.store-card:hover img {
  transform: scale(1.08);
}

/* ===== QUICK VIEW OVERLAY ===== */
.store-card-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.45);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity .25s ease;
}

.store-card:hover .store-card-overlay {
  opacity: 1;
}

.store-card-overlay span {
  background: #fff;
  color: #003b71;
  padding: 10px 18px;
  border-radius: 30px;
  font-weight: 600;
  font-size: 14px;
}

/* ===== CONTENT ===== */
.store-card-body {
  padding: 16px;
}

.store-card-title {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 6px;
}

.store-card-price {
  font-size: 18px;
  font-weight: 800;
  color: #0066ff;
}

/* ===== MOBILE ===== */
@media (max-width: 768px) {
  .store-card-image {
    height: 180px;
  }
}
/* ===== FILTER BAR ===== */
.store-filters {
  display: flex;
  gap: 12px;
  margin: 20px 0 30px;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 8px 18px;
  border-radius: 30px;
  border: 1px solid #d0d7e2;
  background: #fff;
  font-weight: 600;
  cursor: pointer;
  transition: all .25s ease;
}

.filter-btn:hover {
  background: #f0f6ff;
}

.filter-btn.active {
  background: #0066ff;
  color: #fff;
  border-color: #0066ff;
}
#checkout-status.processing {
background:#f0f6ff;
color:#084298;
border:1px solid #b6d4fe;
}
#checkout-status.error {
background:#fdecea;
color:#842029;
border:1px solid #f5c2c7;
}
.store-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
gap: 24px;
}

.store-card {
background: #fff;
border-radius: 12px;
overflow: hidden;
box-shadow: 0 8px 20px rgba(0,0,0,.06);
transition: transform .2s ease, box-shadow .2s ease;
}

.store-card:hover {
transform: translateY(-4px);
box-shadow: 0 12px 28px rgba(0,0,0,.12);
}

/* Image container */
.store-card-image {
height: 220px;
overflow: hidden;
}

.store-card-image img {
width: 100%;
height: 100%;
object-fit: cover;
transition: transform .4s ease;
}

/* Hover zoom */
.store-card:hover img {
transform: scale(1.08);
}

.store-card-body {
padding: 16px;
}

.store-card-body h3 {
font-size: 16px;
margin: 0 0 6px;
}

.price {
font-weight: bold;
color: #0d6efd;
margin-bottom: 12px;
}

/* Actions */
.store-card-actions {
display: flex;
justify-content: space-between;
gap: 8px;
}

.btn-view,
.btn-cart {
flex: 1;
padding: 8px;
border-radius: 6px;
text-align: center;
font-size: 14px;
cursor: pointer;
}

.btn-view {
border: 1px solid #0d6efd;
color: #0d6efd;
background: transparent;
}

.btn-cart {
background: #0d6efd;
border: none;
color: #fff;
}
.store-header {
background: #ffffff;
border-bottom: 1px solid #eee;
position: sticky;
top: 0;
z-index: 100;
}



.store-header-inner {
max-width: 1200px;
margin: auto;
padding: 12px 16px;
display: flex;
align-items: center;
justify-content: space-between;
}

.store-logo {
display: flex;
align-items: center;
gap: 8px;
font-weight: 600;
text-decoration: none;
color: #0b4aa2;
}

.store-nav a {
margin: 0 10px;
text-decoration: none;
color: #333;
}

.store-actions {
display: flex;
align-items: center;
gap: 14px;
}

.cart-count {
background: #0b4aa2;
color: #fff;
border-radius: 50%;
padding: 2px 6px;
font-size: 12px;
}
.store-logo {
display: flex;
align-items: center;
gap: 8px;
}

.store-logo img {
height: 34px;
width: auto;
max-width: none;
display: block;
}

.store-logo-text {
font-weight: 600;
}

.store-logo img {
height: 34px;
width: auto;

min-height: 34px;
min-width: 34px;

max-width: unset !important;
max-height: unset !important;

object-fit: contain;
display: block;
}
.store-logo {
display: flex;
align-items: center;
line-height: 1;
}
.store-logo {
display: flex;
align-items: center;
text-decoration: none;
}

.store-logo-img {
height: 36px;
width: auto;
max-width: 160px;
display: block;
}
.store-logo {
display: flex;
align-items: center;
gap: 8px;
text-decoration: none;
font-weight: 600;
color: #0b5ed7;
}

.store-logo img {
height: 34px;
width: auto;
display: block;
}
.store-container {
max-width: 1200px;
margin: 40px auto;
padding: 0 20px;
}

.section-title {
font-size: 22px;
margin: 30px 0 15px;
}
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill,minmax(260px,1fr));
  gap: 20px;
}

.product-card {
  background: #fff;
  border-radius: 14px;
  padding: 14px;
  box-shadow: 0 6px 20px rgba(0,0,0,.08);
  transition: transform .2s;
}

.product-card:hover {
  transform: translateY(-4px);
}

.product-image {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
}

.product-image img {
  width: 100%;
  height: 260px;
  object-fit: cover;
}

.product-name {
  font-weight: 700;
  margin-top: 10px;
}

.product-price {
  font-size: 1.1em;
  color: #0a58ca;
}

.wallet {
  margin-top: 6px;
  font-size: .9em;
  cursor: pointer;
}

.wallet-dropdown {
  display: none;
  background: #f8f9fa;
  border-radius: 8px;
  padding: 8px;
  margin-top: 6px;
}

.wallet:hover .wallet-dropdown {
  display: block;
}

.size-list span {
  display: inline-block;
  padding: 4px 8px;
  border: 1px solid #ddd;
  border-radius: 6px;
  margin: 3px;
  font-size: .85em;
}

.card-actions {
  display: flex;
  gap: 10px;
  margin-top: 12px;
}

.card-actions a {
  flex: 1;
  text-align: center;
  padding: 8px;
  border-radius: 8px;
  background: #0d6efd;
  color: #fff;
  text-decoration: none;
}
.currency {
  font-size: .85em;
  margin-top: 8px;
  color: #444;
  line-height: 1.4;
}
.img-wrap {
  position: relative;
}

.inv-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 4px 10px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 600;
  color: #fff;
  z-index: 2;
}

.inv-badge.in {
  background: #28a745; /* green */
}

.inv-badge.out {
  background: #dc3545; /* red */
}

.inv-badge.made {
  background: #6c757d; /* gray */
}
.img-wrap{
  width:100%;
  height:260px;              /* SAME everywhere */
  display:flex;
  align-items:center;
  justify-content:center;
  background:#fff;
  overflow:hidden;
  border-radius:12px;
}

.img-wrap img{
  max-width:100%;
  max-height:100%;
  object-fit:contain;        /* 🔑 KEY FIX */
}
.img-wrap {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    background: #f8f9fb;
}

/* Normal image */
.product-img,
.img-wrap,
.img-wrap * {
    cursor: pointer !important;
}
.rating {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 8px 0;
  font-size: 0.95rem;
}

.stars {
  color: #f5b301;
  font-size: 1.1rem;
  letter-spacing: 1px;
}

.rating-text {
  color: #666;
  font-size: 0.9rem;
}
.color-row {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    gap: 10px !important;
    margin: 10px 0 !important;
}

.color-option {
    display: inline-flex !important;
    align-items: center !important;
}

.color-option input {
    display: none; /* hide radio circle */
}

.color-dot {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid #ccc;
    cursor: pointer;
}

.color-option input:checked + .color-dot {
    border: 3px solid #0d6efd;
}
.color-row {
    display: flex;
    gap: 12px;
    margin: 8px 0 16px 0;
}

.color-option {
    cursor: pointer;
}

.color-option input {
    display: none;
}

.color-dot {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 2px solid #ccc;
    display: inline-block;
    transition: 0.2s;
}

.color-option input:checked + .color-dot {
    border: 3px solid #0d6efd;
    transform: scale(1.15);
}
.color-row {
  display: flex;
  gap: 12px;
  margin: 10px 0;
}

.color-option input {
  display: none;
}

.color-dot {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid #ccc;
  cursor: pointer;
}

.color-option input:checked + .color-dot {
  border: 3px solid #0d6efd;
}
