
/* ===========================
   HEADER - CeX STYLE
   =========================== */
.astar-header { background:#fff; border-bottom:1px solid #e8e8e8; position:sticky; top:0; z-index:1000; }
.astar-header-inner { display:flex; align-items:center; gap:20px; max-width:1280px; margin:0 auto; padding:14px 20px; }

/* Logo */
.astar-logo { display:flex; align-items:center; flex-shrink:0; text-decoration:none; }
.astar-logo-a { font-size:28px; font-weight:900; color:#7c3aed; letter-spacing:-1px; line-height:1; }
.astar-logo-star { font-size:28px; font-weight:900; color:#0d0d0d; letter-spacing:-1px; line-height:1; }

/* Search */
.astar-search { flex:1; display:flex; align-items:center; border:1.5px solid #d0d0d0; border-radius:50px; overflow:hidden; max-width:680px; transition:border-color .15s; background:#fff; }
.astar-search:focus-within { border-color:#aaa; }
.astar-search-input { flex:1; border:none; outline:none; padding:12px 20px; font-family:Poppins,sans-serif; font-size:15px; background:transparent; color:#0d0d0d; }
.astar-search-input::placeholder { color:#aaa; }
.astar-search-btn { background:none; border:none; padding:10px 16px; cursor:pointer; display:flex; align-items:center; color:#666; transition:color .15s; }
.astar-search-btn:hover { color:#0d0d0d; }

/* Right actions */
.astar-header-right { display:flex; align-items:center; gap:4px; flex-shrink:0; margin-left:auto; }
.astar-hdr-icon { display:flex; flex-direction:column; align-items:center; gap:3px; padding:8px 14px; border-radius:8px; text-decoration:none; color:#0d0d0d; font-size:12px; font-weight:500; transition:background .15s; cursor:pointer; }
.astar-hdr-icon:hover { background:#f5f5f5; }
.astar-basket-wrap { position:relative; }
.astar-cart-count { position:absolute; top:-8px; right:-8px; background:#7c3aed; color:#fff; border-radius:50%; width:18px; height:18px; font-size:10px; font-weight:700; display:flex; align-items:center; justify-content:center; }
.astar-sell-cta { background:#fff; border:2px solid #0d0d0d; border-radius:50px; padding:10px 22px; font-family:Poppins,sans-serif; font-size:14px; font-weight:700; color:#0d0d0d; text-decoration:none; transition:all .15s; white-space:nowrap; margin-left:8px; }
.astar-sell-cta:hover { background:#0d0d0d; color:#fff; }

/* Nav bar */
.astar-nav { background:#7c3aed; }
.astar-nav-inner { display:flex; align-items:center; justify-content:center; max-width:1280px; margin:0 auto; padding:0 20px; }
.astar-nav-link { color:#fff; font-size:14px; font-weight:400; padding:13px 20px; text-decoration:none; transition:background .15s; white-space:nowrap; display:block; }
.astar-nav-link:hover, .astar-nav-link.active { background:rgba(0,0,0,.15); }

/* Mobile toggle */
.astar-mob-toggle { display:none; flex-direction:column; gap:5px; background:none; border:none; cursor:pointer; padding:8px; margin-left:auto; }
.astar-mob-toggle span { display:block; width:24px; height:2px; background:#0d0d0d; border-radius:2px; }

/* ===========================
   HERO SECTION
   =========================== */
.astar-hero-section { background:#f2f2f2; }
.astar-hero-grid { display:grid; grid-template-columns:1fr 320px; max-width:1280px; margin:0 auto; padding:16px 20px 16px; gap:16px; align-items:stretch; }

/* SLIDER */
.astar-slider { position:relative; border-radius:12px; overflow:hidden; height:420px; }
.astar-slides { height:420px; }
.astar-slide { display:none; height:420px; padding:48px 52px; flex-direction:column; justify-content:center; position:relative; }
.astar-slide-content { display:flex; flex-direction:column; justify-content:flex-end; }
.astar-slide.active { display:flex; }
.astar-slide-badge { display:inline-block; background:rgba(255,255,255,.2); color:#fff; font-size:12px; font-weight:700; text-transform:uppercase; letter-spacing:1px; padding:5px 14px; border-radius:50px; margin-bottom:16px; width:fit-content; }
.astar-slide-content h2 { font-size:42px; font-weight:800; color:#fff; line-height:1.1; margin-bottom:14px; }
.astar-slide-content p { font-size:15px; color:rgba(255,255,255,.85); margin-bottom:28px; max-width:420px; line-height:1.6; }
.astar-slide-btn { display:inline-block; background:#fff; color:#0d0d0d; border-radius:50px; padding:12px 28px; font-family:Poppins,sans-serif; font-size:14px; font-weight:700; text-decoration:none; transition:all .15s; width:fit-content; }
.astar-slide-btn:hover { background:#f0f0f0; }

/* Slider nav arrows */
.astar-slide-prev, .astar-slide-next { position:absolute; top:50%; transform:translateY(-50%); background:rgba(255,255,255,.25); border:none; color:#fff; width:40px; height:40px; border-radius:50%; font-size:16px; cursor:pointer; display:flex; align-items:center; justify-content:center; transition:background .15s; z-index:10; }
.astar-slide-prev { left:14px; }
.astar-slide-next { right:14px; }
.astar-slide-prev:hover, .astar-slide-next:hover { background:rgba(255,255,255,.45); }

/* Slider dots */
.astar-slide-dots { position:absolute; bottom:16px; left:50%; transform:translateX(-50%); display:flex; gap:8px; }
.astar-dot { width:9px; height:9px; border-radius:50%; background:rgba(255,255,255,.5); border:none; cursor:pointer; padding:0; transition:background .15s; }
.astar-dot.active { background:#fff; }

/* REVIEWS CARD */
.astar-reviews-card { background:#0d1a2e; border-radius:12px; padding:24px; display:flex; flex-direction:column; gap:0; overflow:hidden; }
.astar-reviews-header { display:flex; align-items:center; justify-content:space-between; margin-bottom:8px; }
.astar-reviews-rating { color:#fff; font-size:15px; }
.astar-reviews-rating strong { color:#fff; }
.astar-reviews-count { font-size:12px; color:#8899aa; }
.astar-reviews-stars { display:flex; align-items:center; gap:3px; margin-bottom:8px; }
.astar-star { font-size:20px; color:#fbbc05; }
.astar-reviews-score { font-size:14px; font-weight:700; color:#fff; margin-left:6px; }
.astar-reviews-source { display:flex; align-items:center; gap:6px; font-size:12px; color:#8899aa; margin-bottom:16px; padding-bottom:16px; border-bottom:1px solid rgba(255,255,255,.1); }
.astar-reviews-list { display:flex; flex-direction:column; gap:12px; flex:1; overflow:hidden; }
.astar-review-item { background:rgba(255,255,255,.06); border-radius:8px; padding:12px; }
.astar-review-top { display:flex; align-items:center; gap:10px; margin-bottom:6px; }
.astar-reviewer-avatar { width:32px; height:32px; border-radius:50%; background:#7c3aed; color:#fff; font-size:13px; font-weight:700; display:flex; align-items:center; justify-content:center; flex-shrink:0; }
.astar-reviewer-name { font-size:13px; font-weight:600; color:#fff; line-height:1.2; }
.astar-review-stars { font-size:11px; color:#fbbc05; letter-spacing:1px; }
.astar-review-text { font-size:12px; color:#aabbcc; line-height:1.6; margin:0; }
.astar-reviews-cta { display:block; text-align:center; margin-top:14px; font-size:12px; color:#8899aa; text-decoration:none; transition:color .15s; }
.astar-reviews-cta:hover { color:#fff; }

/* ===========================
   RECOMMENDED SECTION
   =========================== */
.astar-recommended { padding:32px 0 48px; background:#fff; }
.astar-rec-wrap { max-width:1280px; margin:0 auto; padding:0 20px; }
.astar-rec-wrap h2 { font-size:22px; font-weight:700; margin-bottom:20px; color:#0d0d0d; }
.astar-rec-grid { display:grid; grid-template-columns:repeat(5,1fr); gap:16px; }
.astar-rec-card { border:1px solid #e8e8e8; border-radius:10px; overflow:hidden; transition:box-shadow .15s; background:#fff; }
.astar-rec-card:hover { box-shadow:0 4px 20px rgba(0,0,0,.1); }
.astar-rec-card a { display:block; text-decoration:none; color:inherit; }
.astar-rec-img { aspect-ratio:1; background:#f8f8f8; display:flex; align-items:center; justify-content:center; overflow:hidden; padding:12px; }
.astar-rec-img img { width:100%; height:100%; object-fit:contain; }
.astar-rec-info { padding:12px 14px 16px; }
.astar-rec-info h3 { font-size:13px; font-weight:600; color:#0d0d0d; margin-bottom:8px; line-height:1.4; }
.astar-rec-price { display:flex; flex-direction:column; gap:2px; }
.astar-rec-buy { font-size:16px; font-weight:700; color:#0d0d0d; }
.astar-rec-buy .woocommerce-Price-amount { font-size:16px; font-weight:700; color:#0d0d0d; }
.astar-rec-sell { font-size:11px; color:#187700; font-weight:500; }

/* Responsive */
@media(max-width:1100px) { .astar-rec-grid { grid-template-columns:repeat(4,1fr); } }
@media(max-width:900px) {
  .astar-hero-grid { grid-template-columns:1fr; }
  .astar-reviews-card { display:none; }
  .astar-rec-grid { grid-template-columns:repeat(3,1fr); }
  .astar-slide-content h2 { font-size:30px; }
}
@media(max-width:768px) {
  .astar-search { display:none; }
  .astar-mob-toggle { display:flex; }
  .astar-hdr-icon span { display:none; }
  .astar-nav { display:none; }
  .astar-nav.open { display:block; }
  .astar-nav-inner { flex-direction:column; padding:8px 0; }
  .astar-rec-grid { grid-template-columns:repeat(2,1fr); }
}
/* ===========================
   A STAR MOBILE - MAIN CSS
   Based on CeX design system
   =========================== */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --red:       #7c3aed;
  --red-dark:  #5b21b6;
  --red-light: #ede9fe;
  --black:     #0d0d0d;
  --dark:      #1a1a1a;
  --mid:       #4d4d4d;
  --grey:      #8e8e8e;
  --light-grey:#f2f2f2;
  --bg:        #f6f6f6;
  --white:     #ffffff;
  --border:    #e6e6e6;
  --green:     #187700;
  --green-bg:  #ebffe7;
  --radius:    8px;
  --radius-lg: 12px;
  --shadow:    0 2px 8px rgba(0,0,0,.08);
  --shadow-lg: 0 8px 32px rgba(0,0,0,.12);
  --transition:all .2s ease;
}

html { font-size: 16px; scroll-behavior: smooth; }
body { font-family: Poppins, -apple-system, BlinkMacSystemFont, sans-serif; background: var(--bg); color: var(--black); line-height: 1.6; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

/* CONTAINER */
.astar-container { max-width: 1280px; margin: 0 auto; padding: 0 20px; }

/* ===========================
   TOPBAR
   =========================== */
.astar-topbar { background: var(--black); color: var(--white); font-size: 12px; padding: 8px 0; }
.astar-topbar-inner { display: flex; align-items: center; justify-content: space-between; }
.astar-topbar-text { color: #ccc; }
.astar-topbar-links { display: flex; gap: 20px; }
.astar-topbar-links a { color: #ccc; transition: var(--transition); }
.astar-topbar-links a:hover { color: var(--white); }

/* ===========================
   HEADER
   =========================== */
.astar-header { background: var(--white); border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 1000; box-shadow: var(--shadow); }
.astar-header-inner { display: flex; align-items: center; gap: 20px; padding: 14px 0; }

/* LOGO */
.astar-logo { display: flex; align-items: center; flex-shrink: 0; }
.astar-logo-text { font-size: 26px; font-weight: 800; color: var(--black); letter-spacing: -1px; }
.astar-logo-text span { color: var(--red); }
.astar-logo-white .astar-logo-text { color: var(--white); }

/* SEARCH */
.astar-search-wrap { flex: 1; max-width: 600px; }
.astar-search-inner { display: flex; border: 2px solid var(--border); border-radius: 50px; overflow: hidden; transition: var(--transition); background: var(--white); }
.astar-search-inner:focus-within { border-color: var(--red); }
.astar-search-input { flex: 1; border: none; outline: none; padding: 10px 18px; font-family: Poppins, sans-serif; font-size: 14px; background: transparent; }
.astar-search-btn { background: var(--red); border: none; color: var(--white); padding: 10px 20px; cursor: pointer; transition: var(--transition); display: flex; align-items: center; }
.astar-search-btn:hover { background: var(--red-dark); }

/* HEADER ACTIONS */
.astar-header-actions { display: flex; align-items: center; gap: 4px; flex-shrink: 0; }
.astar-action-btn { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 8px 12px; border-radius: var(--radius); transition: var(--transition); color: var(--dark); font-size: 11px; font-weight: 500; cursor: pointer; }
.astar-action-btn:hover { background: var(--light-grey); color: var(--red); }
.astar-cart-icon-wrap { position: relative; }
.astar-cart-count { position: absolute; top: -8px; right: -8px; background: var(--red); color: var(--white); border-radius: 50%; width: 18px; height: 18px; font-size: 10px; font-weight: 700; display: flex; align-items: center; justify-content: center; }

/* MOBILE TOGGLE */
.astar-mobile-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; }
.astar-mobile-toggle span { display: block; width: 24px; height: 2px; background: var(--dark); border-radius: 2px; transition: var(--transition); }

/* ===========================
   NAV
   =========================== */
.astar-nav { background: #7c3aed; }
.astar-nav-list { display: flex; align-items: center; gap: 0; }
.astar-nav-item { position: relative; }
.astar-nav-link { display: flex; align-items: center; gap: 4px; color: var(--white); font-size: 14px; font-weight: 500; padding: 14px 20px; transition: var(--transition); white-space: nowrap; }
.astar-nav-link:hover, .astar-nav-item:hover .astar-nav-link { background: var(--red-dark); }

/* MEGA MENU */
.astar-mega-menu { display: none; position: absolute; top: 100%; left: 0; background: var(--white); border-top: 3px solid var(--red); box-shadow: var(--shadow-lg); z-index: 999; min-width: 600px; padding: 24px 0; }
.astar-nav-item:hover .astar-mega-menu { display: block; }
.astar-mega-grid { display: grid; grid-template-columns: 1fr 1fr 1fr 1fr; gap: 24px; }
.astar-mega-col h4 { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; color: var(--grey); margin-bottom: 12px; }
.astar-mega-col ul { display: flex; flex-direction: column; gap: 8px; }
.astar-mega-col ul li a { font-size: 14px; color: var(--dark); transition: var(--transition); }
.astar-mega-col ul li a:hover { color: var(--red); }
.astar-mega-promo-box { background: var(--light-grey); border-radius: var(--radius); padding: 16px; }
.astar-mega-promo-box h4 { color: var(--dark); text-transform: none; font-size: 14px; margin-bottom: 10px; }
.astar-mega-promo-box p { font-size: 13px; margin-bottom: 6px; color: var(--mid); }

/* ===========================
   BUTTONS
   =========================== */
.astar-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 24px; border-radius: 50px; font-family: Poppins, sans-serif; font-size: 14px; font-weight: 600; cursor: pointer; transition: var(--transition); border: 2px solid transparent; text-decoration: none; }
.astar-btn-primary { background: var(--red); color: var(--white); border-color: var(--red); }
.astar-btn-primary:hover { background: var(--red-dark); border-color: var(--red-dark); }
.astar-btn-outline { background: transparent; color: var(--white); border-color: var(--white); }
.astar-btn-outline:hover { background: var(--white); color: var(--red); }
.astar-btn-white { background: var(--white); color: var(--red); border-color: var(--white); }
.astar-btn-white:hover { background: transparent; color: var(--white); border-color: var(--white); }
.astar-btn-sm { padding: 8px 16px; font-size: 13px; }

/* ===========================
   HERO
   =========================== */
.astar-hero { background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%); color: var(--white); padding: 80px 0; overflow: hidden; }
.astar-hero-inner { display: grid; grid-template-columns: 1fr 400px; gap: 60px; align-items: center; }
.astar-hero-content h1 { font-size: 52px; font-weight: 800; line-height: 1.1; margin-bottom: 20px; }
.astar-hero-content h1 span { color: var(--red); }
.astar-hero-content p { font-size: 17px; color: #ccc; margin-bottom: 32px; max-width: 480px; }
.astar-hero-btns { display: flex; gap: 16px; margin-bottom: 40px; }
.astar-hero-trust { display: flex; gap: 32px; }
.astar-trust-item { display: flex; flex-direction: column; }
.astar-trust-item strong { font-size: 20px; font-weight: 700; color: var(--white); }
.astar-trust-item span { font-size: 12px; color: var(--grey); }

/* HERO CARD */
.astar-hero-card { background: var(--white); border-radius: var(--radius-lg); padding: 32px; text-align: center; color: var(--black); box-shadow: var(--shadow-lg); position: relative; }
.astar-hero-device { font-size: 80px; margin: 16px 0; }
.astar-hero-price { display: flex; align-items: baseline; gap: 8px; justify-content: center; }
.astar-price-label { font-size: 13px; color: var(--grey); }
.astar-price-val { font-size: 32px; font-weight: 800; color: var(--red); }

/* GRADE PILLS */
.astar-grade-pill { display: inline-flex; align-items: center; font-size: 11px; font-weight: 700; padding: 4px 10px; border-radius: 50px; text-transform: uppercase; letter-spacing: .5px; }
.grade-a { background: var(--green-bg); color: var(--green); }
.grade-b { background: #e0f4ff; color: #005cb2; }
.grade-c { background: #fff8e0; color: #7a5800; }

/* ===========================
   CATEGORIES
   =========================== */
.astar-cats { padding: 48px 0; }
.astar-cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.astar-cat-tile { background: var(--white); border-radius: var(--radius-lg); padding: 32px 24px; text-align: center; border: 1px solid var(--border); transition: var(--transition); cursor: pointer; display: block; }
.astar-cat-tile:hover { border-color: var(--red); box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.astar-cat-icon { font-size: 48px; margin-bottom: 12px; }
.astar-cat-tile h3 { font-size: 18px; font-weight: 700; margin-bottom: 6px; }
.astar-cat-tile p { font-size: 13px; color: var(--grey); margin-bottom: 16px; }
.astar-cat-link { color: var(--red); font-size: 13px; font-weight: 600; }
.astar-cat-sell { background: var(--red); border-color: var(--red); color: var(--white); }
.astar-cat-sell p, .astar-cat-sell .astar-cat-link { color: rgba(255,255,255,.8); }
.astar-cat-sell:hover { background: var(--red-dark); border-color: var(--red-dark); transform: translateY(-2px); }

/* ===========================
   PRODUCTS GRID
   =========================== */
.astar-featured { padding: 48px 0; background: var(--white); }
.astar-section-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 28px; }
.astar-section-head h2, .astar-section-title { font-size: 26px; font-weight: 800; }
.astar-section-title { text-align: center; margin-bottom: 40px; }
.astar-view-all { color: var(--red); font-size: 14px; font-weight: 600; }
.astar-view-all:hover { text-decoration: underline; }
.astar-products-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

/* PRODUCT CARD */
.astar-product-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: visible; transition: var(--transition); isolation: isolate; display: flex; flex-direction: column; }
.astar-product-card:hover { border-color: var(--red); box-shadow: 0 8px 24px rgba(124,58,237,.15); transform: translateY(-3px); }
.astar-product-card-inner { display: block; padding: 16px; position: relative; border-radius: var(--radius-lg) var(--radius-lg) 0 0; overflow: hidden; }
.astar-product-card .astar-grade-pill { position: absolute; top: 12px; left: 12px; }
.astar-product-img { aspect-ratio: 1; display: flex; align-items: center; justify-content: center; background: var(--light-grey); border-radius: var(--radius); margin-bottom: 12px; overflow: hidden; }
.astar-product-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.astar-product-card:hover .astar-product-img img { transform: scale(1.04); }
.astar-product-title { font-size: 14px; font-weight: 600; margin-bottom: 10px; line-height: 1.4; }
.astar-product-prices { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 12px; }
.astar-buy-price, .astar-sell-price { display: flex; flex-direction: column; }
.astar-price-label { font-size: 10px; text-transform: uppercase; letter-spacing: .5px; color: var(--grey); font-weight: 600; }
.astar-price { font-size: 18px; font-weight: 800; color: var(--black); }
.astar-price-sell { color: var(--green); font-size: 16px; }
.astar-add-to-cart { width: 100%; justify-content: center; }

/* ===========================
   SELL BANNER
   =========================== */
.astar-sell-banner { background: var(--red); padding: 48px 0; }
.astar-sell-banner-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.astar-sell-banner-text h2 { font-size: 32px; font-weight: 800; color: var(--white); margin-bottom: 8px; }
.astar-sell-banner-text p { color: rgba(255,255,255,.85); font-size: 16px; }

/* ===========================
   HOW IT WORKS
   =========================== */
.astar-how { padding: 64px 0; background: var(--bg); }
.astar-how-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 32px; }
.astar-how-step { text-align: center; padding: 32px 24px; background: var(--white); border-radius: var(--radius-lg); border: 1px solid var(--border); }
.astar-how-num { width: 56px; height: 56px; background: var(--red); color: var(--white); border-radius: 50%; font-size: 24px; font-weight: 800; display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; }
.astar-how-step h3 { font-size: 18px; font-weight: 700; margin-bottom: 10px; }
.astar-how-step p { font-size: 14px; color: var(--mid); }

/* ===========================
   REPAIR STRIP
   =========================== */
.astar-repair-strip { background: var(--dark); padding: 48px 0; }
.astar-repair-strip-inner { text-align: center; }
.astar-repair-strip-inner h2 { font-size: 32px; font-weight: 800; color: var(--white); margin-bottom: 12px; }
.astar-repair-strip-inner p { color: #ccc; margin-bottom: 24px; font-size: 16px; }

/* ===========================
   SHOP
   =========================== */
.astar-main { padding: 32px 0 64px; }
.astar-shop-layout { display: grid; grid-template-columns: 260px 1fr; gap: 32px; }
.astar-sidebar { background: var(--white); border-radius: var(--radius-lg); border: 1px solid var(--border); padding: 24px; align-self: start; }
.astar-sidebar-widget h3 { font-size: 15px; font-weight: 700; margin-bottom: 16px; }
.astar-shop-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; font-size: 14px; color: var(--mid); }
.astar-pagination { margin-top: 40px; display: flex; justify-content: center; }
.astar-pagination nav.woocommerce-pagination { display: flex !important; justify-content: center !important; width: 100% !important; }
.astar-pagination ul.page-numbers { display: flex !important; flex-direction: row !important; align-items: center !important; justify-content: center !important; list-style: none !important; margin: 0 !important; padding: 0 !important; gap: 4px !important; flex-wrap: wrap !important; width: auto !important; overflow: visible !important; }
.astar-pagination ul.page-numbers li { display: inline-flex !important; float: none !important; margin: 0 !important; padding: 0 !important; }
.astar-no-products { text-align: center; color: var(--grey); padding: 40px; }

/* ===========================
   FOOTER
   =========================== */
.astar-footer { background: var(--black); color: var(--white); }
.astar-footer-top { padding: 64px 0 40px; }
.astar-footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; }
.astar-footer-brand p { font-size: 14px; color: #999; margin-top: 16px; margin-bottom: 20px; line-height: 1.7; }
.astar-footer-badges { display: flex; flex-wrap: wrap; gap: 8px; }
.astar-badge { display: inline-flex; align-items: center; gap: 6px; background: rgba(255,255,255,.08); color: #ccc; font-size: 12px; padding: 6px 12px; border-radius: 50px; }
.astar-footer-col h4 { font-size: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; color: var(--white); margin-bottom: 16px; }
.astar-footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.astar-footer-col ul li a { font-size: 14px; color: #999; transition: var(--transition); }
.astar-footer-col ul li a:hover { color: var(--white); }
.astar-footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 20px 0; }
.astar-footer-bottom-inner { display: flex; align-items: center; justify-content: space-between; font-size: 13px; color: #666; }
.astar-footer-legal { display: flex; gap: 20px; }
.astar-footer-legal a { color: #666; transition: var(--transition); }
.astar-footer-legal a:hover { color: var(--white); }

/* ===========================
   PAGE CONTENT
   =========================== */
.astar-page-title { font-size: 36px; font-weight: 800; margin-bottom: 24px; }
.astar-page-body { font-size: 15px; line-height: 1.8; color: var(--mid); }

/* ===========================
   RESPONSIVE
   =========================== */
@media(max-width:1024px) {
  .astar-products-grid { grid-template-columns: repeat(3,1fr); }
  .astar-cat-grid { grid-template-columns: repeat(2,1fr); }
  .astar-hero-inner { grid-template-columns: 1fr; }
  .astar-hero-image { display: none; }
  .astar-footer-grid { grid-template-columns: 1fr 1fr; }
}
@media(max-width:768px) {
  .astar-topbar-text { display: none; }
  .astar-search-wrap { display: none; }
  .astar-mobile-toggle { display: flex; margin-left: auto; }
  .astar-header-actions span { display: none; }
  .astar-nav { display: none; }
  .astar-nav.open { display: block; }
  .astar-nav-list { flex-direction: column; gap: 0; }
  .astar-products-grid { grid-template-columns: repeat(2,1fr); }
  .astar-how-grid { grid-template-columns: 1fr; }
  .astar-sell-banner-inner { flex-direction: column; text-align: center; }
  .astar-hero-content h1 { font-size: 36px; }
  .astar-hero-btns { flex-direction: column; }
  .astar-footer-grid { grid-template-columns: 1fr; }
  .astar-shop-layout { grid-template-columns: 1fr; }
  .astar-mega-menu { display: none !important; }
}
@media(max-width:480px) {
  .astar-products-grid { grid-template-columns: 1fr; }
  .astar-cat-grid { grid-template-columns: 1fr 1fr; }
}
/* ===========================
   SHOP PAGE EXTRAS
   =========================== */
.astar-shop-title-bar { padding: 24px 0 20px; border-bottom: 1px solid var(--border); margin-bottom: 28px; }
.astar-shop-title { font-size: 28px; font-weight: 800; margin-bottom: 6px; }
.astar-shop-toolbar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.woocommerce-result-count { font-size: 14px; color: var(--grey); }
.woocommerce-ordering select { border: 1px solid var(--border); border-radius: var(--radius); padding: 8px 12px; font-family: Poppins,sans-serif; font-size: 13px; outline: none; cursor: pointer; }

/* SIDEBAR */
.astar-filter-list { display: flex; flex-direction: column; gap: 8px; }
.astar-filter-list li a { font-size: 14px; color: var(--mid); display: flex; align-items: center; gap: 8px; transition: var(--transition); }
.astar-filter-list li a:hover, .astar-filter-list li a.active { color: var(--red); }
.astar-filter-list li a span { font-size: 12px; color: var(--grey); }
.astar-sidebar-widget { margin-bottom: 28px; padding-bottom: 28px; border-bottom: 1px solid var(--border); }
.astar-sidebar-widget:last-child { border-bottom: none; margin-bottom: 0; }
.astar-sidebar-widget h3 { font-size: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; margin-bottom: 14px; color: var(--dark); }

/* PAGINATION */
.astar-pagination .page-numbers { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border: 1px solid var(--border); border-radius: var(--radius); font-size: 14px; margin: 0 3px; transition: var(--transition); color: var(--dark); }
.astar-pagination .page-numbers:hover, .astar-pagination .page-numbers.current { background: var(--red); border-color: var(--red); color: var(--white); }

/* NO PRODUCTS */
.astar-no-products { text-align: center; padding: 60px 20px; }
.astar-no-products p { color: var(--grey); margin-bottom: 20px; font-size: 16px; }

/* COMING SOON */
.astar-coming-soon { grid-column: 1/-1; text-align: center; padding: 60px 20px; }
.astar-coming-soon p { color: var(--grey); margin-bottom: 20px; font-size: 16px; }

/* SINGLE PRODUCT */
.astar-single-product { padding: 32px 0; }
.woocommerce div.product { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.woocommerce div.product .woocommerce-product-gallery { background: var(--light-grey); border-radius: var(--radius-lg); overflow: hidden; }
.woocommerce div.product .summary { padding: 8px 0; }
.woocommerce div.product .summary .price { font-size: 32px; font-weight: 800; color: var(--red); margin: 16px 0; }
.woocommerce div.product .summary h1 { font-size: 28px; font-weight: 800; line-height: 1.3; }
.woocommerce div.product .summary .variations select { width: 100%; border: 2px solid var(--border); border-radius: var(--radius); padding: 10px 14px; font-family: Poppins,sans-serif; font-size: 14px; margin-bottom: 12px; }
.woocommerce div.product .summary .single_add_to_cart_button { background: var(--red); border: none; border-radius: 50px; color: var(--white); font-family: Poppins,sans-serif; font-size: 15px; font-weight: 600; padding: 14px 32px; cursor: pointer; transition: var(--transition); width: 100%; margin-top: 16px; }
.woocommerce div.product .summary .single_add_to_cart_button:hover { background: var(--red-dark); }
/* ===========================
   SINGLE PRODUCT PAGE
   =========================== */

/* Breadcrumb */
.astar-breadcrumb { display:flex; align-items:center; gap:8px; font-size:13px; color:var(--grey); padding:20px 0; }
.astar-breadcrumb a { color:var(--mid); transition:var(--transition); }
.astar-breadcrumb a:hover { color:var(--red); }
.astar-breadcrumb span { color:var(--grey); }

/* Product Layout */
.astar-product-layout { display:grid; grid-template-columns:1fr 1fr; gap:56px; padding:8px 0 64px; align-items:start; }

/* Gallery */
.astar-product-gallery { position:sticky; top:90px; }
.astar-product-main-img { background:var(--light-grey); border-radius:var(--radius-lg); overflow:hidden; aspect-ratio:1; display:flex; align-items:center; justify-content:center; position:relative; margin-bottom:16px; }
.astar-product-main-img img { width:80%; height:80%; object-fit:contain; transition:transform .3s ease; }
.astar-product-main-img:hover img { transform:scale(1.05); }
.astar-img-badges { position:absolute; bottom:12px; left:12px; display:flex; flex-direction:column; gap:6px; }
.astar-img-badge { background:rgba(0,0,0,.6); color:#fff; font-size:11px; font-weight:600; padding:5px 10px; border-radius:50px; backdrop-filter:blur(4px); }
.astar-trust-row { display:grid; grid-template-columns:repeat(2,1fr); gap:8px; }
.astar-trust-pill { background:var(--white); border:1px solid var(--border); border-radius:var(--radius); padding:10px 14px; font-size:12px; font-weight:500; display:flex; align-items:center; gap:8px; color:var(--dark); }
.astar-trust-pill span { font-size:16px; }

/* Summary */
.astar-product-summary { padding:8px 0; }
.astar-product-name { font-size:32px; font-weight:800; line-height:1.2; margin-bottom:20px; }

/* Price Display */
.astar-price-display { display:flex; gap:24px; background:var(--light-grey); border-radius:var(--radius-lg); padding:20px 24px; margin-bottom:28px; transition:background .2s; }
.astar-price-display.price-flash { animation:priceFlash .4s ease; }
@keyframes priceFlash { 0%{background:var(--light-grey)} 50%{background:#fff3cd} 100%{background:var(--light-grey)} }
.astar-price-buy-wrap, .astar-price-sell-wrap { display:flex; flex-direction:column; gap:4px; flex:1; }
.astar-price-sell-wrap { border-left:1px solid var(--border); padding-left:24px; }
.astar-pdp-label { font-size:11px; font-weight:700; text-transform:uppercase; letter-spacing:.5px; color:var(--grey); }
.astar-pdp-price { font-size:40px; font-weight:800; color:var(--red); line-height:1; }
.astar-pdp-sell-price { font-size:32px; font-weight:800; color:var(--green); line-height:1; }

/* Selector Groups */
.astar-selector-group { margin-bottom:24px; }
.astar-selector-label { display:flex; align-items:center; gap:10px; font-size:14px; font-weight:700; margin-bottom:12px; color:var(--dark); }
.astar-grade-help { font-size:12px; font-weight:400; color:var(--red); }

/* Storage Pills */
.astar-selector-pills { display:flex; flex-wrap:wrap; gap:8px; }
.astar-pill-btn { background:var(--white); border:2px solid var(--border); border-radius:var(--radius); padding:10px 18px; font-family:Poppins,sans-serif; font-size:13px; font-weight:600; cursor:pointer; transition:var(--transition); color:var(--dark); }
.astar-pill-btn:hover { border-color:var(--red); color:var(--red); }
.astar-pill-btn.active { background:var(--red); border-color:var(--red); color:var(--white); }

/* Grade Cards */
.astar-grade-cards { display:flex; flex-direction:column; gap:10px; }
.astar-grade-card { border:2px solid var(--border); border-radius:var(--radius-lg); padding:14px 18px; cursor:pointer; transition:var(--transition); background:var(--white); }
.astar-grade-card:hover { border-color:var(--red); }
.astar-grade-card.active { border-color:var(--red); background:#fff8f8; }
.astar-grade-card-top { display:flex; align-items:center; justify-content:space-between; margin-bottom:6px; }
.astar-grade-price { font-size:18px; font-weight:800; color:var(--dark); }
.astar-grade-desc { font-size:12px; color:var(--grey); margin:0; }

/* PDP Actions */
.astar-pdp-actions { display:flex; gap:12px; margin-bottom:20px; align-items:center; }
.astar-qty-wrap { display:flex; align-items:center; border:2px solid var(--border); border-radius:var(--radius); overflow:hidden; flex-shrink:0; }
.astar-qty-btn { background:var(--light-grey); border:none; width:40px; height:52px; font-size:18px; cursor:pointer; transition:var(--transition); color:var(--dark); display:flex; align-items:center; justify-content:center; }
.astar-qty-btn:hover { background:var(--border); }
.astar-qty-input { border:none; outline:none; width:52px; height:52px; text-align:center; font-family:Poppins,sans-serif; font-size:16px; font-weight:600; }
.astar-pdp-cart-btn { flex:1; padding:16px 24px; font-size:15px; gap:10px; border-radius:var(--radius); }
.astar-pdp-cart-btn.added { background:var(--green); border-color:var(--green); }
.astar-pdp-cart-btn:disabled { opacity:.7; cursor:not-allowed; }

/* Sell CTA */
.astar-pdp-sell-cta { background:var(--light-grey); border-radius:var(--radius-lg); padding:16px 20px; display:flex; align-items:center; justify-content:space-between; gap:16px; margin-bottom:28px; }
.astar-pdp-sell-cta p { font-size:14px; font-weight:600; color:var(--dark); margin:0; }
.astar-btn-outline-dark { background:transparent; color:var(--dark); border:2px solid var(--dark); border-radius:50px; padding:10px 20px; font-size:13px; font-weight:600; display:inline-flex; align-items:center; transition:var(--transition); }
.astar-btn-outline-dark:hover { background:var(--dark); color:var(--white); }

/* Description */
.astar-pdp-desc { margin-bottom:28px; }
.astar-pdp-desc h3, .astar-pdp-grade-guide h3 { font-size:16px; font-weight:700; margin-bottom:14px; padding-bottom:10px; border-bottom:1px solid var(--border); }
.astar-pdp-desc-body { font-size:14px; line-height:1.8; color:var(--mid); }
.astar-pdp-desc-body ul { padding-left:20px; margin-top:8px; }
.astar-pdp-desc-body ul li { margin-bottom:4px; }

/* Grade Table */
.astar-grade-table { display:flex; flex-direction:column; gap:12px; }
.astar-grade-row { display:flex; align-items:flex-start; gap:14px; }
.astar-grade-row > span:last-child { font-size:13px; color:var(--mid); line-height:1.6; }

/* Responsive */
@media(max-width:900px) {
  .astar-product-layout { grid-template-columns:1fr; gap:32px; }
  .astar-product-gallery { position:static; }
  .astar-product-name { font-size:24px; }
  .astar-pdp-price { font-size:32px; }
  .astar-pdp-sell-price { font-size:26px; }
}
@media(max-width:480px) {
  .astar-price-display { flex-direction:column; gap:16px; }
  .astar-price-sell-wrap { border-left:none; padding-left:0; border-top:1px solid var(--border); padding-top:16px; }
  .astar-pdp-actions { flex-direction:column; }
  .astar-pdp-cart-btn { width:100%; }
  .astar-pdp-sell-cta { flex-direction:column; text-align:center; }
}
/* ===========================
   SELL PAGE
   =========================== */
.astar-sell-page { padding-bottom:80px; }

/* Hero */
.astar-sell-hero { background:linear-gradient(135deg,#1a1a1a 0%,#2d2d2d 100%); border-radius:var(--radius-lg); padding:48px; margin-bottom:48px; color:var(--white); }
.astar-sell-hero-text h1 { font-size:40px; font-weight:800; margin-bottom:12px; }
.astar-sell-hero-text p { font-size:16px; color:#ccc; margin-bottom:28px; max-width:560px; }
.astar-sell-steps { display:flex; align-items:center; gap:12px; flex-wrap:wrap; }
.astar-sell-step { display:flex; align-items:center; gap:10px; font-size:14px; font-weight:500; }
.astar-sell-step-num { width:28px; height:28px; background:var(--red); border-radius:50%; display:flex; align-items:center; justify-content:center; font-size:13px; font-weight:700; flex-shrink:0; }
.astar-sell-step-arrow { color:#666; font-size:20px; }

/* Step Panels */
.astar-sell-step-panel { display:none; }
.astar-sell-step-panel.active { display:block; }
.astar-sell-panel-title { font-size:24px; font-weight:800; margin-bottom:24px; }
.astar-sell-back { background:none; border:none; color:var(--red); font-family:Poppins,sans-serif; font-size:14px; font-weight:600; cursor:pointer; padding:0; margin-bottom:20px; display:flex; align-items:center; gap:6px; transition:var(--transition); }
.astar-sell-back:hover { color:var(--red-dark); }

/* Brand Tabs */
.astar-brand-tabs { display:flex; gap:8px; flex-wrap:wrap; margin-bottom:28px; }
.astar-brand-tab { background:var(--white); border:2px solid var(--border); border-radius:50px; padding:8px 20px; font-family:Poppins,sans-serif; font-size:13px; font-weight:600; cursor:pointer; transition:var(--transition); color:var(--dark); }
.astar-brand-tab:hover { border-color:var(--red); color:var(--red); }
.astar-brand-tab.active { background:var(--red); border-color:var(--red); color:var(--white); }

/* Device Grid */
.astar-sell-device-grid { display:grid; grid-template-columns:repeat(5,1fr); gap:16px; }
.astar-sell-device-card { background:var(--white); border:2px solid var(--border); border-radius:var(--radius-lg); padding:20px 16px; text-align:center; cursor:pointer; transition:var(--transition); }
.astar-sell-device-card:hover { border-color:var(--red); transform:translateY(-2px); box-shadow:var(--shadow-lg); }
.astar-sell-device-card img { width:80px; height:80px; object-fit:contain; margin:0 auto 12px; display:block; }
.astar-sell-device-icon { font-size:48px; margin-bottom:12px; }
.astar-sell-device-card h3 { font-size:13px; font-weight:600; margin-bottom:6px; line-height:1.4; }
.astar-sell-device-range { font-size:12px; color:var(--green); font-weight:700; }

/* Step 2 */
.astar-sell-chosen { background:var(--light-grey); border-radius:var(--radius); padding:14px 18px; margin-bottom:24px; font-size:16px; }
.astar-sell-next-btn { margin-top:28px; padding:16px 40px; font-size:15px; }
.astar-sell-next-btn:disabled { opacity:.5; cursor:not-allowed; }

/* Quote Display */
.astar-quote-display { background:var(--dark); color:var(--white); border-radius:var(--radius-lg); padding:32px; margin-bottom:32px; text-align:center; }
.astar-quote-device { font-size:18px; font-weight:600; margin-bottom:16px; color:#ccc; }
.astar-quote-amount-wrap { display:flex; flex-direction:column; gap:4px; margin-bottom:16px; }
.astar-quote-amount-wrap .astar-pdp-label { color:#999; }
.astar-quote-amount { font-size:56px; font-weight:800; color:#4caf50; line-height:1; }
.astar-quote-details { display:flex; align-items:center; justify-content:center; gap:8px; font-size:14px; color:#aaa; }

/* Sell Form */
.astar-sell-form-wrap { background:var(--white); border:1px solid var(--border); border-radius:var(--radius-lg); padding:32px; }
.astar-sell-form-wrap h3 { font-size:20px; font-weight:700; margin-bottom:8px; }
.astar-sell-form-note { font-size:14px; color:var(--grey); margin-bottom:24px; }
.astar-form-row { display:grid; grid-template-columns:1fr 1fr; gap:16px; margin-bottom:16px; }
.astar-form-field { display:flex; flex-direction:column; gap:6px; margin-bottom:16px; }
.astar-form-field label { font-size:13px; font-weight:600; color:var(--dark); }
.astar-form-field input, .astar-form-field textarea { border:2px solid var(--border); border-radius:var(--radius); padding:11px 14px; font-family:Poppins,sans-serif; font-size:14px; outline:none; transition:var(--transition); width:100%; }
.astar-form-field input:focus, .astar-form-field textarea:focus { border-color:var(--red); }
.astar-form-field textarea { resize:vertical; }
.astar-field-hint { font-size:12px; color:var(--grey); }
.astar-sell-submit { width:100%; padding:16px; font-size:15px; margin-top:8px; border-radius:var(--radius); }
.astar-sell-submit:disabled { opacity:.6; cursor:not-allowed; }

/* Success */
.astar-sell-success { text-align:center; padding:48px 24px; }
.astar-sell-success-icon { width:72px; height:72px; background:var(--green); color:var(--white); border-radius:50%; font-size:32px; display:flex; align-items:center; justify-content:center; margin:0 auto 20px; }
.astar-sell-success h3 { font-size:24px; font-weight:800; margin-bottom:12px; }
.astar-sell-success p { font-size:15px; color:var(--mid); }

/* Responsive */
@media(max-width:1024px) { .astar-sell-device-grid { grid-template-columns:repeat(4,1fr); } }
@media(max-width:768px) {
  .astar-sell-hero { padding:28px; }
  .astar-sell-hero-text h1 { font-size:28px; }
  .astar-sell-device-grid { grid-template-columns:repeat(3,1fr); }
  .astar-form-row { grid-template-columns:1fr; }
  .astar-quote-amount { font-size:40px; }
}
@media(max-width:480px) {
  .astar-sell-device-grid { grid-template-columns:repeat(2,1fr); }
}
/* ===========================
   CART PAGE
   =========================== */
.astar-cart-page { padding-bottom:80px; }
.astar-cart-layout { display:grid; grid-template-columns:1fr 360px; gap:40px; align-items:start; margin-top:8px; }

/* Cart Items */
.astar-cart-items { display:flex; flex-direction:column; gap:0; border:1px solid var(--border); border-radius:var(--radius-lg); overflow:hidden; margin-bottom:20px; background:var(--white); }
.astar-cart-item { display:grid; grid-template-columns:80px 1fr 120px 120px 40px; gap:20px; align-items:center; padding:20px 24px; border-bottom:1px solid var(--border); }
.astar-cart-item:last-child { border-bottom:none; }
.astar-cart-item-img { width:80px; height:80px; border-radius:var(--radius); overflow:hidden; background:var(--light-grey); display:flex; align-items:center; justify-content:center; flex-shrink:0; }
.astar-cart-item-img img { width:100%; height:100%; object-fit:contain; }
.astar-cart-item-name { font-size:15px; font-weight:600; margin-bottom:6px; }
.astar-cart-item-name a { color:var(--dark); }
.astar-cart-item-name a:hover { color:var(--red); }
.astar-cart-item-meta { font-size:12px; color:var(--grey); }
.astar-cart-item-price { font-size:14px; color:var(--mid); }
.astar-cart-item-qty .quantity { display:flex; align-items:center; }
.astar-cart-item-qty input[type=number] { width:64px; border:2px solid var(--border); border-radius:var(--radius); padding:8px; text-align:center; font-family:Poppins,sans-serif; font-size:14px; font-weight:600; outline:none; }
.astar-cart-item-qty input[type=number]:focus { border-color:var(--red); }
.astar-cart-item-subtotal { font-size:16px; font-weight:700; color:var(--dark); }
.astar-cart-remove { color:var(--grey); font-size:16px; text-decoration:none; transition:var(--transition); width:32px; height:32px; display:flex; align-items:center; justify-content:center; border-radius:50%; }
.astar-cart-remove:hover { background:var(--red-light); color:var(--red); }
.astar-cart-actions { display:flex; justify-content:flex-end; gap:12px; margin-bottom:24px; }

/* Cart Sidebar / Totals */
.astar-cart-sidebar { position:sticky; top:90px; }
.astar-cart-totals { background:var(--white); border:1px solid var(--border); border-radius:var(--radius-lg); padding:28px; }
.astar-cart-totals h2 { font-size:18px; font-weight:700; margin-bottom:20px; padding-bottom:16px; border-bottom:1px solid var(--border); }
.astar-totals-row { display:flex; justify-content:space-between; align-items:center; padding:10px 0; font-size:14px; border-bottom:1px solid var(--border); }
.astar-totals-row:last-of-type { border-bottom:none; }
.astar-totals-discount { color:var(--green); }
.astar-totals-total { font-size:18px; font-weight:800; padding-top:16px; margin-top:8px; border-top:2px solid var(--dark) !important; border-bottom:none !important; }
.astar-checkout-btn { width:100%; justify-content:center; margin-top:20px; padding:16px; font-size:15px; border-radius:var(--radius); }
.astar-continue-shopping { display:block; text-align:center; margin-top:14px; font-size:13px; color:var(--grey); transition:var(--transition); }
.astar-continue-shopping:hover { color:var(--red); }

/* Empty cart */
.astar-empty-cart { text-align:center; padding:80px 20px; }
.astar-empty-cart-icon { font-size:64px; margin-bottom:20px; }
.astar-empty-cart h2 { font-size:28px; font-weight:800; margin-bottom:12px; }
.astar-empty-cart p { color:var(--grey); margin-bottom:24px; }

/* ===========================
   CHECKOUT PAGE
   =========================== */
.astar-checkout-page { padding-bottom:80px; }
.astar-checkout-layout { display:grid; grid-template-columns:1fr 420px; gap:40px; align-items:start; margin-top:8px; }
.astar-checkout-main { display:flex; flex-direction:column; gap:0; }
.astar-checkout-sidebar { position:sticky; top:90px; display:flex; flex-direction:column; gap:20px; }

/* Checkout Sections */
.astar-checkout-section { background:var(--white); border:1px solid var(--border); border-radius:var(--radius-lg); padding:28px; margin-bottom:20px; }
.astar-checkout-section h2 { font-size:18px; font-weight:700; margin-bottom:20px; padding-bottom:14px; border-bottom:1px solid var(--border); }

/* WC form fields override */
.astar-checkout-form .form-row { margin-bottom:16px; }
.astar-checkout-form .form-row label { display:block; font-size:13px; font-weight:600; margin-bottom:6px; color:var(--dark); }
.astar-checkout-form .form-row input[type=text],
.astar-checkout-form .form-row input[type=email],
.astar-checkout-form .form-row input[type=tel],
.astar-checkout-form .form-row input[type=password],
.astar-checkout-form .form-row select,
.astar-checkout-form .form-row textarea { width:100%; border:2px solid var(--border); border-radius:var(--radius); padding:11px 14px; font-family:Poppins,sans-serif; font-size:14px; outline:none; transition:var(--transition); }
.astar-checkout-form .form-row input:focus,
.astar-checkout-form .form-row select:focus,
.astar-checkout-form .form-row textarea:focus { border-color:var(--red); }
.astar-checkout-form .form-row.form-row-first { float:left; width:calc(50% - 8px); clear:left; }
.astar-checkout-form .form-row.form-row-last { float:right; width:calc(50% - 8px); }
.astar-checkout-form .form-row.form-row-wide { clear:both; }
.astar-checkout-section::after { content:''; display:table; clear:both; }

/* Order summary */
.astar-checkout-order-summary { background:var(--white); border:1px solid var(--border); border-radius:var(--radius-lg); padding:24px; }
.astar-checkout-order-summary h2 { font-size:18px; font-weight:700; margin-bottom:16px; padding-bottom:14px; border-bottom:1px solid var(--border); }
.astar-checkout-items { display:flex; flex-direction:column; gap:12px; margin-bottom:16px; padding-bottom:16px; border-bottom:1px solid var(--border); }
.astar-checkout-item { display:grid; grid-template-columns:48px 1fr auto; gap:12px; align-items:center; }
.astar-checkout-item-img { width:48px; height:48px; border-radius:var(--radius); overflow:hidden; background:var(--light-grey); }
.astar-checkout-item-img img { width:100%; height:100%; object-fit:contain; }
.astar-checkout-item-name { font-size:13px; font-weight:600; color:var(--dark); }
.astar-checkout-item-qty { font-size:12px; color:var(--grey); }
.astar-checkout-item-price { font-size:14px; font-weight:700; }
.astar-checkout-totals { display:flex; flex-direction:column; gap:0; margin-bottom:16px; }

/* Coupon */
.astar-coupon-wrap { margin-top:16px; padding-top:16px; border-top:1px solid var(--border); }
.astar-coupon-toggle { background:none; border:none; color:var(--red); font-family:Poppins,sans-serif; font-size:13px; font-weight:600; cursor:pointer; padding:0; }
.astar-coupon-form { display:flex; gap:8px; margin-top:12px; }
.astar-coupon-form input { flex:1; border:2px solid var(--border); border-radius:var(--radius); padding:10px 14px; font-family:Poppins,sans-serif; font-size:13px; outline:none; }
.astar-coupon-form input:focus { border-color:var(--red); }

/* Payment */
.astar-checkout-payment { background:var(--white); border:1px solid var(--border); border-radius:var(--radius-lg); padding:24px; }
.astar-checkout-payment h2 { font-size:18px; font-weight:700; margin-bottom:16px; padding-bottom:14px; border-bottom:1px solid var(--border); }
.woocommerce-checkout #payment { background:transparent; border-radius:0; }
.woocommerce-checkout #payment ul.payment_methods { list-style:none; margin:0 0 16px; padding:0; border:1px solid var(--border); border-radius:var(--radius); overflow:hidden; }
.woocommerce-checkout #payment ul.payment_methods li { padding:14px 16px; border-bottom:1px solid var(--border); display:flex; align-items:center; gap:10px; }
.woocommerce-checkout #payment ul.payment_methods li:last-child { border-bottom:none; }
.woocommerce-checkout #payment ul.payment_methods li label { font-size:14px; font-weight:600; cursor:pointer; margin:0; }
.woocommerce-checkout #payment div.payment_box { background:var(--light-grey); border-radius:var(--radius); padding:14px 16px; margin:0 0 16px; font-size:13px; color:var(--mid); }
.woocommerce-checkout #payment .place-order { padding:0; }
.woocommerce-checkout #payment #place_order { width:100%; background:var(--red); border:none; border-radius:var(--radius); color:var(--white); font-family:Poppins,sans-serif; font-size:16px; font-weight:700; padding:18px; cursor:pointer; transition:var(--transition); }
.woocommerce-checkout #payment #place_order:hover { background:var(--red-dark); }
.woocommerce-checkout .woocommerce-terms-and-conditions-wrapper { font-size:12px; color:var(--grey); margin-bottom:16px; }

/* Login toggle */
.astar-checkout-login { font-size:14px; }
.astar-checkout-login .login { display:none; }
.astar-checkout-login .login.active { display:block; }

/* Ship to different address */
.astar-ship-different { margin-bottom:16px; }
.astar-shipping-fields { display:none; }
.astar-shipping-fields.active { display:block; }

/* Notices */
.woocommerce-info, .woocommerce-error, .woocommerce-message { border-radius:var(--radius); padding:14px 18px; margin-bottom:20px; font-size:14px; display:flex; align-items:center; gap:10px; }
.woocommerce-info { background:#e0f4ff; border-left:4px solid #005cb2; color:#005cb2; }
.woocommerce-error { background:var(--red-light); border-left:4px solid var(--red); color:var(--red); }
.woocommerce-message { background:var(--green-bg); border-left:4px solid var(--green); color:var(--green); }

/* Responsive */
@media(max-width:1024px) {
  .astar-cart-layout, .astar-checkout-layout { grid-template-columns:1fr; }
  .astar-checkout-main, .astar-checkout-sidebar, .astar-cart-main, .astar-cart-sidebar { width:100%; min-width:0; max-width:100%; box-sizing:border-box; }
  .astar-checkout-form { width:100%; max-width:100%; box-sizing:border-box; }
  .astar-checkout-section input, .astar-checkout-section select, .astar-checkout-section textarea { width:100%; max-width:100%; box-sizing:border-box; }
  .woocommerce-input-wrapper { width:100%; }
  .astar-cart-item { flex-wrap:wrap; }
  .astar-cart-actions { flex-direction:column; gap:10px; }
  .astar-coupon-form { flex-direction:column; }
  .astar-coupon-form input { width:100%; }
  .astar-checkout-totals .astar-totals-row { font-size:15px; }
  .astar-cart-sidebar, .astar-checkout-sidebar { position:static; }
  .astar-cart-item { grid-template-columns:64px 1fr 100px 40px; }
  .astar-cart-item-subtotal { display:none; }
}
@media(max-width:640px) {
  .astar-cart-item { grid-template-columns:56px 1fr 40px; }
  .astar-cart-item-price, .astar-cart-item-qty { display:none; }
  .astar-checkout-form .form-row.form-row-first,
  .astar-checkout-form .form-row.form-row-last { float:none; width:100%; }
}
/* ===========================
   REPAIR PAGE
   =========================== */
.astar-repair-page { padding-bottom:80px; }

/* Hero */
.astar-repair-hero { background:linear-gradient(135deg,var(--red) 0%,var(--red-dark) 100%); border-radius:var(--radius-lg); padding:56px 48px; margin-bottom:56px; color:var(--white); }
.astar-repair-hero-content h1 { font-size:42px; font-weight:800; margin-bottom:14px; }
.astar-repair-hero-content p { font-size:16px; color:rgba(255,255,255,.85); max-width:540px; margin-bottom:32px; }
.astar-repair-trust { display:flex; gap:24px; flex-wrap:wrap; }
.astar-repair-trust-item { display:flex; align-items:center; gap:10px; font-size:14px; font-weight:600; background:rgba(255,255,255,.15); padding:10px 18px; border-radius:50px; }
.astar-repair-trust-item span { font-size:18px; }

/* Services */
.astar-repair-services { margin-bottom:64px; }
.astar-repair-service-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:24px; }
.astar-repair-service-card { background:var(--white); border:1px solid var(--border); border-radius:var(--radius-lg); padding:32px 24px; text-align:center; transition:var(--transition); }
.astar-repair-service-card:hover { border-color:var(--red); box-shadow:var(--shadow-lg); transform:translateY(-2px); }
.astar-repair-service-icon { font-size:48px; margin-bottom:16px; }
.astar-repair-service-card h3 { font-size:18px; font-weight:700; margin-bottom:10px; }
.astar-repair-service-card p { font-size:14px; color:var(--mid); line-height:1.7; margin-bottom:16px; }
.astar-repair-from { display:inline-block; background:var(--green-bg); color:var(--green); font-size:13px; font-weight:700; padding:6px 14px; border-radius:50px; }

/* Booking */
.astar-repair-booking { background:var(--light-grey); border-radius:var(--radius-lg); padding:56px 48px; }
.astar-repair-booking-inner { display:grid; grid-template-columns:1fr 1fr; gap:56px; align-items:start; }
.astar-repair-booking-text h2 { font-size:32px; font-weight:800; margin-bottom:12px; }
.astar-repair-booking-text > p { font-size:15px; color:var(--mid); margin-bottom:32px; }
.astar-repair-address { background:var(--white); border-radius:var(--radius-lg); padding:24px; }
.astar-repair-address h4 { font-size:14px; font-weight:700; text-transform:uppercase; letter-spacing:.5px; color:var(--grey); margin-bottom:12px; }
.astar-repair-address p { font-size:14px; color:var(--mid); line-height:1.7; margin-bottom:10px; }
.astar-repair-address a { color:var(--red); font-weight:600; }
.astar-repair-form-wrap { background:var(--white); border-radius:var(--radius-lg); padding:32px; }
.astar-repair-form select { width:100%; border:2px solid var(--border); border-radius:var(--radius); padding:11px 14px; font-family:Poppins,sans-serif; font-size:14px; outline:none; transition:var(--transition); background:var(--white); }
.astar-repair-form select:focus { border-color:var(--red); }
.astar-repair-submit { width:100%; padding:16px; font-size:15px; margin-top:8px; border-radius:var(--radius); }

/* Responsive */
@media(max-width:1024px) { .astar-repair-service-grid { grid-template-columns:repeat(2,1fr); } }
@media(max-width:900px) { .astar-repair-booking-inner { grid-template-columns:1fr; } }
@media(max-width:768px) {
  .astar-repair-hero { padding:32px 24px; }
  .astar-repair-hero-content h1 { font-size:28px; }
  .astar-repair-booking { padding:32px 24px; }
  .astar-repair-service-grid { grid-template-columns:1fr; }
}
/* ===========================
   PRODUCT DETAIL PAGE (CeX style)
   =========================== */
.pdp-page { background:var(--white); min-height:60vh; }
.pdp-container { max-width:1280px; margin:0 auto; padding:0 20px 64px; }

/* Breadcrumb */
.pdp-breadcrumb { display:flex; align-items:center; flex-wrap:wrap; gap:4px; font-size:12px; font-weight:500; padding:16px 0; color:var(--grey); letter-spacing:-.3px; }
.pdp-breadcrumb a { color:var(--mid); transition:var(--transition); }
.pdp-breadcrumb a:hover { color:var(--red); }
.pdp-bc-sep { color:var(--grey); font-size:14px; }

/* Wrapper: 50/50 */
.pdp-wrapper { display:grid; grid-template-columns:1fr 1fr; gap:0; align-items:start; margin-bottom:48px; }

/* Gallery */
.pdp-gallery { padding-right:30px; }
.pdp-gallery-main { position:relative; width:100%; height:630px; display:flex; align-items:center; justify-content:center; background:var(--white); border-radius:var(--radius-lg); overflow:hidden; }
.pdp-gallery-main img { max-width:100%; max-height:100%; object-fit:contain; width:auto; height:auto; display:block; margin:0 auto; transition:transform .3s ease; }
.pdp-gallery-main:hover img { transform:scale(1.04); }

/* Detail */
.pdp-detail { padding-left:30px; }
.pdp-title { font-size:28px; font-weight:600; line-height:1.2; margin-bottom:12px; color:var(--dark); }
@media(min-width:1100px) { .pdp-title { font-size:32px; } }

/* Grade row */
.pdp-grade-row { display:flex; align-items:center; gap:8px; margin-bottom:20px; }
.pdp-grade-badge { width:28px; height:28px; border-radius:50%; color:#fff; font-size:14px; font-weight:700; display:flex; align-items:center; justify-content:center; flex-shrink:0; }
.pdp-grade-name { font-size:14px; font-weight:600; color:var(--mid); }
.pdp-grade-sep { color:var(--grey); }
.pdp-storage-name { font-size:14px; color:var(--mid); }

/* Section */
.pdp-section { margin-bottom:20px; }
.pdp-section-label { font-size:13px; font-weight:600; color:var(--dark); margin-bottom:10px; display:flex; align-items:center; gap:8px; }
.pdp-grade-link { font-size:12px; font-weight:400; color:var(--red); }

/* Storage option buttons */
.pdp-storage-opts { display:flex; flex-wrap:wrap; gap:8px; }
.pdp-opt-btn { border:1.5px solid var(--border); border-radius:6px; background:var(--white); padding:8px 16px; font-family:Poppins,sans-serif; font-size:13px; font-weight:600; color:var(--dark); cursor:pointer; transition:var(--transition); }
.pdp-opt-btn:hover { border-color:var(--dark); }
.pdp-opt-btn.active { border-color:var(--dark); background:var(--dark); color:var(--white); }

/* Grade option buttons */
.pdp-grade-opts { display:flex; flex-direction:column; gap:8px; }
.pdp-grade-opt { display:flex; align-items:center; gap:12px; border:1.5px solid var(--border); border-radius:8px; background:var(--white); padding:12px 16px; cursor:pointer; transition:var(--transition); text-align:left; font-family:Poppins,sans-serif; }
.pdp-grade-opt:hover { border-color:var(--mid); }
.pdp-grade-opt.active { border-color:var(--dark); box-shadow:inset 0 0 0 1px var(--dark); }
.pdp-grade-opt-badge { width:32px; height:32px; border-radius:50%; color:#fff; font-size:15px; font-weight:700; display:flex; align-items:center; justify-content:center; flex-shrink:0; }
.pdp-grade-opt-info { display:flex; flex-direction:column; gap:2px; }
.pdp-grade-opt-name { font-size:14px; font-weight:600; color:var(--dark); line-height:1.2; }
.pdp-grade-opt-price { font-size:13px; font-weight:500; color:var(--mid); }

/* Prices */
.pdp-prices { margin:20px 0; }
.pdp-price-main { font-size:40px; font-weight:600; line-height:1; color:var(--dark); display:block; margin-bottom:8px; }
.pdp-sell-row { display:flex; align-items:center; justify-content:space-between; padding:10px 0; border-top:1px solid var(--border); border-bottom:1px solid var(--border); }
.pdp-sell-label { font-size:13px; font-weight:500; text-transform:uppercase; color:var(--mid); letter-spacing:.3px; }
.pdp-sell-price { font-size:18px; font-weight:600; color:var(--green); }

/* Actions */
.pdp-actions { display:flex; align-items:center; gap:8px; margin:20px 0; flex-wrap:wrap; }
.pdp-qty { display:flex; align-items:center; border:1.5px solid var(--border); border-radius:6px; overflow:hidden; height:48px; flex-shrink:0; }
.pdp-qty-btn { width:40px; height:48px; background:none; border:none; font-size:20px; cursor:pointer; color:var(--dark); display:flex; align-items:center; justify-content:center; transition:var(--transition); }
.pdp-qty-btn:hover { background:var(--light-grey); }
.pdp-qty-input { width:44px; height:48px; border:none; border-left:1.5px solid var(--border); border-right:1.5px solid var(--border); outline:none; text-align:center; font-family:Poppins,sans-serif; font-size:15px; font-weight:600; }
.pdp-qty-input::-webkit-inner-spin-button,.pdp-qty-input::-webkit-outer-spin-button { -webkit-appearance:none; margin:0; }
.pdp-add-btn { flex:1; height:48px; min-width:180px; background:var(--red); border:none; border-radius:6px; color:#fff; font-family:Poppins,sans-serif; font-size:15px; font-weight:600; cursor:pointer; transition:var(--transition); }
.pdp-add-btn:hover { background:var(--red-dark); }
.pdp-add-btn.added { background:var(--green); }
.pdp-add-btn:disabled { opacity:.6; cursor:not-allowed; }
.pdp-sell-btn { height:48px; padding:0 24px; border:1.5px solid var(--dark); border-radius:6px; background:var(--white); color:var(--dark); font-family:Poppins,sans-serif; font-size:15px; font-weight:600; cursor:pointer; transition:var(--transition); display:flex; align-items:center; text-decoration:none; white-space:nowrap; }
.pdp-sell-btn:hover { background:var(--dark); color:#fff; }

/* Trust strip */
.pdp-trust { display:flex; flex-wrap:wrap; gap:12px; margin:20px 0; padding:16px 0; border-top:1px solid var(--border); }
.pdp-trust-item { display:flex; align-items:center; gap:6px; font-size:12px; font-weight:500; color:var(--mid); }
.pdp-trust-item span { color:var(--green); font-weight:700; }

/* Payment logos */
.pdp-payment { padding-top:16px; border-top:1px solid var(--border); }
.pdp-payment-label { font-size:11px; font-weight:500; text-transform:uppercase; letter-spacing:.5px; color:var(--grey); margin-bottom:10px; }
.pdp-payment-logos { display:flex; flex-wrap:wrap; gap:8px; }
.pdp-pay-logo { border:1px solid var(--border); border-radius:4px; padding:4px 10px; font-size:11px; font-weight:700; color:var(--mid); letter-spacing:.5px; }

/* Tabs */
.pdp-tabs { border-top:1px solid var(--border); margin-top:0; }
.pdp-tab-nav { display:flex; gap:0; border-bottom:1px solid var(--border); }
.pdp-tab-btn { background:none; border:none; border-bottom:2px solid transparent; padding:16px 24px; font-family:Poppins,sans-serif; font-size:14px; font-weight:600; color:var(--grey); cursor:pointer; transition:var(--transition); margin-bottom:-1px; }
.pdp-tab-btn.active { color:var(--dark); border-bottom-color:var(--red); }
.pdp-tab-content { padding:28px 0; }
.pdp-desc { font-size:14px; line-height:1.8; color:var(--mid); max-width:680px; }
.pdp-desc ul { padding-left:20px; margin-top:8px; }
.pdp-desc ul li { margin-bottom:4px; }

/* Grade guide tab */
.pdp-grade-guide { display:flex; flex-direction:column; gap:20px; max-width:640px; }
.pdp-gg-row { display:flex; align-items:flex-start; gap:16px; }
.pdp-gg-badge { width:40px; height:40px; border-radius:50%; color:#fff; font-size:18px; font-weight:700; display:flex; align-items:center; justify-content:center; flex-shrink:0; }
.pdp-gg-row div strong { display:block; font-size:15px; font-weight:700; margin-bottom:4px; }
.pdp-gg-row div p { font-size:14px; color:var(--mid); line-height:1.6; margin:0; }

/* Responsive */
@media(max-width:900px) {
  .pdp-wrapper { grid-template-columns:1fr; }
  .pdp-gallery { padding-right:0; margin-bottom:24px; }
  .pdp-gallery-main { height:320px; }
  .pdp-detail { padding-left:0; }
  .pdp-title { font-size:22px; }
  .pdp-price-main { font-size:32px; }
}
@media(max-width:480px) {
  .pdp-actions { flex-direction:column; }
  .pdp-add-btn, .pdp-sell-btn { width:100%; justify-content:center; }
}
/* ===========================
   CeX-STYLE PRODUCT PAGE
   =========================== */
.cex-pdp { background:#fff; }
.cex-pdp-wrap { max-width:1280px; margin:0 auto; padding:0 20px 64px; }

/* Breadcrumb */
.cex-bc { display:flex; align-items:center; flex-wrap:wrap; gap:6px; font-size:12px; font-weight:500; padding:16px 0 20px; color:var(--grey); }
.cex-bc a { color:var(--mid); }
.cex-bc a:hover { color:var(--red); text-decoration:underline; }
.cex-bc span { color:var(--grey); }

/* Product grid: left=image, right=info, same widths */
.cex-pdp-grid { display:grid; grid-template-columns:1fr 1fr; gap:0; align-items:start; margin-bottom:48px; }

/* Image column */
.cex-pdp-img-col { padding-right:40px; }
.cex-pdp-img-box { background:#fff; border:1px solid #f0f0f0; border-radius:12px; width:100%; height:580px; display:flex; align-items:center; justify-content:center; overflow:hidden; }
.cex-pdp-img-box img { max-width:85%; max-height:85%; object-fit:contain; width:auto; height:auto; display:block; }

/* Info column */
.cex-pdp-info-col { padding-left:8px; }

/* Subtitle (category name small) */
.cex-pdp-subtitle { font-size:14px; font-weight:400; color:var(--mid); margin-bottom:8px; }

/* Title: big and bold like CeX */
.cex-pdp-title { font-size:32px; font-weight:700; line-height:1.2; color:var(--black); margin-bottom:16px; }
@media(min-width:1100px) { .cex-pdp-title { font-size:38px; } }

/* Grade badge */
.cex-pdp-grade { display:flex; align-items:center; gap:10px; margin-bottom:20px; }
.cex-grade-circle { width:28px; height:28px; border-radius:50%; color:#fff; font-size:13px; font-weight:700; display:flex; align-items:center; justify-content:center; flex-shrink:0; }
.cex-grade-label { font-size:14px; font-weight:500; color:var(--mid); }

/* Prices */
.cex-pdp-prices { margin-bottom:20px; }
.cex-pdp-main-price { font-size:44px; font-weight:700; color:var(--black); line-height:1; margin-bottom:10px; }
.cex-pdp-trade-rows { display:flex; flex-direction:column; gap:4px; }
.cex-pdp-trade-row { display:flex; align-items:center; gap:10px; font-size:14px; }
.cex-trade-amount { font-weight:700; color:var(--black); }
.cex-trade-label { color:var(--red); font-weight:500; }

/* Meta: stock/delivery/warranty */
.cex-pdp-meta { display:flex; flex-direction:column; gap:10px; margin-bottom:24px; padding:20px 0; border-top:1px solid var(--border); border-bottom:1px solid var(--border); }
.cex-pdp-meta-item { display:flex; align-items:center; gap:10px; font-size:14px; font-weight:500; color:var(--dark); }
.cex-pdp-meta-item svg { color:var(--dark); flex-shrink:0; }

/* Section heading */
.cex-pdp-section { margin-bottom:20px; }
.cex-pdp-section-hd { font-size:14px; font-weight:600; color:var(--dark); margin-bottom:10px; display:flex; align-items:center; gap:8px; }
.cex-grade-guide-link { font-size:12px; font-weight:400; color:var(--red); }

/* Storage option pills */
.cex-pdp-opts { display:flex; flex-wrap:wrap; gap:8px; }
.cex-opt-btn { border:1.5px solid var(--border); border-radius:6px; background:#fff; padding:9px 18px; font-family:Poppins,sans-serif; font-size:13px; font-weight:600; color:var(--dark); cursor:pointer; transition:all .15s ease; }
.cex-opt-btn:hover { border-color:var(--dark); }
.cex-opt-btn.active { border-color:var(--black); background:var(--black); color:#fff; }

/* Condition option rows */
.cex-pdp-condition-opts { display:flex; flex-direction:column; gap:8px; }
.cex-cond-btn { display:flex; align-items:center; gap:14px; border:1.5px solid var(--border); border-radius:8px; background:#fff; padding:13px 16px; cursor:pointer; transition:all .15s ease; text-align:left; font-family:Poppins,sans-serif; width:100%; }
.cex-cond-btn:hover { border-color:var(--mid); }
.cex-cond-btn.active { border-color:var(--black); box-shadow:inset 0 0 0 1px var(--black); }
.cex-cond-circle { width:32px; height:32px; border-radius:50%; color:#fff; font-size:14px; font-weight:700; display:flex; align-items:center; justify-content:center; flex-shrink:0; }
.cex-cond-info { display:flex; flex-direction:column; gap:2px; }
.cex-cond-name { font-size:14px; font-weight:600; color:var(--dark); line-height:1.3; }
.cex-cond-price { font-size:13px; color:var(--mid); font-weight:400; }

/* Actions: qty + add to basket */
.cex-pdp-actions { display:flex; align-items:center; gap:12px; margin:24px 0 16px; }
.cex-pdp-qty { display:flex; align-items:center; border:1.5px solid var(--border); border-radius:50px; overflow:hidden; height:52px; flex-shrink:0; }
.cex-qty-btn { width:44px; height:52px; background:none; border:none; font-size:22px; cursor:pointer; color:var(--dark); display:flex; align-items:center; justify-content:center; transition:background .15s; }
.cex-qty-btn:hover { background:var(--light-grey); }
.cex-qty-input { width:44px; height:52px; border:none; border-left:1.5px solid var(--border); border-right:1.5px solid var(--border); outline:none; text-align:center; font-family:Poppins,sans-serif; font-size:16px; font-weight:600; background:transparent; }
.cex-qty-input::-webkit-inner-spin-button,.cex-qty-input::-webkit-outer-spin-button { -webkit-appearance:none; margin:0; }
.cex-add-btn { flex:1; height:52px; background:var(--red); border:none; border-radius:50px; color:#fff; font-family:Poppins,sans-serif; font-size:16px; font-weight:600; cursor:pointer; transition:background .15s; display:flex; align-items:center; justify-content:center; gap:10px; }
.cex-add-btn:hover { background:var(--red-dark); }
.cex-add-btn.added { background:var(--green); }
.cex-add-btn:disabled { opacity:.6; cursor:not-allowed; }

/* Trade-in CTA */
.cex-pdp-tradein { font-size:14px; color:var(--mid); line-height:1.6; margin-bottom:24px; }
.cex-pdp-tradein strong { color:var(--dark); }
.cex-tradein-link { display:inline-block; margin-left:8px; background:var(--black); color:#fff; border-radius:50px; padding:4px 14px; font-size:13px; font-weight:600; text-decoration:none; transition:background .15s; }
.cex-tradein-link:hover { background:var(--red); }

/* Tabs */
.cex-pdp-tabs { border-top:1px solid var(--border); margin-top:0; }
.cex-pdp-tab-nav { display:flex; border-bottom:1px solid var(--border); }
.cex-tab-btn { background:none; border:none; border-bottom:2px solid transparent; padding:16px 24px; font-family:Poppins,sans-serif; font-size:14px; font-weight:600; color:var(--grey); cursor:pointer; margin-bottom:-1px; transition:all .15s; }
.cex-tab-btn.active { color:var(--black); border-bottom-color:var(--red); }
.cex-tab-pane { padding:28px 0; display:none; }
.cex-tab-pane.active { display:block; }
.cex-pdp-desc { font-size:14px; line-height:1.8; color:var(--mid); max-width:700px; }
.cex-pdp-desc ul { padding-left:20px; margin-top:8px; }
.cex-pdp-desc ul li { margin-bottom:4px; }

/* Condition guide tab */
.cex-grade-guide-list { display:flex; flex-direction:column; gap:20px; max-width:640px; }
.cex-gg-row { display:flex; align-items:flex-start; gap:16px; }
.cex-gg-row div strong { display:block; font-size:15px; font-weight:700; margin-bottom:4px; }
.cex-gg-row div p { font-size:14px; color:var(--mid); line-height:1.6; margin:0; }

/* Responsive */
@media(max-width:960px) {
  .cex-pdp-grid { grid-template-columns:1fr; }
  .cex-pdp-img-col { padding-right:0; margin-bottom:28px; }
  .cex-pdp-img-box { height:320px; }
  .cex-pdp-title { font-size:24px; }
  .cex-pdp-main-price { font-size:36px; }
}
@media(max-width:480px) {
  .cex-pdp-actions { flex-direction:column; }
  .cex-add-btn, .cex-pdp-qty { width:100%; justify-content:center; }
}
/* ===========================
   GRADE PILLS (horizontal like CeX)
   =========================== */
.cex-grade-pills { display:flex; flex-wrap:wrap; gap:8px; margin-bottom:10px; }
.cex-grade-pill { display:flex; align-items:center; gap:8px; border:1.5px solid var(--border); border-radius:50px; background:#fff; padding:7px 16px 7px 8px; cursor:pointer; transition:all .15s ease; font-family:Poppins,sans-serif; }
.cex-grade-pill:hover { border-color:var(--mid); }
.cex-grade-pill.active { border-color:var(--black); background:#f8f8f8; box-shadow:inset 0 0 0 1px var(--black); }
.cex-grade-pill-letter { width:26px; height:26px; border-radius:50%; color:#fff; font-size:13px; font-weight:700; display:flex; align-items:center; justify-content:center; flex-shrink:0; }
.cex-grade-pill-name { font-size:13px; font-weight:600; color:var(--dark); white-space:nowrap; }
.cex-grade-price-row { display:flex; align-items:center; gap:8px; font-size:13px; color:var(--mid); margin-top:6px; }
.cex-grade-price-label { font-weight:500; }
.cex-grade-selected-price { font-weight:700; color:var(--dark); font-size:14px; }

/* ===========================
   SPECS TABLE
   =========================== */
.cex-specs-table { width:100%; border-collapse:collapse; font-size:14px; }
.cex-specs-table tr { border-bottom:1px solid var(--border); }
.cex-specs-table td { padding:10px 16px; vertical-align:top; }
.cex-specs-table td:first-child { font-weight:600; color:var(--dark); width:140px; background:var(--light-grey); }
.cex-specs-table td:last-child { color:var(--mid); }

/* ===========================
   RECOMMENDED PRODUCTS
   =========================== */
.cex-recommended { padding:40px 0; border-top:1px solid var(--border); margin-top:0; }
.cex-recommended h2 { font-size:22px; font-weight:700; margin-bottom:24px; }
.cex-recommended-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:16px; }
@media(max-width:900px) { .cex-recommended-grid { grid-template-columns:repeat(2,1fr); } }
@media(max-width:480px) { .cex-recommended-grid { grid-template-columns:repeat(2,1fr); gap:10px; } }
/* ===========================
   INFO / STATIC PAGES
   =========================== */
.astar-info-page { padding-bottom:80px; }
.astar-info-hero { text-align:center; padding:56px 20px 48px; max-width:720px; margin:0 auto; }
.astar-info-hero h1 { font-size:42px; font-weight:800; margin-bottom:14px; }
.astar-info-hero p { font-size:16px; color:var(--mid); line-height:1.7; }

/* Grade Guide */
.astar-grade-guide-cards { display:grid; grid-template-columns:repeat(3,1fr); gap:24px; margin-bottom:64px; }
.astar-gg-card { border-radius:var(--radius-lg); border:2px solid var(--border); overflow:hidden; background:var(--white); }
.astar-gg-a { border-top:4px solid #187700; }
.astar-gg-b { border-top:4px solid #0066cc; }
.astar-gg-c { border-top:4px solid #e07000; }
.astar-gg-card-header { display:flex; align-items:center; gap:16px; padding:24px 24px 20px; }
.astar-gg-badge { width:48px; height:48px; border-radius:50%; color:#fff; font-size:22px; font-weight:800; display:flex; align-items:center; justify-content:center; flex-shrink:0; }
.astar-gg-card-header h2 { font-size:20px; font-weight:700; margin-bottom:4px; }
.astar-gg-subtitle { font-size:13px; color:var(--grey); margin:0; }
.astar-gg-card-body { padding:0 24px 24px; }
.astar-gg-checklist { display:flex; flex-direction:column; gap:8px; margin-bottom:20px; }
.astar-gg-check { font-size:14px; line-height:1.5; display:flex; align-items:flex-start; gap:8px; }
.astar-gg-yes { color:var(--dark); }
.astar-gg-ideal { font-size:13px; color:var(--mid); background:var(--light-grey); border-radius:var(--radius); padding:12px 14px; margin:0; line-height:1.6; }

/* Grade Guide Promise */
.astar-gg-promise { background:var(--dark); color:var(--white); border-radius:var(--radius-lg); padding:56px 48px; margin-bottom:48px; }
.astar-gg-promise h2 { font-size:32px; font-weight:800; text-align:center; margin-bottom:36px; }
.astar-gg-promise-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:32px; }
.astar-gg-promise-item { text-align:center; }
.astar-gg-promise-icon { font-size:40px; display:block; margin-bottom:12px; }
.astar-gg-promise-item h3 { font-size:16px; font-weight:700; margin-bottom:8px; }
.astar-gg-promise-item p { font-size:13px; color:#ccc; line-height:1.6; }
.astar-gg-cta { text-align:center; padding:40px 0; }
.astar-gg-cta h2 { font-size:28px; font-weight:800; margin-bottom:12px; }
.astar-gg-cta p { font-size:16px; color:var(--mid); margin-bottom:24px; }

/* Contact */
.astar-contact-grid { display:grid; grid-template-columns:1fr 1.4fr; gap:48px; }
.astar-contact-info { display:flex; flex-direction:column; gap:20px; }
.astar-contact-card { background:var(--white); border:1px solid var(--border); border-radius:var(--radius-lg); padding:24px; }
.astar-contact-card-icon { font-size:32px; margin-bottom:12px; }
.astar-contact-card h3 { font-size:16px; font-weight:700; margin-bottom:8px; }
.astar-contact-card p { font-size:14px; color:var(--mid); line-height:1.7; margin:0 0 6px; }
.astar-contact-card a { color:var(--red); font-weight:600; }
.astar-contact-link { font-size:13px; font-weight:600; color:var(--red); }
.astar-contact-hours { font-size:13px; color:var(--grey); }
.astar-hours-table { display:flex; flex-direction:column; gap:6px; }
.astar-hours-row { display:flex; justify-content:space-between; font-size:13px; color:var(--mid); padding:4px 0; border-bottom:1px solid var(--border); }
.astar-hours-row:last-child { border-bottom:none; }
.astar-contact-form-wrap { background:var(--white); border:1px solid var(--border); border-radius:var(--radius-lg); padding:32px; }
.astar-contact-form-wrap h2 { font-size:22px; font-weight:700; margin-bottom:20px; }
.astar-contact-submit { width:100%; padding:16px; font-size:15px; margin-top:8px; border-radius:var(--radius); }

/* How It Works */
.astar-hiw-section { background:var(--white); border:1px solid var(--border); border-radius:var(--radius-lg); padding:40px; margin-bottom:32px; }
.astar-hiw-section h2 { font-size:24px; font-weight:800; margin-bottom:28px; padding-bottom:16px; border-bottom:1px solid var(--border); }
.astar-hiw-steps { display:flex; flex-direction:column; gap:0; margin-bottom:28px; }
.astar-hiw-step { display:flex; align-items:flex-start; gap:20px; padding:20px 0; border-bottom:1px solid var(--border); }
.astar-hiw-step:last-child { border-bottom:none; }
.astar-hiw-num { width:40px; height:40px; background:var(--red); color:#fff; border-radius:50%; font-size:18px; font-weight:800; display:flex; align-items:center; justify-content:center; flex-shrink:0; }
.astar-hiw-content h3 { font-size:17px; font-weight:700; margin-bottom:6px; }
.astar-hiw-content p { font-size:14px; color:var(--mid); line-height:1.7; margin:0; }

/* Track Order */
.astar-track-wrap { max-width:600px; margin:0 auto; }
.astar-track-wrap .woocommerce { background:var(--white); border:1px solid var(--border); border-radius:var(--radius-lg); padding:32px; margin-bottom:24px; }
.astar-track-help { background:var(--light-grey); border-radius:var(--radius-lg); padding:24px; text-align:center; font-size:14px; color:var(--mid); }
.astar-track-help h3 { font-size:16px; font-weight:700; margin-bottom:8px; color:var(--dark); }
.astar-track-help a { color:var(--red); font-weight:600; }

/* FAQ */
.astar-faq-list { max-width:860px; margin:0 auto; }
.astar-faq-section { margin-bottom:48px; }
.astar-faq-section h2 { font-size:22px; font-weight:800; margin-bottom:16px; padding-bottom:12px; border-bottom:2px solid var(--red); display:inline-block; }
.astar-faq-item { border:1px solid var(--border); border-radius:var(--radius); overflow:hidden; margin-bottom:8px; }
.astar-faq-q { width:100%; background:var(--white); border:none; padding:18px 20px; font-family:Poppins,sans-serif; font-size:15px; font-weight:600; color:var(--dark); cursor:pointer; display:flex; justify-content:space-between; align-items:center; text-align:left; transition:var(--transition); }
.astar-faq-q:hover { background:var(--light-grey); }
.astar-faq-icon { font-size:20px; color:var(--red); flex-shrink:0; margin-left:16px; transition:transform .2s; }
.astar-faq-a { display:none; padding:0 20px 18px; font-size:14px; color:var(--mid); line-height:1.8; background:var(--white); }
.astar-faq-a p { margin:0; }
.astar-faq-a a { color:var(--red); font-weight:600; }
.astar-faq-item.open .astar-faq-a { display:block; }
.astar-faq-item.open .astar-faq-icon { transform:rotate(45deg); }
.astar-faq-cta { text-align:center; padding:32px 0; font-size:15px; color:var(--mid); }
.astar-faq-cta a { color:var(--red); font-weight:600; }

/* Legal pages */
.astar-legal-content { max-width:800px; margin:0 auto; }
.astar-legal-content h2 { font-size:20px; font-weight:700; margin:32px 0 12px; padding-top:16px; border-top:1px solid var(--border); }
.astar-legal-content h2:first-child { border-top:none; padding-top:0; margin-top:0; }
.astar-legal-content h3 { font-size:16px; font-weight:700; margin:20px 0 8px; }
.astar-legal-content p { font-size:14px; color:var(--mid); line-height:1.8; margin-bottom:12px; }
.astar-legal-content ul, .astar-legal-content ol { font-size:14px; color:var(--mid); line-height:1.8; padding-left:24px; margin-bottom:12px; }
.astar-legal-content li { margin-bottom:6px; }
.astar-legal-content a { color:var(--red); font-weight:600; }

/* Responsive */
@media(max-width:1024px) { .astar-grade-guide-cards { grid-template-columns:1fr; } .astar-gg-promise-grid { grid-template-columns:repeat(2,1fr); } }
@media(max-width:768px) { .astar-contact-grid { grid-template-columns:1fr; } .astar-info-hero h1 { font-size:30px; } }
/* === SEARCH BUTTON OVERRIDE - grey icon, no red === */
.astar-search-btn {
  background: none !important;
  border: none !important;
  padding: 10px 16px !important;
  cursor: pointer !important;
  display: flex !important;
  align-items: center !important;
  color: #666 !important;
  transition: color .15s !important;
  border-radius: 0 !important;
}
.astar-search-btn:hover { color: #0d0d0d !important; background: none !important; }
.astar-search-btn svg { width:20px; height:20px; }

/* === NAV CENTRED OVERRIDE === */
.astar-nav-inner {
  justify-content: center !important;
}
/* ============================================
   HEADER FULL OVERRIDE — ALL RED LIKE CEX
   ============================================ */

.astar-header {
  background: #7c3aed;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: none;
}

/* Top row */
.astar-header-top {
  background: #7c3aed;
}
.astar-header-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: 1280px;
  margin: 0 auto;
  padding: 12px 20px;
}

/* Left: hamburger + logo */
.astar-header-left {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

/* Hamburger */
.astar-mob-toggle {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px 8px;
  color: #fff;
}
.astar-mob-toggle span:not(.astar-mob-label) {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
}
.astar-mob-label {
  font-family: Poppins, sans-serif;
  font-size: 11px;
  font-weight: 500;
  color: #fff;
  line-height: 1;
}

/* Logo */
.astar-logo {
  text-decoration: none;
}
.astar-logo-text {
  font-family: Poppins, sans-serif;
  font-size: 26px;
  font-weight: 900;
  color: #fff;
  letter-spacing: -1px;
}
/* Override old split logo colours */
.astar-logo-a, .astar-logo-star { color: #fff !important; }

/* Search — white pill on red */
.astar-search {
  flex: 1;
  display: flex;
  align-items: center;
  background: #fff;
  border: none !important;
  border-radius: 50px;
  overflow: hidden;
  max-width: 700px;
  box-shadow: none !important;
}
.astar-search:focus-within { border: none !important; }
.astar-search-input {
  flex: 1;
  border: none;
  outline: none;
  padding: 12px 20px;
  font-family: Poppins, sans-serif;
  font-size: 15px;
  background: transparent;
  color: #0d0d0d;
}
.astar-search-input::placeholder { color: #888; }
.astar-search-btn {
  background: none !important;
  border: none !important;
  padding: 10px 16px !important;
  cursor: pointer;
  display: flex;
  align-items: center;
  color: #555 !important;
  transition: color .15s;
}
.astar-search-btn:hover { color: #000 !important; }

/* Right icons — white on red */
.astar-header-right {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
  margin-left: auto;
}
.astar-hdr-icon {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 6px 14px;
  border-radius: 8px;
  text-decoration: none;
  color: #fff !important;
  font-family: Poppins, sans-serif;
  font-size: 12px;
  font-weight: 400;
  transition: background .15s;
  cursor: pointer;
}
.astar-hdr-icon:hover { background: rgba(0,0,0,.15); }
.astar-hdr-icon svg { color: #fff; }

/* Cart count badge */
.astar-basket-wrap { position: relative; }
.astar-cart-count {
  position: absolute;
  top: -7px;
  right: -8px;
  background: #fff;
  color: #7c3aed;
  border-radius: 50%;
  width: 18px;
  height: 18px;
  font-size: 10px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Sell to Us — white button on red */
.astar-sell-cta {
  background: #fff;
  border: 2px solid #fff;
  border-radius: 50px;
  padding: 10px 22px;
  font-family: Poppins, sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: #0d0d0d !important;
  text-decoration: none;
  transition: all .15s;
  white-space: nowrap;
  margin-left: 8px;
}
.astar-sell-cta:hover { background: #f0f0f0; border-color: #f0f0f0; }

/* Nav row — darker red strip */
.astar-nav {
  background: #7c3aed;
  border-top: 1px solid rgba(0,0,0,.1);
}
.astar-nav-inner {
  display: flex !important;
  align-items: center;
  justify-content: center !important;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
}
.astar-nav-link {
  color: #fff !important;
  font-family: Poppins, sans-serif;
  font-size: 14px;
  font-weight: 400 !important;
  padding: 12px 20px;
  text-decoration: none;
  display: block;
  white-space: nowrap;
  transition: background .15s;
}
.astar-nav-link:hover { background: rgba(0,0,0,.15); }
.astar-nav-link.active { background: rgba(0,0,0,.2); font-weight: 600 !important; }

/* Mobile toggle hidden on desktop */
@media(min-width: 769px) {
  .astar-mob-toggle { display: none; }
}
@media(max-width: 768px) {
  .astar-search { display: none; }
  .astar-hdr-icon span:last-child { display: none; }
  .astar-nav { display: none; }
  .astar-nav.open { display: block; }
  .astar-nav-inner { flex-direction: column; padding: 8px 0; }
  .astar-mob-toggle { display: flex; }
}
/* ============================================
   HERO SECTION FIX — match CeX layout
   ============================================ */

/* Outer section: light grey, zero padding like CeX */
.astar-hero-section {
  background: #f2f2f2;
  padding: 0;
}

/* Grid: slider left, reviews right — same height, flush to nav */
.astar-hero-grid {
  display: grid !important;
  grid-template-columns: 1fr 320px !important;
  gap: 12px !important;
  max-width: 1280px;
  margin: 0 auto;
  padding: 12px 20px !important;
  align-items: stretch !important;
  box-sizing: border-box;
}

/* Slider — fills the grid row exactly */
.astar-slider {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  height: 340px !important;
  min-height: unset !important;
}
.astar-slides {
  height: 340px !important;
}
.astar-slide {
  display: none;
  height: 340px !important;
  min-height: unset !important;
  padding: 40px 48px;
  flex-direction: column;
  justify-content: center;
  position: relative;
}
.astar-slide.active { display: flex; }

/* Reviews card — exact same height as slider, no overflow */
.astar-reviews-card {
  background: #0d1a2e;
  border-radius: 12px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  height: 340px !important;
  overflow: hidden;
  box-sizing: border-box;
}

/* Compress reviews to fit inside 340px */
.astar-reviews-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 4px;
}
.astar-reviews-rating { color: #fff; font-size: 14px; }
.astar-reviews-count { font-size: 11px; color: #8899aa; }
.astar-reviews-stars {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-bottom: 4px;
}
.astar-star { font-size: 17px; color: #fbbc05; }
.astar-reviews-score { font-size: 13px; font-weight: 700; color: #fff; margin-left: 4px; }
.astar-reviews-source {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  color: #8899aa;
  margin-bottom: 8px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}

/* Only show 3 reviews to fit height */
.astar-reviews-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
  overflow: hidden;
}
.astar-review-item {
  background: rgba(255,255,255,.06);
  border-radius: 7px;
  padding: 8px 10px;
  flex-shrink: 0;
}
/* Hide 4th and 5th review to fit */
.astar-review-item:nth-child(n+4) { display: none; }

.astar-review-top {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}
.astar-reviewer-avatar {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #7c3aed;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.astar-reviewer-name { font-size: 12px; font-weight: 600; color: #fff; }
.astar-review-stars { font-size: 10px; color: #fbbc05; }
.astar-review-text {
  font-size: 11px;
  color: #aabbcc;
  line-height: 1.5;
  margin: 0;
  /* clamp to 2 lines */
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.astar-reviews-cta {
  display: block;
  text-align: center;
  margin-top: 8px;
  font-size: 11px;
  color: #8899aa;
  text-decoration: none;
  flex-shrink: 0;
}
.astar-reviews-cta:hover { color: #fff; }
/* ============================================
   FONT MATCH — CEX EXACT SPEC
   Poppins, -0.3px letter-spacing throughout
   ============================================ */

* {
  letter-spacing: -0.3px;
}

html, body {
  font-family: Poppins, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.25;
  letter-spacing: -0.3px;
}

/* Nav links: 16px 400 */
.astar-nav-link {
  font-family: Poppins, sans-serif !important;
  font-size: 16px !important;
  font-weight: 400 !important;
  letter-spacing: -0.3px !important;
}

/* Header icons (Sign in / Basket): 16px 600 for Sign in */
.astar-hdr-icon {
  font-family: Poppins, sans-serif !important;
  font-size: 16px !important;
  letter-spacing: -0.3px !important;
}
.astar-hdr-icon:first-child { font-weight: 600 !important; } /* Sign in */
.astar-hdr-icon:nth-child(2) { font-weight: 400 !important; } /* Basket */

/* Sell to Us button: 16px 600 weight, border-radius 200px, padding 11px 24px */
.astar-sell-cta {
  font-family: Poppins, sans-serif !important;
  font-size: 16px !important;
  font-weight: 600 !important;
  border-radius: 200px !important;
  padding: 11px 24px !important;
  letter-spacing: -0.3px !important;
}

/* Search input: 16px 400 */
.astar-search-input {
  font-family: Poppins, sans-serif !important;
  font-size: 16px !important;
  font-weight: 400 !important;
  letter-spacing: -0.3px !important;
}

/* h1: 40px 600 */
h1 {
  font-family: Poppins, sans-serif;
  font-size: 40px;
  font-weight: 600;
  line-height: 48px;
  letter-spacing: -0.3px;
}

/* h2: 22px 600 */
h2 {
  font-family: Poppins, sans-serif;
  font-size: 22px;
  font-weight: 600;
  line-height: 28px;
  letter-spacing: -0.3px;
}

/* h3: keep reasonable */
h3 {
  font-family: Poppins, sans-serif;
  font-weight: 600;
  letter-spacing: -0.3px;
}

/* Slide headline matches h1 spec */
.astar-slide-content h2 {
  font-size: 40px !important;
  font-weight: 600 !important;
  line-height: 1.2 !important;
  letter-spacing: -0.3px !important;
}

/* Recommended heading */
.astar-rec-wrap h2 {
  font-size: 22px !important;
  font-weight: 600 !important;
  letter-spacing: -0.3px !important;
}

/* Product card titles */
.astar-rec-info h3, .astar-product-title {
  font-size: 14px;
  font-weight: 400;
  letter-spacing: -0.3px;
}

/* Price: 16px 400 like CeX */
.astar-rec-buy, .cex-pdp-main-price {
  letter-spacing: -0.3px;
}
/* Logo image */
.astar-logo-img {
  display: block;
  width: 76px;
  height: 56px;
  object-fit: contain;
}
/* Logo size fix - match CeX proportions */
.astar-logo-img {
  display: block !important;
  width: auto !important;
  height: 44px !important;
  object-fit: contain !important;
}
/* ============================================
   PRODUCT ROW SLIDERS - CEX STYLE
   ============================================ */
.astar-home-products {
  background: #f2f2f2;
  padding: 8px 0 40px;
}
.astar-prow-wrap {
  max-width: 1280px;
  margin: 0 auto;
  padding: 28px 20px 0;
}
.astar-prow-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}
.astar-prow-header h2 {
  font-size: 22px !important;
  font-weight: 600 !important;
  color: #0d0d0d;
  margin: 0;
}
.astar-prow-nav {
  display: flex;
  gap: 8px;
}
.astar-prow-prev, .astar-prow-next {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: #0d0d0d;
  color: #fff;
  font-size: 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .15s;
  flex-shrink: 0;
}
.astar-prow-prev:hover, .astar-prow-next:hover { background: #7c3aed; }
.astar-prow-prev:disabled, .astar-prow-next:disabled { background: #ccc; cursor: default; }

/* The scrollable row */
.astar-prow {
  display: flex;
  gap: 12px;
  overflow: hidden;
  scroll-behavior: smooth;
}

/* Product card - matches CeX */
.astar-pcard {
  background: #fff;
  border-radius: 10px;
  border: 1px solid #e8e8e8;
  flex: 0 0 calc(20% - 10px);
  min-width: 200px;
  position: relative;
  transition: box-shadow .15s;
  overflow: hidden;
}
.astar-pcard:hover { box-shadow: 0 4px 20px rgba(0,0,0,.1); }
.astar-pcard > a {
  display: block;
  text-decoration: none;
  color: inherit;
  padding-bottom: 12px;
}
.astar-pcard-img {
  aspect-ratio: 1;
  background: #f8f8f8;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  overflow: hidden;
}
.astar-pcard-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.astar-pcard-body {
  padding: 10px 12px 4px;
}
.astar-pcard-cat {
  font-size: 12px;
  color: #666;
  margin-bottom: 4px;
  font-weight: 400;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.astar-pcard-title {
  font-size: 14px;
  font-weight: 600;
  color: #0d0d0d;
  line-height: 1.35;
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.astar-pcard-price {
  font-size: 18px;
  font-weight: 700;
  color: #0d0d0d;
  letter-spacing: -0.3px;
}

/* Red basket button - bottom right like CeX */
.astar-pcard-basket {
  position: absolute;
  bottom: 12px;
  right: 12px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #7c3aed;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: background .15s;
  z-index: 2;
}
.astar-pcard-basket:hover { background: #5b21b6; }

/* Remove old rec grid */
.astar-rec-grid, .astar-recommended { display: none !important; }
/* === PRODUCT CARD BASKET BUTTON FIX === */
.astar-pcard-basket {
  position: absolute !important;
  bottom: 10px !important;
  right: 10px !important;
  width: 36px !important;
  height: 36px !important;
  min-width: 36px !important;
  min-height: 36px !important;
  border-radius: 50% !important;
  background: #7c3aed !important;
  color: #fff !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-decoration: none !important;
  z-index: 2 !important;
  padding: 0 !important;
  border: none !important;
  flex-shrink: 0 !important;
}
.astar-pcard-basket svg {
  width: 16px !important;
  height: 16px !important;
  display: block !important;
  flex-shrink: 0 !important;
  stroke: #fff !important;
}
.astar-pcard-basket:hover { background: #5b21b6 !important; }

/* Ensure card body has enough padding-bottom so button doesn't overlap price */
.astar-pcard > a {
  padding-bottom: 50px !important;
}
.astar-pcard-price {
  margin-bottom: 0 !important;
}
/* === PRODUCT CARD FULL FIX === */

/* Card: no overflow hidden so button shows */
.astar-pcard {
  overflow: visible !important;
  position: relative !important;
}
/* Image area clips itself */
.astar-pcard-img {
  border-radius: 10px 10px 0 0;
  overflow: hidden !important;
}
/* Body area */
.astar-pcard-body {
  padding: 10px 12px 44px !important;
}
/* Basket button: correct size, proper icon */
.astar-pcard-basket {
  position: absolute !important;
  bottom: 10px !important;
  right: 10px !important;
  width: 36px !important;
  height: 36px !important;
  border-radius: 50% !important;
  background: #7c3aed !important;
  color: #fff !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-decoration: none !important;
  z-index: 3 !important;
  padding: 0 !important;
  border: none !important;
  box-shadow: 0 2px 8px rgba(226,10,3,.4) !important;
}
.astar-pcard-basket svg {
  width: 16px !important;
  height: 16px !important;
  display: block !important;
  stroke: #fff !important;
  fill: none !important;
  flex-shrink: 0 !important;
  pointer-events: none !important;
}
.astar-pcard-basket:hover { background: #5b21b6 !important; }
/* === BASKET BUTTON FINAL FIX === */
.astar-pcard { position:relative !important; overflow:hidden !important; }
.astar-pcard > a { display:block !important; padding-bottom:0 !important; }
.astar-pcard-body { padding:10px 12px 48px !important; }
/* Kill all previous basket rules and start clean */
a.astar-pcard-basket {
  position:absolute !important;
  bottom:10px !important;
  right:10px !important;
  width:36px !important;
  height:36px !important;
  max-width:36px !important;
  max-height:36px !important;
  min-width:36px !important;
  min-height:36px !important;
  border-radius:18px !important;
  background:#7c3aed !important;
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  text-decoration:none !important;
  padding:0 !important;
  margin:0 !important;
  border:none !important;
  box-sizing:border-box !important;
  flex-direction:row !important;
  z-index:10 !important;
}
a.astar-pcard-basket svg {
  display:inline-block !important;
  width:16px !important;
  height:16px !important;
  max-width:16px !important;
  max-height:16px !important;
  flex:none !important;
}
/* Auth pages */
.astar-auth-wrap { max-width:480px; margin:0 auto; padding:40px 20px 80px; }
.astar-auth-box { background:#fff; border:1px solid var(--border); border-radius:var(--radius-lg); padding:36px; }
.astar-auth-box h1 { font-size:26px; font-weight:700; margin-bottom:6px; }
.astar-auth-sub { font-size:14px; color:var(--mid); margin-bottom:24px; }
.astar-auth-sub a { color:var(--red); font-weight:600; }
.astar-auth-errors { margin-bottom:16px; }
.astar-auth-error { background:#fff0f0; border:1px solid #ffcccc; border-radius:var(--radius); padding:10px 14px; font-size:13px; color:#c00; margin-bottom:6px; }
.astar-auth-success { text-align:center; padding:20px 0; }
.astar-auth-success-icon { width:60px; height:60px; background:#187700; border-radius:50%; color:#fff; font-size:28px; display:flex; align-items:center; justify-content:center; margin:0 auto 16px; }
.astar-auth-success h2 { font-size:22px; font-weight:700; margin-bottom:10px; }
.astar-auth-success p { font-size:14px; color:var(--mid); line-height:1.7; }
.astar-form-hint { font-size:11px; color:var(--grey); margin-top:3px; display:block; }
.astar-form-terms { margin-top:4px; }
.astar-checkbox-label { display:flex; align-items:flex-start; gap:10px; font-size:13px; color:var(--mid); cursor:pointer; }
.astar-checkbox-label input { margin-top:2px; flex-shrink:0; }
.astar-checkbox-label a { color:var(--red); font-weight:600; }
/* ============================================
   AUTH PAGE - LOGIN + REGISTER TABS
   ============================================ */
.astar-auth-page { background:#f2f2f2; min-height:70vh; }
.astar-auth-wrap { max-width:520px; margin:0 auto; padding:40px 20px 80px; }
.astar-auth-box  { background:#fff; border:1px solid #e0e0e0; border-radius:14px; padding:36px; box-shadow:0 4px 24px rgba(0,0,0,.07); }

/* Logo */
.astar-auth-logo { text-align:center; margin-bottom:20px; }

/* Tabs */
.astar-auth-tabs { display:flex; border-bottom:2px solid #e8e8e8; margin-bottom:24px; }
.astar-auth-tab  { flex:1; background:none; border:none; border-bottom:3px solid transparent; padding:12px 0; font-family:Poppins,sans-serif; font-size:15px; font-weight:600; color:#888; cursor:pointer; margin-bottom:-2px; transition:all .15s; }
.astar-auth-tab.active  { color:#7c3aed; border-bottom-color:#7c3aed; }
.astar-auth-tab:hover:not(.active) { color:#333; }

/* Panels */
.astar-auth-panel { display:none; }
.astar-auth-panel.active { display:block; }

/* Notices */
.astar-auth-notice { border-radius:8px; padding:11px 14px; font-size:13px; margin-bottom:16px; }
.astar-auth-notice-success { background:#f0faf0; border:1px solid #a8d8a8; color:#1a6e1a; }
.astar-auth-notice-error   { background:#fff0f0; border:1px solid #f0a8a8; color:#c00; }

/* Error list */
.astar-auth-errors { margin-bottom:14px; }
.astar-auth-error  { background:#fff0f0; border:1px solid #ffcccc; border-radius:7px; padding:9px 13px; font-size:13px; color:#c00; margin-bottom:5px; }

/* Form fields */
.astar-auth-form .astar-form-field { margin-bottom:14px; }
.astar-auth-form label { display:block; font-size:13px; font-weight:600; color:#333; margin-bottom:5px; }
.astar-auth-form label small { font-weight:400; color:#888; }
.astar-auth-form input[type=text],
.astar-auth-form input[type=email],
.astar-auth-form input[type=password],
.astar-auth-form input[type=number] {
  width:100%; padding:11px 14px; border:1.5px solid #d0d0d0;
  border-radius:8px; font-family:Poppins,sans-serif; font-size:14px;
  outline:none; transition:border-color .15s; box-sizing:border-box;
}
.astar-auth-form input:focus { border-color:#7c3aed; }
.astar-form-row-between { display:flex; align-items:center; justify-content:space-between; }
.astar-auth-link { font-size:13px; color:#7c3aed; font-weight:500; text-decoration:none; }
.astar-auth-link:hover { text-decoration:underline; }

/* Password show/hide */
.astar-pw-wrap { position:relative; display:flex; }
.astar-pw-wrap input { flex:1; }
.astar-pw-toggle { position:absolute; right:12px; top:50%; transform:translateY(-50%); background:none; border:none; font-size:12px; color:#888; cursor:pointer; font-family:Poppins,sans-serif; padding:0; }
.astar-pw-toggle:hover { color:#7c3aed; }

/* Submit button */
.astar-auth-submit { width:100%; padding:13px; background:#7c3aed; color:#fff; border:none; border-radius:50px; font-family:Poppins,sans-serif; font-size:16px; font-weight:600; cursor:pointer; margin-top:8px; transition:background .15s; letter-spacing:-0.3px; }
.astar-auth-submit:hover { background:#5b21b6; }

/* Success state */
.astar-auth-success { text-align:center; padding:12px 0; }
.astar-auth-success-icon { width:56px; height:56px; background:#187700; border-radius:50%; color:#fff; font-size:26px; display:flex; align-items:center; justify-content:center; margin:0 auto 14px; }
.astar-auth-success h3 { font-size:20px; font-weight:700; margin-bottom:8px; }
.astar-auth-success p  { font-size:13px; color:#666; line-height:1.7; }
/* ============================================
   MOBILE RESPONSIVE - FULL REWRITE
   Match CeX mobile layout
   ============================================ */

@media(max-width: 768px) {

  /* ---- HEADER ---- */
  .astar-header { position: sticky; top: 0; z-index: 1000; }

  .astar-header-inner {
    padding: 10px 14px;
    gap: 10px;
    flex-wrap: nowrap;
  }

  /* Show hamburger on mobile */
  .astar-mob-toggle {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px 6px;
    color: #fff;
    flex-shrink: 0;
    order: 1;
  }
  .astar-mob-toggle span:not(.astar-mob-label) {
    display: block !important;
    width: 20px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
  }
  .astar-mob-label {
    font-size: 10px;
    font-weight: 500;
    color: #fff;
    line-height: 1;
  }

  /* Logo smaller */
  .astar-logo { order: 2; flex-shrink: 0; }
  .astar-logo-img {
    width: 56px !important;
    height: auto !important;
  }

  /* Search - takes remaining space */
  .astar-search {
    display: flex !important;
    order: 3;
    flex: 1;
    min-width: 0;
    max-width: none;
  }
  .astar-search-input {
    font-size: 13px !important;
    padding: 9px 10px !important;
  }
  .astar-search-btn { padding: 8px 10px !important; }

  /* Hide Sign in / Register / Basket text labels, keep icons */
  .astar-header-right {
    order: 4;
    flex-shrink: 0;
    gap: 0;
    margin-left: 0;
  }
  .astar-hdr-icon {
    padding: 4px 8px !important;
  }
  .astar-hdr-icon span:last-child { display: none !important; }
  .astar-sell-cta { display: none !important; }

  /* ---- NAV ---- */
  /* Mobile: horizontal scrollable strip like CeX */
  .astar-nav { display: block !important; overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .astar-nav-inner {
    display: flex !important;
    justify-content: flex-start !important;
    padding: 0 14px !important;
    gap: 0;
    width: max-content;
    min-width: 100%;
  }
  .astar-nav-link {
    padding: 10px 16px !important;
    font-size: 14px !important;
    white-space: nowrap;
  }

  /* Mobile nav drawer (hamburger) */
  .astar-nav-drawer {
    position: fixed;
    top: 0; left: 0;
    width: 80vw;
    max-width: 320px;
    height: 100vh;
    background: #fff;
    z-index: 9999;
    transform: translateX(-100%);
    transition: transform .3s ease;
    overflow-y: auto;
    box-shadow: 4px 0 20px rgba(0,0,0,.2);
    padding: 0;
  }
  .astar-nav-drawer.open { transform: translateX(0); }
  .astar-nav-drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 20px;
    border-bottom: 1px solid #eee;
    font-size: 18px;
    font-weight: 700;
    color: #0d0d0d;
  }
  .astar-nav-drawer-close {
    background: none;
    border: none;
    font-size: 22px;
    cursor: pointer;
    color: #666;
    padding: 0;
  }
  .astar-nav-drawer-links a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid #f0f0f0;
    color: #0d0d0d;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
  }
  .astar-nav-drawer-links a:hover { background: #fafafa; }
  .astar-nav-drawer-links a::after { content: "›"; color: #999; font-size: 20px; }
  .astar-drawer-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.5);
    z-index: 9998;
    display: none;
  }
  .astar-drawer-overlay.open { display: block; }

  /* ---- HERO ---- */
  .astar-hero-section { padding: 0; }
  .astar-hero-grid {
    display: block !important;
    padding: 10px 10px 0 !important;
  }

  /* Slider full width, shorter on mobile */
  .astar-slider {
    height: 220px !important;
    border-radius: 10px;
    margin-bottom: 10px;
  }
  .astar-slides { height: 220px !important; }
  .astar-slide {
    height: 220px !important;
    padding: 24px 24px !important;
  }
  .astar-slide-content h2 {
    font-size: 22px !important;
    line-height: 1.2 !important;
    margin-bottom: 8px !important;
  }
  .astar-slide-content p { display: none; }
  .astar-slide-btn {
    font-size: 13px !important;
    padding: 9px 20px !important;
  }
  .astar-slide-badge { font-size: 10px !important; margin-bottom: 10px !important; }
  .astar-slide-prev { left: 8px !important; width: 32px !important; height: 32px !important; }
  .astar-slide-next { right: 8px !important; width: 32px !important; height: 32px !important; }

  /* Reviews card - show compact on mobile */
  .astar-reviews-card {
    display: flex !important;
    height: auto !important;
    margin-bottom: 10px;
    padding: 14px 16px !important;
    flex-direction: row !important;
    align-items: center;
    gap: 12px;
    border-radius: 10px;
  }
  .astar-reviews-list { display: none !important; }
  .astar-reviews-cta { display: none !important; }
  .astar-reviews-source { display: none !important; }
  .astar-reviews-header {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 2px;
  }
  .astar-reviews-stars {
    margin-bottom: 0 !important;
  }
  .astar-reviews-rating { font-size: 13px !important; }
  .astar-reviews-count { font-size: 11px !important; }
  .astar-star { font-size: 14px !important; }
  .astar-reviews-score { font-size: 12px !important; }

  /* ---- PRODUCT ROWS ---- */
  .astar-prow-wrap { padding: 20px 10px 0 !important; }
  .astar-prow-header h2 { font-size: 17px !important; }
  .astar-pcard {
    flex: 0 0 155px !important;
    min-width: 155px !important;
  }
  .astar-pcard-title { font-size: 12px !important; }
  .astar-pcard-price { font-size: 15px !important; }
  .astar-pcard-cat { font-size: 11px !important; }
  .astar-pcard-basket {
    width: 30px !important;
    height: 30px !important;
    bottom: 8px !important;
    right: 8px !important;
  }
  .astar-pcard-basket svg { width: 13px !important; height: 13px !important; }

}

/* Very small phones */
@media(max-width: 375px) {
  .astar-pcard { flex: 0 0 140px !important; min-width: 140px !important; }
  .astar-slide-content h2 { font-size: 19px !important; }
}
/* ===========================
   DRAWER - hidden by default
   =========================== */
.astar-nav-drawer {
  position: fixed;
  top: 0; left: 0;
  width: 80vw;
  max-width: 320px;
  height: 100vh;
  background: #fff;
  z-index: 9999;
  transform: translateX(-100%);
  transition: transform .3s ease;
  overflow-y: auto;
  box-shadow: 4px 0 20px rgba(0,0,0,.2);
  padding: 0;
  /* Always hidden until JS opens it */
}
.astar-nav-drawer.open { transform: translateX(0) !important; }
.astar-drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.5);
  z-index: 9998;
  display: none !important;
}
.astar-drawer-overlay.open { display: block !important; }
.astar-nav-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  border-bottom: 1px solid #eee;
  font-size: 18px;
  font-weight: 700;
  color: #0d0d0d;
}
.astar-nav-drawer-close {
  background: none;
  border: none;
  font-size: 26px;
  cursor: pointer;
  color: #666;
  line-height: 1;
}
.astar-nav-drawer-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 20px;
  border-bottom: 1px solid #f0f0f0;
  color: #0d0d0d;
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  font-family: Poppins, sans-serif;
}
.astar-nav-drawer-links a:hover { background: #fafafa; color: #7c3aed; }
.astar-nav-drawer-links a::after { content: "\203a"; color: #bbb; font-size: 22px; }

/* Hamburger - only visible on mobile */
@media(min-width: 769px) {
  .astar-mob-toggle { display: none !important; }
}
/* ===========================
   MOBILE NAV + HEADER FINAL FIX
   =========================== */
@media(max-width: 768px) {

  /* Header - no wrapping, all on one line */
  .astar-header-inner {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    padding: 8px 10px !important;
    gap: 8px !important;
    overflow: hidden;
  }

  /* Hamburger */
  .astar-mob-toggle {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    flex-shrink: 0;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px 6px;
    color: #fff;
    order: 0;
  }
  .astar-mob-toggle span:not(.astar-mob-label) {
    display: block !important;
    width: 18px; height: 2px;
    background: #fff; border-radius: 2px;
  }
  .astar-mob-label { font-size: 9px; color: #fff; font-weight: 500; }

  /* Logo */
  .astar-header-left { order: 1; flex-shrink: 0; }
  .astar-logo-img { width: 50px !important; height: auto !important; }

  /* Search */
  .astar-search {
    display: flex !important;
    order: 2;
    flex: 1 1 auto;
    min-width: 0;
    max-width: none !important;
  }
  .astar-search-input { font-size: 13px !important; padding: 8px 10px !important; }
  .astar-search-btn { padding: 8px 10px !important; }

  /* Right icons - compact */
  .astar-header-right {
    order: 3;
    flex-shrink: 0;
    gap: 0;
    margin-left: 0;
    display: flex;
    align-items: center;
  }
  .astar-hdr-icon {
    padding: 4px 6px !important;
    gap: 0 !important;
  }
  .astar-hdr-icon span:last-child { display: none !important; }
  .astar-hdr-icon svg { width: 20px !important; height: 20px !important; }
  .astar-sell-cta { display: none !important; }
  .astar-cart-count { width: 15px !important; height: 15px !important; font-size: 9px !important; }

  /* NAV - horizontal scrollable single line like CeX */
  .astar-nav {
    display: block !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .astar-nav::-webkit-scrollbar { display: none; }
  .astar-nav-inner {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    justify-content: flex-start !important;
    align-items: center;
    padding: 0 !important;
    width: max-content;
    min-width: 100%;
  }
  .astar-nav-link {
    display: block !important;
    white-space: nowrap !important;
    padding: 10px 16px !important;
    font-size: 14px !important;
    flex-shrink: 0;
  }
}
/* ===========================
   PRODUCT ROW - NATIVE SCROLL
   Touch/swipe enabled
   =========================== */
.astar-prow {
  display: flex !important;
  gap: 12px !important;
  overflow-x: auto !important;
  overflow-y: visible !important;
  -webkit-overflow-scrolling: touch !important;
  scroll-behavior: smooth !important;
  scrollbar-width: none !important;
  -ms-overflow-style: none !important;
  /* Remove transform-based sliding */
  transform: none !important;
  flex-wrap: nowrap !important;
  padding-bottom: 4px;
}
.astar-prow::-webkit-scrollbar { display: none !important; }

/* Cards fixed width, never shrink */
.astar-pcard {
  flex: 0 0 200px !important;
  min-width: 200px !important;
  max-width: 200px !important;
}

@media(max-width: 768px) {
  .astar-pcard {
    flex: 0 0 155px !important;
    min-width: 155px !important;
    max-width: 155px !important;
  }
  .astar-prow { gap: 8px !important; }
}
@media(max-width: 375px) {
  .astar-pcard {
    flex: 0 0 140px !important;
    min-width: 140px !important;
    max-width: 140px !important;
  }
}
.astar-product-card > .astar-add-to-cart { display: block; width: calc(100% - 32px); margin: 0 16px 16px; border-radius: 50px; }

/* Logo text */
.astar-logo { display: flex !important; flex-direction: column !important; align-items: center !important; gap: 2px !important; text-decoration: none !important; }
.astar-logo-text { display: flex !important; flex-direction: row !important; align-items: center !important; gap: 4px !important; line-height: 1 !important; }
.astar-logo-astar { font-size: 14px !important; font-weight: 800 !important; color: #f97316 !important; font-family: Poppins, sans-serif !important; letter-spacing: -0.2px !important; font-style: normal !important; }
.astar-logo-mobiles { font-size: 14px !important; font-weight: 800 !important; color: #fff !important; font-family: Poppins, sans-serif !important; letter-spacing: -0.2px !important; font-style: italic !important; }
@media (max-width: 640px) { .astar-logo-text { display: none !important; } }


/* Mobile phones */
@media(max-width:480px) {
  .astar-container { padding:0 12px; }
  .astar-cart-item-img img { width:60px; height:60px; }
  .astar-checkout-layout, .astar-cart-layout { gap:20px; }
  .astar-totals-row { font-size:14px; }
  .astar-checkout-btn, .astar-btn { font-size:15px; padding:14px 20px; }
  .astar-cart-totals { padding:16px; }
  .astar-cart-totals h2 { font-size:18px; }
}