/* ==========================================================================
   BUTTONS (Shopify'dan birebir)
   ========================================================================== */

.mytheme-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--mytheme-space-sm);
  padding: 14px 32px;
  font-size: var(--mytheme-font-size-base);
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--mytheme-border-radius);
  transition: var(--mytheme-transition);
  cursor: pointer;
  border: 2px solid transparent;
  min-height: 48px;
  white-space: nowrap;
}

.mytheme-btn:focus-visible {
  outline: 2px solid var(--mytheme-color-primary);
  outline-offset: 2px;
}

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

.mytheme-btn--primary:hover {
  background-color: var(--mytheme-color-accent);
  border-color: var(--mytheme-color-accent);
  transform: translateY(-2px);
  box-shadow: var(--mytheme-shadow-md);
  color: white;
}

.mytheme-btn--secondary {
  background-color: transparent;
  color: var(--mytheme-color-primary);
  border-color: var(--mytheme-color-primary);
}

.mytheme-btn--secondary:hover {
  background-color: var(--mytheme-color-primary);
  color: white;
  transform: translateY(-2px);
  box-shadow: var(--mytheme-shadow-md);
}

.mytheme-btn--large {
  padding: 18px 40px;
  font-size: 18px;
  min-height: 56px;
}

/* ==========================================================================
   HERO SECTION (Shopify'dan birebir)
   ========================================================================== */

.mytheme-hero {
  min-height: 600px;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--mytheme-color-neutral-200) 0%, var(--mytheme-color-neutral-100) 100%);
  /* Full-bleed zaten .mytheme-section ile geliyor */
}

.mytheme-hero__container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--mytheme-space-4xl); /* Daha geniş gap - Shopify'dan */
  align-items: center;
  min-height: 600px;
}

.mytheme-hero__content {
  display: flex;
  flex-direction: column;
  gap: var(--mytheme-space-lg);
  z-index: 2;
}

.mytheme-hero__eyebrow {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1px;
  color: var(--mytheme-color-primary);
  text-transform: uppercase;
}

.mytheme-hero__title {
  font-size: var(--mytheme-font-size-h1);
  font-weight: 700;
  line-height: 1.1;
  color: var(--mytheme-color-text);
  margin: 0;
}

.mytheme-hero__subtitle {
  font-size: 18px;
  line-height: 1.6;
  color: var(--mytheme-color-text-muted);
  max-width: 500px;
}

.mytheme-hero__buttons {
  display: flex;
  gap: var(--mytheme-space-md);
  flex-wrap: wrap;
  margin-top: var(--mytheme-space-md);
}

.mytheme-hero__trust-badges {
  display: flex;
  gap: var(--mytheme-space-lg);
  margin-top: var(--mytheme-space-xl);
  flex-wrap: wrap;
}

.mytheme-hero__trust-item {
  display: flex;
  align-items: center;
  gap: var(--mytheme-space-sm);
  font-size: 14px;
  color: var(--mytheme-color-text-muted);
}

.mytheme-hero__trust-icon {
  width: 24px;
  height: 24px;
  color: var(--mytheme-color-success);
}

.mytheme-hero__media {
  position: relative;
  z-index: 1;
}

.hero-polaroid {
  position: relative;
  width: 100%;
  height: 500px;
}

.hero-polaroid__card {
  position: absolute;
  top: 0;
  left: 0;
  width: 80%;
  height: auto;
  border-radius: var(--mytheme-border-radius-lg);
  box-shadow: var(--mytheme-shadow-lg);
  background: white;
  padding: 10px;
  transform: rotate(-5deg);
  transition: transform 0.5s ease;
}

.hero-polaroid__card--secondary {
  top: 100px;
  left: 20%;
  transform: rotate(5deg);
  z-index: -1;
}

.hero-polaroid:hover .hero-polaroid__card--primary {
  transform: rotate(-2deg) scale(1.02);
}

.hero-polaroid:hover .hero-polaroid__card--secondary {
  transform: rotate(7deg) translateX(20px);
}

.hero-polaroid__card img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 4px;
}

