@import url('https://fonts.googleapis.com/css2?family=Karla:ital,wght@0,400;0,500;0,700;1,400&family=Outfit:wght@300;400;500;600;700&display=swap');

/* ===== PHANTOM-THEME DESIGN SYSTEM ===== */
/* Inspired by yin-yang-paradise.com Shopify Phantom Theme */
:root {
  --yy-black: #000000;
  --yy-dark: #111111;
  --yy-gray-900: #1B1B1B;
  --yy-gray-700: #333333;
  --yy-gray-500: #666666;
  --yy-gray-400: #999999;
  --yy-gray-300: #CCCCCC;
  --yy-gray-200: #E5E5E5;
  --yy-gray-100: #F2F2F2;
  --yy-light: #F4F4F4;
  --yy-white: #FFFFFF;
  --yy-border: #E8E8E8;
  --yy-shadow: 0 2px 10px rgba(0,0,0,0.06);
  --yy-shadow-hover: 0 4px 20px rgba(0,0,0,0.1);
  --yy-radius: 4px;
  --yy-transition: all 0.3s ease;
  --yy-letter-spacing: 0.12em;
}

/* ===== GLOBAL ===== */
body {
  font-family: 'Karla', 'Helvetica Neue', Arial, sans-serif !important;
  color: var(--yy-gray-900);
  background: var(--yy-white);
  line-height: 1.7;
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Outfit', 'Helvetica Neue', Arial, sans-serif !important;
  font-weight: 500;
  letter-spacing: 1px;
  color: var(--yy-gray-900);
}

a { color: var(--yy-black); text-decoration: none; transition: var(--yy-transition); }
a:hover { color: var(--yy-gray-500); text-decoration: none; }
img { max-width: 100%; }

::selection { background: var(--yy-black); color: white; }

/* ===== ANNOUNCEMENT BAR ===== */
.announcement-bar {
  background: var(--yy-black);
  color: white;
  padding: 8px 40px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 2px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.announcement-bar a {
  color: white;
  font-size: 12px;
  letter-spacing: 1px;
}

.announcement-bar a:hover {
  color: rgba(255,255,255,0.7);
}

.announcement-social {
  display: flex;
  gap: 12px;
  font-size: 14px;
}

/* ===== HEADER ===== */
#header {
  background: var(--yy-white);
  border-bottom: 1px solid var(--yy-border);
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 1020;
}

#header .header-main {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 18px 40px;
}

#header .nav-left,
#header .nav-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

#header .nav-right {
  justify-content: flex-end;
}

.nav-link-yy {
  font-family: 'Outfit', sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--yy-gray-900);
  transition: var(--yy-transition);
  position: relative;
}

.nav-link-yy:hover {
  color: var(--yy-gray-500);
}

.nav-link-yy i {
  font-size: 18px;
}

#header .logo {
  text-align: center;
}

#header .logo img {
  max-height: 50px;
  max-width: 180px;
}

/* ===== ALERTS ===== */
.alert {
  border-radius: 0 !important;
  border: none;
  font-size: 14px;
}

.alert-success {
  background: rgba(0,0,0,0.03);
  color: var(--yy-gray-700);
  border-left: 3px solid var(--yy-black) !important;
}

.alert-danger {
  background: rgba(192,57,43,0.05);
  color: #c0392b;
  border-left: 3px solid #c0392b !important;
}

/* ===== BREADCRUMB ===== */
.breadcrumb {
  background: none;
  padding: 16px 0;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.breadcrumb-item a {
  color: var(--yy-gray-500);
}

.breadcrumb-item a:hover {
  color: var(--yy-black);
}

.breadcrumb-item.active {
  color: var(--yy-gray-400);
}

.breadcrumb-item + .breadcrumb-item::before {
  content: "›";
  color: var(--yy-gray-300);
}

/* ===== PRODUCT PAGE ===== */
#product-info {
  padding-top: 20px;
  padding-bottom: 60px;
}

#product-info h1 {
  font-family: 'Outfit', sans-serif;
  font-weight: 500;
  font-size: 28px;
  letter-spacing: 1px;
  margin-bottom: 12px;
  color: var(--yy-black);
}

