/* ============================================
   GBM WOOCOMMERCE STYLES — Part 1
   Shop, Product Detail, Cart, Checkout
   ============================================ */

/* === SHOP PAGE === */
.gbm-shop {
  padding-top: var(--header-height);
}

.gbm-shop-header {
  position: relative;
  background: var(--gbm-black);
  padding: 80px 0 60px;
  text-align: center;
}

.gbm-shop-title {
  font-family: var(--font-heading);
  font-size: clamp(32px, 4vw, 48px);
  font-style: italic;
  color: var(--gbm-white);
  margin-bottom: 8px;
}

.gbm-shop-desc {
  color: rgba(255, 255, 255, 0.6);
  font-size: 15px;
}

.gbm-shop-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: var(--space-xl);
  padding: var(--space-xl) 0 var(--space-3xl);
}

/* Sidebar */
.gbm-shop-sidebar {
  position: sticky;
  top: calc(var(--header-height) + 24px);
  align-self: start;
}

.gbm-filter-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-md);
}

.gbm-filter-header h3 {
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 600;
  margin: 0;
}

.gbm-filter-close {
  display: none;
  background: none;
  border: none;
  font-size: 20px;
  cursor: pointer;
}

.gbm-filter-group {
  margin-bottom: var(--space-lg);
}

.gbm-filter-label {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--gbm-black);
  margin-bottom: 12px;
  display: block;
}

.gbm-filter-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.gbm-filter-list li {
  margin-bottom: 8px;
}

.gbm-filter-list a {
  font-size: 14px;
  color: var(--gbm-gray);
  display: flex;
  justify-content: space-between;
}

.gbm-filter-list a:hover,
.gbm-filter-list li.active a {
  color: var(--gbm-black);
  font-weight: 500;
}

.gbm-filter-count {
  font-size: 12px;
  color: var(--gbm-gray);
}

/* Shop Toolbar */
.gbm-shop-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: var(--space-md);
  border-bottom: 1px solid #eee;
  margin-bottom: var(--space-md);
  gap: 16px;
}

.gbm-filter-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  background: none;
  border: 1px solid #ddd;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
}

.gbm-shop-result-count {
  font-size: 13px;
  color: var(--gbm-gray);
}

.gbm-shop-sort select {
  border: 1px solid #ddd;
  padding: 8px 12px;
  font-family: var(--font-body);
  font-size: 13px;
  background: var(--gbm-white);
}

/* Pagination */
.gbm-pagination {
  padding: var(--space-xl) 0;
  text-align: center;
}

.gbm-pagination ul {
  list-style: none;
  display: inline-flex;
  gap: 4px;
  padding: 0;
}

.gbm-pagination li a,
.gbm-pagination li span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  font-size: 14px;
  font-weight: 500;
  border: 1px solid #ddd;
  color: var(--gbm-black);
  transition: var(--transition);
}

.gbm-pagination li span.current,
.gbm-pagination li a:hover {
  background: var(--gbm-black);
  color: var(--gbm-white);
  border-color: var(--gbm-black);
}

.gbm-no-products {
  text-align: center;
  padding: 80px 0;
}

.gbm-no-products h3 {
  margin-bottom: 8px;
}

.gbm-no-products p {
  color: var(--gbm-gray);
  margin-bottom: 24px;
}

/* === SINGLE PRODUCT === */
.gbm-single-product {
  padding-top: var(--header-height);
}

/* Breadcrumb Navigation */
.gbm-breadcrumb-nav {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 0 14px 0;
  border-bottom: 1px solid #eee;
  margin-bottom: 10px;
  margin-top: 10px;
}

.gbm-breadcrumb-back {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #f5f5f5;
  color: #333;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease;
  flex-shrink: 0;
}

.gbm-breadcrumb-back:hover {
  background: #1A1A1A;
  color: #fff;
}

.gbm-breadcrumb-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0;
  font-size: 13px;
  font-family: var(--font-body);
}

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

