@font-face {
  font-family: 'Oswald';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/oswald-500.woff2') format('woff2');
}
@font-face {
  font-family: 'Oswald';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/oswald-700.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/inter-400.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/inter-500.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/inter-600.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('../fonts/inter-800.woff2') format('woff2');
}

:root {
  /* Tema Sugoi Shop */
  --bg-color: #ffffff; 
  --surface: #f9f9f9; 
  --surface-glass: rgba(255, 255, 255, 0.95);
  --border: #eaeaea;
  --text-color: #000000;
  --text-muted: #555555;
  --primary: #000000; 
  --primary-hover: #333333;
  --accent: #f97316; /* Naranja corporativo */
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background-color: var(--bg-color);
  color: var(--text-color);
  font-family: 'Inter', system-ui, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

/* Tipografía de Alto Impacto */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Oswald', sans-serif;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.5px;
  margin: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

/* Layout & Utils */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Header Styles */
.aa-header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  font-family: 'Oswald', sans-serif;
  text-transform: uppercase;
  background: var(--bg-color);
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  transition: padding 0.3s ease;
}

.aa-topbar {
  background: #000;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 500;
  padding: 0.3rem 0;
  letter-spacing: 0.5px;
}
.aa-topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.topbar-right {
  display: flex;
  gap: 1.5rem;
}
.topbar-right a { transition: color 0.2s; }
.topbar-right a:hover { color: var(--accent); }

.aa-main-nav {
  background: #fff;
  padding: 1.5rem 0;
  color: #000;
}
.aa-main-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.nav-left { 
  display: flex; 
  gap: 2rem; 
  font-weight: 700; 
  font-size: 1.1rem; 
}
.nav-left a { transition: color 0.2s; }
.nav-left a:hover { color: var(--accent); }

.nav-center .logo { 
  font-size: 2.5rem; 
  font-weight: 700; 
  color: #000;
  letter-spacing: 1px;
}
.nav-center .logo span {
  color: var(--accent);
}

.nav-right { 
  display: flex; 
  align-items: center; 
  gap: 1.5rem; 
  font-weight: 700; 
}
.search-container {
  border: 1px solid #ddd;
  border-radius: 2px;
  padding: 0.4rem 0.8rem;
  display: flex;
  align-items: center;
}
.search-input { 
  border: none; 
  outline: none; 
  font-family: 'Inter', sans-serif; 
  text-transform: none; 
  width: 150px;
  font-size: 0.85rem;
}
.aa-cart-btn {
  display: flex; 
  align-items: center; 
  gap: 0.5rem;
  background: none; 
  border: none; 
  font-weight: 700; 
  font-size: 1rem; 
  cursor: pointer;
  font-family: 'Oswald', sans-serif;
  position: relative;
}
.aa-cart-btn:hover { color: var(--accent); }
.cart-count {
  background: var(--accent);
  color: white;
  font-size: 0.7rem;
  height: 18px;
  width: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: -8px;
  right: -8px;
}
.account-link:hover { color: var(--accent); }

/* Dropdown Menus */
.aa-dropdown {
  position: relative;
  display: inline-block;
}
.aa-dropbtn {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 0;
  cursor: pointer;
}
.aa-dropdown-content {
  display: none;
  position: absolute;
  background-color: #fff;
  min-width: 200px;
  box-shadow: 0px 10px 20px rgba(0,0,0,0.15);
  z-index: 1001;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border-top: 3px solid #000;
  text-align: left;
}
.aa-dropdown-content a {
  color: #000;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  font-weight: 400;
  border-bottom: 1px solid #f0f0f0;
}
.aa-dropdown-content a:hover {
  background-color: #f9f9f9;
  color: var(--accent);
}
.aa-dropdown:hover .aa-dropdown-content {
  display: block;
}

/* Footer */
footer {
  background: #050811;
  padding: 40px 0;
  color: var(--text-muted);
  border-top: 1px solid var(--border);
}

.footer-col h4 {
  text-transform: none;
  color: #ffffff;
  margin-bottom: 1rem;
}

.footer-col a {
  color: #ffffff;
  transition: color 0.2s;
}

.footer-col a:hover {
  color: var(--accent);
}

/* Site Main */
#page {
  padding-top: 150px;
}