/* ==========================================================================
   TRUSTED BY SECTION (New)
   ========================================================================== */
.mytheme-trusted-by {
  border-bottom: 1px solid var(--mytheme-color-neutral-300);
  background-color: var(--mytheme-color-neutral-100);
  padding: var(--mytheme-space-xl) 0;
}

.mytheme-trusted-by__title {
  text-align: center;
  font-size: 14px;
  color: var(--mytheme-color-text-muted);
  margin-bottom: var(--mytheme-space-lg);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.mytheme-trusted-by__logos {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: var(--mytheme-space-2xl);
  align-items: center;
  opacity: 0.6;
}

.mytheme-trusted-by__logo {
  font-weight: 700;
  font-size: 18px;
  color: var(--mytheme-color-text-muted);
  /* Placeholder style */
  background: #e5e5e5;
  padding: 10px 20px;
  border-radius: 4px;
}

/* ==========================================================================
   STATS SECTION (New)
   ========================================================================== */
.mytheme-stats {
  background-color: var(--mytheme-color-secondary);
  color: white;
  padding: var(--mytheme-space-2xl) 0;
}

.mytheme-stats__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--mytheme-space-lg);
  text-align: center;
}

.mytheme-stat-number {
  display: block;
  font-size: 48px;
  font-weight: 800;
  color: var(--mytheme-color-primary);
  line-height: 1.2;
  margin-bottom: var(--mytheme-space-xs);
}

.mytheme-stat-label {
  font-size: 16px;
  font-weight: 500;
  opacity: 0.9;
}

@media (max-width: 768px) {
  .mytheme-stats__grid {
    grid-template-columns: 1fr;
    gap: var(--mytheme-space-xl);
  }
}

/* ==========================================================================
   TESTIMONIALS SECTION (New)
   ========================================================================== */
.mytheme-testimonials {
  background-color: var(--mytheme-color-bg-light);
}

.mytheme-testimonials__header {
  text-align: center;
  margin-bottom: var(--mytheme-space-2xl);
}

.mytheme-testimonials__title {
  font-size: var(--mytheme-font-size-h2);
  color: var(--mytheme-color-text);
  margin: 0;
}

.mytheme-testimonials__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--mytheme-space-xl);
}

.mytheme-testimonial {
  background: white;
  padding: var(--mytheme-space-xl);
  border-radius: var(--mytheme-border-radius);
  box-shadow: var(--mytheme-shadow-sm);
  display: flex;
  flex-direction: column;
  gap: var(--mytheme-space-md);
}

.mytheme-testimonial__stars {
  color: var(--mytheme-color-warning);
  font-size: 18px;
  display: flex;
  gap: 2px;
  align-items: center;
  margin-bottom: 12px;
}

.mytheme-testimonial__stars svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.mytheme-testimonial__text {
  font-size: 16px;
  line-height: 1.6;
  color: var(--mytheme-color-text);
  font-style: italic;
}

.mytheme-testimonial__author {
  font-size: 14px;
  font-weight: 600;
  color: var(--mytheme-color-text-muted);
  margin-top: auto;
}

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

/* ==========================================================================
   BADGES
   ========================================================================== */
.mytheme-badge {
  display: inline-block;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.mytheme-badge--popular {
  background-color: #fff7ed;
  color: #c2410c;
}

.mytheme-product-card__meta {
  margin-top: 8px;
}

/* ==========================================================================
   PRODUCT CONFIGURATOR IMPROVEMENTS
   ========================================================================== */

/* Progress Indicator */
.mypacking-progress-indicator {
  margin-bottom: 20px;
}

.mypacking-progress-bar {
  height: 6px;
  background: #e5e7eb;
  border-radius: 3px;
  overflow: hidden;
  margin-bottom: 8px;
}

.mypacking-progress-fill {
  height: 100%;
  background: var(--mytheme-color-primary);
  transition: width 0.4s ease;
  width: 0%;
}

.mypacking-progress-text {
  font-size: 13px;
  color: var(--mytheme-color-text-muted);
  text-align: right;
  font-weight: 500;
}

.mypacking-helper-text {
  background: #f3f4f6;
  padding: 10px 15px;
  border-radius: 6px;
  font-size: 14px;
  color: var(--mytheme-color-text);
  margin-bottom: 20px;
  border-left: 3px solid var(--mytheme-color-primary);
}

/* Help Icon */
.mypacking-help-icon {
  display: inline-flex;
  color: #9ca3af;
  margin-left: 8px;
  cursor: help;
  transition: color 0.2s;
  position: relative; /* For tooltip positioning */
}

.mypacking-help-icon:hover {
  color: var(--mytheme-color-primary);
}

/* Tooltip Bubble */
.mypacking-help-icon::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: 100%;
  left: -10px;
  transform: none;
  background: #333;
  color: white;
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 13px;
  line-height: 1.4;
  white-space: normal;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s;
  pointer-events: none;
  margin-bottom: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  z-index: 100;
  font-weight: 400;
  min-width: 200px;
  max-width: 280px;
  text-align: left;
}