.gbm-breadcrumb-list a {
  color: #888;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

.gbm-breadcrumb-list a:hover {
  color: #1A1A1A;
}

.gbm-breadcrumb-nav .gbm-breadcrumb-sep {
  margin: 0 8px;
  color: #ccc;
  font-weight: 400;
}

.gbm-breadcrumb-current {
  color: #1A1A1A;
  font-weight: 600;
}

.gbm-breadcrumbs {
  padding: 16px 0;
  font-size: 13px;
  color: var(--gbm-gray);
  border-bottom: 1px solid #eee;
  margin-top: 20px;
}

.gbm-breadcrumbs a {
  color: var(--gbm-gray);
}

.gbm-breadcrumbs a:hover {
  color: var(--gbm-black);
}

.gbm-breadcrumb-sep {
  margin: 0 8px;
}

.gbm-breadcrumb-current {
  color: var(--gbm-black);
  font-weight: 500;
}

.gbm-product-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  padding: var(--space-xl) 0;
}

/* Gallery */
.gbm-product-gallery {
  position: sticky;
  top: calc(var(--header-height) + 24px);
  align-self: start;
}

.gbm-gallery-main {
  position: relative;
  width: 100%;
  aspect-ratio: 3/4;
  overflow: hidden;
  background: var(--gbm-gray-light);
  margin-bottom: 12px;
}

.gbm-gallery-main-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
  cursor: zoom-in;
}

.gbm-gallery-main-img:hover {
  transform: scale(1.05);
}

.gbm-badge-detail {
  font-size: 12px;
  padding: 6px 14px;
}

.gbm-gallery-thumbs {
  display: flex;
  gap: 8px;
}

.gbm-gallery-thumb {
  width: 72px;
  height: 90px;
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
}

.gbm-gallery-thumb.active {
  border-color: var(--gbm-black);
}

.gbm-gallery-thumb:hover {
  border-color: var(--gbm-gold);
}

.gbm-gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Product Info */
.gbm-product-detail-title {
  font-family: var(--font-heading);
  font-size: clamp(28px, 3vw, 36px);
  font-weight: 700;
  margin-bottom: 16px;
}

.gbm-product-detail-price {
  font-size: 24px;
  font-weight: 600;
  color: var(--gbm-black);
  margin-bottom: 12px;
}

.gbm-product-detail-price del {
  color: var(--gbm-gray);
  font-weight: 400;
  font-size: 18px;
}

.gbm-product-detail-price ins {
  text-decoration: none;
  color: var(--gbm-red);
}

.gbm-product-rating {
  margin-bottom: 16px;
  color: var(--gbm-gold);
  font-size: 16px;
}

.gbm-rating-count {
  color: var(--gbm-gray);
  font-size: 13px;
  margin-left: 6px;
}

.gbm-product-short-desc {
  font-size: 15px;
  line-height: 1.7;
  color: var(--gbm-charcoal);
  margin-bottom: 20px;
}

.gbm-product-divider {
  height: 1px;
  background: #eee;
  margin: 24px 0;
}

/* Quantity */
.gbm-quantity-wrapper {
  margin-bottom: 20px;
}

.gbm-quantity-wrapper label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.gbm-quantity-control {
  display: inline-flex;
  border: 1px solid #ddd;
}

.gbm-qty-btn {
  width: 44px;
  height: 44px;
  background: var(--gbm-white);
  border: none;
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.gbm-qty-btn:hover {
  background: var(--gbm-gray-light);
}

.gbm-qty-input {
  width: 56px;
  height: 44px;
  text-align: center;
  border: none;
  border-left: 1px solid #ddd;
  border-right: 1px solid #ddd;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  -moz-appearance: textfield;
}

.gbm-qty-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
}

.gbm-cart-actions {
  display: flex;
  gap: 12px;
}

.gbm-btn-full {
  flex: 1;
}