/* Base Components from Design Kit */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.5rem;
}
.product-card {
  background: transparent;
  border: none;
  transition: transform 0.3s;
  position: relative;
}
.product-card:hover {
  transform: translateY(-5px);
}
.product-image {
  position: relative;
  aspect-ratio: 1/1;
  background: var(--surface);
  overflow: hidden;
  margin-bottom: 0.8rem;
  border-radius: 4px;
}
.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.product-card:hover .product-image img {
  transform: scale(1.05);
}
.placeholder-img {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
}
.product-overlay {
  position: absolute;
  bottom: -60px;
  left: 0;
  width: 100%;
  padding: 1rem;
  background: transparent;
  transition: all 0.3s ease;
  z-index: 10;
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  align-items: center;
}
.product-card:hover .product-overlay {
  bottom: 0;
}
.product-info {
  text-align: left;
}
.product-info h3 {
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 0.2rem;
  line-height: 1.3;
}
.product-info .price {
  font-family: 'Oswald', sans-serif;
  color: #000;
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: 0.5px;
}
.btn-primary {
  background: var(--accent);
  color: #ffffff;
  padding: 0.8rem 2rem;
  border-radius: 4px;
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 1.1rem;
  letter-spacing: 1px;
  border: none;
  cursor: pointer;
  display: inline-block;
  transition: all 0.2s ease;
  box-shadow: 0 4px 10px rgba(249, 115, 22, 0.2);
}
.btn-primary:hover {
  background: #e06612;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(249, 115, 22, 0.4);
}
.btn-secondary {
  background: #ffffff;
  color: #000;
  padding: 0.6rem 1.5rem;
  border-radius: 4px;
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border: 1px solid #000;
  cursor: pointer;
  transition: all 0.2s;
}

.product-overlay .button,
.product-overlay .btn-secondary {
  width: auto;
  flex: 1;
  font-size: 0.75rem;
  padding: 0.5rem 0.25rem;
  text-align: center;
  white-space: nowrap;
  display: inline-flex;
  justify-content: center;
  align-items: center;
}
@media (max-width: 768px) {
  .product-overlay {
    flex-direction: column;
  }
  .product-overlay .btn-secondary {
    width: 100%;
  }
}
.btn-secondary:hover {
  background: var(--accent);
  color: #ffffff;
  border-color: var(--accent);
}

/* Footer Additional Styles */
.aa-footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}
.footer-col {
  flex: 1;
  min-width: 250px;
}
.footer-email {
  color: var(--accent);
}
.social-icons {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}
.social-icon-link {
  background: #2a2a2a;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}
.social-icon-link img {
  width: 16px;
  height: 16px;
}
.footer-menu-list, .footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  line-height: 2;
}
.complaints-book {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid #333;
  padding: 0.5rem;
  margin-top: 1rem;
  border-radius: 4px;
  color: #fff;
}
.footer-bottom {
  text-align: center;
  margin-top: 3rem;
  font-size: 0.8rem;
  color: #555;
  border-top: 1px solid #1a1a1a;
  padding-top: 1rem;
}

/* -------------------------------------
   WOOCOMMERCE STYLES
   ------------------------------------- */