/* Tooltip Arrow */
.mypacking-help-icon::before {
  content: '';
  position: absolute;
  bottom: 100%;
  left: 8px;
  transform: translateX(-50%);
  border: 6px solid transparent;
  border-top-color: #333;
  margin-bottom: -2px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s;
  z-index: 100;
}

.mypacking-help-icon:hover::after,
.mypacking-help-icon:hover::before {
  opacity: 1;
  visibility: visible;
}

/* Enhanced Pricing Cards */
.mypacking-delivery-card {
  display: flex;
  flex-direction: column;
  align-items: stretch !important;
  text-align: left !important;
  padding: 16px !important;
  gap: 8px !important;
  min-height: 100px;
  position: relative;
}

.mypacking-delivery-card__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 2px;
}

.mypacking-delivery-card__label {
  font-size: 14px !important;
  font-weight: 700 !important;
  color: var(--mytheme-color-text) !important;
  line-height: 1.3;
  padding-right: 8px;
}

.mypacking-delivery-card__badge {
  font-size: 10px;
  padding: 3px 8px;
  border-radius: 12px;
  background: #f3f4f6;
  color: #4b5563;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  flex-shrink: 0;
  white-space: nowrap;
  border: 1px solid var(--mytheme-color-neutral-300);
  margin-left: auto;
}