.gbm-wishlist-btn {
  width: 50px;
  height: 50px;
  border: 1px solid #ddd;
  background: var(--gbm-white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}

.gbm-wishlist-btn:hover {
  border-color: var(--gbm-gold);
  color: var(--gbm-gold);
}

/* Meta */
.gbm-product-meta {
  margin-top: 8px;
}

.gbm-meta-item {
  font-size: 13px;
  color: var(--gbm-gray);
  margin-bottom: 6px;
}

.gbm-meta-label {
  font-weight: 600;
  color: var(--gbm-charcoal);
  margin-right: 4px;
}

/* Share */
.gbm-product-share {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 20px;
}

.gbm-share-links {
  display: flex;
  gap: 10px;
}

.gbm-share-links a {
  width: 32px;
  height: 32px;
  border: 1px solid #ddd;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gbm-gray);
  transition: var(--transition);
}

.gbm-share-links a:hover {
  border-color: var(--gbm-gold);
  color: var(--gbm-gold);
}

/* Tabs */
.gbm-product-tabs {
  padding: var(--space-xl) 0 var(--space-3xl);
}

.gbm-tabs-nav {
  display: flex;
  gap: 0;
  border-bottom: 1px solid #ddd;
  margin-bottom: var(--space-lg);
}

.gbm-tab-btn {
  padding: 14px 28px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  color: var(--gbm-gray);
  cursor: pointer;
  transition: var(--transition);
}

.gbm-tab-btn:hover {
  color: var(--gbm-black);
}

.gbm-tab-btn.active {
  color: var(--gbm-black);
  border-bottom-color: var(--gbm-gold);
  font-weight: 600;
}

.gbm-tab-content {
  display: none;
}

.gbm-tab-content.active {
  display: block;
}

.gbm-tab-inner {
  font-size: 15px;
  line-height: 1.8;
  color: var(--gbm-charcoal);
  max-width: 800px;
}

.gbm-related-products {
  padding-bottom: var(--space-3xl);
}

/* ============================================
   HOME — "Find Your Finish" Category Cards
   ============================================ */
.gbm-categories-section {
  padding: var(--space-xl) 0;
}

.gbm-categories-section h2 {
  font-family: var(--font-heading);
  font-size: clamp(24px, 3vw, 32px);
  font-style: italic;
  margin-bottom: var(--space-lg);
}

.gbm-categories-grid {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 8px;
}

.gbm-category-card {
  position: relative;
  flex: 0 0 calc(25% - 12px);
  min-width: 200px;
  aspect-ratio: 4/5;
  overflow: hidden;
  border-radius: 4px;
  scroll-snap-align: start;
  cursor: pointer;
}

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

.gbm-category-card:hover img {
  transform: scale(1.08);
}

.gbm-category-label {
  position: absolute;
  bottom: 16px;
  left: 16px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gbm-white);
  background: rgba(0, 0, 0, 0.5);
  padding: 8px 16px;
}

/* ============================================
   HOME — Product Card (Figma: stars + Buy Now)
   ============================================ */
.gbm-product-card-figma {
  position: relative;
  background: var(--gbm-white);
  border: 1px solid #eee;
  border-radius: 4px;
  overflow: hidden;
  transition: var(--transition);
}

.gbm-product-card-figma:hover {
  box-shadow: var(--shadow-hover);
}

.gbm-product-card-figma .gbm-product-image {
  aspect-ratio: 1;
  background: var(--gbm-gray-light);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.gbm-product-card-figma .gbm-product-image img {
  max-height: 100%;
  object-fit: contain;
  transition: transform 0.4s ease;
}

.gbm-product-card-figma:hover .gbm-product-image img {
  transform: scale(1.05);
}

.gbm-product-wishlist-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  background: var(--gbm-white);
  border: 1px solid #eee;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  z-index: 2;
}

.gbm-product-wishlist-btn.active {
  background: #FFF;
  border-color: transparent;
}

.gbm-product-wishlist-btn svg {
  width: 16px;
  height: 16px;
}

.gbm-product-card-info {
  padding: 12px 16px 16px;
}

.gbm-product-stars {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 4px;
}

.gbm-product-stars .stars {
  color: var(--gbm-gold);
  font-size: 12px;
}

.gbm-product-stars .rating-text {
  font-size: 11px;
  color: var(--gbm-gray);
}

.gbm-product-card-info .name {
  font-size: 13px;
  font-weight: 500;
  color: var(--gbm-black);
  margin-bottom: 4px;
  line-height: 1.3;
}

.gbm-product-card-info .price {
  font-size: 15px;
  font-weight: 600;
  color: var(--gbm-black);
  margin-bottom: 10px;
}