/* Archive / Shop Grid (F7) */
.woocommerce ul.products {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 1.5rem !important;
  padding: 0 !important;
  margin: 0 !important;
}
.woocommerce ul.products::before, .woocommerce ul.products::after {
  display: none !important;
}
@media (max-width: 900px) {
  .woocommerce ul.products {
    grid-template-columns: repeat(3, 1fr) !important;
  }
}
@media (max-width: 600px) {
  .woocommerce ul.products {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}
.woocommerce ul.products li.product {
  list-style: none !important;
  margin-bottom: 0 !important;
  width: 100% !important;
}

/* Cart, Checkout & Account forms (F9) */
.woocommerce form .form-row input.input-text, 
.woocommerce form .form-row textarea {
  width: 100%;
  padding: 0.8rem;
  border: 1px solid var(--border);
  border-radius: 4px;
  font-family: 'Inter', sans-serif;
}
.woocommerce-cart .cart-collaterals .cart_totals h2,
.woocommerce-checkout h3 {
  font-family: 'Oswald', sans-serif;
  text-transform: uppercase;
}
.woocommerce a.button, 
.woocommerce button.button, 
.woocommerce input.button,
.woocommerce #respond input#submit,
.woocommerce a.button.alt, 
.woocommerce button.button.alt, 
.woocommerce input.button.alt,
.woocommerce #respond input#submit.alt {
  background: var(--accent);
  color: #fff;
  padding: 0.8rem 2rem;
  border-radius: 4px;
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  border: none;
  transition: all 0.2s;
}
.woocommerce a.button:hover, 
.woocommerce button.button:hover, 
.woocommerce input.button:hover,
.woocommerce #respond input#submit:hover,
.woocommerce a.button.alt:hover, 
.woocommerce button.button.alt:hover, 
.woocommerce input.button.alt:hover,
.woocommerce #respond input#submit.alt:hover {
  background: #e06612;
  color: #fff;
}
.woocommerce button.button.alt.disabled,
.woocommerce button.button.alt.disabled:hover,
.woocommerce button.button.alt:disabled,
.woocommerce button.button.alt:disabled:hover,
.woocommerce button.button.alt:disabled[disabled],
.woocommerce a.button.alt.disabled,
.woocommerce input.button.alt.disabled,
.woocommerce #respond input#submit.alt.disabled {
  background-color: var(--accent) !important;
  color: #fff !important;
  opacity: 0.5;
  cursor: not-allowed;
  transform: none !important;
  box-shadow: none !important;
}
.woocommerce table.shop_table {
  border-radius: 4px;
  border: 1px solid var(--border);
}
.woocommerce table.shop_table th {
  background: var(--surface);
}

/* Single Product Specifics (F6) */
.sugoi-single-gallery .woocommerce-product-gallery__trigger {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 10;
  background: #fff;
  padding: 0.5rem;
  border-radius: 50%;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}
.sugoi-single-gallery img {
  width: 100%;
  height: 100%;
  aspect-ratio: 1/1;
  object-fit: contain;
  background: #fff;
}
.sugoi-single-gallery .woocommerce-product-gallery__image {
  aspect-ratio: 1/1;
  background: #fff;
  display: block;
  border-radius: 4px;
}
/* Override default woo floats */
.woocommerce div.product div.images,
.woocommerce div.product div.summary {
  float: none !important;
  width: 100% !important;
  margin: 0 !important;
}
/* Thumbnails Grid */
.woocommerce div.product div.images .flex-control-thumbs {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.5rem;
  margin-top: 1rem;
  padding: 0;
}
.woocommerce div.product div.images .flex-control-thumbs li {
  list-style: none;
  width: 100% !important;
  float: none !important;
  margin: 0 !important;
}
.woocommerce div.product div.images .flex-control-thumbs li img {
  width: 100%;
  height: auto;
  aspect-ratio: 1/1;
  object-fit: cover;
  cursor: pointer;
  border-radius: 4px;
  border: 1px solid var(--border);
  opacity: 0.7;
  transition: opacity 0.2s;
}
.woocommerce div.product div.images .flex-control-thumbs li img:hover,
.woocommerce div.product div.images .flex-control-thumbs li img.flex-active {
  opacity: 1;
  border-color: var(--primary);
}
.woocommerce div.product form.cart {
  display: inline-flex;
  gap: 1rem;
  margin-top: 2rem;
  margin-right: 1rem;
  margin-bottom: 1rem;
  align-items: center;
  flex-wrap: wrap;
  vertical-align: middle;
}
/* If the WhatsApp button is injected as a sibling after the cart form */
.woocommerce div.product .summary form.cart + [class*="whatsapp"],
.woocommerce div.product .summary form.cart + [id*="whatsapp"],
.woocommerce div.product .summary form.cart + .wa-order-button,
.woocommerce div.product .summary form.cart + a.button {
  display: inline-flex;
  vertical-align: middle;
  margin-top: 2rem;
  margin-bottom: 1rem;
}
.woocommerce div.product form.cart div.quantity {
  display: flex;
  border: 1px solid #ddd;
  border-radius: 4px;
  height: 48px;
}
.woocommerce div.product form.cart div.quantity input.qty {
  width: 50px;
  text-align: center;
  border: none;
  outline: none;
  font-weight: 600;
  height: 100%;
  padding: 0;
}
.woocommerce div.product form.cart button.single_add_to_cart_button {
  border-radius: 50px; /* Pill shape F6 */
  height: 48px;
  padding: 0 3rem;
  box-shadow: 0 4px 10px rgba(249, 115, 22, 0.2);
  white-space: nowrap;
}
.woocommerce div.product form.cart button.single_add_to_cart_button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(249, 115, 22, 0.4);
}