.mypacking-variant__option--active .mypacking-delivery-card__badge {
  background: white;
  color: var(--mytheme-color-primary);
  border-color: white;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.mypacking-delivery-card__subtitle {
  font-size: 12px;
  color: #6b7280;
  line-height: 1.3;
  margin-bottom: auto; /* Push price to bottom */
}

.mypacking-variant__option--active .mypacking-delivery-card__subtitle {
  color: rgba(255,255,255,0.9) !important;
}

.mypacking-delivery-card__price {
  font-size: 16px !important;
  font-weight: 700 !important;
  margin-top: 8px;
}

/* Enhanced Design Upsell */
.mypacking-design-upsell--enhanced {
  background: linear-gradient(to right, #f8fafc, #f1f5f9);
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 24px;
  margin-top: 30px;
}

.mypacking-design-upsell__content {
  display: flex;
  gap: 24px;
  align-items: center;
  text-align: left;
}

.mypacking-design-upsell__icon {
  width: 56px;
  height: 56px;
  background: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--mytheme-color-primary);
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  flex-shrink: 0;
}

.mypacking-design-upsell__icon svg {
  width: 28px;
  height: 28px;
}

.mypacking-design-upsell__info {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.mypacking-design-upsell__title {
  font-size: 17px;
  font-weight: 700;
  margin: 0;
  color: var(--mytheme-color-text);
  line-height: 1.3;
}

.mypacking-design-upsell__features {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 14px;
  color: #4b5563;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.mypacking-design-upsell__features li {
  margin: 0;
  padding-left: 18px;
  position: relative;
}

.mypacking-design-upsell__features li::before {
  content: "✓"; /* Bullet yerine tik işareti daha pozitif */
  color: var(--mytheme-color-primary);
  position: absolute;
  left: 0;
  font-weight: bold;
  font-size: 12px;
  top: 1px;
}

.mypacking-design-upsell__link {
  background: none;
  border: none;
  padding: 0;
  color: var(--mytheme-color-primary);
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 4px;
}

.mypacking-design-upsell__link:hover {
  text-decoration: underline;
  color: var(--mytheme-color-accent);
}

/* Social Proof Snippet */
.mypacking-price-trust {
  font-size: 13px;
  color: #4b5563;
  margin-top: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f9fafb;
  padding: 8px;
  border-radius: 6px;
}

/* Add to Cart Toast */
.mypacking-cart-toast {
  position: fixed;
  top: 20px;
  right: 20px;
  background: white;
  border-radius: 8px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
  padding: 16px 20px;
  z-index: 99999;
  transform: translateX(120%);
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border-left: 4px solid #10b981;
  min-width: 300px;
}

.mypacking-cart-toast.active {
  transform: translateX(0);
}

.mypacking-cart-toast__content {
  display: flex;
  align-items: center;
  gap: 12px;
}

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

.mypacking-cart-toast__text {
  font-weight: 600;
  color: var(--mytheme-color-text);
  flex: 1;
}

.mypacking-cart-toast__link {
  color: var(--mytheme-color-primary);
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
}

.mypacking-cart-toast__link:hover {
  text-decoration: underline;
}

/* Bump Animation for Cart Count */
@keyframes cartBump {
  0% { transform: scale(1); }
  50% { transform: scale(1.3); color: var(--mytheme-color-primary); }
  100% { transform: scale(1); }
}

.mytheme-cart-count.bump {
  animation: cartBump 0.3s ease;
}

/* Variant Option Button Base Styles */
.mypacking-variant__option {
  position: relative; /* Constrain badges */
  border: 1px solid var(--mytheme-color-neutral-300);
  border-radius: 8px;
  padding: 12px 16px;
  cursor: pointer;
  transition: all 0.2s;
  background: white;
  display: flex;
  align-items: center;
  gap: 12px;
}

.mypacking-variant__option:hover {
  border-color: var(--mytheme-color-primary);
  background-color: #f9fafb;
}

.mypacking-variant__option--active {
  border-color: var(--mytheme-color-primary);
  background-color: #fff7ed; /* Light orange tint */
  box-shadow: 0 0 0 1px var(--mytheme-color-primary);
}

.mypacking-variant__options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

/* Mobile Improvements */
@media (max-width: 768px) {
  .mypacking-variant__option {
    min-height: 48px; /* Larger tap target */
    padding: 12px 16px;
  }
  
  .accordion-header {
    min-height: 48px; /* Larger tap target */
    padding: 12px 0 !important;
  }
  
  .mypacking-variant__options {
    gap: 12px; /* More spacing */
  }
  
  .mypacking-design-upsell__content {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  
  .mypacking-design-upsell__features {
    text-align: left;
    /* Removed display: inline-block to allow Flexbox layout from main block */
  }
  
  .mypacking-price-section {
    position: sticky;
    bottom: 0;
    z-index: 100;
    background: white;
    padding: 16px;
    padding-bottom: calc(16px + env(safe-area-inset-bottom));
    box-shadow: 0 -4px 10px rgba(0,0,0,0.05);
    margin: 0 -20px -20px -20px; /* Bleed to edges */
  }
  
  .mypacking-variant__options[data-attribute="delivery_speed"] {
    flex-direction: row;
    overflow-x: auto;
    padding-bottom: 8px;
  }
  
  .mypacking-delivery-card {
    min-width: 140px;
    flex-shrink: 0;
  }
}


/* ==========================================================================
   FEATURES SECTION (Restored & Improved)
   ========================================================================== */
.mytheme-features {
  padding: var(--mytheme-space-3xl) 0;
  background-color: var(--mytheme-color-bg);
}

.mytheme-features__header {
  text-align: center;
  margin-bottom: var(--mytheme-space-3xl);
}

.mytheme-features__title {
  font-size: var(--mytheme-font-size-h2);
  font-weight: 700;
  color: var(--mytheme-color-text);
  margin: 0;
}

.mytheme-features__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--mytheme-space-xl);
}

.mytheme-features__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.mytheme-features__icon {
  width: 64px;
  height: 64px;
  margin-bottom: var(--mytheme-space-md);
  color: var(--mytheme-color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
}

.mytheme-features__icon svg {
  width: 100%;
  height: 100%;
  stroke-width: 1.5;
}

/* Standardize all SVG stroke widths to 1.5px for consistency */
.mytheme-hero__trust-icon svg,
.mytheme-newsletter__icon svg {
  stroke-width: 1.5 !important;
}

.mytheme-features__item-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: var(--mytheme-space-sm);
  color: var(--mytheme-color-text);
}

.mytheme-features__item-description {
  font-size: 15px;
  color: var(--mytheme-color-text-muted);
  line-height: 1.5;
}

@media (max-width: 1024px) {
  .mytheme-features__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--mytheme-space-2xl) var(--mytheme-space-lg);
  }
}

