/* ===========================================
   GND THEME - Modern E-Commerce Design System
   =========================================== */

/* ===== CSS Custom Properties (Design Tokens) ===== */
:root {
  /* Primary Colors - Premium Cyber Blue */
  --gnd-primary: #0ea5e9;
  --gnd-primary-dark: #0284c7;
  --gnd-primary-light: #38bdf8;
  --gnd-primary-soft: rgba(14, 165, 233, 0.1);
  --gnd-primary-gradient: linear-gradient(135deg, #0ea5e9 0%, #2563eb 100%);

  /* Secondary Colors - Sophisticated Grays */
  --gnd-secondary: #64748b;
  --gnd-secondary-dark: #475569;
  --gnd-secondary-light: #94a3b8;

  /* Accent & Action Colors */
  --gnd-accent: #f59e0b;
  --gnd-success: #10b981;
  --gnd-danger: #f43f5e;
  --gnd-warning: #f59e0b;

  /* Neutral Colors - Modern Slate */
  --gnd-dark: #0f172a;
  --gnd-dark-light: #1e293b;
  --gnd-gray-900: #111827;
  --gnd-gray-800: #1f2937;
  --gnd-gray-700: #374151;
  --gnd-gray-600: #4b5563;
  --gnd-gray-500: #6b7280;
  --gnd-gray-400: #9ca3af;
  --gnd-gray-300: #d1d5db;
  --gnd-gray-200: #e2e8f0;
  --gnd-gray-100: #f1f5f9;
  --gnd-light: #f8fafc;
  --gnd-white: #ffffff;

  /* Spacing - Standardized Scale */
  --gnd-space-xs: 4px;
  --gnd-space-sm: 8px;
  --gnd-space-md: 16px;
  --gnd-space-lg: 24px;
  --gnd-space-xl: 32px;
  --gnd-space-2xl: 48px;
  --gnd-space-3xl: 64px;

  /* Typography - Clean Tech Stack */
  --gnd-font-family: 'Inter', -apple-system, system-ui, sans-serif;
  --gnd-font-heading: 'Poppins', sans-serif;

  /* Border Radius - Modern Rounded Shapes */
  --gnd-radius-sm: 6px;
  --gnd-radius-md: 10px;
  --gnd-radius-lg: 16px;
  --gnd-radius-xl: 20px;
  --gnd-radius-full: 9999px;

  /* Shadows - Deep & Sophisticated */
  --gnd-shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --gnd-shadow-md: 0 4px 12px -2px rgba(15, 23, 42, 0.12);
  --gnd-shadow-lg: 0 12px 24px -6px rgba(15, 23, 42, 0.15);
  --gnd-shadow-xl: 0 25px 50px -12px rgba(15, 23, 42, 0.25);
  --gnd-shadow-card: 0 4px 20px rgba(15, 23, 42, 0.06);
  --gnd-shadow-card-hover: 0 12px 40px rgba(15, 23, 42, 0.12);

  /* Glassmorphism */
  --gnd-glass-bg: rgba(255, 255, 255, 0.8);
  --gnd-glass-border: rgba(255, 255, 255, 0.2);
  --gnd-glass-blur: blur(16px);

  /* Container */
  --gnd-container-max: 1440px;
}

/* ===== Google Fonts Import ===== */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Poppins:wght@400;500;600;700;800&display=swap');

/* ===== Material Symbols Outlined Styling ===== */
.material-symbols-outlined {
  font-family: 'Material Symbols Outlined';
  font-weight: normal;
  font-style: normal;
  font-size: 20px;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  display: inline-block;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-feature-settings: 'liga';
  font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 20;
  vertical-align: middle;
}

/* Icon size variations */
.material-symbols-outlined.icon-sm {
  font-size: 16px;
}

.material-symbols-outlined.icon-lg {
  font-size: 24px;
}

.material-symbols-outlined.icon-xl {
  font-size: 32px;
}

/* ===== Base Styles ===== */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--gnd-font-family);
  font-size: var(--gnd-font-size-base);
  line-height: 1.6;
  color: var(--gnd-gray-700);
  background-color: var(--gnd-light);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: var(--gnd-primary);
  text-decoration: none;
  transition: color var(--gnd-transition-fast);
}

a:hover {
  color: var(--gnd-primary-dark);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--gnd-font-heading);
  font-weight: 600;
  color: var(--gnd-dark);
  line-height: 1.3;
  margin-bottom: var(--gnd-space-md);
}

img {
  max-width: 100%;
  height: auto;
}

/* ===== Layout & Grid System (Custom Bootstrap Replacement) ===== */
.container {
  width: 100%;
  padding-right: 15px;
  padding-left: 15px;
  margin-right: auto;
  margin-left: auto;
}

@media (min-width: 576px) {
  .container {
    max-width: 540px;
  }
}

@media (min-width: 768px) {
  .container {
    max-width: 720px;
  }
}

@media (min-width: 992px) {
  .container {
    max-width: 960px;
  }
}

@media (min-width: 1200px) {
  .container {
    max-width: 1140px;
  }
}

@media (min-width: 1400px) {
  .container {
    max-width: var(--gnd-container-max, 1320px);
  }
}

.row {
  display: flex;
  flex-wrap: wrap;
  margin-right: -15px;
  margin-left: -15px;
}

[class*="col-"] {
  position: relative;
  width: 100%;
  padding-right: 15px;
  padding-left: 15px;
  min-height: 1px;
}

/* LG (Desktop) 1200px+ */
@media (min-width: 1200px) {
  .col-lg-1 {
    flex: 0 0 8.333333%;
    max-width: 8.333333%;
  }

  .col-lg-2 {
    flex: 0 0 16.666667%;
    max-width: 16.666667%;
  }

  .col-lg-3 {
    flex: 0 0 25%;
    max-width: 25%;
  }

  .col-lg-4 {
    flex: 0 0 33.333333%;
    max-width: 33.333333%;
  }

  .col-lg-5 {
    flex: 0 0 41.666667%;
    max-width: 41.666667%;
  }

  .col-lg-6 {
    flex: 0 0 50%;
    max-width: 50%;
  }

  .col-lg-7 {
    flex: 0 0 58.333333%;
    max-width: 58.333333%;
  }

  .col-lg-8 {
    flex: 0 0 66.666667%;
    max-width: 66.666667%;
  }

  .col-lg-9 {
    flex: 0 0 75%;
    max-width: 75%;
  }

  .col-lg-10 {
    flex: 0 0 83.333333%;
    max-width: 83.333333%;
  }

  .col-lg-11 {
    flex: 0 0 91.666667%;
    max-width: 91.666667%;
  }

  .col-lg-12 {
    flex: 0 0 100%;
    max-width: 100%;
  }

  .hidden-lg {
    display: none !important;
  }
}