/* Variations Selector */
.woocommerce div.product form.cart table.variations {
  margin-bottom: 1.5rem;
  width: 100%;
}
.woocommerce div.product form.cart table.variations th,
.woocommerce div.product form.cart table.variations td {
  padding: 0.5rem 0;
  vertical-align: middle;
}
.woocommerce div.product form.cart table.variations th.label {
  font-family: 'Oswald', sans-serif;
  text-transform: uppercase;
  color: #000;
  width: 100px;
}
.woocommerce div.product form.cart table.variations select {
  width: 100%;
  padding: 0.6rem;
  border: 1px solid var(--border);
  border-radius: 4px;
  font-family: 'Inter', sans-serif;
  background-color: var(--bg-color);
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url('data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23333%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpolyline%20points%3D%226%209%2012%2015%2018%209%22%3E%3C%2Fpolyline%3E%3C%2Fsvg%3E');
  background-repeat: no-repeat;
  background-position: right 0.75rem top 50%;
  background-size: 1rem auto;
}
.woocommerce div.product form.cart .reset_variations {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-decoration: underline;
  margin-left: 1rem;
}

.woocommerce div.product .woocommerce-tabs {
  margin-top: 3rem;
  border-top: 1px solid var(--border);
  padding-top: 2rem;
}
.woocommerce div.product .woocommerce-tabs ul.tabs {
  display: flex;
  gap: 2rem;
  list-style: none;
  padding: 0;
  margin-bottom: 2rem;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li {
  font-family: 'Oswald', sans-serif;
  text-transform: uppercase;
  font-weight: 700;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a {
  color: var(--accent);
  border-bottom: 2px solid var(--accent);
}

/* Static Pages (F13) */
.sugoi-page-container {
  padding-top: 4rem;
  padding-bottom: 6rem;
  min-height: 50vh;
}
.prose-container {
  max-width: 800px;
  margin: 0 auto;
}
.prose-container h1, .prose-container h2, .prose-container h3 {
  font-family: 'Oswald', sans-serif;
  color: #000;
  margin-top: 2rem;
  margin-bottom: 1rem;
}
.prose-container h2 {
  font-size: 1.8rem;
}
.prose-container p {
  margin-bottom: 1.5rem;
}
.prose-container ul {
  list-style: disc;
  margin-left: 2rem;
  margin-bottom: 1.5rem;
}

/* -------------------------------------
   WOOCOMMERCE FIXES (FASE 2)
   ------------------------------------- */

.sugoi-shop-wrapper {
  padding-top: 2rem;
  padding-bottom: 4rem;
}
.sugoi-card {
  background: transparent !important;
  border: none !important;
  position: relative;
}
.sugoi-product-link {
  display: block;
  width: 100%;
  height: 100%;
}
.sugoi-main-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.sugoi-hover-image {
  opacity: 0;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.3s ease;
}
.product-card:hover .sugoi-hover-image {
  opacity: 1;
}
.sugoi-wishlist-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 10;
}
.sugoi-wishlist-btn .yith-wcwl-add-to-wishlist {
  margin: 0;
}
.sugoi-wishlist-btn a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
  font-size: 0;
  line-height: 0;
  transition: all 0.2s ease;
}
.sugoi-wishlist-btn a:hover {
  background: #fff;
  transform: scale(1.1);
}
.sugoi-wishlist-btn a i,
.sugoi-wishlist-btn a svg {
  font-size: 16px;
  line-height: 1;
  color: var(--accent);
}
.sugoi-wishlist-btn .yith-wcwl-tooltip { display: none; }

.add-to-cart-btn-full {
  width: 100%;
  display: block;
  text-align: center;
}
.sugoi-product-title-link {
  color: inherit;
}
.sugoi-product-price {
  color: #000;
}
.sugoi-single-product-main {
  background: white;
  padding: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}