@media (max-width: 600px) {
  .mytheme-features__grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   NEWSLETTER SECTION (Restored & Improved)
   ========================================================================== */
.mytheme-newsletter {
  padding: var(--mytheme-space-3xl) 0;
  background-color: var(--mytheme-color-neutral-100);
  border-top: 1px solid var(--mytheme-color-neutral-200);
}

.mytheme-newsletter__content {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

.mytheme-newsletter__icon {
  width: 48px;
  height: 48px;
  margin: 0 auto var(--mytheme-space-md);
  color: var(--mytheme-color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
}

.mytheme-newsletter__icon svg {
  width: 100%;
  height: 100%;
}

.mytheme-newsletter__title {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: var(--mytheme-space-sm);
  color: var(--mytheme-color-text);
}

.mytheme-newsletter__subtitle {
  font-size: 16px;
  color: var(--mytheme-color-text-muted);
  margin-bottom: var(--mytheme-space-lg);
}

.mytheme-newsletter__form {
  display: flex;
  gap: var(--mytheme-space-sm);
  margin-bottom: var(--mytheme-space-sm);
}

.mytheme-newsletter__input {
  flex: 1;
  padding: 12px 16px;
  border: 1px solid var(--mytheme-color-neutral-300);
  border-radius: var(--mytheme-border-radius);
  font-size: 16px;
}

.mytheme-newsletter__trust {
  font-size: 13px;
  color: var(--mytheme-color-text-muted);
  opacity: 0.8;
}

@media (max-width: 600px) {
  .mytheme-newsletter__form {
    flex-direction: column;
  }
  .mytheme-newsletter__input {
    width: 100%;
  }
  .mytheme-newsletter__form .mytheme-btn {
    width: 100%;
  }
}


/* ==========================================================================
   FEATURED COLLECTION (Homepage - Customer Favourites)
   ========================================================================== */
.mytheme-featured-collection__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--mytheme-space-lg);
  margin-bottom: var(--mytheme-space-xl);
}

.mytheme-product-card {
  background-color: white;
  border: 1px solid var(--mytheme-color-neutral-200);
  border-radius: var(--mytheme-border-radius-lg);
  overflow: hidden;
  transition: all 0.3s ease;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.mytheme-product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--mytheme-shadow-lg);
  border-color: var(--mytheme-color-primary);
  transition: all 0.3s ease;
}

.mytheme-product-card__link {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.mytheme-product-card__image {
  position: relative;
  padding-top: 100%; /* 1:1 Aspect Ratio */
  overflow: hidden;
  background-color: #f9fafb;
}

.mytheme-product-card__image img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.5s ease;
  padding: var(--mytheme-space-sm);
}

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