/* MD (Tablet Landscape) 992px - 1199px */
@media (min-width: 992px) and (max-width: 1199px) {
  .col-md-1 {
    flex: 0 0 8.333333%;
    max-width: 8.333333%;
  }

  .col-md-2 {
    flex: 0 0 16.666667%;
    max-width: 16.666667%;
  }

  .col-md-3 {
    flex: 0 0 25%;
    max-width: 25%;
  }

  .col-md-4 {
    flex: 0 0 33.333333%;
    max-width: 33.333333%;
  }

  .col-md-6 {
    flex: 0 0 50%;
    max-width: 50%;
  }

  .col-md-12 {
    flex: 0 0 100%;
    max-width: 100%;
  }

  .hidden-md {
    display: none !important;
  }
}

/* SM (Tablet Portrait) 768px - 991px */
@media (min-width: 768px) and (max-width: 991px) {
  .col-sm-1 {
    flex: 0 0 8.333333%;
    max-width: 8.333333%;
  }

  .col-sm-2 {
    flex: 0 0 16.666667%;
    max-width: 16.666667%;
  }

  .col-sm-3 {
    flex: 0 0 25%;
    max-width: 25%;
  }

  .col-sm-4 {
    flex: 0 0 33.333333%;
    max-width: 33.333333%;
  }

  .col-sm-5 {
    flex: 0 0 41.666667%;
    max-width: 41.666667%;
  }

  .col-sm-6 {
    flex: 0 0 50%;
    max-width: 50%;
  }

  .col-sm-12 {
    flex: 0 0 100%;
    max-width: 100%;
  }

  .hidden-sm {
    display: none !important;
  }
}

/* XS (Mobile) 0px - 767px */
@media (max-width: 767px) {
  .col-xs-1 {
    flex: 0 0 8.333333%;
    max-width: 8.333333%;
  }

  .col-xs-2 {
    flex: 0 0 16.666667%;
    max-width: 16.666667%;
  }

  .col-xs-3 {
    flex: 0 0 25%;
    max-width: 25%;
  }

  .col-xs-4 {
    flex: 0 0 33.333333%;
    max-width: 33.333333%;
  }

  .col-xs-6 {
    flex: 0 0 50%;
    max-width: 50%;
  }

  .col-xs-12 {
    flex: 0 0 100%;
    max-width: 100%;
  }

  .hidden-xs {
    display: none !important;
  }
}

/* Utilities & Bootstrap Helpers */
.clearfix::after {
  content: "";
  clear: both;
  display: table;
}

.pull-left {
  float: left !important;
}

.pull-right {
  float: right !important;
}

.text-center {
  text-align: center !important;
}

.text-left {
  text-align: left !important;
}

.text-right {
  text-align: right !important;
}

.hidden {
  display: none !important;
}

.block {
  display: block !important;
}

.inline-block {
  display: inline-block !important;
}

/* Forms */
.form-inline {
  display: flex;
  flex-flow: row wrap;
  align-items: center;
}

/* ===== PRODUCT DETAIL PAGE ===== */
.primary-box {
  margin-bottom: 40px;
}

.pb-right-column {
  background: var(--gnd-light);
  padding: 30px;
  border-radius: var(--gnd-radius-lg);
  border: 1px solid var(--gnd-gray-200);
}

.form-group {
  margin-bottom: 1rem;
}

.form-control {
  display: block;
  width: 100%;
  padding: 0.375rem 0.75rem;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  color: #212529;
  background-color: #fff;
  background-clip: padding-box;
  border: 1px solid #ced4da;
  appearance: none;
  border-radius: 0.25rem;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

/* Spacing Helpers */
.m-0 {
  margin: 0 !important;
}

.mt-0 {
  margin-top: 0 !important;
}

.mt-5 {
  margin-top: 5px !important;
}

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

.mt-15 {
  margin-top: 15px !important;
}

.mt-20 {
  margin-top: 20px !important;
}

.mb-0 {
  margin-bottom: 0 !important;
}

.mb-5 {
  margin-bottom: 5px !important;
}

.mb-10 {
  margin-bottom: 10px !important;
}

.mb-15 {
  margin-bottom: 15px !important;
}

.mb-20 {
  margin-bottom: 20px !important;
}

.p-0 {
  padding: 0 !important;
}

.pt-0 {
  padding-top: 0 !important;
}

.pt-10 {
  padding-top: 10px !important;
}

.pb-0 {
  padding-bottom: 0 !important;
}

.pb-10 {
  padding-bottom: 10px !important;
}

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

/* ===== HEADER STYLES ===== */
#header,
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--gnd-white);
  box-shadow: var(--gnd-shadow-md);
}

/* Top Discount Bar */
.headerTop-discount {
  background: var(--gnd-primary-gradient);
  color: var(--gnd-white);
  padding: var(--gnd-space-sm) 0;
  font-size: var(--gnd-font-size-sm);
  text-align: center;
  font-weight: 500;
}

.headerTop-discount .colgroup,
.headerTop-discount .column {
  text-align: center;
}

/* Top Header */
.top-header {
  background: linear-gradient(135deg, var(--gnd-dark) 0%, var(--gnd-dark-light) 100%);
  color: var(--gnd-gray-300);
  padding: 10px 0;
  font-size: var(--gnd-font-size-sm);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.top-header a {
  color: var(--gnd-gray-300);
  padding: var(--gnd-space-xs) var(--gnd-space-md);
  display: inline-flex;
  align-items: center;
  gap: var(--gnd-space-xs);
  transition: color var(--gnd-transition-fast);
}

.top-header a:hover {
  color: var(--gnd-white);
}

.top-header .material-icons,
.top-header i {
  font-size: 16px;
}

.support-link {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
}

/* Main Header */
.main-header {
  padding: var(--gnd-space-md) 0;
}

/* Logo */
.logo img {
  max-height: 60px;
  width: auto;
  transition: transform var(--gnd-transition-base);
}

.logo img:hover {
  transform: scale(1.02);
}

/* Search Box */
.header-search-box {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-grow: 1;
  width: 100%;
  padding: 0 30px;
}

.header-search-box .form-group,
.header-search-box .input-serach {
  position: relative;
  width: 100%;
  max-width: 100%;
  flex-grow: 1;
}

.header-search-box input[type="text"],
#detailSearchKey {
  width: 100%;
  padding: 14px 60px 14px 20px;
  border: 2px solid var(--gnd-gray-200);
  border-radius: var(--gnd-radius-full);
  font-size: var(--gnd-font-size-base);
  background: var(--gnd-gray-100);
  transition: all var(--gnd-transition-base);
}

.header-search-box input[type="text"]:focus,
#detailSearchKey:focus {
  outline: none;
  border-color: var(--gnd-primary);
  background: var(--gnd-white);
  box-shadow: 0 0 0 3px var(--gnd-primary-soft);
}

