/* ==========================================================================
   1. GLOBAL VARIABLES & BASE RESET
   ========================================================================== */
:root {
  --ink: #111827;
  --muted: #64748b;
  --line: #e5e7eb;
  --paper: #fff;
  --soft: #f6f7f9;
  --navy: #101828;
  --red: #c71f2d;
  --red-dark: #991b25;
  --gold: #d4a72c;
  --green: #18794e;
  --radius: 18px;
  --shadow: 0 20px 55px rgba(15, 23, 42, .11);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, system-ui, sans-serif;
  line-height: 1.55;
}

body.modal-open {
  overflow: hidden;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

img {
  display: block;
  max-width: 100%;
}

[hidden] {
  display: none !important;
}

.class-hide {
  display: none !important;
}

/*.limited-tag{position:absolute;top:14px;left:14px;z-index:2;background:var(--red);color:#fff;border-radius:999px;padding:6px 10px;font-size:10px;font-weight:850;letter-spacing:.08em;text-transform:uppercase} */
.sale-countdown{display:inline-flex;align-items:center;gap:12px;margin-top:12px;padding:9px 13px;border:1px solid rgba(199,31,45,.2);background:rgba(255,255,255,.55);border-radius:8px}.sale-countdown span{font-size:11px;color:var(--muted);text-transform:uppercase;letter-spacing:.08em}.sale-countdown strong{color:var(--red);font-variant-numeric:tabular-nums}
.promo-entry{display:grid;grid-template-columns:1fr auto;gap:8px;margin-bottom:8px}.promo-entry input{min-width:0;border:1px solid var(--line);border-radius:8px;padding:10px 12px;text-transform:uppercase}.promo-entry button{border:0;border-radius:8px;background:var(--navy);color:#fff;padding:8px 15px;font-weight:800}.promo-entry small{grid-column:1/-1;color:var(--green);min-height:16px}.discount-row strong{color:var(--green)}

.wrap {
  width: min(1180px, calc(100% - 40px));
  margin: auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.limited-tag {
  position: absolute;
  right: -17%;
  top: 10%;
  width: 250px;
  height: 30px;
  background: var(--red);
  color: yellow;
  z-index: 2;
  display: grid;
  place-content: center;
  text-align: center;
  transform: rotate(45deg);
  font-size: 11px;
  text-transform: uppercase;
  box-shadow: 0 12px 30px rgba(199, 31, 45, .3);
   line-height: 1.0;
   font-weight: 900;
}

/* ==========================================================================
   2. NAVIGATION / HEADER
   ========================================================================== */
.shop-nav {
  height: 76px;
  background: rgba(212, 212, 216, .70);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(15px);
}

.nav-inner {
  width: min(1240px, calc(100% - 40px));
  height: 100%;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  gap: 11px;
  align-items: center;
  color: var(--red);
  text-decoration: none;
}

.brand img {
  width: 43px;
  height: 43px;
  object-fit: contain;
}

.brand span {
  display: grid;
  line-height: 1.1;
}

.brand b {
  font-size: 17px;
}
.brand i {
  font-size: 17px;
  color: var(--ink);
  display: inline-flex;
}
.brand i>img {
  width: 20px;
  height: 20px;
 /* Apply the animation */
            animation: slideRight 2s ease-in-out;
        }

        /* Define the left-to-right animation path */
        @keyframes slideRight {
            0% {
                transform: translateX(-30px);
				opacity: 0;
            }
            100% {
                transform: translateX(0); /* Adjust distance as needed */
				opacity: 100;
            }
        }

.brand small {
  color: var(--muted);
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-top: 4px;
}

.cart-button {
  display: flex;
  align-items: center;
  gap: 9px;
  border: 0;
  background: var(--navy);
  color: #fff;
  border-radius: 999px;
  padding: 10px 13px 10px 17px;
  font-weight: 700;
}

.cart-button b {
  display: grid;
  place-items: center;
  min-width: 25px;
  height: 25px;
  border-radius: 50%;
  background: var(--red);
  font-size: 12px;
}

/* ==========================================================================
   3. HERO SECTION
   ========================================================================== */
.shop-hero {
  min-height: 610px;
  background: linear-gradient(115deg, #eef1f4 0%, #f8f8f7 52%, #e3e7ea 52%, #d5dadd 100%);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, 1fr);
  overflow: hidden;
}

.hero-copy {
  align-self: center;
  padding: 75px max(40px, calc((100vw - 1180px)/2));
  padding-right: 45px;
}

.hero-kicker,
.section-kicker {
  display: block;
  color: var(--red);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.hero-copy h1 {
  font-size: clamp(48px, 6vw, 82px);
  line-height: .98;
  letter-spacing: -.055em;
  margin: 18px 0 24px;
  max-width: 720px;
}

.hero-copy h1 em {
  color: var(--red);
  font-style: normal;
}

.hero-copy p {
  max-width: 600px;
  color: #4b5563;
  font-size: 17px;
}

.primary-button {
  display: inline-flex;
  align-items: center;
  gap: 15px;
  background: var(--navy);
  color: #fff;
  text-decoration: none;
  padding: 15px 19px;
  border-radius: 25px;
  font-weight: 750;
  margin-top: 20px;
}

.primary-button span {
  color: var(--gold);
  /* Assign the bounce animation */
  animation: bounce 0.6s infinite alternate;
}

@keyframes bounce {
  from {
    transform: translateY(2px);
    /* Mimics gravity deceleration as it rises */
    animation-timing-function: ease-out; 
  }
  to {
    transform: translateY(-10px);
    /* Mimics acceleration as it falls back down */
    animation-timing-function: ease-in; 
  }
}

.hero-trust {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 36px;
  font-size: 12px;
  color: #475569;
}

.hero-visual {
  position: relative;
  display: grid;
  place-items: center;
  background: radial-gradient(circle, #fff 0, rgba(255, 255, 255, .08) 68%);
}

.hero-visual:before {
  content: 'VAK';
  position: absolute;
  font-weight: 900;
  font-size: 220px;
  color: rgba(16, 24, 40, .035);
  letter-spacing: -.08em;
}

.hero-visual img {
  width: min(660px, 100%);
  max-height: 650px;
  object-fit: contain;
  filter: drop-shadow(0 28px 25px rgba(15, 23, 42, .22));
  position: relative;
  z-index: 1;
}

.hero-badge {
  position: absolute;
  right: 9%;
  top: 12%;
  width: 92px;
  height: 92px;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  z-index: 2;
  display: grid;
  place-content: center;
  text-align: center;
  transform: rotate(8deg);
  font-size: 11px;
  text-transform: uppercase;
  box-shadow: 0 12px 30px rgba(199, 31, 45, .3);
   line-height: 1.0;
}

.hero-badge strong {
  font-size: 23px;
}

/* ==========================================================================
   4. CATALOG & PRODUCT GRID
   ========================================================================== */
.catalog-section {
  padding: 95px 0;
  background: #fff;
}

.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 40px;
  margin-bottom: 35px;
}

.section-heading h2,
.checkout-heading h2 {
  font-size: clamp(34px, 4vw, 54px);
  letter-spacing: -.045em;
  line-height: 1;
  margin: 10px 0;
}

.section-heading p {
  color: var(--muted);
  max-width: 440px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.product-card {
  border: 1px solid var(--line);
  transition: .25s;
  background: linear-gradient(150deg, #fff, #F3F4F6);
  
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
  border-color: var(--red);
}

.product-click {
  display: block;
  width: 100%;
  border: 0;
  background: transparent;
  padding: 0;
  text-align: left;
  color: inherit;
}

.product-image {
  height: 370px;
  position: relative;
  overflow: hidden;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  padding: 0;
  transition: .35s;
}

.product-badge {
  position: absolute;
  right: -17%;
  top: 10%;
  width: 250px;
  height: 30px;
  background: var(--red);
  color: yellow;
  z-index: 2;
  display: grid;
  place-content: center;
  text-align: center;
  transform: rotate(45deg);
  font-size: 11px;
  text-transform: uppercase;
  box-shadow: 0 12px 30px rgba(199, 31, 45, .3);
   line-height: 1.0;
   font-weight: 900;
}

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

.quick-view {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  background: rgba(16, 24, 40, .94);
  color: #fff;
  text-align: center;
  padding: 12px;
  font-weight: 700;
  transform: translateY(70px);
  transition: .25s;
}

.product-card:hover .quick-view,
.product-click:focus .quick-view {
  transform: none;
}

.image-placeholder {
  height: 100%;
  display: grid;
  place-content: center;
  text-align: center;
  color: #94a3b8;
}

.image-placeholder span {
  font-size: 44px;
  font-weight: 200;
}

.image-placeholder b {
  color: #64748b;
  margin-top: 6px;
}

.image-placeholder small {
  margin-top: 3px;
}

.product-info {
  padding: 19px;
  display: flex;
  align-items: start;
  justify-content: space-between;

}

.product-info em {
    display: block;       /* supaya turun ke bawah line baru */
    margin-top: 2px;      /* jarak kecil sahaja */
    padding-top: 0;       /* elak spacing pelik */
    font-size: 14px;
    font-weight: 600;
    color: var(--muted);
}

.product-info h3 {
  font-size: 17px;
  margin: 4px 0;
  margin-bottom: 0;
}

.product-info > strong {
  color: var(--red);
  font-size: 18px;
  white-space: nowrap;
}

.product-category {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .13em;
  color: var(--muted);
}

.stock-label {
  display: inline-block;
  color: #fff;
  font-size: 11px;
  margin-top: 3px;
  padding: 5px 6px;
  border-radius: 8px;
  background: var(--red-dark);
}

.stock-availability {
  margin-top: 16px;
  padding: 10px 12px;
  border-radius: 8px;
  background: #FEF9C2;
  color: var(--red);
  font-size: 12px;
  font-weight: 800;
}

.add-cart-button:disabled {
  cursor: not-allowed;
  opacity: .5;
}

.catalog-note {
  margin-top: 30px;
  padding: 17px 20px;
  background: #f8f5ea;
  border-left: 3px solid var(--gold);
  display: flex;
  align-items: center;
  gap: 13px;
  font-size: 13px;
}

.catalog-note > span {
  display: grid;
  place-items: center;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  background: var(--gold);
  color: #fff;
  font-weight: 800;
}

.catalog-note p {
  margin: 0;
  flex: 1;
}

.catalog-note button {
  border: 0;
  background: transparent;
  color: #7c5f11;
  font-weight: 800;
  text-decoration: underline;
}

/* ==========================================================================
   5. CHECKOUT & CART SECTION
   ========================================================================== */
.checkout-section {
  padding: 90px 0;
  background: var(--soft);
  border-top: 1px solid var(--line);
}

.checkout-heading {
  text-align: center;
  margin-bottom: 40px;
}

.checkout-heading p {
  color: var(--muted);
}

.checkout-layout {
  display: block;
}

.checkout-main {
  display: grid;
  gap: 24px;
}

.cart-panel,
.form-card,
.summary-sticky {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 8px 25px rgba(15, 23, 42, .04);
}

.cart-panel {
  padding: 25px;
}

.panel-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  padding-bottom: 16px;
}

.summary-title h3 {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-top: 5px;
}

.summary-title h3 small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
}

.panel-title h3 {
  margin: 0;
}

.panel-title span {
  font-size: 12px;
  color: var(--muted);
}

.cart {
  display: grid;
}

.cart-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.cart-row > div:first-child {
  display: grid;
}

.cart-row small {
  color: var(--muted);
  margin-top: 3px;
}

.cart-row > div:last-child {
  display: flex;
  align-items: center;
  gap: 14px;
}

.remove {
  width: 33px;
  height: 33px;
  border-radius: 50%;
  border: 1px solid #fecaca;
  background: #fff1f2;
  color: var(--red);
}

.remove svg {
  width: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}

.empty {
  padding: 45px 15px;
  text-align: center;
  color: var(--muted);
  background: #fafafa;
  margin: 15px 0;
  border: 1px dashed #cbd5e1;
  border-radius: 12px;
}

.continue-shopping {
  margin: 0 0 0 auto;
  border: 0;
  background: var(--red);
  color: #fff;
  font-weight: 750;
  white-space: nowrap;
  border-radius: 30px;
  padding: 10px;
}

.form-head {
  padding: 26px 28px 20px;
  border-bottom: 1px solid var(--line);
}

.form-head > span {
  color: var(--red);
  text-transform: uppercase;
  letter-spacing: .13em;
  font-size: 10px;
  font-weight: 800;
}

.form-head h2 {
  margin: 4px 0;
  font-size: 27px;
}

.form-head p {
  margin: 0;
  color: var(--muted);
}

.form-body {
  padding: 0 28px 28px;
}

.step {
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}

.step h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 20px;
  font-size: 18px;
}

.num {
  display: grid;
  place-items: center;
  width: 29px;
  height: 29px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  font-size: 12px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 17px;
}

.group label {
  display: block;
  font-size: 12px;
  font-weight: 750;
  margin-bottom: 7px;
}

.optional {
  color: var(--muted);
  font-weight: 500;
}

.control {
  width: 100%;
  border: 1px solid #d7dce2;
  border-radius: 9px;
  padding: 12px 13px;
  background: #fff;
  color: var(--ink);
  outline: none;
}

.control:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(199, 31, 45, .1);
}

textarea.control {
  min-height: 100px;
  resize: vertical;
}

.delivery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.delivery label {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px;
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 10px;
  cursor: pointer;
  color: var(--muted);
}

.delivery label:has(input:checked) {
  border-color: var(--red);
  box-shadow: 0 0 0 2px rgba(199, 31, 45, .08);
  color: #000;
}

.delivery input {
  position: absolute;
  right: 12px;
  top: 12px;
  accent-color: var(--red);
}

.delivery-icon {
  grid-row: 1/3;
  font-size: 22px;
  color: var(--muted);
}

.delivery strong {
  font-size: 13px;
}

.delivery strong + span {
  color: var(--muted);
  font-size: 11px;
}

.delivery + #addressGroup {
  margin-top: 17px;
}

.btn {
  border: 0;
  background: var(--navy);
  color: #fff;
  border-radius: 9px;
  padding: 14px 18px;
  font-weight: 800;
}

.submit {
  width: 100%;
  margin-top: 24px;
  background: var(--red);
}

.help {
  text-align: center;
  color: var(--muted);
  font-size: 11px;
}

.alert {
  margin: 20px 0 0;
  padding: 14px;
  border-radius: 10px;
}

.error {
  background: #fff1f2;
  color: #9f1239;
}

.success {
  background: #ecfdf5;
  color: #065f46;
}

/* ==========================================================================
   6. SUMMARY SIDEBAR
   ========================================================================== */
.summary-sticky {
  padding: 25px;
  position: sticky;
  top: 100px;
}

.summary-sticky h3 {
  font-size: 22px;
  margin: 6px 0 23px;
}

.summary {
  display: grid;
  gap: 14px;
}

.sum-row {
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: 13px;
}

.sum-row strong {
  color: var(--ink);
}

.sum-total {
  border-top: 1px solid var(--line);
  padding-top: 16px;
  font-size: 17px;
  color: var(--ink);
  font-weight: 800;
}

.sum-total span:last-child {
  color: var(--red);
  font-size: 22px;
}

.summary-action {
  width: auto;
  margin: 0;
  border: 0;
  border-radius: 8px;
  background: var(--navy);
  color: #fff;
  padding: 13px;
  font-weight: 800;
}

.cart-totals {
  border-top: 1px solid var(--line);
  padding-top: 20px;
  margin-top: 4px;
}

.summary-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 22px;
}

.summary-footer small {
  color: var(--muted);
  font-size: 10px;
}

.summary-sticky > small {
  display: block;
  text-align: center;
  color: var(--muted);
  font-size: 10px;
  margin-top: 15px;
}

/* ==========================================================================
   7. PAYMENT SECTION
   ========================================================================== */
.payment-section {
  display: none;
}

.payment-section.active {
  display: block;
}

.payment-lead {
  color: var(--muted);
}

.bank-details {
  display: flex;
  gap: 17px;
  background: #f8fafc;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 18px;
}

.bank-icon {
  width: 45px;
  height: 45px;
  flex: 0 0 auto;
  border-radius: 10px;
  background: var(--navy);
  display: grid;
  place-items: center;
  color: #fff;
}

.bank-icon svg,
.upload-icon svg,
.upload-preview svg {
  width: 23px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

.bank-info p {
  margin: 0 0 5px;
  font-size: 12px;
  color: var(--muted);
}

.bank-info h4 {
  margin: 0 0 10px;
  font-size: 13px;
}

.bank-acc {
  display: grid;
}

.bank-name {
  font-size: 12px;
}

.bank-number {
  font-size: 21px;
  font-weight: 800;
  letter-spacing: .04em;
}

.bank-ref {
  margin-top: 10px !important;
}

.qr-container {
  text-align: center;
  margin: 20px 0;
}

.qr-container p {
  font-size: 12px;
  color: var(--muted);
}

.qr-container img {
  width: 400px;
  margin: auto;
  border: 8px solid #fff;
  box-shadow: 0 5px 20px rgba(15, 23, 42, .12);
}

.upload-box {
  border: 1.5px dashed #94a3b8;
  border-radius: 12px;
  background: #f8fafc;
}

.upload-box label {
  padding: 24px;
  display: grid;
  place-items: center;
  text-align: center;
  cursor: pointer;
}

.upload-icon {
  display: grid;
  place-items: center;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: #e2e8f0;
}

.upload-text {
  font-weight: 800;
  margin-top: 10px;
}

.upload-desc {
  font-size: 10px;
  color: var(--muted);
}

.upload-preview {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  padding: 13px;
  border-radius: 10px;
}

.upload-file {
  display: grid;
  flex: 1;
}

.upload-file small {
  color: var(--muted);
}

.clear-file {
  border: 0;
  background: transparent;
  font-size: 24px;
}

/* ==========================================================================
   8. MODALS & LIGHTBOX
   ========================================================================== */
.modal {
  position: fixed;
  inset: 0;
  background: rgba(2, 6, 23, .72);
  z-index: 80;
  display: none;
  place-items: center;
  padding: 22px;
  backdrop-filter: blur(5px);
}

.modal.open {
  display: grid;
}

        /* ── Error / Success Modal ─────────────────────────── */
        .modal-overlay {
            display: none;
            position: fixed;
            inset: 0;
            background: rgba(0,0,0,.55);
            backdrop-filter: blur(4px);
            z-index: 9999;
            align-items: center;
            justify-content: center;
            animation: fadeIn .2s ease;
        }
        .modal-overlay.active { display: flex; }

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

        .modal-box {
            background: #fff;
            border-radius: 16px;
            padding: 2rem 2rem 1.75rem;
            max-width: 420px;
            width: 90%;
            box-shadow: 0 25px 60px rgba(0,0,0,.25);
            animation: slideUp .25s ease;
            text-align: center;
        }
        .modal-box.error   { border-top: 5px solid #ef4444; }
        .modal-box.success { border-top: 5px solid #10b981; }

        .modal-icon {
            width: 64px; height: 64px; border-radius: 50%;
            display: flex; align-items: center; justify-content: center;
            margin: 0 auto 1rem;
        }
        .modal-icon.error   { background: #fef2f2; }
        .modal-icon.success { background: #ecfdf5; }
        .modal-icon.error   svg { stroke: #ef4444; }
        .modal-icon.success svg { stroke: #10b981; }

        .modal-title { font-size: 1.2rem; font-weight: 700; color: #0f172a; margin-bottom: .5rem; }
        .modal-msg   { font-size: .92rem; color: #475569; line-height: 1.6; margin-bottom: 1.5rem; }

        .modal-btn {
            display: inline-block; padding: .65rem 1.75rem;
            border-radius: 8px; font-size: .9rem; font-weight: 600;
            cursor: pointer; border: none;
            transition: transform .15s, box-shadow .15s;
        }
        .modal-btn:hover   { transform: translateY(-1px); box-shadow: 0 4px 12px rgba(0,0,0,.15); }
        .modal-btn.error   { background: #ef4444; color: #fff; }
        .modal-btn.success { background: #10b981; color: #fff; }

.modal-card {
  width: min(620px, 100%);
  max-height: 90vh;
  overflow: auto;
  background: #fff;
  border-radius: 16px;
  padding: 27px;
}

.modal-card h3 {
  margin-top: 0;
}

.review-row {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid var(--line);
  padding: 11px 0;
  font-size: 13px;
}

.review-row span:first-child {
  color: var(--muted);
}

.modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 22px;
}

.btn.secondary {
  background: #e5e7eb;
  color: var(--ink);
}

.product-modal-card {
  width: min(920px, 100%);
  max-height: 92vh;
  overflow: auto;
  background: #fff;
  display: grid;
  grid-template-columns: 1fr 1fr;
  position: relative;
}

.modal-x {
  position: absolute;
  right: 15px;
  top: 15px;
  z-index: 3;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  background: #000;
  color: #fff;
  box-shadow: 0 3px 15px rgba(15, 23, 42, .14);
  font-size: 24px;
}

.modal-product-image {
  min-height: 520px;
  background: linear-gradient(135deg, #eef0f2, #dfe3e6);
  display: grid;
  place-items: center;
}

.modal-gallery {
  min-height: 520px;
  overflow: hidden;
  position: relative;
}

.modal-gallery .modal-product-image {
  height: 100%;
}

.gallery-thumbnails {
  bottom: 18px;
  display: flex;
  gap: 8px;
  justify-content: center;
  left: 58px;
  position: absolute;
  right: 58px;
  z-index: 2;
}

.gallery-thumbnails button {
  background: #fff;
  border: 2px solid transparent;
  border-radius: 8px;
  box-shadow: 0 4px 14px rgba(15,23,42,.2);
  cursor: pointer;
  height: 58px;
  overflow: hidden;
  padding: 2px;
  width: 58px;
}

.gallery-thumbnails button.active {
  border-color: var(--red);
}

.gallery-thumbnails img {
  border-radius: 5px;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.gallery-arrow {
  background: rgba(255,255,255,.92);
  border: 0;
  border-radius: 50%;
  box-shadow: 0 4px 16px rgba(15,23,42,.2);
  color: var(--ink);
  cursor: pointer;
  font-size: 34px;
  height: 46px;
  line-height: 1;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  z-index: 2;
}

.gallery-arrow.previous { left: 14px; }
.gallery-arrow.next { right: 14px; }

.modal-product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.modal-product-details {
  padding: 55px 42px 38px;
}

.modal-product-details h2 {
  font-size: 35px;
  line-height: 1.1;
  margin: 9px 0;
}

.modal-product-details > p {
  color: var(--muted);
  font-size: 13px;
}

.modal-product-description {
  border-left: 3px solid var(--gold);
  line-height: 1.65;
  margin: 16px 0 0;
  padding: 2px 0 2px 13px;
  white-space: pre-line;
}

.modal-product-subname {
  border-left: 3px solid var(--ink);
  line-height: 1.65;
  margin: 2px 16px 0 0;
  padding: 2px 0 2px 13px;
  white-space: pre-line;
  font-weight: 700;
}

.modal-price {
  color: var(--red);
  font-size: 26px;
  font-weight: 850;
}

.selector-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 28px;
}

.selector-grid .group:first-child {
  grid-column: 1/-1;
}

.size-guide-link {
  border: 0;
  background: transparent;
  color: var(--red);
  font-weight: 750;
  padding: 13px 0;
}

.add-cart-button {
  width: 100%;
  background: var(--red);
}

.lightbox-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(2, 6, 23, .82);
  align-items: center;
  justify-content: center;
  padding: 22px;
}

.lightbox-content {
  background: #fff;
  width: min(850px, 100%);
  max-height: 92vh;
  overflow: auto;
  border-radius: 16px;
  position: relative;
}

.lightbox-close {
  position: sticky;
  float: right;
  right: 15px;
  top: 15px;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  z-index: 2;
}

.size-chart-header {
  padding: 30px 35px 10px;
}

.size-chart-header h3 {
  font-size: 28px;
  margin: 0;
}

.size-chart-header p {
  color: var(--muted);
}

.size-chart-body {
  padding: 10px 35px 35px;
}

.size-chart-item {
  border: 1px solid var(--line);
  border-radius: 10px;
  margin-bottom: 10px;
  overflow: hidden;
}

.size-chart-item summary {
  padding: 15px;
  font-weight: 800;
  cursor: pointer;
}

.size-chart-number {
  display: inline-grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  margin-right: 8px;
}

.size-chart-image {
  width: 100%;
}

.size-chart-disclaimer {
  display: flex;
  gap: 10px;
  background: #fffbeb;
  padding: 14px;
  margin-top: 15px;
  font-size: 12px;
}

footer {
  text-align: center;
  padding: 28px;
  background: var(--navy);
  color: #94a3b8;
  font-size: 12px;
}

.size-chart-image-wrap {
  width: 100%;
  aspect-ratio: 1/1;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #f8fafc;
}

.size-chart-image-wrap picture {
  display: block;
  width: 100%;
  height: 100%;
}

.size-chart-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.modal-shirtabel {
	font-size: 16px;
	color: var(--muted);
}

/* ==========================================================================
   9. MEDIA QUERIES (RESPONSIVE)
   ========================================================================== */
@media (max-width: 900px) {
  .shop-hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-copy {
    padding: 65px 30px 35px;
  }

  .hero-visual {
    min-height: 420px;
  }

  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .checkout-layout {
    grid-template-columns: 1fr;
  }

  .order-summary {
    grid-row: 1;
  }

  .summary-sticky {
    position: static;
  }

  .product-modal-card {
    grid-template-columns: 1fr;
  }

  .modal-product-image {
    min-height: 310px;
  }

  .modal-gallery {
    min-height: 310px;
  }

  .modal-product-image img {
    height: 310px;
  }

  .modal-product-details {
    padding: 32px;
  }

  .section-heading {
    align-items: start;
    flex-direction: column;
    gap: 8px;
  }

  .size-chart-image-wrap {
    width: 100%;
    aspect-ratio: 1/1;
    display: grid;
    place-items: center;
    overflow: hidden;
    background: #f8fafc;
  }

  .size-chart-image-wrap picture {
    display: block;
    width: 100%;
    height: 100%;
  }

  .size-chart-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
  }
}

@media (max-width: 600px) {
  .wrap,
  .nav-inner {
    width: min(100% - 24px, 1180px);
  }

  .shop-nav {
    height: 68px;
  }

  .cart-button span:nth-child(2) {
    display: none;
  }

  .hero-copy {
    padding: 48px 20px 30px;
  }

  .hero-copy h1 {
    font-size: 46px;
  }

  .hero-trust {
    gap: 8px 15px;
  }

  .hero-visual {
    min-height: 430px;
  }

  .hero-visual img {
    max-height: 620px;
  }

  .hero-badge {
    width: 72px;
    height: 72px;
    right: 5%;
    top: 5%;
  }

  .catalog-section,
  .checkout-section {
    padding: 60px 0;
  }

  .product-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .product-image {
    height: 220px;
  }
  .product-image img {
  width: 130%;
  height: 130%;
  object-fit: cover;
  top: -50px;
  position: absolute;
  transition: .35s;
}

  .quick-view {
    display: none;
  }

  .product-info {
    display: block;
    padding: 13px;
  }
  
  .product-info em {
    display: block;       /* supaya turun ke bawah line baru */
    margin-top: -2px;      /* jarak kecil sahaja */
    padding-top: 0;       /* elak spacing pelik */
    font-size: 13px;
    font-weight: 600;
    color: var(--muted);
  }
  
  .product-info h3 {
    font-size: 16px;
    min-height: 25px;
  }

  .product-info > strong {
    font-size: 15px;
	margin-top: 50px;
  }

  .catalog-note {
    align-items: start;
    flex-wrap: wrap;
  }

  .catalog-note button {
    margin-left: 38px;
  }

  .cart-panel,
  .form-card,
  .summary-sticky {
    border-radius: 12px;
  }

  .cart-panel,
  .form-head,
  .form-body,
  .summary-sticky {
    padding-left: 17px;
    padding-right: 17px;
  }

  .panel-title {
    gap: 10px;
  }

  .summary-title h3 {
    display: block;
    font-size: 18px;
    line-height: 1.25;
  }

  .summary-title h3 small {
    display: block;
    margin-top: 4px;
  }

  .continue-shopping {
    font-size: 12px;
  }

  .summary-footer {
    align-items: stretch;
    flex-direction: column-reverse;
    gap: 12px;
  }

  .summary-action {
    width: 100%;
  }

  .grid,
  .delivery {
    grid-template-columns: 1fr;
  }

  .cart-row {
    align-items: start;
  }

  .cart-row > div:last-child {
    display: grid;
    justify-items: end;
  }

  .product-modal {
    padding: 10px;
  }

  .product-modal-card {
    max-height: 96vh;
  }

  .modal-product-details {
    padding: 25px 20px;
  }

  .modal-product-details h2 {
    font-size: 28px;
  }

  .selector-grid {
    grid-template-columns: 1fr 105px;
  }

  .modal-actions {
    flex-direction: column;
  }

  .modal-actions .btn {
    width: 100%;
  }

  .bank-details {
    display: block;
  }

  .bank-icon {
    margin-bottom: 12px;
  }

  .bank-number {
    font-size: 17px;
  }

  .size-chart-header,
  .size-chart-body {
    padding-left: 18px;
    padding-right: 18px;
  }

  .size-chart-image-wrap {
    width: 100%;
    aspect-ratio: 1/1;
    display: grid;
    place-items: center;
    overflow: hidden;
    background: #f8fafc;
  }

  .size-chart-image-wrap picture {
    display: block;
    width: 100%;
    height: 100%;
  }

  .size-chart-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
  }
  
  .product-badge {
  position: absolute;
  right: -40%;
  top: 15%;
  width: 250px;
  height: 30px;
  background: var(--red);
  color: yellow;
  z-index: 2;
  display: grid;
  place-content: center;
  text-align: center;
  transform: rotate(45deg);
  font-size: 11px;
  text-transform: uppercase;
  box-shadow: 0 12px 30px rgba(199, 31, 45, .3);
   line-height: 1.0;
   font-weight: 900;
}
.modal-x {
  position: absolute;
  right: 15px;
  top: 15px;
  z-index: 3;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  box-shadow: 0 3px 15px rgba(15, 23, 42, .14);
  font-size: 24px;
}
  .limited-tag {
  position: absolute;
  right: -40%;
  top: 15%;
  width: 250px;
  height: 30px;
  background: var(--red);
  color: yellow;
  z-index: 2;
  display: grid;
  place-content: center;
  text-align: center;
  transform: rotate(45deg);
  font-size: 11px;
  text-transform: uppercase;
  box-shadow: 0 12px 30px rgba(199, 31, 45, .3);
   line-height: 1.0;
   font-weight: 900;
}
}