.mytheme-product-card__info,
.mytheme-product-card__content {
  padding: var(--mytheme-space-md);
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.mytheme-product-card__title {
  font-size: 16px;
  font-weight: 600;
  color: var(--mytheme-color-text);
  margin: 0 0 var(--mytheme-space-sm) 0;
  line-height: 1.4;
}

.mytheme-product-card__description {
  font-size: 13px;
  color: var(--mytheme-color-text-muted);
  line-height: 1.5;
  margin: 0 0 var(--mytheme-space-md) 0;
  flex-grow: 1;
}

.mytheme-product-card__footer {
  margin-top: auto;
  padding-top: var(--mytheme-space-sm);
}

.mytheme-product-card__button {
  display: inline-block;
  background-color: var(--mytheme-color-primary);
  color: white;
  padding: 10px 20px;
  border-radius: var(--mytheme-border-radius);
  font-size: 14px;
  font-weight: 600;
  text-align: center;
  transition: all 0.3s ease;
  text-decoration: none;
}

.mytheme-product-card:hover .mytheme-product-card__button {
  background-color: var(--mytheme-color-accent);
  transform: translateY(-2px);
}

.mytheme-product-card__price {
  font-size: 16px;
  font-weight: 700;
  color: var(--mytheme-color-primary);
  margin-bottom: var(--mytheme-space-xs);
  display: flex;
  align-items: baseline;
  gap: 4px;
  line-height: 1.2;
  flex-wrap: wrap;
}

.mytheme-product-card__price .price-prefix {
  font-size: 12px;
  font-weight: 500;
  color: #6b7280;
  line-height: 1.2;
}

.mytheme-product-card__price .woocommerce-Price-amount {
  line-height: 1.2;
}

.mytheme-product-card__price .woocommerce-Price-currencySymbol {
  line-height: 1.2;
}

/* Hide £0.00 prices on shop page (configurable products show £0.00 before configuration) */
body.woocommerce-shop .mytheme-product-card__price .woocommerce-Price-amount {
  /* JavaScript will handle hiding, but CSS can help */
}

/* Hide entire price container if it only shows £0.00 */
body.woocommerce-shop .mytheme-product-card__price:has(.woocommerce-Price-amount:only-child) {
  /* Will be handled by JavaScript */
}

.mytheme-product-card__meta {
  margin-top: auto;
}

.mytheme-featured-collection__footer {
  text-align: center;
  margin-top: var(--mytheme-space-xl);
}

/* Responsive */
@media (max-width: 1024px) {
  .mytheme-featured-collection__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .mytheme-featured-collection__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--mytheme-space-md);
  }
  
  .mytheme-product-card__info {
    padding: var(--mytheme-space-sm);
  }
  
  .mytheme-product-card__title {
    font-size: 14px;
  }
}


/* ==========================================================================
   ACCORDION LOGIC FIX (Tooltip Visibility)
   ========================================================================== */
.accordion-item {
  transition: all 0.3s ease;
  border: 1px solid var(--mytheme-color-neutral-300);
  border-radius: 8px;
  margin-bottom: 10px;
  background: white;
  overflow: visible !important; /* Allow tooltips to overflow */
}

.accordion-header {
  padding: 15px 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  background: #f9fafb;
  border-radius: 8px;
}

.accordion-expanded .accordion-header {
  background: white;
  border-bottom: 1px solid #e5e7eb;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}

.accordion-body {
  padding: 20px;
  display: block;
}

.accordion-collapsed .accordion-body {
  display: none; /* Hide body content when collapsed */
}

.accordion-collapsed .accordion-header {
  background: #f9fafb; /* Keep header visible */
}

/* ==========================================================================
   SHOP / COLLECTION PAGE LAYOUT
   ========================================================================== */

/* Collection Hero Banner */
.mytheme-collection-hero {
  background: linear-gradient(135deg, var(--mytheme-color-neutral-200) 0%, var(--mytheme-color-neutral-100) 100%);
  padding: 60px 0;
  text-align: center;
  margin-bottom: 0;
}

.mytheme-collection-hero__banner {
  max-width: var(--mytheme-container-width);
  margin: 0 auto;
  padding: 0 var(--mytheme-space-lg);
}

.mytheme-collection-hero__title {
  font-size: var(--mytheme-font-size-h1);
  font-weight: 700;
  color: var(--mytheme-color-text);
  margin: 0;
}

/* Collection Layout */
.mytheme-collection {
  padding: var(--mytheme-space-xl) 0;
}

.mytheme-collection__layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 40px;
  align-items: start;
}