.header-search-box .btn-search {
  position: absolute;
  right: 5px;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border: none;
  border-radius: var(--gnd-radius-full);
  background: var(--gnd-primary-gradient);
  color: var(--gnd-white);
  cursor: pointer;
  transition: all var(--gnd-transition-base);
  display: flex;
  align-items: center;
  justify-content: center;
}

.header-search-box .btn-search:hover {
  transform: translateY(-50%) scale(1.05);
  box-shadow: var(--gnd-shadow-md);
}

/* User Navigation */
.user-block {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.user-navigation {
  display: flex;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: var(--gnd-space-sm);
}

.user-navigation li {
  position: relative;
}

.user-navigation li>a,
.login-register-button-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: var(--gnd-space-sm) var(--gnd-space-md);
  color: var(--gnd-gray-700);
  border-radius: var(--gnd-radius-md);
  transition: all var(--gnd-transition-base);
  cursor: pointer;
}

.user-navigation li>a:hover,
.login-register-button-container:hover {
  background: var(--gnd-gray-100);
  color: var(--gnd-primary);
}

.user-navigation .icon-container {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gnd-gray-100);
  border-radius: var(--gnd-radius-full);
  margin-bottom: var(--gnd-space-xs);
  transition: all var(--gnd-transition-base);
}

.user-navigation li:hover .icon-container {
  background: var(--gnd-primary);
  color: var(--gnd-white);
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(14, 165, 233, 0.3);
}

.user-navigation .nav-span,
.user-navigation .login-container span {
  font-size: var(--gnd-font-size-xs);
  font-weight: 500;
}

/* Cart Badge */
.basket-item-count {
  position: absolute;
  top: 0;
  right: 5px;
  background: var(--gnd-danger);
  color: var(--gnd-white);
  font-size: 11px;
  font-weight: 700;
  min-width: 20px;
  height: 20px;
  border-radius: var(--gnd-radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 5px;
}

/* Login Panel Dropdown */
.login-panel-container {
  position: absolute;
  top: 100%;
  right: 0;
  background: var(--gnd-white);
  border-radius: var(--gnd-radius-lg);
  box-shadow: var(--gnd-shadow-xl);
  padding: var(--gnd-space-md);
  min-width: 180px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all var(--gnd-transition-base);
  z-index: 100;
}

.login-register-button-container:hover .login-panel-container {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.account-button {
  display: block;
  padding: var(--gnd-space-sm) var(--gnd-space-md);
  margin-bottom: var(--gnd-space-xs);
  border-radius: var(--gnd-radius-md);
  text-align: center;
  font-weight: 500;
  transition: all var(--gnd-transition-base);
}

.account-button.login {
  background: var(--gnd-primary);
  color: var(--gnd-white);
}

.account-button.login:hover {
  background: var(--gnd-primary-dark);
}

.account-button.register {
  background: var(--gnd-gray-100);
  color: var(--gnd-gray-700);
}

.account-button.register:hover {
  background: var(--gnd-gray-200);
}

/* ===== NAVIGATION ===== */
#nav-top-menu,
.nav-top-menu {
  background: var(--gnd-dark);
  border-top: 1px solid var(--gnd-dark-light);
}

#main-menu,
.main-menu {
  padding: 0;
}

.main-menu .navbar {
  margin: 0;
  border: none;
  background: transparent;
  border-radius: 0;
  min-height: auto;
}

.main-menu .navbar-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  width: 100%;
}

.main-menu .navbar-nav>li {
  position: relative;
}

.main-menu .navbar-nav>li>a {
  display: flex;
  align-items: center;
  gap: var(--gnd-space-sm);
  padding: var(--gnd-space-md) var(--gnd-space-lg);
  color: var(--gnd-gray-300);
  font-weight: 500;
  font-size: var(--gnd-font-size-sm);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all var(--gnd-transition-base);
  border-bottom: 3px solid transparent;
}

.main-menu .navbar-nav>li>a:hover,
.main-menu .navbar-nav>li.dropdown:hover>a {
  color: var(--gnd-white);
  background: rgba(255, 255, 255, 0.05);
  border-bottom-color: var(--gnd-primary);
}

.main-menu .navbar-nav>li>a img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

/* Mega Menu Dropdown */
.main-menu .dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 700px;
  background: var(--gnd-white);
  border-radius: 0 0 var(--gnd-radius-lg) var(--gnd-radius-lg);
  box-shadow: var(--gnd-shadow-xl);
  padding: var(--gnd-space-lg);
  border: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all var(--gnd-transition-smooth);
}

.main-menu .dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.main-menu .dropdown-menu li {
  list-style: none;
}

.main-menu .dropdown-menu li a {
  display: block;
  padding: var(--gnd-space-sm) var(--gnd-space-md);
  color: var(--gnd-gray-700);
  border-radius: var(--gnd-radius-sm);
  transition: all var(--gnd-transition-fast);
}

.main-menu .dropdown-menu li a:hover {
  background: var(--gnd-gray-100);
  color: var(--gnd-primary);
  padding-left: calc(var(--gnd-space-md) + 4px);
}

.main-menu .dropdown-menu .catLanding {
  background: var(--gnd-gray-100);
  padding: var(--gnd-space-md);
  border-radius: var(--gnd-radius-md);
}

.main-menu .dropdown-menu .catLanding a {
  display: block;
  padding: var(--gnd-space-sm) var(--gnd-space-md);
  color: var(--gnd-primary);
  font-weight: 500;
  border-radius: var(--gnd-radius-sm);
  transition: all var(--gnd-transition-fast);
}

.main-menu .dropdown-menu .catLanding a:hover {
  background: var(--gnd-primary);
  color: var(--gnd-white);
}

.main-menu .dropdown-menu .catimg img {
  border-radius: var(--gnd-radius-md);
  transition: transform var(--gnd-transition-base);
}

.main-menu .dropdown-menu .catimg img:hover {
  transform: scale(1.02);
}

/* ===== SERVICE BAR ===== */
.service {
  display: flex;
  flex-wrap: wrap;
  gap: var(--gnd-space-md);
  padding: var(--gnd-space-xl) 0;
  justify-content: center;
}

.service-item {
  display: flex;
  align-items: center;
  gap: var(--gnd-space-md);
  padding: var(--gnd-space-md) var(--gnd-space-lg);
  background: var(--gnd-white);
  border-radius: var(--gnd-radius-lg);
  box-shadow: var(--gnd-shadow-card);
  transition: all var(--gnd-transition-base);
  flex: 1;
  min-width: 180px;
  max-width: 220px;
}

.service-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--gnd-shadow-card-hover);
}

.service-item .icon {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gnd-primary-gradient);
  border-radius: var(--gnd-radius-full);
  color: var(--gnd-white);
  font-size: 20px;
  flex-shrink: 0;
}