.product-badges .badge {
  border-radius: var(--yy-radius) !important;
  font-size: 12px;
  padding: 5px 10px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
}

.product-badges .bg-success {
  background-color: var(--yy-black) !important;
}

.product-badges .bg-danger {
  background-color: var(--yy-gray-700) !important;
}

#product-info .price {
  font-family: 'Karla', sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--yy-black);
}

#product-info .price-old {
  text-decoration: line-through;
  color: var(--yy-gray-400);
  font-weight: 400;
  font-size: 16px;
}

/* Product page buttons */
#product-info .btn-primary,
#form-product .btn-primary {
  background: var(--yy-black);
  color: white;
  border: none;
  border-radius: var(--yy-radius);
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 14px 32px;
  transition: var(--yy-transition);
  min-width: 200px;
}

#product-info .btn-primary:hover,
#form-product .btn-primary:hover {
  background: white;
  color: var(--yy-black);
  border: 2px solid var(--yy-black);
}

/* Product image zoom */
.magnific-popup img {
  border-radius: 8px;
  transition: var(--yy-transition);
}

.magnific-popup img:hover {
  opacity: 0.95;
}

.product-images-scroll-wrap {
  margin-top: 12px;
}

.product-images-scroll-wrap .img-thumbnail {
  border: 1px solid var(--yy-border);
  border-radius: var(--yy-radius);
  transition: var(--yy-transition);
}

.product-images-scroll-wrap .img-thumbnail:hover {
  border-color: var(--yy-black);
}

/* ===== SLIDESHOW ===== */
.tf-slideshow-wrap {
  margin-bottom: 40px;
  overflow: hidden;
}

.tf-banner-img {
  width: 100%;
  object-fit: cover;
  max-height: 600px;
}

/* ===== MODULE SECTIONS ===== */
.tf-module-section {
  padding: 60px 0;
}

.tf-section-header {
  text-align: center;
  margin-bottom: 40px;
}

.tf-section-title {
  font-family: 'Outfit', sans-serif;
  font-size: 24px;
  font-weight: 500;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--yy-black);
  margin-bottom: 12px;
}

.tf-section-line {
  width: 40px;
  height: 2px;
  background: var(--yy-black);
  margin: 0 auto;
}

/* ===== PRODUCT CARDS ===== */
.tf-product-col {
  margin-bottom: 30px;
}

.tf-product-col .product-thumb {
  border: none;
  border-radius: var(--yy-radius);
  overflow: hidden;
  box-shadow: var(--yy-shadow);
  transition: var(--yy-transition);
  background: white;
}

.tf-product-col .product-thumb:hover {
  box-shadow: var(--yy-shadow-hover);
  transform: translateY(-4px);
}

.tf-product-col .product-thumb .image {
  overflow: hidden;
  position: relative;
}

.tf-product-col .product-thumb .image img {
  transition: transform 0.5s ease;
  width: 100%;
}

.tf-product-col .product-thumb:hover .image img {
  transform: scale(1.05);
}

.tf-product-col .product-thumb .image .badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: var(--yy-black);
  color: white;
  border-radius: 0;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 8px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.tf-product-col .product-thumb .caption {
  padding: 16px;
  text-align: center;
}

.tf-product-col .product-thumb .caption h4 {
  font-family: 'Outfit', sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}

.tf-product-col .product-thumb .caption h4 a {
  color: var(--yy-gray-900);
  transition: var(--yy-transition);
}

.tf-product-col .product-thumb .caption h4 a:hover {
  color: var(--yy-gray-500);
}

.tf-product-col .product-thumb .caption .price {
  font-family: 'Karla', sans-serif;
  font-weight: 700;
  font-size: 16px;
  color: var(--yy-black);
}

.tf-product-col .product-thumb .caption .price-new {
  color: var(--yy-black);
  font-weight: 700;
}

.tf-product-col .product-thumb .caption .price-old {
  color: var(--yy-gray-400);
  text-decoration: line-through;
  font-weight: 400;
  font-size: 14px;
}