.sugoi-single-product-flex {
  display: flex;
  gap: 4rem;
  flex-wrap: wrap;
}
.sugoi-single-gallery {
  flex: 1.2;
  min-width: 300px;
}
.sugoi-single-info {
  flex: 1;
  min-width: 300px;
}
.sugoi-single-title {
  font-family: 'Oswald', sans-serif;
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: #000;
  text-transform: uppercase;
}
@media (max-width: 900px) {
  .sugoi-single-title {
    font-size: 2rem;
  }
  .sugoi-single-product-flex {
    gap: 2rem;
  }
}
.sugoi-single-price {
  font-family: 'Oswald', sans-serif;
  font-size: 2rem;
  color: var(--accent);
  margin-bottom: 1rem;
  font-weight: 700;
}
.related.products {
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 1px solid #eee;
}
.related.products > h2 {
  font-family: 'Oswald', sans-serif;
  color: var(--accent);
  margin-bottom: 2rem;
  font-size: 2rem;
  font-weight: 700;
  text-transform: uppercase;
}

/* -------------------------------------
   FRONT PAGE (FASE 3)
   ------------------------------------- */

/* Hero Slider */
.sugoi-hero-slider {
    position: relative;
    width: 100%;
    margin-bottom: 4rem;
}
.sugoi-slider-container {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}
.sugoi-slider-container::-webkit-scrollbar {
    display: none;
}
.sugoi-slide {
    flex: 0 0 100%;
    width: 100%;
    height: 60vh;
    min-height: 400px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    scroll-snap-align: start;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}
.sugoi-slide::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.5);
}
.sugoi-slide-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: #fff;
    padding: 0 2rem;
    max-width: 800px;
}
.sugoi-slide-content h1 {
    font-size: 4rem;
    margin-bottom: 1rem;
    color: #fff;
}
.sugoi-slide-content p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
}
@media (max-width: 768px) {
    .sugoi-slide-content h1 { font-size: 2.5rem; }
    .sugoi-slide-content p { font-size: 1rem; }
}
.sugoi-slider-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 2;
}
.sugoi-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    border: none;
    cursor: pointer;
    transition: background 0.3s;
}
.sugoi-dot.active {
    background: var(--accent);
}

/* Welcome Block */
.sugoi-welcome-section {
    text-align: center;
    padding: 4rem 2rem;
    background: white;
}
.sugoi-welcome-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: #000;
}
.sugoi-welcome-content .welcome-text {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 800px;
    margin: 0 auto 2.5rem;
}
.welcome-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Bestsellers Section */
.sugoi-bestsellers-section {
    margin-bottom: 4rem;
}

/* Categories Section */
.sugoi-categories-section {
    padding: 4rem 2rem;
    margin-bottom: 4rem;
}
.categories-title {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: var(--text-color);
    font-weight: 800;
}
.category-cards {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 1rem;
}
@media (max-width: 1200px) {
    .category-cards { grid-template-columns: repeat(6, 1fr); }
}
@media (max-width: 900px) {
    .category-cards { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 600px) {
    .category-cards { grid-template-columns: repeat(2, 1fr); }
}
.cat-card {
    position: relative;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 0.75rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 110px;
    overflow: hidden;
    transition: all 0.3s ease;
    background: var(--surface);
}
.cat-card:hover {
    border-color: var(--primary);
    transform: translateY(-4px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);
}
.cat-card-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: 0;
    filter: brightness(0.5);
    transition: transform 0.4s ease, filter 0.4s ease;
}
.cat-card:hover .cat-card-bg {
    transform: scale(1.1);
    filter: brightness(0.3);
}
.cat-card-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}
.cat-card .name {
    font-size: 0.9rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 0.2rem;
    color: #ffffff;
    text-shadow: 
        2px 2px 0 #000, 
        -1px -1px 0 #000, 
        1px -1px 0 #000, 
        -1px 1px 0 #000, 
        1px 1px 0 #000;
}
.cat-card .count-bar {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.7);
    background: transparent;
    border: none;
    font-weight: 500;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.8);
}

/* -------------------------------------
   FASE 4: INTERACTIVIDAD
   ------------------------------------- */