.service-item .info h3 {
  font-size: var(--gnd-font-size-xs);
  font-weight: 600;
  color: var(--gnd-dark);
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ===== SECTION HEADINGS ===== */
.page-heading {
  display: flex;
  align-items: center;
  margin-bottom: var(--gnd-space-lg);
  padding-bottom: var(--gnd-space-md);
  border-bottom: 2px solid var(--gnd-gray-200);
}

.page-heading-title {
  display: flex;
  align-items: center;
  gap: var(--gnd-space-sm);
  font-family: var(--gnd-font-heading);
  font-size: var(--gnd-font-size-xl);
  font-weight: 600;
  color: var(--gnd-dark);
}

.page-heading-title .material-icons {
  color: var(--gnd-primary);
}

/* ===== CATEGORY PAGE ===== */
.category_prod {
  display: block;
}

.category_prod>* {
  display: block;
  width: 100%;
}

.category_prod .view-product-list {
  display: block !important;
  width: 100%;
}

.view-product-list {
  flex-direction: column;
}

.view-product-list .product-list {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 50px !important;
}

/* Category Header & Toolbar */
.page-heading,
.toolbar-products,
.top-pagination,
.product-count,
.sort-by-product-amount {
  width: 100%;
  margin-bottom: var(--gnd-space-md);
}

.page-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--gnd-space-md);
  background: var(--gnd-white);
  border-radius: var(--gnd-radius-lg);
  box-shadow: var(--gnd-shadow-sm);
  margin-bottom: var(--gnd-space-lg);
}

.page-heading-title {
  font-size: var(--gnd-font-size-xl);
  font-weight: 600;
  color: var(--gnd-dark);
  display: flex;
  align-items: center;
  gap: var(--gnd-space-sm);
}

/* Sorting & Filter Bar */
.toolbar-products {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--gnd-space-md);
  background: var(--gnd-white);
  border-radius: var(--gnd-radius-lg);
  box-shadow: var(--gnd-shadow-sm);
  flex-wrap: wrap;
  gap: var(--gnd-space-md);
}

.product-count {
  color: var(--gnd-gray-600);
  font-size: var(--gnd-font-size-sm);
}

.sort-by-product-amount {
  display: flex;
  align-items: center;
  gap: var(--gnd-space-sm);
}

.sort-by-product-amount label {
  color: var(--gnd-gray-600);
  font-size: var(--gnd-font-size-sm);
  margin: 0;
}

.sort-by-product-amount select,
#orderBy {
  padding: var(--gnd-space-sm) var(--gnd-space-md);
  border: 1px solid var(--gnd-gray-300);
  border-radius: var(--gnd-radius-md);
  background: var(--gnd-white);
  color: var(--gnd-dark);
  font-size: var(--gnd-font-size-sm);
  cursor: pointer;
  transition: all var(--gnd-transition-base);
}

.sort-by-product-amount select:hover,
#orderBy:hover {
  border-color: var(--gnd-primary);
}

.sort-by-product-amount select:focus,
#orderBy:focus {
  outline: none;
  border-color: var(--gnd-primary);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

/* Pagination */
.top-pagination,
.bottom-pagination {
  display: flex;
  justify-content: center;
  margin: var(--gnd-space-lg) 0;
}

.pagination {
  display: flex;
  gap: var(--gnd-space-xs);
  list-style: none;
  padding: 0;
  margin: 0;
}

.pagination li a,
.pagination li span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 var(--gnd-space-sm);
  background: var(--gnd-white);
  border: 1px solid var(--gnd-gray-300);
  border-radius: var(--gnd-radius-md);
  color: var(--gnd-dark);
  font-size: var(--gnd-font-size-sm);
  transition: all var(--gnd-transition-base);
}

.pagination li a:hover {
  background: var(--gnd-primary);
  border-color: var(--gnd-primary);
  color: var(--gnd-white);
}

.pagination li.active span,
.pagination li.active a {
  background: var(--gnd-primary);
  border-color: var(--gnd-primary);
  color: var(--gnd-white);
}

/* ===== PRODUCT LISTING ===== */
.product-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 50px;
  list-style: none;
  padding: 0;
  margin: 80px 0;
}

/* Ensure grid class maintains grid display */
.product-list.grid,
.category_prod .product-list.grid,
#center_column .product-list.grid {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
}

/* When used as a slider, Owl Carousel handles items, so we disable grid */
.owl-carousel.product-list {
  display: block;
  grid-template-columns: none;
  gap: 0;
}

/* Default product list items - No more Bootstrap col classes needed */
.product-list>li {
  padding: 0;
  margin-bottom: 0;
  width: auto;
  min-height: auto;
}

/* Slider items usually don't need fixed width as Owl handles it */
.UrunSliderWrap .product-list li {
  min-height: auto;
}

.urunFirsatSlider .product-list li {
  width: 100%;
  padding: 0;
}

.product-container {
  background: var(--gnd-white);
  border-radius: var(--gnd-radius-lg);
  border: 1px solid var(--gnd-gray-100);
  overflow: hidden;
  transition: all var(--gnd-transition-smooth);
  padding: 20px;
  height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: var(--gnd-shadow-card);
}

.product-container:hover {
  transform: translateY(-8px);
  box-shadow: var(--gnd-shadow-card-hover);
  border-color: var(--gnd-primary-soft);
}

.product-container:hover {
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  border-color: #ddd;
}

.product-container .left-block {
  position: relative;
  overflow: hidden;
  background: var(--gnd-light);
  border-radius: var(--gnd-radius-md);
  aspect-ratio: 1/1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-container .left-block .imgLink {
  display: block;
  width: 100%;
  height: 100%;
}

.product-container .left-block .imgLink img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform var(--gnd-transition-slow);
}

.product-container:hover .left-block .imgLink img {
  transform: scale(1.08);
}

/* Product Ribbons */
.catalog-item-ribbons {
  position: absolute;
  top: var(--gnd-space-md);
  left: var(--gnd-space-md);
  z-index: 10;
  display: flex;
  flex-direction: column;
  gap: var(--gnd-space-xs);
}

.ribbon-new,
.ribbon-sale,
.ribbon-freeCargo,
.ribbon-fastCargo {
  padding: var(--gnd-space-xs) var(--gnd-space-sm);
  font-size: var(--gnd-font-size-xs);
  font-weight: 700;
  text-transform: uppercase;
  border-radius: var(--gnd-radius-sm);
  color: var(--gnd-white);
}

.ribbon-new {
  background: var(--gnd-primary);
}

.ribbon-sale {
  background: var(--gnd-danger);
}

.ribbon-freeCargo {
  background: var(--gnd-success);
}

.ribbon-fastCargo {
  background: var(--gnd-accent);
}

