/* ===== PREMIUM DESIGN SYSTEM (Matches Home Page) ===== */
:root {
  --bg: #fdfdfe;
  --bg-alt: #f0f4f8;
  --panel: rgba(255, 255, 255, 0.75);
  --panel-alt: #f8fafc;
  --text: #1e293b;
  --muted: #64748b;
  --border: rgba(203, 213, 225, 0.4);
  --accent: #0f172a;
  --accent-accent: #3b82f6;
  --accent-hover: #2563eb;
  --radius: 20px;
  --radius-lg: 32px;
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.08), 0 8px 10px -6px rgba(0, 0, 0, 0.08);
  --grad: linear-gradient(135deg, #0f172a 0%, #3b82f6 100%);
  --glass-filter: blur(12px) saturate(180%);
  /* Legacy vars for other store components */
  --primary-color: #0070f3;
  --primary-hover: #005bb5;
  --background-color: var(--bg);
  --card-bg: #ffffff;
  --text-primary: var(--text);
  --text-secondary: var(--muted);
  --border-color: #e5e7eb;
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-hover: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --border-radius-md: 0.5rem;
  --border-radius-lg: 1rem;
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
}

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

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', 'Poppins', sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--text);
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== NAVBAR ===== */
.navbar {
  position: sticky; top: 0; z-index: 1000;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.85rem 1.25rem;
  background: var(--panel);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow);
  backdrop-filter: var(--glass-filter);
  -webkit-backdrop-filter: var(--glass-filter);
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.navbar .logo {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: var(--bg-alt);
  padding: 4px;
  border: 1px solid var(--border);
  display: block;
  object-fit: contain;
  transition: transform 0.3s ease;
}
.navbar .logo:hover { transform: rotate(5deg) scale(1.05); }

.navbar .brand {
  font-size: 1.35rem; font-weight: 800;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  letter-spacing: -0.5px;
}

.nav-right-actions {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

/* Horizontal Nav for Desktop */
.nav-center-desktop {
    display: none; /* Hidden by default, shown in media query */
}

@media (min-width: 992px) {
    .nav-center-desktop {
        display: block;
    }
    .mobile-menu-btn {
        display: none !important;
    }
}

.nav-desktop-links {
    list-style: none;
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.nav-link {
    padding: 0.6rem 1.2rem;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--muted);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.nav-link:hover {
    color: var(--primary-color);
    background: #f1f5f9;
}

.nav-link.active {
    background: var(--accent-accent);
    color: white;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.25);
}

/* Circular Icon Button */
.nav-icon-btn {
  position: relative;
  width: 42px; height: 42px;
  display: flex; align-items: center; justify-content: center;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 50%;
  font-size: 1.15rem;
  cursor: pointer;
  transition: all 0.25s;
  text-decoration: none;
  background-color: #f8fafc;
}
.nav-icon-btn:hover {
  border-color: var(--accent-accent);
  background: #eff6ff;
  transform: scale(1.05);
}

/* Cart Badge */
.cart-badge {
  position: absolute;
  top: -5px; right: -6px;
  background: #ef4444;
  color: white;
  font-size: 0.65rem;
  font-weight: 700;
  min-width: 17px; height: 17px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  border: 2px solid var(--bg);
  line-height: 1;
}

/* Hamburger Button */
.mobile-menu-btn {
  display: flex; align-items: center; justify-content: center;
  width: 40px; height: 40px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 10px;
  cursor: pointer;
  color: var(--text);
  transition: all 0.3s;
}
.mobile-menu-btn:hover {
  border-color: var(--accent-accent);
  background: #eff6ff;
  color: var(--accent-accent);
}

/* ===== MOBILE SIDE DRAWER ===== */
.nav-drawer {
  position: fixed;
  top: 0;
  left: -100%;
  width: 280px;
  height: 100%;
  background: var(--bg);
  z-index: 2000;
  box-shadow: 20px 0 50px rgba(0,0,0,0.1);
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
}

.nav-drawer.active {
  left: 0;
}

.nav-drawer-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.3);
  backdrop-filter: blur(4px);
  z-index: 1999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.nav-drawer-overlay.active {
  opacity: 1;
  visibility: visible;
}

.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}

.logo-wrap {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-weight: 700;
  font-size: 1.1rem;
}