/* Off-canvas Mini Cart */
.sugoi-offcanvas {
    position: fixed;
    top: 0; right: 0; bottom: 0; left: 0;
    z-index: 9999;
    visibility: hidden;
    transition: visibility 0.3s;
}
.sugoi-offcanvas.open {
    visibility: visible;
}
.sugoi-offcanvas-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.5);
    opacity: 0;
    transition: opacity 0.3s;
}
.sugoi-offcanvas.open .sugoi-offcanvas-overlay {
    opacity: 1;
}
.sugoi-offcanvas-content {
    position: absolute;
    top: 0; right: -400px; bottom: 0;
    width: 400px;
    max-width: 100%;
    background: #fff;
    box-shadow: -5px 0 15px rgba(0,0,0,0.1);
    transition: right 0.3s;
    display: flex;
    flex-direction: column;
}
.sugoi-offcanvas.open .sugoi-offcanvas-content {
    right: 0;
}
.sugoi-offcanvas-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid var(--border);
}
.sugoi-offcanvas-header h3 {
    margin: 0;
    font-size: 1.25rem;
}
.sugoi-offcanvas-close, .sugoi-modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    line-height: 1;
    padding: 0.5rem;
}
.sugoi-offcanvas-body {
    padding: 1.5rem;
    flex: 1;
    overflow-y: auto;
}
.woocommerce-mini-cart__buttons {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.woocommerce-mini-cart__buttons a.button {
    width: 100%;
    margin: 0 !important;
}

/* Standalone Mini-Cart CSS for pages without .woocommerce body class */
#sugoi-mini-cart ul.cart_list,
#sugoi-mini-cart ul.woocommerce-mini-cart {
  list-style: none; margin: 0; padding: 0;
}
#sugoi-mini-cart ul.cart_list li,
#sugoi-mini-cart li.mini_cart_item {
  display: flex; align-items: center; gap: 0.75rem;
  padding: 0.75rem 0; border-bottom: 1px solid var(--border);
  position: relative;
}
#sugoi-mini-cart ul.cart_list li img {
  width: 60px; height: 60px; object-fit: cover;
  border-radius: 4px; flex-shrink: 0;
}
#sugoi-mini-cart ul.cart_list li a {
  font-family: 'Inter', sans-serif; font-weight: 600;
  font-size: 0.85rem; flex: 1;
}
#sugoi-mini-cart ul.cart_list li .quantity {
  display: block; font-size: 0.8rem; color: var(--text-muted);
}
#sugoi-mini-cart ul.cart_list li .remove {
  position: absolute; top: 0.5rem; right: 0;
  color: var(--text-muted); font-size: 1.1rem;
}
#sugoi-mini-cart .woocommerce-mini-cart__total {
  font-family: 'Oswald', sans-serif; font-weight: 700;
  padding: 1rem 0; border-top: 1px solid var(--border);
}
#sugoi-mini-cart .woocommerce-mini-cart__buttons a.button {
  display: block; text-align: center; padding: 0.75rem; border-radius: 4px;
}
#sugoi-mini-cart .woocommerce-mini-cart__buttons a.checkout {
  background: var(--accent); color: #fff;
}

/* Quick View Modal */
.sugoi-modal {
    position: fixed;
    top: 0; right: 0; bottom: 0; left: 0;
    z-index: 10000;
    visibility: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}
.sugoi-modal.open {
    visibility: visible;
}
.sugoi-modal-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.6);
    opacity: 0;
    transition: opacity 0.3s;
}
.sugoi-modal.open .sugoi-modal-overlay {
    opacity: 1;
}
.sugoi-modal-content {
    position: relative;
    background: #fff;
    width: 900px;
    max-width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    border-radius: 8px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s;
}
.sugoi-modal.open .sugoi-modal-content {
    opacity: 1;
    transform: translateY(0);
}
.sugoi-modal-close {
    position: absolute;
    top: 10px; right: 10px;
    z-index: 2;
}
.sugoi-quickview-content {
    display: flex;
    flex-wrap: wrap;
}
.sugoi-quickview-gallery {
    flex: 1;
    min-width: 300px;
}
.sugoi-quickview-gallery img {
    width: 100%;
    height: auto;
    display: block;
}
.sugoi-quickview-info {
    flex: 1;
    min-width: 300px;
    padding: 2rem;
}
.sugoi-quickview-title {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}
.sugoi-quickview-price {
    font-size: 1.25rem;
    color: var(--accent);
    margin-bottom: 1rem;
    font-weight: 700;
}
.sugoi-quickview-details-link {
    display: inline-block;
    margin-top: 1rem;
    font-weight: 600;
    color: var(--text-color);
}
.sugoi-loading-spinner {
    padding: 3rem;
    text-align: center;
    font-weight: bold;
}