/* ===== FOOTER ===== */
#footer {
  background: var(--yy-black);
  color: white;
  padding: 60px 0 0;
  margin-top: 60px;
}

#footer h5 {
  font-family: 'Outfit', sans-serif;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: white;
  margin-bottom: 20px;
}

#footer p {
  color: rgba(255,255,255,0.6);
  line-height: 1.8;
  font-size: 13px;
}

#footer a {
  color: rgba(255,255,255,0.6);
  transition: var(--yy-transition);
  font-size: 13px;
}

#footer a:hover {
  color: white;
}

#footer ul li {
  margin-bottom: 8px;
}

#footer .fa-brands {
  font-size: 20px;
  color: rgba(255,255,255,0.6);
  transition: var(--yy-transition);
}

#footer .fa-brands:hover {
  color: white;
  transform: translateY(-2px);
}

#footer .footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  margin-top: 40px;
  padding: 20px 0;
  text-align: center;
  font-size: 13px;
  color: rgba(255,255,255,0.4);
}

/* ===== GLOBAL BUTTONS ===== */
.btn-primary {
  background: var(--yy-black);
  border-color: var(--yy-black);
  color: white;
  border-radius: var(--yy-radius);
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: var(--yy-transition);
}

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

/* ===== PAGINATION ===== */
.pagination .page-link {
  color: var(--yy-black);
  border-color: var(--yy-border);
  border-radius: var(--yy-radius);
  font-weight: 500;
  font-size: 14px;
  margin: 0 2px;
  transition: var(--yy-transition);
}

.pagination .page-item.active .page-link {
  background: var(--yy-black);
  border-color: var(--yy-black);
  color: white;
}

/* ===== CATEGORY PAGE ===== */
#product-category h1 {
  font-family: 'Outfit', sans-serif;
  font-weight: 500;
  font-size: 28px;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 24px;
  color: var(--yy-black);
}

.category-description {
  font-size: 14px;
  color: var(--yy-gray-500);
  margin-bottom: 30px;
  line-height: 1.8;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 991.98px) {
  .announcement-bar { padding: 8px 20px; font-size: 11px; }
  #header .header-main { padding: 16px 20px; }
  .tf-module-section { padding: 40px 0; }
  .tf-section-title { font-size: 20px; }
}

@media (max-width: 767.98px) {
  .announcement-bar { display: none; }  /* hide on mobile */
  #header .header-main { padding: 12px 16px; }
  #header .nav-left a:not(:first-child) { display: none; }
  .tf-module-section { padding: 30px 0; }
  .tf-section-title { font-size: 18px; letter-spacing: 2px; }
  #footer { padding: 40px 0 0; }
}

@media (max-width: 575.98px) {
  .tf-section-title { font-size: 16px; }
  #product-info h1 { font-size: 22px; }
}


/* ==========================================
   PRODUCT PAGE - Phantom Style
   ========================================== */

/* Product page layout */
#product-info {
  padding-top: 20px;
  padding-bottom: 80px;
}

#product-info .breadcrumb {
  background: none;
  padding: 0 0 20px 0;
  margin-bottom: 0;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

#product-info .breadcrumb-item a {
  color: #888;
  text-decoration: none;
  transition: color 0.2s;
}

#product-info .breadcrumb-item a:hover {
  color: #000;
}

#product-info .breadcrumb-item.active {
  color: #000;
}

/* Product main section */
.product-main-row {
  display: flex;
  gap: 40px;
  margin-bottom: 60px;
}

@media (min-width: 768px) {
  .product-main-row .product-images-col {
    flex: 0 0 55%;
    max-width: 55%;
  }
  .product-main-row .product-info-col {
    flex: 0 0 calc(45% - 40px);
    max-width: calc(45% - 40px);
  }
}

@media (max-width: 767px) {
  .product-main-row {
    flex-direction: column;
    gap: 24px;
  }
  .product-main-row .product-images-col,
  .product-main-row .product-info-col {
    flex: 0 0 100%;
    max-width: 100%;
  }
}

/* Product Images */
.product-images-main {
  position: relative;
}