@media (max-width: 1024px) {
  .mytheme-collection__layout {
    grid-template-columns: 240px 1fr;
    gap: 30px;
  }
}

@media (max-width: 768px) {
  .mytheme-collection__layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .mytheme-collection__sidebar {
    order: 2;
  }
  
  .mytheme-collection__main {
    order: 1;
  }
}

/* Sidebar */
.mytheme-collection__sidebar {
  position: sticky;
  top: 100px;
  max-height: calc(100vh - 120px);
  overflow-y: auto;
}

@media (max-width: 768px) {
  .mytheme-collection__sidebar {
    position: static;
    max-height: none;
    overflow-y: visible;
  }
}

/* Filter Group */
.mytheme-filter-group {
  margin-bottom: 30px;
}

.mytheme-filter-title {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--mytheme-color-text);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.mytheme-filter-subtitle {
  font-size: 13px;
  font-weight: 600;
  color: #374151;
  margin-bottom: 10px;
}

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

.mytheme-filter-item {
  margin-bottom: 8px;
}

.mytheme-filter-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 12px;
  color: var(--mytheme-color-text);
  text-decoration: none;
  border-radius: var(--mytheme-border-radius);
  transition: var(--mytheme-transition-fast);
  font-size: 14px;
}

.mytheme-filter-link:hover {
  background-color: var(--mytheme-color-neutral-100);
  color: var(--mytheme-color-primary);
}

.mytheme-filter-item--active .mytheme-filter-link {
  background-color: var(--mytheme-color-primary);
  color: white;
  font-weight: 600;
}

.mytheme-filter-count {
  font-size: 12px;
  color: var(--mytheme-color-text-muted);
  background-color: var(--mytheme-color-neutral-200);
  padding: 2px 8px;
  border-radius: 12px;
  font-weight: 600;
}

.mytheme-filter-item--active .mytheme-filter-count {
  background-color: rgba(255, 255, 255, 0.2);
  color: white;
}

/* Main Content Area */
.mytheme-collection__main {
  min-width: 0; /* Prevent grid overflow */
}

/* Toolbar */
.mytheme-collection__toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--mytheme-color-neutral-300);
  flex-wrap: wrap;
  gap: 16px;
}

.mytheme-collection__count {
  font-size: 14px;
  color: var(--mytheme-color-text-muted);
  font-weight: 500;
}

/* Product Search in Toolbar */
.mytheme-collection__search {
  display: flex;
  align-items: center;
}

.mytheme-product-search {
  display: flex;
  align-items: center;
  background: white;
  border: 1px solid var(--mytheme-color-neutral-300);
  border-radius: var(--mytheme-border-radius);
  overflow: hidden;
  transition: var(--mytheme-transition-fast);
}

.mytheme-product-search:focus-within {
  border-color: var(--mytheme-color-primary);
  box-shadow: 0 0 0 3px rgba(198, 104, 45, 0.1);
}

.mytheme-product-search__input {
  border: none;
  padding: 10px 16px;
  font-size: 14px;
  width: 250px;
  outline: none;
  background: transparent;
}

.mytheme-product-search__input::placeholder {
  color: var(--mytheme-color-text-muted);
}

.mytheme-product-search__button {
  background: var(--mytheme-color-primary);
  border: none;
  padding: 10px 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--mytheme-transition-fast);
}

.mytheme-product-search__button:hover {
  background: var(--mytheme-color-accent);
}

.mytheme-product-search__button svg {
  color: white;
}

@media (max-width: 768px) {
  .mytheme-collection__toolbar {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }
  
  .mytheme-collection__search {
    width: 100%;
  }
  
  .mytheme-product-search {
    width: 100%;
  }
  
  .mytheme-product-search__input {
    width: 100%;
    flex: 1;
  }
}

/* ==========================================================================
   WOOCOMMERCE NOTICES - Custom Toast Style
   ========================================================================== */

