/* ============================================================
   ShopKart - Professional E-Commerce Stylesheet
   Font: Nunito | Accent: Coral/Pink inspired by Meesho
   ============================================================ */

:root {
  --primary:     #f43397;
  --primary-dk:  #d01e7b;
  --secondary:   #2d2d2d;
  --accent:      #ff6b35;
  --success:     #22c55e;
  --warning:     #f59e0b;
  --danger:      #ef4444;
  --light-bg:    #fafafa;
  --border:      #f0f0f0;
  --text:        #1f1f1f;
  --text-muted:  #6b7280;
  --card-shadow: 0 2px 12px rgba(0,0,0,.07);
  --radius:      10px;
  --radius-lg:   16px;
}

* { box-sizing: border-box; }
body { font-family: 'Nunito', sans-serif; color: var(--text); background: var(--light-bg); }
a { text-decoration: none; color: inherit; }

/* ---- TOP BAR ---- */
.top-bar { background: #1f1f1f; color: #fff; padding: 6px 0; font-size: 12.5px; }
.top-bar a { color: #ddd; }

/* ---- NAVBAR ---- */
.main-navbar {
  background: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,.08);
  padding: 0;
  z-index: 1050;
}
.main-navbar > .container {
  display: flex;
  align-items: center;
  padding-top: 10px;
  padding-bottom: 10px;
  flex-wrap: nowrap;
}
@media (min-width: 992px) {
  .main-navbar > .container {
    padding-top: 12px;
    padding-bottom: 12px;
  }
}
.navbar-brand { display: flex; align-items: center; gap: 8px; padding: 0; margin-right: 0; flex-shrink: 0; }
@media (min-width: 992px) {
  .navbar-brand { margin-left: 100px; }
  .nav-icons { margin-right: 100px; }
  .category-nav { justify-content: flex-start; margin-left: 100px; }
}
.brand-logo { font-size: 26px; color: var(--primary); line-height: 1; }
.brand-text { font-size: 22px; font-weight: 900; background: linear-gradient(135deg, var(--primary), var(--accent)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; line-height: 1; }

/* Search */
.search-bar { max-width: 500px; }
.search-input { border-radius: 24px 0 0 24px; border: 2px solid var(--primary); border-right: none; padding: 8px 16px; font-size: 14px; transition: box-shadow .2s; }
.search-input:focus { box-shadow: 0 0 0 3px rgba(244,51,151,.15); outline: none; border-color: var(--primary); }
.search-btn { border-radius: 0 24px 24px 0; background: var(--primary); color: #fff; border: 2px solid var(--primary); padding: 8px 18px; }
.search-btn:hover { background: var(--primary-dk); border-color: var(--primary-dk); }
.search-dropdown { position: absolute; top: 100%; left: 0; right: 0; background: #fff; border-radius: var(--radius); box-shadow: var(--card-shadow); z-index: 200; display: none; }
.search-dropdown.show { display: block; }

/* Nav Icons */
.icon-btn { display: flex; align-items: center; gap: 5px; padding: 6px 10px; border-radius: 8px; border: none; background: none; font-size: 14px; color: var(--text); cursor: pointer; transition: background .15s; white-space: nowrap; }
.icon-btn:hover { background: #fef0f7; color: var(--primary); }
.cart-badge { position: absolute; top: 0; right: 0; background: var(--primary); color: #fff; font-size: 10px; font-weight: 700; min-width: 18px; height: 18px; border-radius: 50%; display: flex; align-items: center; justify-content: center; border: 2px solid #fff; }
.nav-icons { position: relative; }

/* Category Nav */
.category-nav { padding-bottom: 4px; gap: 2px; flex-wrap: nowrap; scrollbar-width: none; position: relative; }
@media (max-width: 991px) {
  .navbar-nav.category-nav { overflow-x: auto !important; overflow-y: visible !important; flex-direction: row !important; position: static !important; }
  .navbar-nav.category-nav .nav-item { position: static !important; flex-shrink: 0 !important; }
  .navbar-nav.category-nav .dropdown-menu { position: absolute !important; top: 100% !important; left: 0 !important; right: 0 !important; width: 100% !important; border-radius: 0 !important; margin-top: 0 !important; box-shadow: 0 10px 20px rgba(0,0,0,0.1) !important; border-top: 1px solid var(--border) !important; z-index: 1050 !important; }
}
.category-nav::-webkit-scrollbar { display: none; }
.category-nav .nav-item { position: relative; }
.category-nav .nav-item.dropdown.show { z-index: 1100; }
.category-nav .nav-link { font-size: 13px; font-weight: 600; color: var(--text); padding: 8px 12px; border-radius: 6px 6px 0 0; white-space: nowrap; border-bottom: 2px solid transparent; transition: all .2s; }
.category-nav .nav-link:hover, .category-nav .nav-link.active, .category-nav .nav-link.show { color: var(--primary); border-bottom-color: var(--primary); }
.category-nav .dropdown-toggle::after { vertical-align: 1px; }
.category-nav .dropdown-menu { border: none; box-shadow: 0 8px 24px rgba(0,0,0,.12); border-radius: var(--radius); min-width: 200px; margin-top: 0; }
.category-nav .dropdown-item { font-size: 13.5px; padding: 8px 16px; }
.category-nav .dropdown-item:hover { background: #fef0f7; color: var(--primary); }

/* ---- HERO SLIDER ---- */
.hero-slider { background: #fff; }
.swiper-hero .swiper-slide img { width: 100%; max-height: 420px; object-fit: cover; border-radius: 0; }
.swiper-pagination-bullet-active { background: var(--primary) !important; }

/* ---- SECTION TITLES ---- */
.section-title { font-size: 22px; font-weight: 800; color: var(--text); margin-bottom: 4px; }
.section-subtitle { font-size: 13.5px; color: var(--text-muted); margin-bottom: 20px; }
.section-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.view-all { font-size: 13.5px; font-weight: 700; color: var(--primary); border: 1.5px solid var(--primary); border-radius: 20px; padding: 5px 16px; transition: all .2s; }
.view-all:hover { background: var(--primary); color: #fff; }

/* ---- CATEGORY CHIPS ---- */
.category-chip { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 16px 10px; background: #fff; border-radius: var(--radius-lg); box-shadow: var(--card-shadow); text-align: center; transition: transform .2s, box-shadow .2s; cursor: pointer; }
.category-chip:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(244,51,151,.15); }
.category-chip .icon { width: 54px; height: 54px; border-radius: 50%; background: linear-gradient(135deg, #fde8f5, #fecfe6); display: flex; align-items: center; justify-content: center; font-size: 22px; color: var(--primary); }
.category-chip .label { font-size: 12px; font-weight: 700; color: var(--text); }

/* ---- PRODUCT CARD ---- */
.product-card {
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--card-shadow);
  overflow: hidden;
  transition: transform .2s, box-shadow .2s;
  position: relative;
}
.product-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(0,0,0,.12); }
.product-card .img-wrap { position: relative; overflow: hidden; background: #f8f8f8; aspect-ratio: 3/4; }
.product-card .img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.product-card:hover .img-wrap img { transform: scale(1.06); }
.badge-discount { position: absolute; top: 10px; left: 10px; background: var(--primary); color: #fff; font-size: 11px; font-weight: 700; padding: 3px 8px; border-radius: 6px; z-index: 2; }
.badge-new { position: absolute; top: 10px; left: 10px; background: var(--success); color: #fff; font-size: 11px; font-weight: 700; padding: 3px 8px; border-radius: 6px; z-index: 2; }
.badge-free-ship { position: absolute; bottom: 8px; left: 8px; background: rgba(34,197,94,.9); color: #fff; font-size: 10px; font-weight: 700; padding: 2px 6px; border-radius: 4px; z-index: 2; }
.wishlist-btn { position: absolute; top: 10px; right: 10px; width: 32px; height: 32px; border-radius: 50%; background: rgba(255,255,255,.9); border: none; display: flex; align-items: center; justify-content: center; cursor: pointer; z-index: 2; transition: all .2s; font-size: 15px; color: #ccc; box-shadow: 0 2px 8px rgba(0,0,0,.1); }
.wishlist-btn:hover, .wishlist-btn.active { color: var(--primary); background: #fff; }
.product-card .card-body { padding: 12px 12px 14px; }
.product-name { font-size: 13.5px; font-weight: 600; color: var(--text); overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; margin-bottom: 6px; line-height: 1.4; }
.price-wrap { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.sale-price { font-size: 17px; font-weight: 800; color: var(--text); }
.orig-price { font-size: 13px; color: var(--text-muted); text-decoration: line-through; }
.pct-off { font-size: 12px; font-weight: 700; color: var(--success); }
.stars-wrap { display: flex; align-items: center; gap: 4px; margin-top: 4px; }
.stars { color: #f59e0b; font-size: 11px; }
.rating-count { font-size: 11.5px; color: var(--text-muted); }
.add-cart-btn { width: 100%; margin-top: 10px; background: linear-gradient(135deg, var(--primary), var(--primary-dk)); color: #fff; border: none; border-radius: 8px; padding: 8px; font-size: 13.5px; font-weight: 700; cursor: pointer; transition: all .2s; }
.add-cart-btn:hover { opacity: .9; transform: translateY(-1px); }
.quick-view-btn { width: 100%; margin-top: 6px; background: transparent; color: var(--primary); border: 1.5px solid var(--primary); border-radius: 8px; padding: 7px; font-size: 13px; font-weight: 600; cursor: pointer; transition: all .2s; }
.quick-view-btn:hover { background: #fef0f7; }

/* ---- FILTER SIDEBAR ---- */
.filter-card { background: #fff; border-radius: var(--radius); box-shadow: var(--card-shadow); padding: 20px; }
.filter-title { font-size: 14px; font-weight: 800; border-bottom: 1px solid var(--border); padding-bottom: 10px; margin-bottom: 14px; }
.filter-option { display: flex; align-items: center; gap: 8px; font-size: 13.5px; margin-bottom: 8px; cursor: pointer; }
.filter-option input { accent-color: var(--primary); width: 15px; height: 15px; }
.price-range { appearance: none; width: 100%; height: 4px; border-radius: 2px; background: #e5e7eb; outline: none; }
.price-range::-webkit-slider-thumb { appearance: none; width: 18px; height: 18px; border-radius: 50%; background: var(--primary); cursor: pointer; }

/* ---- BREADCRUMB ---- */
.breadcrumb { font-size: 13px; }
.breadcrumb-item a { color: var(--primary); }
.breadcrumb-item.active { color: var(--text-muted); }

/* ---- PRODUCT DETAIL ---- */
.product-gallery .main-img { border-radius: var(--radius-lg); overflow: hidden; background: #f8f8f8; }
.product-gallery .main-img img { width: 100%; max-height: 500px; object-fit: contain; }
.thumb-list { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.thumb-item { width: 72px; height: 72px; border-radius: 8px; overflow: hidden; cursor: pointer; border: 2px solid transparent; transition: border-color .2s; }
.thumb-item.active, .thumb-item:hover { border-color: var(--primary); }
.thumb-item img { width: 100%; height: 100%; object-fit: cover; }
.product-title { font-family: 'Playfair Display', serif; font-size: 24px; font-weight: 700; line-height: 1.3; margin-bottom: 8px; }
.product-brand { font-size: 13px; color: var(--primary); font-weight: 700; margin-bottom: 12px; }
.detail-price { font-size: 28px; font-weight: 900; margin-bottom: 4px; }
.detail-orig { font-size: 16px; color: var(--text-muted); text-decoration: line-through; }
.detail-off { font-size: 15px; font-weight: 700; color: var(--success); }
.size-btn { padding: 6px 14px; border: 1.5px solid var(--border); border-radius: 6px; background: #fff; font-size: 13px; font-weight: 600; cursor: pointer; transition: all .2s; }
.size-btn:hover, .size-btn.active { border-color: var(--primary); color: var(--primary); background: #fef0f7; }
.color-dot { width: 28px; height: 28px; border-radius: 50%; border: 2px solid #fff; cursor: pointer; box-shadow: 0 0 0 1.5px #ccc; transition: box-shadow .2s; }
.color-dot.active { box-shadow: 0 0 0 2.5px var(--primary); }
.qty-input { display: flex; align-items: center; gap: 8px; }
.qty-btn { width: 34px; height: 34px; border-radius: 50%; border: 1.5px solid var(--border); background: #fff; font-size: 18px; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: all .2s; }
.qty-btn:hover { border-color: var(--primary); color: var(--primary); }
.qty-num { width: 44px; text-align: center; font-weight: 700; font-size: 16px; border: 1.5px solid var(--border); border-radius: 8px; padding: 5px; }
.btn-cart-main { background: linear-gradient(135deg, var(--primary), var(--primary-dk)); color: #fff; border: none; border-radius: 10px; padding: 12px 28px; font-size: 15px; font-weight: 700; cursor: pointer; transition: all .2s; }
.btn-cart-main:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(244,51,151,.35); }
.btn-buy-now { background: linear-gradient(135deg, var(--accent), #e55a2b); color: #fff; border: none; border-radius: 10px; padding: 12px 28px; font-size: 15px; font-weight: 700; cursor: pointer; transition: all .2s; }
.btn-buy-now:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(255,107,53,.35); }
.feature-tag { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--text-muted); padding: 8px 0; border-bottom: 1px solid var(--border); }
.feature-tag i { color: var(--primary); font-size: 16px; }

/* ---- CART ---- */
.cart-table th { font-size: 12.5px; font-weight: 700; text-transform: uppercase; color: var(--text-muted); padding: 10px 16px; border-bottom: 2px solid var(--border); }
.cart-table td { padding: 14px 16px; vertical-align: middle; border-bottom: 1px solid var(--border); }
.cart-img { width: 72px; height: 72px; object-fit: cover; border-radius: 8px; }
.cart-name { font-size: 14px; font-weight: 600; }
.cart-variant { font-size: 12px; color: var(--text-muted); }
.cart-qty { width: 36px; height: 36px; border: 1.5px solid var(--border); border-radius: 6px; text-align: center; font-weight: 700; }
.order-summary-card { background: #fff; border-radius: var(--radius-lg); padding: 20px; box-shadow: var(--card-shadow); position: sticky; top: 80px; }
.summary-row { display: flex; justify-content: space-between; font-size: 14px; padding: 8px 0; border-bottom: 1px solid var(--border); }
.summary-row.total { font-size: 18px; font-weight: 800; border: none; }
.coupon-input { border-radius: 8px 0 0 8px; border: 1.5px solid var(--border); }
.btn-apply { border-radius: 0 8px 8px 0; background: var(--primary); color: #fff; border: 1.5px solid var(--primary); font-weight: 700; }
.btn-checkout { width: 100%; background: linear-gradient(135deg, var(--primary), var(--primary-dk)); color: #fff; border: none; border-radius: 10px; padding: 14px; font-size: 16px; font-weight: 700; cursor: pointer; margin-top: 16px; transition: all .2s; }
.btn-checkout:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(244,51,151,.35); }

/* ---- ORDER TRACKING ---- */
.track-timeline { position: relative; padding: 10px 0; }
.track-step { display: flex; gap: 16px; margin-bottom: 28px; position: relative; }
.track-step::before { content: ''; position: absolute; left: 18px; top: 36px; bottom: -28px; width: 2px; background: var(--border); z-index: 0; }
.track-step:last-child::before { display: none; }
.step-icon { width: 38px; height: 38px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 16px; flex-shrink: 0; z-index: 1; position: relative; }
.step-icon.done { background: linear-gradient(135deg, var(--primary), var(--primary-dk)); color: #fff; }
.step-icon.active { background: var(--success); color: #fff; animation: pulse .8s infinite alternate; }
.step-icon.pending { background: #f0f0f0; color: #aaa; }
@keyframes pulse { to { box-shadow: 0 0 0 6px rgba(34,197,94,.2); } }
.step-info { padding-top: 6px; }
.step-label { font-size: 14px; font-weight: 700; }
.step-desc { font-size: 12.5px; color: var(--text-muted); margin-top: 2px; }
.step-time { font-size: 11.5px; color: var(--text-muted); margin-top: 3px; }

/* ---- CHECKOUT ---- */
.checkout-step-header { font-size: 15px; font-weight: 700; padding: 12px 16px; background: linear-gradient(135deg, #fde8f5, #fff); border-radius: var(--radius); border-left: 4px solid var(--primary); margin-bottom: 16px; }
.address-card { border: 1.5px solid var(--border); border-radius: var(--radius); padding: 14px; cursor: pointer; transition: all .2s; margin-bottom: 10px; }
.address-card.selected, .address-card:hover { border-color: var(--primary); background: #fef0f7; }

/* ---- RATING STARS ---- */
.rating-star { font-size: 22px; cursor: pointer; color: #ddd; transition: color .15s; }
.rating-star.selected, .rating-star:hover { color: var(--warning); }

/* ---- REVIEW CARD ---- */
.review-card { background: #fff; border-radius: var(--radius); padding: 16px; box-shadow: var(--card-shadow); margin-bottom: 14px; }
.reviewer { display: flex; align-items: center; gap: 10px; }
.reviewer-avatar { width: 38px; height: 38px; border-radius: 50%; background: linear-gradient(135deg, var(--primary), var(--accent)); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 15px; font-weight: 700; }

/* ---- ACCOUNT PAGE ---- */
.account-sidebar .menu-item { display: flex; align-items: center; gap: 10px; padding: 11px 14px; border-radius: 8px; font-size: 14px; font-weight: 600; color: var(--text); cursor: pointer; transition: all .15s; margin-bottom: 4px; }
.account-sidebar .menu-item:hover, .account-sidebar .menu-item.active { background: #fef0f7; color: var(--primary); }

/* ---- FORMS ---- */
.form-control, .form-select { border-radius: 8px; border: 1.5px solid var(--border); font-size: 14px; padding: 10px 14px; transition: border-color .2s; }
.form-control:focus, .form-select:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(244,51,151,.1); }
.form-label { font-size: 13px; font-weight: 700; margin-bottom: 5px; }
.btn-primary-sk { background: linear-gradient(135deg, var(--primary), var(--primary-dk)); color: #fff; border: none; border-radius: 8px; padding: 10px 24px; font-size: 14px; font-weight: 700; cursor: pointer; transition: all .2s; }
.btn-primary-sk:hover { opacity: .9; transform: translateY(-1px); }

/* ---- BADGES ---- */
.badge-status { display: inline-flex; align-items: center; gap: 4px; padding: 4px 10px; border-radius: 20px; font-size: 11.5px; font-weight: 700; }
.badge-placed { background: #eff6ff; color: #2563eb; }
.badge-confirmed { background: #f0fdf4; color: #16a34a; }
.badge-processing { background: #fefce8; color: #ca8a04; }
.badge-shipped { background: #f0f9ff; color: #0369a1; }
.badge-out_for_delivery { background: #fdf4ff; color: #7e22ce; }
.badge-delivered { background: #f0fdf4; color: #15803d; }
.badge-cancelled { background: #fef2f2; color: #dc2626; }
.badge-returned { background: #fff7ed; color: #c2410c; }

/* ---- FOOTER ---- */
.site-footer { background: #fff; border-top: 1px solid var(--border); }
.footer-top { padding: 48px 0 32px; }
.footer-heading { font-size: 14px; font-weight: 800; color: var(--text); margin-bottom: 14px; }
.footer-links { list-style: none; padding: 0; }
.footer-links li { font-size: 13.5px; color: var(--text-muted); margin-bottom: 8px; }
.footer-links a { color: var(--text-muted); transition: color .15s; }
.footer-links a:hover { color: var(--primary); }
.social-btn { display: inline-flex; width: 36px; height: 36px; border-radius: 50%; background: #f5f5f5; align-items: center; justify-content: center; color: var(--text); font-size: 16px; margin-right: 6px; transition: all .2s; }
.social-btn:hover { background: var(--primary); color: #fff; }
.app-badge { display: inline-flex; align-items: center; gap: 4px; padding: 6px 12px; border: 1.5px solid var(--border); border-radius: 8px; font-size: 12px; font-weight: 700; color: var(--text); transition: all .2s; margin-right: 6px; }
.app-badge:hover { border-color: var(--primary); color: var(--primary); }
.footer-trust { background: #fafafa; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 20px 0; }
.trust-item { padding: 10px; }
.trust-item i { font-size: 24px; color: var(--primary); display: block; margin-bottom: 4px; }
.trust-item div { font-size: 13px; font-weight: 700; }
.trust-item small { color: var(--text-muted); }
.footer-bottom { padding: 14px 0; background: #f5f5f5; }
.payment-icons span { background: #e5e7eb; padding: 3px 8px; border-radius: 4px; font-size: 11px; font-weight: 700; margin-left: 4px; }

/* ---- SCROLL TOP ---- */
.scroll-top { position: fixed; bottom: 80px; right: 20px; width: 42px; height: 42px; border-radius: 50%; background: var(--primary); color: #fff; border: none; cursor: pointer; font-size: 18px; display: flex; align-items: center; justify-content: center; opacity: 0; transform: translateY(20px); transition: all .3s; z-index: 999; }
.scroll-top.show { opacity: 1; transform: translateY(0); }

/* ---- MISC ---- */
.empty-state { text-align: center; padding: 60px 20px; }
.empty-state i { font-size: 56px; color: #e5e7eb; display: block; margin-bottom: 16px; }
.empty-state h5 { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.spinner-pink { color: var(--primary); }
.no-scroll { overflow: hidden; }
.card-generic { background: #fff; border-radius: var(--radius-lg); box-shadow: var(--card-shadow); }
.section-pad { padding: 40px 0; }

/* ---- RESPONSIVE ---- */
@media (max-width: 768px) {
  .section-title { font-size: 18px; }
  .product-title { font-size: 19px; }
  .detail-price { font-size: 22px; }
  .hero-slider img { max-height: 220px; }
  .category-chip { padding: 10px 6px; }
  .category-chip .icon { width: 44px; height: 44px; font-size: 18px; }
}

/* ---- LOGIN / REGISTER ---- */
.auth-card { max-width: 420px; margin: 60px auto; background: #fff; border-radius: var(--radius-lg); box-shadow: 0 8px 40px rgba(0,0,0,.1); overflow: hidden; }
.auth-header { background: linear-gradient(135deg, var(--primary), var(--primary-dk)); padding: 28px 32px 20px; color: #fff; }
.auth-header h4 { font-family: 'Playfair Display', serif; font-size: 24px; margin-bottom: 4px; }
.auth-body { padding: 28px 32px 32px; }
.divider-text { position: relative; text-align: center; margin: 16px 0; }
.divider-text::before { content: ''; position: absolute; top: 50%; left: 0; right: 0; height: 1px; background: var(--border); }
.divider-text span { background: #fff; padding: 0 10px; font-size: 12.5px; color: var(--text-muted); position: relative; }

/* ---- DEAL OF THE DAY ---- */
.deal-nav-link { color: var(--primary) !important; font-weight: 800 !important; }
.deal-hero { background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%); color: #fff; padding: 48px 0 36px; text-align: center; }
.deal-hero-empty { padding: 72px 0; }
.deal-hero-badge { display: inline-flex; align-items: center; background: linear-gradient(135deg, var(--primary), var(--accent)); padding: 6px 16px; border-radius: 30px; font-size: 12px; font-weight: 800; letter-spacing: 1px; margin-bottom: 12px; }
.deal-hero-title { font-family: 'Playfair Display', serif; font-size: clamp(28px, 4vw, 42px); font-weight: 700; margin-bottom: 8px; }
.deal-hero-sub { opacity: .85; font-size: 16px; margin-bottom: 0; }
.deal-empty-icon { font-size: 64px; opacity: .5; }
.deal-card { background: #fff; border-radius: var(--radius-lg); box-shadow: 0 8px 40px rgba(0,0,0,.08); padding: 32px; margin-top: -24px; position: relative; z-index: 2; }
.deal-img-wrap { position: relative; border-radius: var(--radius-lg); overflow: hidden; background: #f8f9fa; }
.deal-main-img { width: 100%; aspect-ratio: 1; object-fit: cover; display: block; }
.deal-flash-badge { position: absolute; top: 16px; left: 16px; background: var(--primary); color: #fff; font-size: 13px; font-weight: 800; padding: 6px 14px; border-radius: 20px; }
.deal-wish-btn { position: absolute; top: 16px; right: 16px; }
.deal-countdown-wrap { background: linear-gradient(135deg, #fff5f9, #fff); border: 2px solid rgba(244,51,151,.2); border-radius: var(--radius-lg); padding: 20px 24px; }
.deal-countdown-label { font-size: 13px; font-weight: 700; color: var(--text-muted); margin-bottom: 12px; text-transform: uppercase; letter-spacing: 1px; }
.deal-countdown { display: flex; align-items: center; justify-content: center; gap: 8px; }
.deal-countdown-sm { justify-content: flex-start; gap: 4px; }
.deal-countdown-sm .countdown-unit { min-width: 52px; padding: 8px 6px; }
.deal-countdown-sm .countdown-unit span { font-size: 20px; }
.deal-countdown-sm .countdown-sep { font-size: 18px; }
.countdown-unit { background: #1a1a2e; color: #fff; border-radius: 10px; min-width: 72px; padding: 12px 8px; text-align: center; }
.countdown-unit span { display: block; font-size: 28px; font-weight: 900; line-height: 1; font-variant-numeric: tabular-nums; }
.countdown-unit small { display: block; font-size: 10px; opacity: .7; margin-top: 4px; text-transform: uppercase; letter-spacing: .5px; }
.countdown-sep { font-size: 24px; font-weight: 900; color: var(--primary); padding-bottom: 16px; }
.deal-product-name { font-size: clamp(22px, 3vw, 30px); font-weight: 800; margin-bottom: 12px; line-height: 1.3; }
.deal-desc { font-size: 15px; line-height: 1.6; }
.deal-price-row { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; }
.deal-sale-price { font-size: 32px; font-weight: 900; color: var(--primary); }
.deal-orig-price { font-size: 18px; color: var(--text-muted); text-decoration: line-through; }
.deal-save-badge { background: #dcfce7; color: #15803d; font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 20px; }
.deal-stock { font-size: 14px; color: var(--text-muted); }
.deal-perk { font-size: 14px; color: var(--text-muted); padding-top: 12px; border-top: 1px solid var(--border); }
.deal-teaser { background: linear-gradient(135deg, #1a1a2e, #0f3460); border-radius: var(--radius-lg); overflow: hidden; color: #fff; }
.deal-teaser-img-col { position: relative; min-height: 220px; }
.deal-teaser-img { width: 100%; height: 100%; min-height: 220px; object-fit: cover; display: block; }
.deal-teaser-badge { position: absolute; top: 16px; left: 16px; background: var(--primary); padding: 6px 12px; border-radius: 20px; font-size: 12px; font-weight: 800; }
.deal-teaser-body { padding: 28px 32px; }
.deal-teaser-label { font-size: 12px; font-weight: 800; letter-spacing: 2px; color: var(--accent); margin-bottom: 8px; }
.deal-teaser-title { font-family: 'Playfair Display', serif; font-size: clamp(18px, 2.5vw, 26px); font-weight: 700; margin-bottom: 12px; }
.deal-teaser-price .deal-sale-price { font-size: 26px; }
.deal-teaser-price .deal-orig-price { font-size: 16px; opacity: .6; }
@media (max-width: 768px) {
  .deal-card { padding: 20px; margin-top: 0; }
  .countdown-unit { min-width: 58px; padding: 10px 6px; }
  .countdown-unit span { font-size: 22px; }
  .deal-teaser-body { padding: 20px; }
}