.gbm-buy-now-btn {
  display: block;
  width: 100%;
  padding: 10px;
  background: var(--gbm-black);
  color: var(--gbm-white);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  text-align: center;
  border: 2px solid var(--gbm-black);
  cursor: pointer;
  transition: var(--transition);
  text-transform: capitalize;
}

.gbm-buy-now-btn:hover {
  background: var(--gbm-gold);
  border-color: var(--gbm-gold);
  color: var(--gbm-black);
}

/* Carousel arrows (products) */
.gbm-carousel-nav {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: var(--space-md);
}

.gbm-carousel-arrow {
  width: 40px;
  height: 40px;
  border: 1px solid #ddd;
  border-radius: 50%;
  background: var(--gbm-white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  font-size: 18px;
  color: var(--gbm-black);
}

.gbm-carousel-arrow:hover {
  background: var(--gbm-black);
  color: var(--gbm-white);
  border-color: var(--gbm-black);
}

/* ============================================
   HOME — "Our Story" Section
   ============================================ */
.gbm-story-section {
  padding: var(--space-3xl) 0;
}

.gbm-story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: center;
}

.gbm-story-image {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
}

.gbm-story-image img {
  width: 100%;
  height: auto;
}

.gbm-story-cta-overlay {
  position: absolute;
  bottom: 24px;
  left: 24px;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(8px);
  padding: 12px 24px;
  border-radius: 4px;
}

.gbm-story-cta-overlay span {
  color: var(--gbm-white);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.gbm-story-content h2 {
  font-family: var(--font-body);
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: var(--space-md);
}

.gbm-story-quote {
  font-family: var(--font-heading);
  font-size: 18px;
  font-style: italic;
  line-height: 1.6;
  color: var(--gbm-charcoal);
  margin-bottom: var(--space-md);
}

.gbm-story-text {
  font-size: 14px;
  line-height: 1.7;
  color: var(--gbm-gray);
}

/* ============================================
   HOME — Trust Badges
   ============================================ */
.gbm-trust-section {
  padding: var(--space-xl) 0 var(--space-3xl);
}

.gbm-trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

.gbm-trust-card {
  border: 1px solid #eee;
  padding: 28px 24px;
  text-align: center;
  transition: var(--transition);
}

.gbm-trust-card:hover {
  box-shadow: var(--shadow-hover);
}

.gbm-trust-icon {
  width: 40px;
  height: 40px;
  margin: 0 auto var(--space-sm);
  color: var(--gbm-gold);
}

.gbm-trust-card h3 {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.gbm-trust-card p {
  font-size: 13px;
  color: var(--gbm-gray);
}

/* ============================================
   GOLD PAGINATION BAR
   ============================================ */
.gbm-gold-pagination {
  background: var(--gbm-gold);
  padding: 12px 0;
  text-align: center;
}

.gbm-gold-pagination-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  color: var(--gbm-white);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
}

.gbm-gold-pagination a {
  color: var(--gbm-white);
  font-size: 18px;
}

/* ============================================
   FOOTER ENHANCEMENTS (Figma)
   ============================================ */
.gbm-footer-logo-wrap {
  margin-bottom: var(--space-md);
}

.gbm-footer-logo-img {
  max-height: 100px;
}

.gbm-footer-desc {
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: var(--space-md);
}

.gbm-footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 10px;
}

.gbm-footer-col h4 {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 700;
  color: var(--gbm-white);
  margin-bottom: var(--space-sm);
}

/* ============================================
   RESPONSIVE — New Sections
   ============================================ */
@media (max-width: 1024px) {
  .gbm-story-grid {
    grid-template-columns: 1fr;
  }

  .gbm-category-card {
    flex: 0 0 calc(33.33% - 12px);
  }
}

@media (max-width: 768px) {
  .gbm-trust-grid {
    grid-template-columns: 1fr;
  }

  .gbm-category-card {
    flex: 0 0 calc(50% - 8px);
    min-width: 160px;
  }

  .gbm-announcement-text {
    font-size: 11px;
  }
}

@media (max-width: 480px) {
  .gbm-category-card {
    flex: 0 0 70%;
  }
}