.product-images-main .main-image-wrapper {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  background: #f8f8f8;
  margin-bottom: 12px;
}

.product-images-main .main-image-wrapper img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.3s ease;
}

.product-thumbnails {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 4px;
}

.product-thumbnails a {
  flex-shrink: 0;
  display: block;
  border: 2px solid transparent;
  border-radius: 4px;
  overflow: hidden;
  transition: border-color 0.2s;
}

.product-thumbnails a:hover,
.product-thumbnails a.active {
  border-color: #000;
}

.product-thumbnails img {
  width: 72px;
  height: 72px;
  object-fit: cover;
  display: block;
}

/* Product Info */
.product-info-section h1 {
  font-family: 'Outfit', sans-serif;
  font-weight: 500;
  font-size: 24px;
  letter-spacing: 0.5px;
  color: #1B1B1B;
  margin-bottom: 16px;
  line-height: 1.3;
}

.product-info-section .product-price {
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid #eee;
}

.product-info-section .price-new {
  font-family: 'Karla', sans-serif;
  font-size: 28px;
  font-weight: 700;
  color: #000;
}

.product-info-section .price-old {
  text-decoration: line-through;
  color: #999;
  font-size: 16px;
  margin-right: 10px;
  font-weight: 400;
}

.product-info-section .price-tax {
  display: block;
  font-size: 12px;
  color: #888;
  margin-top: 4px;
}

/* Rating */
.product-info-section .rating {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
}

.product-info-section .rating .fa-star,
.product-info-section .rating .fa-star-half-stroke {
  color: #000;
  font-size: 14px;
}

.product-info-section .rating .fa-regular.fa-star {
  color: #ccc;
  font-size: 14px;
}

.product-info-section .rating a {
  font-size: 12px;
  color: #888;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Product meta */
.product-meta {
  font-size: 13px;
  color: #888;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid #eee;
}

.product-meta li {
  padding: 4px 0;
}

.product-meta .badge {
  font-weight: 600;
  color: #000;
  background: none;
  font-size: 13px;
}

/* Quantity selector */
.qty-selector {
  display: flex;
  align-items: center;
  gap: 0;
  margin-bottom: 20px;
}

.qty-selector .qty-btn {
  width: 40px;
  height: 40px;
  border: 1px solid #ddd;
  background: #fff;
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  color: #333;
}

.qty-selector .qty-btn:hover {
  background: #000;
  color: #fff;
  border-color: #000;
}

.qty-selector .qty-btn:first-child {
  border-radius: 4px 0 0 4px;
}

.qty-selector .qty-btn:last-child {
  border-radius: 0 4px 4px 0;
}

.qty-selector input {
  width: 50px;
  height: 40px;
  border: 1px solid #ddd;
  border-left: none;
  border-right: none;
  text-align: center;
  font-size: 14px;
  font-family: 'Karla', sans-serif;
  font-weight: 600;
}

/* Buttons */
.btn-add-to-cart {
  background: #000;
  color: #fff;
  border: 2px solid #000;
  border-radius: 4px;
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 14px 32px;
  width: 100%;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.btn-add-to-cart:hover {
  background: #fff;
  color: #000;
  border: 2px solid #000;
}

.btn-wishlist,
.btn-compare {
  background: #fff;
  color: #333;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 10px 16px;
  cursor: pointer;
  transition: all 0.2s;
  font-family: 'Outfit', sans-serif;
  font-weight: 500;
}

.btn-wishlist:hover,
.btn-compare:hover {
  border-color: #000;
  color: #000;
}

/* Trust badges */
.trust-badges {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin: 24px 0;
  padding: 20px 0;
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
}

.trust-badge-item {
  text-align: center;
  flex: 1;
}

.trust-badge-item i {
  font-size: 20px;
  color: #000;
  display: block;
  margin-bottom: 6px;
}

.trust-badge-item span {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #666;
  font-family: 'Outfit', sans-serif;
  font-weight: 500;
}

/* Product tabs */
.product-tabs {
  margin-top: 40px;
  border-top: 1px solid #eee;
  padding-top: 30px;
}

.product-tabs .nav-tabs {
  border-bottom: 2px solid #000;
  gap: 0;
}

.product-tabs .nav-link {
  font-family: 'Outfit', sans-serif;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #999;
  border: none;
  border-bottom: 2px solid transparent;
  padding: 12px 24px;
  margin-bottom: -2px;
  transition: all 0.2s;
  font-weight: 500;
}

.product-tabs .nav-link.active {
  color: #000;
  border-bottom-color: #000;
}

.product-tabs .nav-link:hover {
  color: #000;
}

.product-tabs .tab-content {
  padding: 30px 0;
}

.product-tabs #tab-description {
  font-size: 14px;
  line-height: 1.8;
  color: #444;
}

.product-tabs #tab-description p {
  margin-bottom: 16px;
}