/* Live Search */
.search-container {
    position: relative;
}
.search-results-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--surface);
    border: 1px solid var(--border);
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    z-index: 100;
    margin-top: 5px;
    max-height: 400px;
    overflow-y: auto;
    border-radius: 4px;
    display: none;
}
.sugoi-live-search-list {
    list-style: none;
    margin: 0; padding: 0;
}
.sugoi-live-search-item a {
    display: flex;
    align-items: center;
    padding: 10px;
    border-bottom: 1px solid var(--border);
    color: var(--text-color);
    text-decoration: none;
}
.sugoi-live-search-item a:hover,
.sugoi-search-active {
    background: var(--surface);
}
.search-item-image img {
    width: 50px;
    height: 50px;
    object-fit: cover;
    margin-right: 15px;
}
.search-item-info {
    display: flex;
    flex-direction: column;
}
.search-item-title {
    font-weight: 600;
    font-size: 0.9rem;
}
.search-item-price {
    font-size: 0.85rem;
    color: var(--text-muted);
}
.sugoi-search-view-all, .sugoi-search-no-results, .sugoi-search-loading {
    padding: 10px;
    text-align: center;
    font-size: 0.9rem;
}
.sugoi-search-view-all a {
    color: var(--accent);
    font-weight: bold;
}

/* Back to Top */
.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--accent);
    color: #fff;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    z-index: 99;
}
.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

/* Reviews Section */
.sugoi-section {
    padding: 3rem 1rem;
    border-top: 1px solid var(--border);
}
.sugoi-section h2 {
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
    font-size: 1.5rem;
    margin-bottom: 2rem;
    text-align: center;
}
.sugoi-reviews-layout {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
    width: 100%;
    justify-content: center;
}
.sugoi-reviews-summary {
    flex: 1;
    min-width: 300px;
    max-width: 400px;
}
.sugoi-reviews-list {
    flex: 2;
    min-width: 300px;
}
.sugoi-reviews-average {
    text-align: center;
    margin-bottom: 2rem;
}
.sugoi-reviews-average .avg-number {
    font-size: 4rem;
    font-weight: 700;
    line-height: 1;
    display: block;
}
.sugoi-reviews-average .avg-stars {
    color: var(--accent);
    font-size: 1.5rem;
    margin: 0.5rem 0;
}
.sugoi-review-bar-row {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
    gap: 10px;
}
.star-label {
    width: 30px;
    font-weight: 600;
    color: var(--text-muted);
}
.bar-bg {
    flex: 1;
    height: 10px;
    background: var(--surface);
    border-radius: 5px;
    overflow: hidden;
}
.bar-fill {
    height: 100%;
    background: var(--accent);
    border-radius: 5px;
}
.star-count {
    width: 30px;
    text-align: right;
    color: var(--text-muted);
}
.sugoi-write-review-btn {
    width: 100%;
    margin-top: 2rem;
}
.sugoi-reviews-empty {
    text-align: center;
    padding: 2rem;
    background: var(--surface);
    border-radius: 8px;
}

/* Hide native WooCommerce review headers since we have our own */
.woocommerce-Reviews-title { display: none !important; }
#reviews #comments h2 { display: none !important; }
.woocommerce-noreviews { display: none !important; }
#review_form_wrapper {
    display: none; /* Hidden by default, shown by JS */
    margin-top: 2rem;
    padding: 1.5rem;
    background: var(--surface);
    border-radius: 8px;
}
#review_form_wrapper.open {
    display: block;
}

/* YITH Wishlist Page */
.yith-wcwl-share { display: none; }
table.wishlist_table {
    width: 100%;
    border-collapse: collapse;
}
table.wishlist_table th, table.wishlist_table td {
    padding: 1rem;
    border-bottom: 1px solid var(--border);
    text-align: left;
}
table.wishlist_table td.product-thumbnail img {
    max-width: 80px;
    height: auto;
}
table.wishlist_table td.product-remove a {
    color: red;
    font-size: 1.5rem;
    text-decoration: none;
}
table.wishlist_table td.product-add-to-cart a {
    padding: 0.5rem 1rem;
    background: var(--accent);
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
}

/* Archive category */
.sugoi-archive-cat-wrapper {
    list-style: none;
}
.sugoi-cat-card-archive {
    width: 100%;
    display: flex;
}