/* Buttons Overlay */
.product-container .buttons {
  position: absolute;
  bottom: -50px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 12px;
  padding: 15px;
  background: linear-gradient(to top, rgba(255, 255, 255, 0.95), transparent);
  transition: all var(--gnd-transition-smooth);
  z-index: 10;
  opacity: 0;
}

.product-container:hover .buttons {
  bottom: 0;
  opacity: 1;
}

.product-container .buttons a {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--gnd-radius-full);
  background: var(--gnd-white);
  color: var(--gnd-dark);
  box-shadow: var(--gnd-shadow-md);
  transition: all var(--gnd-transition-base);
  text-decoration: none;
}

.product-container .buttons a:hover {
  background: var(--gnd-primary);
  color: var(--gnd-white);
  transform: scale(1.1);
}

.product-container .buttons .addtowishlist:hover {
  background: var(--gnd-danger);
}

/* Product Info */
.product-container .right-block {
  padding: 0;
  margin-top: 15px;
}

.product-container .product-name {
  height: 44px;
  line-height: 22px;
  overflow: hidden;
  margin-bottom: 10px;
}

.product-container .product-name a {
  color: var(--gnd-dark);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 15px;
  font-weight: 500;
  transition: color var(--gnd-transition-fast);
}

.product-container .product-name a:hover {
  color: var(--gnd-primary);
}

/* Price Styling */
.content_price {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.content_price .price {
  display: block;
}

.content_price .product-price {
  font-size: 18px;
  font-weight: 700;
  color: var(--gnd-dark);
}

.content_price .old-price {
  font-size: 13px;
  color: var(--gnd-gray-500);
  text-decoration: line-through;
}

.content_price .old-price {
  text-decoration: line-through;
  padding-left: 10px;
  height: 16px;
  line-height: 16px;
  text-align: left;
  font-size: 13px;
  color: #919191;
  font-weight: 500;
  display: block;
}

.content_price .product-price,
.content_price .price:not(.old-price) {
  font-size: 19px;
  color: #414141;
  font-weight: 700;
  line-height: 1.2;
  display: block;
  height: 20px;
  white-space: nowrap;
  padding-left: 10px;
}

/* Discount Badge */
.discount-badge {
  display: inline-flex;
  align-items: center;
  background: linear-gradient(135deg, var(--gnd-danger) 0%, #dc2626 100%);
  color: var(--gnd-white);
  padding: 2px 8px;
  border-radius: var(--gnd-radius-sm);
  font-weight: 700;
  font-size: var(--gnd-font-size-xs);
}

.discount-badge small {
  font-size: 10px;
  margin-right: 1px;
}

/* Out of Stock Badge */
.tukendimBadge {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(0, 0, 0, 0.7);
  color: var(--gnd-white);
  padding: var(--gnd-space-sm) var(--gnd-space-md);
  border-radius: var(--gnd-radius-md);
  font-weight: 600;
  font-size: var(--gnd-font-size-sm);
  z-index: 5;
}

/* ===== SLIDER ===== */
.vitrinSlider {
  border-radius: var(--gnd-radius-xl);
  overflow: hidden;
  box-shadow: var(--gnd-shadow-lg);
  position: relative;
}

.vitrinSlider img {
  width: 100%;
  height: auto;
  display: block;
}

/* Owl Carousel Navigation */
.vitrinSlider .owl-nav {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  pointer-events: none;
}

.vitrinSlider .owl-prev,
.vitrinSlider .owl-next {
  position: absolute;
  width: 50px !important;
  height: 50px !important;
  background: rgba(255, 255, 255, 0.9) !important;
  border-radius: var(--gnd-radius-full);
  display: flex !important;
  align-items: center;
  justify-content: center;
  color: var(--gnd-dark) !important;
  font-size: 24px;
  opacity: 0;
  transition: all var(--gnd-transition-base);
  pointer-events: all;
  box-shadow: var(--gnd-shadow-md);
}

.vitrinSlider:hover .owl-prev,
.vitrinSlider:hover .owl-next {
  opacity: 1;
}

.vitrinSlider .owl-prev {
  left: 20px !important;
}

.vitrinSlider .owl-next {
  right: 20px !important;
}

.vitrinSlider .owl-prev:hover,
.vitrinSlider .owl-next:hover {
  background: var(--gnd-primary) !important;
  color: var(--gnd-white) !important;
  transform: scale(1.1);
}

/* Owl Carousel Dots */
.vitrinSlider .owl-dots {
  position: absolute;
  bottom: 20px !important;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
}

.vitrinSlider .owl-dot {
  width: 12px !important;
  height: 12px !important;
  background: rgba(255, 255, 255, 0.5) !important;
  border-radius: var(--gnd-radius-full);
  border: 2px solid var(--gnd-white);
  transition: all var(--gnd-transition-base);
  cursor: pointer;
}

.vitrinSlider .owl-dot.active {
  width: 40px !important;
  background: var(--gnd-white) !important;
}

.vitrinSlider .owl-dot:hover {
  background: rgba(255, 255, 255, 0.8) !important;
}

/* ===== PRODUCT DETAIL PAGE ===== */
.primary-box {
  background: var(--gnd-white);
  border-radius: var(--gnd-radius-xl);
  box-shadow: var(--gnd-shadow-card);
  padding: var(--gnd-space-xl);
  margin-bottom: var(--gnd-space-xl);
}

.product-image {
  position: relative;
}

.product-image .product-full {
  position: relative;
  border-radius: var(--gnd-radius-lg);
  overflow: hidden;
  background: var(--gnd-gray-100);
}

.product-image .product-full img {
  width: 100%;
  height: auto;
  display: block;
}

/* Product Image Thumbnails */
#product .pb-left-column .product-image .product-img-thumb {
  padding: 0 15px 0 0;
  float: left;
  width: 10%;
  display: flex;
  flex-direction: column;
}

#product .pb-left-column .product-image .product-img-thumb a {
  width: auto;
  height: auto;
  display: block !important;
  border: 1px solid var(--gnd-gray-200);
  padding: 3px;
  margin: 0 0 10px 0;
  float: none;
  border-radius: var(--gnd-radius-sm);
  transition: all var(--gnd-transition-base);
  cursor: pointer;
}

#product .pb-left-column .product-image .product-img-thumb a:hover {
  border-color: var(--gnd-primary);
  box-shadow: var(--gnd-shadow-sm);
}

#product .pb-left-column .product-image .product-img-thumb a.active {
  border-color: var(--gnd-primary);
  box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.2);
}

#product .pb-left-column .product-image .product-img-thumb a img {
  width: 100%;
  display: block !important;
}

#product .pb-left-column .product-image .product-full {
  float: right;
  width: 90%;
  position: relative;
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 500px;
}