.product-tabs #tab-description strong {
  color: #000;
}

/* Related products */
.related-products {
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid #eee;
}

.related-products h3 {
  font-family: 'Outfit', sans-serif;
  font-weight: 500;
  font-size: 20px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #1B1B1B;
  text-align: center;
  margin-bottom: 30px;
}

/* ==========================================
   CATEGORY PAGE - Phantom Style
   ========================================== */

#product-category {
  padding-top: 20px;
  padding-bottom: 80px;
}

#product-category .breadcrumb {
  background: none;
  padding: 0 0 20px 0;
  margin-bottom: 0;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Hide left sidebar on category page for cleaner look */
#product-category #column-left {
  display: none !important;
}

#product-category #content {
  flex: 0 0 100% !important;
  max-width: 100% !important;
}

/* Category header */
.category-header {
  margin-bottom: 30px;
}

.category-header h1 {
  font-family: 'Outfit', sans-serif;
  font-weight: 500;
  font-size: 28px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #1B1B1B;
  margin-bottom: 12px;
}

.category-header .category-description {
  font-size: 14px;
  color: #666;
  line-height: 1.6;
}

/* Sorting toolbar */
.category-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  padding: 12px 0;
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
}

.category-toolbar label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #888;
  font-family: 'Outfit', sans-serif;
  font-weight: 500;
}

.category-toolbar .form-select {
  border-radius: 4px;
  font-size: 13px;
  border: 1px solid #ddd;
  padding: 6px 12px;
  max-width: 200px;
  font-family: 'Karla', sans-serif;
}

.category-toolbar .form-select:focus {
  border-color: #000;
  box-shadow: none;
}

/* Product grid - 4 columns */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}

@media (max-width: 991px) {
  .product-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }
}

@media (max-width: 575px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
}

/* Product card (used in category page) */
.product-card {
  position: relative;
  transition: transform 0.2s;
}

.product-card:hover {
  transform: translateY(-4px);
}

.product-card .card-image {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  background: #f8f8f8;
  margin-bottom: 12px;
}

.product-card .card-image img {
  width: 100%;
  height: auto;
  display: block;
  transition: opacity 0.3s;
}

.product-card:hover .card-image img {
  opacity: 0.9;
}

.product-card .card-body {
  padding: 0;
  text-align: left;
}

.product-card .card-title {
  font-family: 'Karla', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: #333;
  margin-bottom: 6px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-decoration: none;
}

.product-card .card-title:hover {
  color: #000;
}

.product-card .card-price {
  font-family: 'Karla', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: #000;
}

.product-card .price-old {
  text-decoration: line-through;
  color: #999;
  font-size: 13px;
  font-weight: 400;
  margin-right: 6px;
}

.product-card .card-btn {
  display: block;
  width: 100%;
  padding: 10px;
  margin-top: 10px;
  background: #000;
  color: #fff;
  border: none;
  border-radius: 4px;
  font-family: 'Outfit', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.2s;
  text-align: center;
}

.product-card .card-btn:hover {
  background: #333;
}

/* Discount badge */
.badge-discount {
  position: absolute;
  top: 8px;
  left: 8px;
  background: #000;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 2px;
  font-family: 'Outfit', sans-serif;
  letter-spacing: 0.5px;
  z-index: 1;
}

/* Subcategory cards */
.subcategory-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 30px;
}

