:root {
  /* Color Palette - Premium Legal Theme */
  --color-primary: #0F1E36;
  /* Deep Navy Blue */
  --color-primary-light: #1A2F50;
  /* Lighter Navy for Hover */

  --color-accent: #D4AF37;
  /* Rich Metallic Gold */
  --color-accent-hover: #C5A028;
  /* Darker Gold */

  --color-action: #800020;
  /* Deep Burgundy */
  --color-action-hover: #600018;
  /* Darker Burgundy */

  --color-text: #2C2C2C;
  /* Soft Black */
  --color-text-light: #F9F7F2;
  /* Cream/Off-White */

  --color-bg: #FFFFFF;
  --color-bg-secondary: #F4F1EA;
  /* Warm Beige/Cream background */

  --color-border: #E5E0D5;
  /* Warm Grey/Beige border */

  /* Typography */
  --font-heading: 'Playfair Display', serif;
  --font-body: 'Inter', sans-serif;

  /* Spacing */
  --spacing-xs: 4px;
  --spacing-sm: 8px;
  --spacing-md: 16px;
  --spacing-lg: 24px;
  --spacing-xl: 32px;
  --spacing-2xl: 64px;

  /* Layout */
  --container-width: 1200px;
  --header-height: 80px;

  /* UI Strictness */
  --border-radius: 0px !important;
  /* STRICTLY SQUARE */
  --shadow-sm: 0 4px 6px rgba(15, 30, 54, 0.05);
  /* Navy tinted shadow */
  --shadow-md: 0 8px 16px rgba(15, 30, 54, 0.1);
  --shadow-lg: 0 12px 24px rgba(15, 30, 54, 0.15);
}

/* Reset & Base */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  border-radius: 0 !important;
  /* Enforce square logic globally */
}

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background-color: var(--color-bg);
  line-height: 1.6;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  color: var(--color-primary);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: var(--spacing-md);
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  display: block;
}

/* Utility Classes */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 var(--spacing-md);
}

.btn {
  display: inline-block;
  padding: 12px 24px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  cursor: pointer;
  border: none;
  background-color: var(--color-primary);
  color: var(--color-text-light);
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.btn:hover {
  background-color: var(--color-primary-light);
}

.btn-primary {
  background-color: var(--color-action);
}

.btn-primary:hover {
  background-color: var(--color-action-hover);
}

.btn-accent {
  background-color: var(--color-accent);
  color: var(--color-primary);
}

.btn-accent:hover {
  background-color: var(--color-accent-hover);
}

.btn-outline {
  background-color: transparent;
  border: 2px solid var(--color-primary);
  color: var(--color-primary);
}

.btn-outline:hover {
  background-color: var(--color-primary);
  color: var(--color-text-light);
}

.text-center {
  text-align: center;
}

.section-padding {
  padding: var(--spacing-2xl) 0;
}

.bg-light {
  background-color: var(--color-bg-secondary);
}

.bg-dark {
  background-color: #000000;
  color: var(--color-text-light);
}

/* Grid System */
.grid {
  display: grid;
  gap: var(--spacing-lg);
}

.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 768px) {

  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }
}

/* Form Elements */
input,
select,
textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid var(--color-border);
  font-family: var(--font-body);
  margin-bottom: var(--spacing-md);
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  border-left: 4px solid var(--color-accent);
  /* Branding touch */
}

/* Header & Nav */
header {
  background-color: var(--color-bg);
  border-bottom: 2px solid var(--color-accent);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow-sm);
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: var(--header-height);
}

.logo {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.nav-links {
  display: flex;
  gap: var(--spacing-lg);
}

.nav-links a {
  font-weight: 500;
  color: var(--color-primary);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -4px;
  left: 0;
  background-color: var(--color-accent);
  transition: width 0.3s ease;
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  gap: var(--spacing-md);
  align-items: center;
  align-items: center;
}

/* Dropdown Menu Styles */
.dropdown {
  position: relative;
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #fff;
  min-width: 250px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--color-border);
  z-index: 1000;
  padding: 0;
}