/* Product Detail - Limit main image size */
#product .pb-left-column .product-image .product-full img {
  max-height: 460px;
  width: auto;
  max-width: 100%;
  margin: 0 auto;
  display: block;
  object-fit: contain;
}

/* Product Detail - Catalog ribbons positioning */
#product .product-full .catalog-item-ribbons {
  position: absolute;
  top: 15px;
  left: 15px;
  z-index: 10;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

/* Product Detail - Buttons positioning (right side) */
#product .product-full .buttons {
  position: absolute;
  top: 15px;
  right: 15px;
  z-index: 10;
}

#product .product-full .buttons .addtowishlist {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gnd-white);
  border-radius: var(--gnd-radius-full);
  box-shadow: var(--gnd-shadow-md);
  color: var(--gnd-gray-600);
  transition: all var(--gnd-transition-fast);
}

#product .product-full .buttons .addtowishlist:hover {
  background: var(--gnd-danger);
  color: var(--gnd-white);
}

/* Product Qty Form Styling */
.product-qty {
  display: flex;
  align-items: center;
  margin-bottom: var(--gnd-space-md);
}

.product-qty .qty {
  display: flex;
  align-items: center;
  background: var(--gnd-gray-100);
  border-radius: var(--gnd-radius-md);
  padding: 2px;
  border: 1px solid var(--gnd-gray-200);
}

.product-qty .qty .btn-plus,
.product-qty .qty .btn-minus {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gnd-white);
  border-radius: var(--gnd-radius-sm);
  cursor: pointer;
  transition: all var(--gnd-transition-fast);
  color: var(--gnd-dark);
}

.product-qty .qty .btn-plus:hover,
.product-qty .qty .btn-minus:hover {
  background: var(--gnd-primary);
  color: var(--gnd-white);
}

.product-qty .qty input {
  width: 50px;
  text-align: center;
  border: none;
  background: transparent;
  font-weight: 600;
  font-size: var(--gnd-font-size-base);
}

.pb-right-column {
  padding-left: 50px;
}

.product-name {
  font-family: var(--gnd-font-heading);
  font-size: var(--gnd-font-size-2xl);
  font-weight: 700;
  color: var(--gnd-dark);
  margin-bottom: var(--gnd-space-md);
  line-height: 1.2;
}

.info-orther {
  margin-bottom: var(--gnd-space-lg);
  padding-bottom: var(--gnd-space-lg);
  border-bottom: 1px solid var(--gnd-gray-200);
}

.info-orther p {
  margin-bottom: var(--gnd-space-xs);
  color: var(--gnd-gray-600);
}

.info-orther strong {
  color: var(--gnd-dark);
}

/* Rating Stars */
.rating .stars {
  display: flex;
  align-items: center;
  gap: 2px;
}

.rating .stars .fa-star {
  font-size: 14px;
}

.rating .stars .fa-star.color-orange {
  color: var(--gnd-accent);
}

.rating .stars .fa-star.text-gray {
  color: var(--gnd-gray-300);
}

/* Price Group */
.product-price-group {
  display: flex;
  align-items: center;
  gap: var(--gnd-space-md);
  margin-bottom: var(--gnd-space-lg);
}

.product-price-group .pricex {
  display: flex;
  flex-direction: column;
}

.product-price-group .old-price {
  font-size: var(--gnd-font-size-lg);
  color: var(--gnd-gray-400);
  text-decoration: line-through;
}

.product-price-group .price:not(.old-price) {
  font-size: var(--gnd-font-size-3xl);
  font-weight: 700;
  color: var(--gnd-primary);
}

.product-price-group .discount {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 65px;
  height: 65px;
  background: linear-gradient(135deg, var(--gnd-danger) 0%, #dc2626 100%);
  color: var(--gnd-white);
  border-radius: var(--gnd-radius-full);
  font-weight: 700;
  font-size: var(--gnd-font-size-lg);
  line-height: 1;
}

.product-price-group .discount p {
  font-size: var(--gnd-font-size-xs);
  font-weight: 500;
  margin: 0;
}

/* Stock Status */
.stock-amount {
  display: inline-flex;
  align-items: center;
  gap: var(--gnd-space-sm);
  padding: var(--gnd-space-sm) var(--gnd-space-md);
  background: rgba(16, 185, 129, 0.1);
  color: var(--gnd-success);
  border-radius: var(--gnd-radius-md);
  font-weight: 500;
  font-size: var(--gnd-font-size-sm);
  margin-bottom: var(--gnd-space-md);
}

.stock-amount::before {
  content: '✓';
  font-weight: 700;
}

/* Add to Cart Buttons */
.form-action {
  margin-top: var(--gnd-space-lg);
}

.button-group {
  display: flex;
  gap: var(--gnd-space-md);
  flex-wrap: wrap;
}

.btn-add-cart {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--gnd-space-sm);
  padding: var(--gnd-space-md) var(--gnd-space-xl);
  background: var(--gnd-primary-gradient);
  color: var(--gnd-white);
  font-weight: 600;
  font-size: var(--gnd-font-size-base);
  border: none;
  border-radius: var(--gnd-radius-lg);
  cursor: pointer;
  transition: all var(--gnd-transition-base);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.btn-add-cart:hover {
  transform: translateY(-2px);
  box-shadow: var(--gnd-shadow-lg);
  color: var(--gnd-white);
}

.btn-add-cart.hemanalbtn {
  background: linear-gradient(135deg, var(--gnd-success) 0%, #059669 100%);
}

/* Product Tabs */
.product-tab {
  background: var(--gnd-white);
  border-radius: var(--gnd-radius-xl);
  box-shadow: var(--gnd-shadow-card);
  overflow: hidden;
  margin-bottom: var(--gnd-space-xl);
}

.product-tab .nav-tab {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0;
  background: var(--gnd-gray-100);
  border-bottom: 1px solid var(--gnd-gray-200);
  overflow-x: auto;
}

.product-tab .nav-tab li {
  flex-shrink: 0;
}

.product-tab .nav-tab li a {
  display: flex;
  align-items: center;
  gap: var(--gnd-space-sm);
  padding: var(--gnd-space-md) var(--gnd-space-lg);
  color: var(--gnd-gray-600);
  font-weight: 500;
  font-size: var(--gnd-font-size-sm);
  border-bottom: 3px solid transparent;
  transition: all var(--gnd-transition-base);
  white-space: nowrap;
}

.product-tab .nav-tab li a:hover {
  color: var(--gnd-primary);
  background: var(--gnd-white);
}

.product-tab .nav-tab li.active a,
.product-tab .nav-tab li a[aria-expanded="true"] {
  color: var(--gnd-primary);
  background: var(--gnd-white);
  border-bottom-color: var(--gnd-primary);
}

.product-tab .tab-container {
  padding: var(--gnd-space-xl);
}

.product-tab .tab-panel {
  display: none;
}

.product-tab .tab-panel.active {
  display: block;
}

/* ===== SIDEBAR ===== */
.left-module {
  background: var(--gnd-white);
  border-radius: var(--gnd-radius-lg);
  box-shadow: var(--gnd-shadow-card);
  margin-bottom: var(--gnd-space-lg);
  overflow: hidden;
}

.left-module .title_block {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--gnd-space-md) var(--gnd-space-lg);
  background: var(--gnd-dark);
  color: var(--gnd-white);
  font-weight: 600;
  font-size: var(--gnd-font-size-base);
  margin: 0;
}

.left-module .block_content {
  padding: var(--gnd-space-md);
}

.tree-menu {
  list-style: none;
  padding: 0;
  margin: 0;
}

.tree-menu li {
  border-bottom: 1px solid var(--gnd-gray-100);
}

.tree-menu li:last-child {
  border-bottom: none;
}

.tree-menu li a {
  display: block;
  padding: var(--gnd-space-sm) var(--gnd-space-md);
  color: var(--gnd-gray-700);
  transition: all var(--gnd-transition-fast);
}

.tree-menu li a:hover {
  background: var(--gnd-gray-100);
  color: var(--gnd-primary);
  padding-left: calc(var(--gnd-space-md) + 5px);
}

/* ===== BREADCRUMB ===== */
.breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--gnd-space-sm);
  padding: var(--gnd-space-md) 0;
  list-style: none;
  margin: 0;
  font-size: var(--gnd-font-size-sm);
}