.logo-small {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.close-drawer {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  cursor: pointer;
  transition: all 0.2s;
}

.close-drawer:hover {
  background: #fee2e2;
  color: #ef4444;
  border-color: #fca5a5;
}

.nav-drawer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.nav-drawer-links li {
  width: 100%;
}

.nav-dd-link {
  display: flex;
  align-items: center;
  padding: 0.8rem 1rem;
  border-radius: 12px;
  font-weight: 500;
  color: var(--muted);
  transition: all 0.2s;
}

.nav-dd-link:hover {
  background: var(--bg-alt);
  color: var(--accent-accent);
  transform: translateX(5px);
}

.nav-dd-link.active {
  background: #eff6ff;
  color: var(--accent-accent);
  font-weight: 700;
}

.drawer-footer {
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
  font-size: 0.8rem;
  color: var(--muted);
  text-align: center;
}

/* HOT badge */
.badge-hot {
  display: inline-flex;
  align-items: center;
  background: #ef4444;
  color: white;
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  padding: 2px 7px;
  border-radius: 999px;
  margin-left: 4px;
  text-transform: uppercase;
}

/* Hero Section */
.hero {
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url("back.jpg");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    margin-left: 20px;
    margin-right: 20px;
    border-radius: var(--border-radius-lg);
    padding: 4rem 5%;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 60vh;
    min-height: 400px;
}

.hero-content {
    max-width: 800px;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    background: white;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
}

.hero p {
    font-size: 1.125rem;
    color: white;
    margin-bottom: 2.5rem;
    text-shadow: 0 1px 2px rgba(0,0,0,0.5);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    border-radius: var(--border-radius-md);
    cursor: pointer;
    transition: all var(--transition-fast);
    border: none;
    font-family: inherit;
    font-size: 1rem;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
    box-shadow: 0 4px 14px 0 rgba(0,118,255,0.39);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,118,255,0.23);
}

.btn-block {
    width: 100%;
}

/* Store Section */
.store-section {
    padding: 5rem 5%;
    max-width: 1280px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-header p {
    color: var(--text-secondary);
    font-size: 1.125rem;
}

/* Grid & Cards */
.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2.5rem;
}

.card {
    background-color: var(--card-bg);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
    display: flex;
    flex-direction: column;
    border: 1px solid var(--border-color);
}

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

.card-img-container {
    height: 250px;
    overflow: hidden;
    position: relative;
    background: #f3f4f6;
}

.card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.card:hover .card-img {
    transform: scale(1.05);
}

.card-body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.card-title {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.card-desc {
    color: var(--text-secondary);
    font-size: 0.875rem;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
}

.price {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-color);
}

/* Footer */
.footer {
    background-color: white;
    padding: 2rem 5%;
    text-align: center;
    color: var(--text-secondary);
    border-top: 1px solid var(--border-color);
}

/* Modal Overlay & Form */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
  
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-normal);
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal {
    background-color: var(--card-bg);
    border-radius: var(--border-radius-lg);
    width: 90%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    padding: 2rem;
    position: relative;
    transform: scale(0.95);
    transition: transform var(--transition-normal);
    box-shadow: var(--shadow-lg);
}

.modal-overlay.active .modal {
    transform: scale(1);
}

.close-btn {
    position: absolute;
    top: 1rem;
    right: 1.25rem;
    z-index: 100;
    background: rgba(255,255,255,0.9);
    backdrop-filter: blur(4px);
    border: 1px solid var(--border);
    font-size: 1.5rem;
    color: var(--text-primary);
    cursor: pointer;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.close-btn:hover {
    background: white;
    transform: rotate(90deg) scale(1.1);
    border-color: var(--primary-color);
    color: var(--primary-color);
}

/* Cart Badge & Icon */
.cart-btn {
    position: relative;
    cursor: pointer;
}

.cart-badge {
    position: absolute;
    top: -8px;
    right: -12px;
    background-color: #ef4444; /* red */
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 2px solid white;
}

/* Cart Sidebar Overlay */
.cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(4px);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-normal);
}