/* RESET ALL WooCommerce default styles */
.woocommerce-message,
.woocommerce-info,
.woocommerce-error,
div.woocommerce-message,
div.woocommerce-info,
div.woocommerce-error,
.woocommerce .woocommerce-message,
.woocommerce .woocommerce-info,
.woocommerce .woocommerce-error,
body .woocommerce-message,
body .woocommerce-info,
body .woocommerce-error {
    all: unset !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 20px !important;
    background: #1f2937 !important;
    color: white !important;
    padding: 16px 20px !important;
    border-radius: 12px !important;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3) !important;
    font-family: var(--mytheme-font-body) !important;
    font-size: 15px !important;
    font-weight: 500 !important;
    line-height: 1.4 !important;
    max-width: 450px !important;
    margin: 20px auto !important;
    position: relative !important;
    box-sizing: border-box !important;
    animation: toastSlideIn 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

@keyframes toastSlideIn {
    from {
        opacity: 0;
        transform: translateY(-30px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Hide the default green checkmark */
.woocommerce-message::before,
.woocommerce-info::before,
.woocommerce-error::before,
div.woocommerce-message::before {
    display: none !important;
    content: none !important;
}

/* Custom success icon */
.woocommerce-message::after {
    content: '✓' !important;
    position: absolute !important;
    left: -12px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    width: 28px !important;
    height: 28px !important;
    background: var(--mytheme-color-primary) !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 14px !important;
    font-weight: bold !important;
    color: white !important;
    box-shadow: 0 4px 12px rgba(198, 104, 45, 0.4) !important;
}

/* View Basket Button */
.woocommerce-message a.button,
.woocommerce-message a.wc-forward,
div.woocommerce-message a.button,
div.woocommerce-message a.wc-forward {
    all: unset !important;
    display: inline-flex !important;
    align-items: center !important;
    background: var(--mytheme-color-primary) !important;
    color: white !important;
    padding: 10px 20px !important;
    border-radius: 8px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
}

.woocommerce-message a.button:hover,
.woocommerce-message a.wc-forward:hover,
div.woocommerce-message a.button:hover,
div.woocommerce-message a.wc-forward:hover {
    background: var(--mytheme-color-accent) !important;
    transform: scale(1.02) !important;
}

/* Undo link in cart removed notice */
.woocommerce-message a.restore-item,
div.woocommerce-message a.restore-item {
    all: unset !important;
    color: var(--mytheme-color-primary) !important;
    text-decoration: underline !important;
    cursor: pointer !important;
    font-weight: 600 !important;
    margin-left: 4px !important;
    transition: color 0.2s ease !important;
}

.woocommerce-message a.restore-item:hover,
div.woocommerce-message a.restore-item:hover {
    color: var(--mytheme-color-accent) !important;
}

/* Hide "View basket" button when already on cart page */
.woocommerce-cart .woocommerce-message a.button,
.woocommerce-cart .woocommerce-message a.wc-forward,
body.woocommerce-cart .woocommerce-message a.wc-forward {
    display: none !important;
}

/* Error style */
.woocommerce-error,
div.woocommerce-error {
    background: #dc2626 !important;
}

.woocommerce-error::after {
    content: '!' !important;
    background: white !important;
    color: #dc2626 !important;
}

/* Info style */
.woocommerce-info,
div.woocommerce-info {
    background: var(--mytheme-color-secondary) !important;
}

.woocommerce-info::after {
    content: 'i' !important;
    background: white !important;
    color: var(--mytheme-color-secondary) !important;
    font-style: italic !important;
}

/* Responsive */
@media (max-width: 768px) {
    .woocommerce-message,
    .woocommerce-info,
    .woocommerce-error,
    div.woocommerce-message,
    div.woocommerce-info,
    div.woocommerce-error {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 12px !important;
        max-width: calc(100% - 40px) !important;
        margin: 20px !important;
        padding: 16px 16px 16px 24px !important;
    }
    
    .woocommerce-message::after {
        left: -10px !important;
        width: 24px !important;
        height: 24px !important;
        font-size: 12px !important;
    }
    
    .woocommerce-message a,
    .woocommerce-message a.button,
    .woocommerce-message a.wc-forward {
        width: 100% !important;
        justify-content: center !important;
        padding: 12px 20px !important;
    }
}