.dropdown:hover .dropdown-menu {
  display: block;
}

.dropdown-menu li {
  border-bottom: 1px solid #eee;
}

.dropdown-menu li:last-child {
  border-bottom: none;
}

.dropdown-menu li a {
  display: block;
  padding: 12px 20px;
  color: var(--color-text);
  font-size: 0.9rem;
}

.dropdown-menu li a:hover {
  background-color: var(--color-bg-secondary);
  color: var(--color-primary);
}

.dropdown-menu li a::after {
  display: none;
  /* Remove underline effect for dropdown items */
}

/* Mobile Bottom Navigation */
.bottom-nav {
  display: none;
  /* Hidden on desktop */
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: #fff;
  border-top: 1px solid var(--color-border);
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.05);
  z-index: 2000;
  justify-content: space-around;
  align-items: center;
  padding: 10px 0;
  height: 60px;
}

.bottom-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #888;
  text-decoration: none;
  font-size: 0.7rem;
  font-weight: 500;
  flex: 1;
}

.bottom-nav-item i {
  font-size: 1.2rem;
  margin-bottom: 4px;
  color: #555;
  transition: color 0.3s ease;
}

.bottom-nav-item.active,
.bottom-nav-item:hover {
  color: var(--color-primary);
}

.bottom-nav-item.active i,
.bottom-nav-item:hover i {
  color: var(--color-primary);
}

.bottom-nav-item .cart-badge {
  position: absolute;
  top: 5px;
  right: calc(50% - 15px);
  /* Position relative to icon */
  background: var(--color-action);
  color: #fff;
  font-size: 0.6rem;
  padding: 1px 4px;
  border-radius: 50%;
  /* Rounded badge */
  min-width: 14px;
  text-align: center;
}

/* Mobile App Enhancements */
@media (max-width: 768px) {
  body {
    padding-bottom: 70px;
    /* Space for bottom nav */
  }

  /* Hide Footer on Mobile */
  footer {
    display: none !important;
  }

  .bottom-nav {
    display: flex;
  }

  /* Hide header actions that are now in bottom nav */
  .nav-actions {
    display: none;
  }

  /* Transform Desktop Nav into Mobile "More" Menu */
  .nav-links {
    display: none;
    position: fixed;
    bottom: 60px;
    /* Above bottom nav */
    left: 0;
    width: 100%;
    background-color: #fff;
    flex-direction: column;
    padding: 0;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.1);
    border-top: 1px solid var(--color-border);
    z-index: 1999;
    /* Below bottom nav (2000) but above content */
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
  }

  .nav-links.active {
    display: flex;
    max-height: 400px;
    /* Enough for links */
  }

  .nav-links li {
    width: 100%;
    border-bottom: 1px solid #f0f0f0;
  }

  .nav-links a {
    display: block;
    padding: 15px 20px;
    color: var(--color-text);
    font-size: 1rem;
    font-weight: 500;
  }

  .nav-links a:hover {
    background-color: var(--color-bg-secondary);
    color: var(--color-primary);
  }
}
/* Premium Hero Overlay */
.hero { position: relative; }
.hero-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(135deg, rgba(15, 30, 54, 0.95) 0%, rgba(15, 30, 54, 0.7) 50%, rgba(212, 175, 55, 0.1) 100%); z-index: 1; pointer-events: none; }
.hero-content { position: relative; z-index: 2; }

/* Premium Testimonial Tabs */
.testimonial-tabs { display: flex; justify-content: center; gap: 10px; margin-bottom: 40px; }
.t-tab-btn { padding: 12px 25px; border: none; background: transparent; font-family: var(--font-heading); font-size: 1.1rem; cursor: pointer; transition: all 0.3s; color: #999; border-bottom: 2px solid transparent; font-weight: 600; }
.t-tab-btn.active { color: var(--color-primary); border-bottom-color: var(--color-primary); }
.t-tab-btn:hover { color: var(--color-primary); }

.testimonial-wrapper { display: none; animation: slideUp 0.5s ease; }
.testimonial-wrapper.active { display: grid; gap: 30px; }
@keyframes slideUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }

/* Premium Colorful Card Design */
.testimonial-card { background: #fff; padding: 40px 30px; border-radius: 12px; box-shadow: 0 10px 30px rgba(0,0,0,0.05); position: relative; transition: transform 0.3s, box-shadow 0.3s; overflow: hidden; border: 1px solid rgba(0,0,0,0.03); }
.testimonial-card:hover { transform: translateY(-7px); box-shadow: 0 20px 40px rgba(0,0,0,0.08); }

.testimonial-card::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 5px; background: currentColor; }
.testimonial-card .quote-icon { font-size: 2.5rem; margin-bottom: 20px; opacity: 0.15; position: absolute; top: 30px; right: 30px; }

/* Color Cycles */
.testimonial-card:nth-child(5n+1) { color: #3498db; } /* Blue */
.testimonial-card:nth-child(5n+2) { color: #e67e22; } /* Orange */
.testimonial-card:nth-child(5n+3) { color: #f1c40f; } /* Yellow */
.testimonial-card:nth-child(5n+4) { color: #e91e63; } /* Pink */
.testimonial-card:nth-child(5n+5) { color: #9b59b6; } /* Purple */
.testimonial-card p { color: #555; position: relative; z-index: 1; line-height: 1.6; }
.testimonial-card h5 { color: #333; font-weight: 700; margin-top: 5px; }


/* Premium Testimonial Redesign */
.testimonial-card { transition: all 0.3s ease; position: relative; overflow: hidden; background: #fff; box-shadow: 0 5px 15px rgba(0,0,0,0.05); }
.testimonial-card:hover { transform: translateY(-5px); box-shadow: 0 15px 30px rgba(0,0,0,0.1); }
.testimonial-card .quote-icon { position: absolute; top: 20px; right: 20px; font-size: 3rem; opacity: 0.1; transition: all 0.3s; }
.testimonial-card:hover .quote-icon { transform: scale(1.1); opacity: 0.2; }
.testimonial-card p { position: relative; z-index: 2; font-size: 1.05rem; line-height: 1.6; color: #555; }
.testimonial-card h5 { font-weight: 700; color: #333; margin-bottom: 2px; }
.testimonial-card span { font-size: 0.85rem; font-weight: 500; opacity: 0.8; }


/* Premium Shop Polish */
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 30px; }
.product-card { display: flex; flex-direction: column; justify-content: space-between; height: 100%; position: relative; border: 1px solid rgba(0,0,0,0.05); transition: all 0.4s ease; background: #fff; border-radius: 8px; overflow: hidden; }
.product-card:hover { transform: translateY(-10px); box-shadow: 0 20px 40px rgba(0,0,0,0.1); border-color: var(--color-accent); }
.product-image { height: 300px; width: 100%; overflow: hidden; background: #f9f9f9; padding: 20px; display: flex; align-items: center; justify-content: center; }
.product-image img { max-height: 100%; object-fit: contain; transition: transform 0.5s ease; }
.product-card:hover .product-image img { transform: scale(1.05); }

.product-info { padding: 20px; flex-grow: 1; display: flex; flex-direction: column; }
.product-card h4 { font-size: 1.1rem; margin-bottom: 10px; min-height: 3rem; /* Ensure 2 lines alignment */ }
.product-card .btn { margin-top: auto; border-radius: 4px; font-weight: 600; text-transform: uppercase; font-size: 0.8rem; letter-spacing: 1px; }

/* Colorful Badges */
.product-badge { position: absolute; top: 15px; left: 15px; padding: 5px 12px; border-radius: 20px; color: #fff; font-size: 0.75rem; font-weight: 700; text-transform: uppercase; z-index: 2; box-shadow: 0 4px 10px rgba(0,0,0,0.15); }
.badge-new { background: linear-gradient(135deg, #3498db, #2980b9); } /* Blue */
.badge-hot { background: linear-gradient(135deg, #e74c3c, #c0392b); } /* Red */
.badge-sale { background: linear-gradient(135deg, #f1c40f, #f39c12); } /* Yellow */
.badge-premium { background: linear-gradient(135deg, #9b59b6, #8e44ad); } /* Purple */


/* Other Law Badges */
.badge-other { background: linear-gradient(135deg, #7f8c8d, #2c3e50); } /* Grey */


/* Future Books Section */
.section-future { background: linear-gradient(135deg, #fdfbfb 0%, #ebedee 100%); }
.badge-future { background: linear-gradient(135deg, #607d8b, #455a64); }


/* Premium Breadcrumb */
.premium-breadcrumb {
    background: linear-gradient(135deg, #0a192f 0%, #112240 100%);
    padding: 60px 0;
    color: #fff;
    text-align: center;
    border-bottom: 3px solid #ffd700;
    position: relative;
    overflow: hidden;
}
.premium-breadcrumb::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: url('../images/logo.png') no-repeat center center;
    opacity: 0.05;
    background-size: contain;
}
.breadcrumb-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: #ffd700;
    letter-spacing: 1px;
}
.breadcrumb-path {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, 0.7);
}
.breadcrumb-path a { color: #fff; text-decoration: none; }
.breadcrumb-path span { margin: 0 10px; color: #ffd700; }

/* Modern Product Card */
.product-card {
    border: none;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
    position: relative;
    border-bottom: 4px solid #ffd700; /* Default Accent */
    display: flex; flex-direction: column; justify-content: space-between; height: 100%;
}
.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}
.product-image {
    height: 320px;
    background: #f8f9fa;
    display: flex; align-items: center; justify-content: center;
    padding: 20px;
    position: relative;
}
.product-image img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
    filter: drop-shadow(0 10px 15px rgba(0,0,0,0.2));
    transition: transform 0.3s ease;
}
.product-card:hover .product-image img { transform: scale(1.05); }

.product-info {
    padding: 20px;
    text-align: center;
    flex-grow: 1; display: flex; flex-direction: column;
}
.product-info h4 {
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
    margin-bottom: 10px;
    line-height: 1.4;
    color: #0a192f;
    flex-grow: 1;
}
.card-actions {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}
.btn-view {
    flex: 1;
    background: transparent;
    border: 1px solid #0a192f;
    color: #0a192f;
    padding: 8px;
    font-size: 0.85rem;
    text-transform: uppercase;
    font-weight: 600;
    transition: all 0.3s;
}
.btn-view:hover { background: #0a192f; color: #fff; }
.btn-add {
    flex: 1;
    background: #ffd700;
    border: 1px solid #ffd700;
    color: #0a192f;
    padding: 8px;
    font-size: 0.85rem;
    text-transform: uppercase;
    font-weight: 600;
}
.btn-add:hover { background: #e6c200; border-color: #e6c200; }


/* Button Layout Refinement */
.btn-view, .btn-add { white-space: nowrap; padding: 8px 4px !important; font-size: 0.8rem !important; }

/* Shop Card Alignment Fixes */
.product-info h4 { height: 3em; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; margin-bottom: 0.5rem; flex-grow: 0; }
.product-info .card-actions { margin-top: auto; }

/* Premium Product Detail Page */
.product-detail-card { background: #fff; padding: 40px; border-radius: 12px; box-shadow: 0 5px 20px rgba(0,0,0,0.05); display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
@media (max-width: 768px) { .product-detail-card { grid-template-columns: 1fr; padding: 20px; gap: 20px; } }
.detail-image { background: #f8f9fa; border-radius: 8px; padding: 20px; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.detail-image img { max-width: 100%; max-height: 500px; object-fit: contain; filter: drop-shadow(0 10px 20px rgba(0,0,0,0.15)); }
.detail-info h1 { font-family: 'Playfair Display', serif; font-size: 2.2rem; margin-bottom: 10px; color: #0a192f; line-height: 1.2; }
.detail-price { font-size: 1.8rem; color: #ffd700; font-weight: 700; margin-bottom: 20px; border-bottom: 1px solid #eee; padding-bottom: 20px; display: inline-block; }
.detail-meta { margin-bottom: 25px; }
.detail-meta-row { display: flex; margin-bottom: 10px; font-size: 0.95rem; }
.detail-meta-label { font-weight: 600; width: 100px; color: #555; }
.detail-meta-value { color: #0a192f; }
.detail-actions { display: flex; gap: 15px; margin-top: 20px; }
.qty-input { padding: 12px; border: 1px solid #ddd; border-radius: 4px; width: 70px; text-align: center; font-weight: bold; }


/* Table for Specs */
.detail-specs-table { width: 100%; border-collapse: collapse; margin-bottom: 25px; }
.detail-specs-table td { padding: 12px 0; border-bottom: 1px solid #eee; font-size: 0.95rem; }
.detail-specs-table td:first-child { font-weight: 600; color: #555; width: 35%; }
.detail-divider { border: 0; border-top: 1px solid #eee; margin: 20px 0; display: block; height: 1px; }


/* V2 Boxed Layout */
.detail-specs-box { background: #fcfcfc; border: 1px solid #e0e0e0; border-radius: 8px; padding: 15px 20px; margin: 20px 0; }
.detail-specs-row { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px dashed #e0e0e0; font-size: 0.9rem; }
.detail-specs-row:last-child { border-bottom: none; }
.detail-specs-label { color: #666; font-weight: 500; }
.detail-specs-value { color: #0a192f; font-weight: 600; text-align: right; }
.product-detail-card { grid-template-columns: 1.1fr 0.9fr; gap: 0; overflow: hidden; }
.detail-image { border-right: 1px solid #f0f0f0; background: #fff; padding: 40px; }
.detail-info { padding: 40px; background: #fffcf5; /* Cream tint */ }


/* Detail Tab Table */
.detail-tab-table { width: 100%; border-collapse: collapse; margin-top: 20px; }
.detail-tab-table td { padding: 12px 15px; border: 1px solid #eee; color: #555; }
.detail-tab-table tr:nth-child(even) { background-color: #fcfcfc; }
.detail-tab-table td:first-child { font-weight: 600; color: #0a192f; width: 250px; background: #f8f9fa; }


/* Premium Shop Toolbar */
.shop-toolbar { display: flex; justify-content: space-between; align-items: center; padding: 18px 25px; background: #fff; border: 1px solid #e5e5e5; border-radius: 6px; margin-bottom: 30px; }
.shop-toolbar-results { color: #666; font-size: 0.95rem; font-weight: 400; }
.shop-toolbar select { border: 1px solid #ddd; padding: 10px 20px; border-radius: 4px; background: #fff; color: #333; font-size: 0.9rem; cursor: pointer; transition: border-color 0.3s; }
.shop-toolbar select:hover { border-color: #999; }
.shop-toolbar select:focus { outline: none; border-color: var(--color-primary); }


/* Product Price Styling */
.product-price { color: var(--color-primary); font-weight: 700; font-size: 1.3rem; margin: 10px 0 15px 0; }


/* Colorful Premium Accents */
.category-box { transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1); border: 2px solid transparent; }
.category-box:hover { transform: translateY(-10px) scale(1.02); border-color: #ffd700; box-shadow: 0 15px 35px rgba(255, 215, 0, 0.3); }
.product-badge { animation: pulse 2s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.05); } }


/* Colorful Rebranding */
.hero-overlay { background: linear-gradient(135deg, rgba(10, 25, 47, 0.95) 0%, rgba(99, 102, 241, 0.85) 100%) !important; }
.section-padding:nth-of-type(odd) { background: linear-gradient(to bottom, #f8f9fa 0%, #ffffff 100%); }
.product-badge.badge-new { background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%); }
.product-badge.badge-premium { background: linear-gradient(135deg, #8b5cf6 0%, #ec4899 100%); }
.product-badge.badge-hot { background: linear-gradient(135deg, #ef4444 0%, #f59e0b 100%); }
.product-badge.badge-sale { background: linear-gradient(135deg, #f59e0b 0%, #10b981 100%); }
.btn-primary { background: linear-gradient(135deg, #0a192f 0%, #1e3a8a 100%); border: none; position: relative; overflow: hidden; }
.btn-primary::before { content: ''; position: absolute; top: 0; left: -100%; width: 100%; height: 100%; background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent); transition: left 0.5s; }
.btn-primary:hover::before { left: 100%; }
.category-box::after { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(59, 130, 246, 0.2) 0%, rgba(139, 92, 246, 0.2) 100%); opacity: 0; transition: opacity 0.3s; }
.category-box:hover::after { opacity: 1; }
h2 { background: linear-gradient(135deg, #0a192f 0%, #3b82f6 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }


/* Premium Category Cards */
.premium-category-card:hover { transform: translateY(-12px) scale(1.03); box-shadow: 0 20px 50px rgba(0,0,0,0.25) !important; }
.premium-category-card::before { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.1) 100%); opacity: 0; transition: opacity 0.3s; pointer-events: none; }
.premium-category-card:hover::before { opacity: 1; }
@media (max-width: 768px) { .premium-category-card { min-height: 180px !important; padding: 30px 20px !important; } .premium-category-card h3 { font-size: 1.3rem !important; } .premium-category-card div[style*='font-size: 3.5rem'] { font-size: 2.5rem !important; } }


/* Mobile App-Like Optimizations */
@media (max-width: 768px) {
    /* Smooth scrolling */
    html { scroll-behavior: smooth; -webkit-overflow-scrolling: touch; }
    body { -webkit-tap-highlight-color: transparent; }
    
    /* Hide desktop nav, show mobile */
    .nav-links { display: none !important; }
    .mobile-menu-btn { display: block !important; }
    
    /* Category boxes - 1 column on mobile */
    .premium-category-card { margin-bottom: 20px; }
    
    /* Footer - stack columns */
    footer .grid { grid-template-columns: 1fr !important; gap: 30px !important; }
    
    /* Hero slider text */
    .premium-hero-slide h1 { font-size: 2rem !important; }
    .premium-hero-slide p { font-size: 1rem !important; }
    
    /* Touch-friendly buttons */
    .btn, a, button { min-height: 44px; min-width: 44px; }
    
    /* Bottom nav always visible */
    .bottom-nav { display: flex !important; position: fixed; bottom: 0; left: 0; right: 0; z-index: 1000; background: #fff; box-shadow: 0 -2px 10px rgba(0,0,0,0.1); }
    
    /* Add padding for bottom nav space */
    body { padding-bottom: 70px; }
    
    /* Product grid - 1 column mobile */
    .product-grid { grid-template-columns: 1fr !important; }
    
    /* Container padding */
    .container { padding: 0 20px; }
    
    /* Section padding */
    .section-padding { padding: 40px 0 !important; }
    
    /* Premium hero stats - stack */
    .premium-hero-slide .container > div > div { grid-template-columns: 1fr !important; text-align: center; }
    .premium-hero-slide .container > div > div > div:last-child { display: none; } /* Hide right panel on mobile */
}

/* Mobile-first touch optimizations */
* { -webkit-tap-highlight-color: rgba(0,0,0,0); -webkit-touch-callout: none; }
a, button { touch-action: manipulation; }
img { -webkit-user-drag: none; user-select: none; }