.breadcrumb li {
  display: flex;
  align-items: center;
}

.breadcrumb li::after {
  content: '/';
  margin: 0 var(--gnd-space-sm);
  color: var(--gnd-gray-400);
}

.breadcrumb li:last-child::after {
  display: none;
}

.breadcrumb li a {
  color: var(--gnd-gray-600);
}

.breadcrumb li a:hover {
  color: var(--gnd-primary);
}

.breadcrumb li.home a {
  display: flex;
  align-items: center;
  gap: var(--gnd-space-xs);
}

/* ===== FOOTER ===== */
#footer,
.footer {
  background: var(--gnd-dark);
  color: var(--gnd-gray-300);
  padding: var(--gnd-space-3xl) 0 var(--gnd-space-xl);
  margin-top: var(--gnd-space-3xl);
}

.footer .introduce-title {
  font-family: var(--gnd-font-heading);
  font-size: var(--gnd-font-size-base);
  font-weight: 600;
  color: var(--gnd-white);
  margin-bottom: var(--gnd-space-md);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.footer .introduce-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer .introduce-list li {
  margin-bottom: var(--gnd-space-sm);
}

.footer .introduce-list li a {
  color: var(--gnd-gray-400);
  transition: all var(--gnd-transition-fast);
  display: inline-block;
}

.footer .introduce-list li a:hover {
  color: var(--gnd-white);
  transform: translateX(3px);
}

/* Social Links */
.social-link {
  display: flex;
  gap: var(--gnd-space-sm);
}

.social-link a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--gnd-radius-full);
  color: var(--gnd-gray-400);
  font-size: 16px;
  transition: all var(--gnd-transition-base);
}

.social-link a:hover {
  background: var(--gnd-primary);
  color: var(--gnd-white);
  transform: translateY(-3px);
}

/* Newsletter Form */
#mail-box {
  display: flex;
  gap: var(--gnd-space-sm);
}

#mail-box input[type="text"] {
  flex: 1;
  padding: var(--gnd-space-sm) var(--gnd-space-md);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--gnd-radius-md);
  background: rgba(255, 255, 255, 0.05);
  color: var(--gnd-white);
  font-size: var(--gnd-font-size-sm);
}

#mail-box input[type="text"]::placeholder {
  color: var(--gnd-gray-500);
}

#mail-box input[type="submit"] {
  padding: var(--gnd-space-sm) var(--gnd-space-md);
  background: var(--gnd-primary);
  color: var(--gnd-white);
  border: none;
  border-radius: var(--gnd-radius-md);
  font-weight: 600;
  cursor: pointer;
  transition: all var(--gnd-transition-base);
}

#mail-box input[type="submit"]:hover {
  background: var(--gnd-primary-dark);
}

/* App Download Links */
.apps-wrap {
  display: flex;
  flex-direction: column;
  gap: var(--gnd-space-sm);
}

.apps-wrap img {
  max-width: 150px;
  border-radius: var(--gnd-radius-md);
  transition: transform var(--gnd-transition-base);
}

.apps-wrap img:hover {
  transform: scale(1.03);
}

/* Footer Bottom */
#trademark-box {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: var(--gnd-space-lg);
  margin-top: var(--gnd-space-xl);
}

#trademark-list {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--gnd-space-md);
  list-style: none;
  padding: 0;
  margin: 0;
  flex-wrap: wrap;
}

.copyright {
  text-align: center;
  padding-top: var(--gnd-space-lg);
  color: var(--gnd-gray-500);
  font-size: var(--gnd-font-size-sm);
}

/* ===== MOBILE MENU ===== */
.mobileMenu a {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: var(--gnd-dark);
  font-size: var(--gnd-font-size-xs);
  font-weight: 500;
}

.mobileMenu .material-icons {
  font-size: 28px;
  margin-bottom: 2px;
}

.menufix {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-around;
  background: var(--gnd-white);
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
  padding: var(--gnd-space-sm) 0;
  z-index: 1000;
}

.menufix a {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: var(--gnd-gray-600);
  font-size: 11px;
  padding: var(--gnd-space-xs);
}

.menufix a i {
  font-size: 20px;
  margin-bottom: 2px;
}

.menufix a:hover,
.menufix a.active {
  color: var(--gnd-primary);
}