.cart-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Cart Sidebar Container */
.cart-sidebar {
    position: absolute;
    top: 0;
    right: -100%; /* hide off screen initially */
    width: 100%;
    max-width: 400px;
    height: 100%;
    background-color: var(--card-bg);
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    transition: right 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.cart-overlay.active .cart-sidebar {
    right: 0;
}

.cart-header {
    padding: 1.5rem;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cart-header h3 {
    font-size: 1.5rem;
    margin: 0;
}

.cart-header .close-btn {
    position: relative;
    top: auto;
    right: auto;
}

.cart-items {
    flex-grow: 1;
    overflow-y: auto;
    padding: 1.5rem;
}

.cart-item {
    display: flex;
    gap: 1rem;
    align-items: center;
    padding-bottom: 1.5rem;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.cart-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.cart-item-img {
    width: 60px;
    height: 80px;
    object-fit: cover;
    border-radius: var(--border-radius-md);
    background-color: #f3f4f6;
}

.cart-item-details {
    flex-grow: 1;
}

.cart-item-title {
    font-weight: 600;
    margin-bottom: 0.25rem;
    font-size: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.cart-item-price {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

/* Quantity Controls */
.qty-controls {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: #f3f4f6;
    border-radius: 999px;
    padding: 0.25rem;
    width: fit-content;
}

.qty-btn {
    background: white;
    border: 1px solid var(--border-color);
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    cursor: pointer;
    font-weight: 600;
    transition: all var(--transition-fast);
}

.qty-btn:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.qty-val {
    font-size: 0.875rem;
    font-weight: 600;
    min-width: 1rem;
    text-align: center;
}

.cart-item-remove {
    background: none;
    border: none;
    color: #ef4444;
    cursor: pointer;
    font-size: 1.25rem;
    padding: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform var(--transition-fast);
}

.cart-item-remove:hover {
    transform: scale(1.1);
}

.cart-footer {
    padding: 1.5rem;
    border-top: 1px solid var(--border-color);
    background-color: #fafafa;
}

.cart-total {
    display: flex;
    justify-content: space-between;
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.cart-empty-msg {
    text-align: center;
    color: var(--text-secondary);
    margin-top: 2rem;
}

.checkout-modal {
    max-width: 600px;
}

.modal-header {
    margin-bottom: 2rem;
}

.modal-header h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.modal-header p {
    color: var(--text-secondary);
}

/* Form Styles */
.form-group {
    margin-bottom: 1.5rem;
}

.form-row {
    display: flex;
    gap: 1rem;
}

.form-row .form-group {
    flex: 1;
}

label {
    display: block;
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
    font-size: 0.875rem;
}

input, textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    font-family: inherit;
    font-size: 1rem;
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
    background-color: #fafafa;
}

input:focus, textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 112, 243, 0.2);
    background-color: #ffffff;
}

/* Custom Radio Buttons for Payment */
.payment-options {
    display: flex;
    gap: 1rem;
}

.payment-card {
    flex: 1;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    padding: 1rem;
    cursor: pointer;
    transition: all var(--transition-fast);
    position: relative;
    background-color: #fafafa;
}

.payment-card input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.payment-card .card-content {
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 500;
    color: var(--text-secondary);
}

.payment-card:has(input:checked) {
    border-color: var(--primary-color);
    background-color: #eff6ff;
    color: var(--primary-color);
}

.payment-card:has(input:checked) .card-content {
    color: var(--primary-color);
}

.payment-card:hover {
    border-color: #b3d4fc;
}

/* Toast Notification */
.toast {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: white;
    border-radius: var(--border-radius-md);
    padding: 1rem 1.5rem;
    box-shadow: var(--shadow-lg);
    border-left: 5px solid #10b981; /* Success green */
    transform: translateX(150%);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 2000;
}

.toast.show {
    transform: translateX(0);
}

.toast-content {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.toast-icon {
    background-color: #10b981;
    color: white;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.toast-text h4 {
    margin: 0;
    font-size: 1rem;
    color: var(--text-primary);
}

.toast-text p {
    margin: 0;
    font-size: 0.875rem;
    color: var(--text-secondary);
}

/* Responsive */
@media (max-width: 900px) {
    .form-row {
        flex-direction: column;
        gap: 0;
    }
    .hero h1 { font-size: 2.5rem; }
    .hero {
        height: 50vh;
        margin-left: 10px;
        margin-right: 10px;
    }
    .navbar { padding: 0.75rem 1rem; }
}

@media (max-width: 600px) {
    .hero h1 { font-size: 2rem; }
    .hero { min-height: 300px; }
}

/* Product Modal & Details */
.product-modal {
    max-width: 640px !important;
    width: 90% !important;
    max-height: 85vh !important;
    padding: 0 !important;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.product-modal-grid {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    height: 100%;
    overflow: hidden;
}

@media (max-width: 820px) {
    .product-modal-grid { 
        grid-template-columns: 1fr; 
        overflow-y: auto; /* Enable scrolling for the grid content */
    }
    .product-modal { 
        width: 95% !important; 
        max-height: 90vh; /* Keep some gap at top/bottom */
        overflow-y: auto; /* Enable outer scrolling if needed */
    }
    .product-modal-img-side {
        border-right: none;
        border-bottom: 1px solid var(--border);
        padding: 1rem;
    }
    .product-modal-actions {
        position: sticky;
        bottom: 0;
        background: white;
        z-index: 10;
        padding-bottom: 1rem;
    }
}

.product-modal-img-side {
    background: #f8fafc;
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    border-right: 1px solid var(--border);
    overflow-y: auto;
}

.product-modal-img-side img {
    max-width: 100%;
    max-height: 200px;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: var(--shadow-sm);
    margin-bottom: 1rem;
}

.product-modal-info-side {
    padding: 1.25rem 1.75rem;
    background: white;
    display: flex;
    flex-direction: column;
    overflow: hidden; /* Scroll handled by children */
    position: relative;
}

.product-modal-info-side h2 {
    font-size: 1.25rem;
    margin-bottom: 0.3rem;
    line-height: 1.2;
    color: var(--text-primary);
}

#detailPriceOuter {
    margin: 0.5rem 0 1rem 0;
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
}

.detail-price {
    font-size: 1.45rem;
    font-weight: 800;
    color: var(--primary-color);
}

.detail-mrp {
    text-decoration: line-through;
    color: var(--muted);
    font-size: 1.1rem;
}

.product-tabs {
    display: flex;
    gap: 1.5rem;
    border-bottom: 2px solid #f1f5f9;
    margin-bottom: 1.5rem;
}

.tab-btn {
    background: none; border: none;
    padding: 0.75rem 0.25rem;
    font-weight: 700;
    color: var(--muted);
    cursor: pointer;
    position: relative;
    transition: 0.3s;
}

.tab-btn.active { color: var(--primary-color); }
.tab-btn.active::after {
    content: ''; position: absolute; bottom: -2px; left: 0;
    width: 100%; height: 2px; background: var(--primary-color);
}

.tab-content {
    font-size: 0.85rem; color: #475569;
    line-height: 1.5; margin-bottom: 0px;
    flex-grow: 1;
    overflow-y: auto;
    padding-right: 10px;
    margin-bottom: 1rem;
}

.product-modal-actions {
    display: flex; gap: 1rem;
    align-items: center; border-top: 1px solid #f1f5f9;
    padding: 1rem 0 0.5rem 0;
    margin-top: auto;
    background: white;
}

.qty-selector {
    display: flex; align-items: center; gap: 1rem;
    padding: 0.6rem 1.2rem; background: #f1f5f9;
    border-radius: 999px;
}

.qty-selector button {
    background: white; border: none;
    width: 30px; height: 30px;
    border-radius: 50%; cursor: pointer;
    font-weight: 800; box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

/* Bundle Offer Styling */
.bundle-offers-inside {
    margin-top: 1.5rem; width: 100%;
}

.bundle-tag {
    display: inline-block; background: #fee2e2;
    color: #ef4444; padding: 0.3rem 0.8rem;
    border-radius: 999px; font-size: 0.7rem;
    font-weight: 800; text-transform: uppercase;
    margin-bottom: 0.75rem;
}

.offers-list { display: flex; flex-direction: column; gap: 0.4rem; }
.offer-item {
    padding: 0.6rem 0.8rem; border-radius: 10px;
    background: #f8fafc; font-size: 0.85rem;
    border: 1px solid transparent;
}

.offer-item.active {
    background: #f0fdf4; border-color: #22c55e;
    color: #15803d; font-weight: 600;
}

.save-tag { color: #16a34a; font-weight: 700; margin-left: 5px; }

/* Reviews List */
.review-item {
    padding-bottom: 1.25rem; margin-bottom: 1.25rem;
    border-bottom: 1px solid #f1f5f9;
}
.review-header { display: flex; justify-content: space-between; margin-bottom: 0.4rem; }
.review-user { font-weight: 700; font-size: 0.9rem; }
.review-rating { color: #fbbf24; }

/* Review Gallery */
.review-gallery-box {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 1.25rem;
    margin-bottom: 1.5rem;
}

.review-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
    gap: 0.75rem;
}

.review-thumb {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.review-thumb:hover {
    transform: scale(1.05);
    border-color: var(--primary-color);
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06);
}

.review-thumb.active {
    border-color: var(--primary-color);
}
.review-comment { font-size: 0.85rem; color: #64748b; line-height: 1.5; }
.review-date { font-size: 0.75rem; color: #94a3b8; }

.specs-table { width: 100%; border-collapse: collapse; }
.specs-table td { padding: 0.8rem 0.5rem; border-bottom: 1px solid #f1f5f9; }
.specs-table td:first-child { font-weight: 700; color: #1e293b; width: 45%; }

/* Card tag */
.card-tag {
    position: absolute; top: 12px; left: 12px;
    background: var(--primary-color); color: white;
    padding: 4px 10px; border-radius: 6px;
    font-size: 0.7rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.5px;
}

.price-wrap { display: flex; flex-direction: column; }
.mrp { text-decoration: line-through; color: var(--muted); font-size: 0.8rem; }
.btn-sm { padding: 0.5rem 1rem; font-size: 0.85rem; }

/* Secondary Button Style */
.btn-outline {
    background: white;
    color: var(--text-primary);
    border: 1px solid var(--border);
    transition: all 0.2s;
}
.btn-outline:hover {
    background: #f8fafc;
    border-color: var(--muted);
    transform: translateY(-2px);
}

/* Custom Scrollbar for tab content */
.tab-content::-webkit-scrollbar {
    width: 4px;
}
.tab-content::-webkit-scrollbar-track {
    background: #f1f5f9;
}
.tab-content::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 10px;
}