@media (max-width: 767px) {
  .subcategory-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.subcategory-card {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  background: #f5f5f5;
  text-align: center;
  transition: transform 0.2s;
}

.subcategory-card:hover {
  transform: translateY(-2px);
}

.subcategory-card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  display: block;
}

.subcategory-card .subcategory-name {
  padding: 12px;
  font-family: 'Outfit', sans-serif;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #333;
}

/* Pagination */
.pagination {
  justify-content: center;
  gap: 4px;
}

.pagination .page-link {
  border: none;
  color: #666;
  font-size: 13px;
  padding: 8px 14px;
  border-radius: 4px;
  font-family: 'Karla', sans-serif;
  transition: all 0.2s;
}

.pagination .page-link:hover {
  background: #000;
  color: #fff;
}

.pagination .page-item.active .page-link {
  background: #000;
  color: #fff;
}

.pagination .page-item.disabled .page-link {
  color: #ccc;
  background: transparent;
}

/* Override default OpenCart product thumb for grid */
#product-category .product-thumb {
  border: none;
  border-radius: 0;
  box-shadow: none;
  background: transparent;
  transition: transform 0.2s;
}

#product-category .product-thumb:hover {
  transform: translateY(-4px);
}

#product-category .product-thumb .image {
  border-radius: 4px;
  overflow: hidden;
  background: #f8f8f8;
}

#product-category .product-thumb .image a {
  display: block;
}

#product-category .product-thumb .caption {
  padding: 10px 0 0;
  text-align: left;
}

#product-category .product-thumb .caption h4 {
  font-family: 'Karla', sans-serif;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 4px;
}

#product-category .product-thumb .caption h4 a {
  color: #333;
  text-decoration: none;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.4;
}

#product-category .product-thumb .caption h4 a:hover {
  color: #000;
}

#product-category .product-thumb .caption .price {
  font-family: 'Karla', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: #000;
}

#product-category .product-thumb .caption .price-new {
  font-weight: 700;
}

#product-category .product-thumb .caption .price-old {
  text-decoration: line-through;
  color: #999;
  font-weight: 400;
  font-size: 13px;
}

#product-category .product-thumb .button-group {
  display: none;
}

/* Category module override - make it minimal */
#product-category .category-module-wrapper {
  display: none !important;
}

/* ===== Phantom Theme: Homepage Additions ===== */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700&family=Karla:wght@400;500;700&display=swap');

body {
  font-family: 'Karla', sans-serif;
  color: #000;
  background: #fff;
  margin: 0;
  padding: 0;
}

/* Override OpenCart default styles */
.container {
  max-width: 1280px;
  padding: 0 40px;
}

/* Remove OpenCart default module styles on home page */
#content .panel { border: none; box-shadow: none; }
#content .panel-heading { display: none; }
#content .well { display: none; }

/* Product grid in modules */
.product-layout .product-thumb {
  border: none;
  box-shadow: none;
  border-radius: 4px;
  overflow: hidden;
  transition: transform 0.25s;
}
.product-layout .product-thumb:hover {
  transform: translateY(-4px);
}
.product-layout .product-thumb .image {
  border-radius: 4px;
  overflow: hidden;
}
.product-layout .product-thumb .caption {
  text-align: center;
  padding: 12px 0;
}
.product-layout .product-thumb .caption h4 a {
  font-size: 13px;
  color: #000;
  text-decoration: none;
  font-weight: 500;
}
.product-layout .product-thumb .caption .price {
  font-weight: 700;
  color: #000;
  font-size: 14px;
}
.product-layout .product-thumb .caption .price-old {
  text-decoration: line-through;
  color: #999;
  font-weight: 400;
  margin-right: 6px;
}
.product-layout .product-thumb .button-group {
  display: none;
}

/* Force 4 columns on desktop */
.product-layout {
  flex: 0 0 25%;
  max-width: 25%;
  padding: 12px;
}

/* Coupon module override */
.coupon-module, .voucher-module { display: none !important; }

/* Banner/Carousel override */
.carousel-inner .item img {
  border-radius: 4px;
}