.menufix .cart_total {
  position: absolute;
  top: -5px;
  right: -5px;
  background: var(--gnd-danger);
  color: var(--gnd-white);
  font-size: 10px;
  font-weight: 700;
  min-width: 18px;
  height: 18px;
  border-radius: var(--gnd-radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ===== ALERTS ===== */
.alert {
  padding: var(--gnd-space-md);
  border-radius: var(--gnd-radius-md);
  margin-bottom: var(--gnd-space-md);
  font-size: var(--gnd-font-size-sm);
}

.alert-success {
  background: rgba(16, 185, 129, 0.1);
  color: var(--gnd-success);
  border: 1px solid rgba(16, 185, 129, 0.2);
}

.alert-danger {
  background: rgba(239, 68, 68, 0.1);
  color: var(--gnd-danger);
  border: 1px solid rgba(239, 68, 68, 0.2);
}

.alert-warning {
  background: rgba(245, 158, 11, 0.1);
  color: var(--gnd-warning);
  border: 1px solid rgba(245, 158, 11, 0.2);
}

.alert-info {
  background: rgba(37, 99, 235, 0.1);
  color: var(--gnd-primary);
  border: 1px solid rgba(37, 99, 235, 0.2);
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--gnd-space-sm);
  padding: var(--gnd-space-sm) var(--gnd-space-lg);
  font-weight: 500;
  font-size: var(--gnd-font-size-sm);
  border: none;
  border-radius: var(--gnd-radius-md);
  cursor: pointer;
  transition: all var(--gnd-transition-base);
}

.btn-primary,
.btn-default {
  background: var(--gnd-primary);
  color: var(--gnd-white);
}

.btn-primary:hover,
.btn-default:hover {
  background: var(--gnd-primary-dark);
  color: var(--gnd-white);
}

.btn-success {
  background: var(--gnd-success);
  color: var(--gnd-white);
}

.btn-danger {
  background: var(--gnd-danger);
  color: var(--gnd-white);
}

/* ===== FORMS ===== */
.form-control {
  width: 100%;
  padding: var(--gnd-space-sm) var(--gnd-space-md);
  border: 1px solid var(--gnd-gray-300);
  border-radius: var(--gnd-radius-md);
  font-size: var(--gnd-font-size-base);
  transition: all var(--gnd-transition-base);
}

.form-control:focus {
  outline: none;
  border-color: var(--gnd-primary);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

/* ===== UTILITIES ===== */
.clearfix::after {
  content: '';
  display: table;
  clear: both;
}

.hidden {
  display: none !important;
}

.text-center {
  text-align: center;
}

.text-right {
  text-align: right;
}

.margin-top-10 {
  margin-top: var(--gnd-space-md);
}

.pink-color {
  color: var(--gnd-danger);
}

.color-orange {
  color: var(--gnd-accent);
}

/* ===== ANIMATIONS ===== */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.7;
  }
}

.fade-in {
  animation: fadeIn var(--gnd-transition-slow);
}

/* ===== PREMIUM OWL CAROUSEL STYLES ===== */
.owl-theme .owl-nav {
  margin-top: 0;
  position: absolute;
  top: 50%;
  width: 100%;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  pointer-events: none;
}

.owl-theme .owl-nav [class*='owl-'] {
  width: 48px;
  height: 48px;
  background: var(--gnd-white) !important;
  color: var(--gnd-dark) !important;
  border-radius: var(--gnd-radius-full) !important;
  box-shadow: var(--gnd-shadow-lg) !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
  pointer-events: auto;
  transition: all var(--gnd-transition-base) !important;
  margin: 0 !important;
  padding: 0 !important;
  opacity: 0;
}

.owl-carousel:hover .owl-nav [class*='owl-'] {
  opacity: 1;
}

.owl-theme .owl-nav .owl-prev {
  margin-left: -24px !important;
}

.owl-theme .owl-nav .owl-next {
  margin-right: -24px !important;
}

.owl-theme .owl-nav [class*='owl-']:hover {
  background: var(--gnd-primary) !important;
  color: var(--gnd-white) !important;
  transform: scale(1.1);
}

.owl-theme .owl-nav [class*='owl-'] .material-symbols-outlined {
  font-size: 28px;
  line-height: 1;
}

/* Smooth Pagination Dots */
.owl-theme .owl-dots {
  margin-top: 30px !important;
  display: flex;
  justify-content: center;
  gap: 8px;
}

.owl-theme .owl-dots .owl-dot span {
  width: 8px !important;
  height: 8px !important;
  margin: 0 !important;
  background: var(--gnd-gray-300) !important;
  border-radius: var(--gnd-radius-full) !important;
  transition: all var(--gnd-transition-base) !important;
}

.owl-theme .owl-dots .owl-dot.active span {
  width: 24px !important;
  background: var(--gnd-primary) !important;
}

.owl-theme .owl-dots .owl-dot:hover span {
  background: var(--gnd-primary-light) !important;
}

/* ===== IPHONE-STYLE PAGE LOADER (MOBILE ONLY) ===== */
.page-loader {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  z-index: 99999;
  display: none;
  align-items: center;
  justify-content: center;
}

.page-loader.active {
  display: flex;
}

.loader-spinner {
  width: 40px;
  height: 40px;
  border: 3px solid var(--gnd-gray-200);
  border-top-color: var(--gnd-primary);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Only show on mobile devices */
@media (min-width: 768px) {
  .page-loader {
    display: none !important;
  }
}

/* ===== MICRO-ANIMATIONS & SMOOTH TRANSITIONS ===== */
a,
button {
  transition: all var(--gnd-transition-base);
}

a:hover,
button:hover {
  transform: translateY(-1px);
}

.btn-add-cart,
.addtocart {
  transition: all var(--gnd-transition-smooth);
}

.btn-add-cart:active,
.addtocart:active {
  transform: scale(0.97);
}

input,
textarea,
select {
  transition: all var(--gnd-transition-base);
}

input:focus,
textarea:focus,
select:focus {
  transform: translateY(-1px);
}

/* ===== CRITICAL: FORCE 4-COLUMN GRID FOR CATEGORY PAGE ===== */
/* Added at end of file for maximum specificity - v5 fix */
ul.product-list,
ul.product-list.grid,
.view-product-list ul.product-list,
.view-product-list ul.product-list.grid,
.category_prod ul.product-list,
.category_prod ul.product-list.grid,
#center_column ul.product-list,
#center_column ul.product-list.grid,
.center_column ul.product-list,
.center_column ul.product-list.grid {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 40px !important;
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

ul.product-list>li,
ul.product-list.grid>li {
  display: block !important;
  width: auto !important;
  max-width: none !important;
  flex: none !important;
  grid-column: auto !important;
  grid-row: auto !important;
}

/* Fix for ShopPHP: Non-li elements inside product-list should span all columns */
ul.product-list>div,
ul.product-list>h2,
ul.product-list>h1,
ul.product-list>form,
ul.product-list>table,
ul.product-list>hr,
ul.product-list>center,
ul.product-list>.page-heading,
ul.product-list>.page-content,
ul.product-list>.categoryText,
ul.product-list>.clearfix,
ul.product-list>#twbsPagination {
  grid-column: 1 / -1 !important;
  width: 100% !important;
}

/* CRITICAL FIX: .page-content contains the actual li items, make IT the grid */
ul.product-list .page-content,
.view-product-list .page-content {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 40px !important;
}

/* Form, hr, center inside .page-content should span all columns */
.page-content>form,
.page-content>hr,
.page-content>center,
.page-content>.clearfix,
.page-content>#twbsPagination {
  grid-column: 1 / -1 !important;
  width: 100% !important;
}

/* li inside .page-content should be single grid cells */
.page-content>li {
  grid-column: auto !important;
  display: block !important;
}