@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;700;900&display=swap');

:root {
  --bg: #F3F3F3;
  --surface: #FFFFFF;
  --text: #1a1a1a;
  --text-muted: #666666;
  --accent: #CC3156;
  --border: #e0e0e0;
  --white: #ffffff;
  --black: #000000;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --overlay-bg: rgba(0, 0, 0, 0.4);
  --space-xs: 0.5rem;
  --space-sm: 0.8rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --page-gutter: 0.8rem;
}

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

body {
  background-color: var(--bg);
  color: var(--text);
  font-family: 'Roboto', sans-serif;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

.main-nav {
  height: 60px;
  background: var(--accent);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 50;
  color: var(--white);
}

.nav-container {
  height: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 var(--page-gutter);
  position: relative;
  max-width: 1400px;
  margin: 0 auto;
}

.mobile-nav-back {
  display: none;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--white);
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 1rem;
}

.logo img {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.nav-tools {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.search-container {
  position: relative;
  display: flex;
  align-items: center;
}

.search-toggle-btn,
.close-search-btn {
  background: none;
  border: none;
  color: var(--white);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem;
}

.search-box {
  position: fixed;
  top: 60px;
  left: 0;
  width: 100%;
  background: var(--accent);
  padding: 0.8rem var(--page-gutter);
  border-radius: 0;
  border: none;
  border-top: 1px solid rgba(255,255,255,0.1);
  border-bottom: 1px solid rgba(255,255,255,0.1);
  z-index: 40;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.search-box.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.desktop-search-icon {
  display: none;
}

.search-box input {
  background: transparent;
  border: none;
  color: var(--white);
  margin-left: 0.5rem;
  outline: none;
  font-size: 1rem;
  width: 100%;
}

.search-box input::placeholder {
  color: rgba(255,255,255,0.7);
}

.search-box .material-symbols-outlined {
  color: var(--white);
}

.cart-btn {
  background: none;
  border: none;
  color: var(--white);
  position: relative;
  cursor: pointer;
  padding: 0.5rem;
  display: flex;
  align-items: center;
}

.cart-badge {
  position: absolute;
  top: -2px;
  right: -2px;
  background: var(--white);
  color: var(--accent);
  font-size: 0.6rem;
  padding: 2px 5px;
  border-radius: 10px;
  font-weight: bold;
  min-width: 18px;
  text-align: center;
}

.sidebar-toggle-btn {
  background: none;
  border: none;
  color: var(--white);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem;
}

.filter-section {
  display: none;
}

.filter-chips-container {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.filter-btn {
  padding: 0.3rem 1rem;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-muted);
  border-radius: 30px;
  cursor: pointer;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.filter-chip.active {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
}

.catalog-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
  max-width: 1400px;
  margin: var(--space-md) auto;
  padding: 0 var(--page-gutter);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.7rem;
}

.product-card {
  background: var(--surface);
  padding: 0.6rem;
  transition: var(--transition);
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
}

.card-img-box {
  aspect-ratio: 1 / 1;
  background: #1a1a1a;
  overflow: hidden;
  margin-bottom: 0.5rem;
  border-radius: 6px;
}

.card-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.5s;
}

.tag {
  font-size: 0.6rem;
  color: var(--accent);
  font-weight: bold;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.card-title {
  font-size: 0.82rem;
  margin: 0.25rem 0;
  font-family: 'Outfit', sans-serif;
  line-height: 1.3;
}

.card-price {
  font-size: 0.9rem;
  font-weight: bold;
  color: var(--text);
}

.price-container {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.2rem;
  margin-top: 0.1rem;
}

.old-price {
  text-decoration: line-through;
  color: var(--text-muted);
  font-size: 0.72rem;
  font-weight: 400;
}

.offer-price {
  color: #2ecc71;
}

.badges-container {
  position: absolute;
  top: 0.5rem;
  left: 0.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  z-index: 5;
  align-items: flex-start;
}

.badge-featured {
  background: var(--accent);
  color: var(--white);
  padding: 0.2rem 0.4rem;
  font-size: 0.55rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 2px;
}

.badge-exclusive {
  background: linear-gradient(135deg, #FFD700 0%, #B8860B 100%);
  color: #111;
  padding: 0.2rem 0.4rem;
  font-size: 0.55rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 2px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

/* If badges are not in a container (fallback) */
article > .badge-featured {
  position: absolute;
  top: 0.5rem;
  left: 0.5rem;
  z-index: 5;
}

.btn-add-cart {
  margin-top: 0.5rem;
  background: var(--accent);
  color: var(--white);
  border: none;
  padding: 0.5rem;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.65rem;
  letter-spacing: 1px;
  cursor: pointer;
  transition: var(--transition);
  border-radius: 6px;
  width: 100%;
}

.btn-add-cart:hover {
  filter: brightness(1.1);
}

.btn-primary {
  width: 100%;
  background: var(--accent);
  color: var(--white);
  border: none;
  padding: 0.9rem 1.5rem;
  font-weight: 800;
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 2px;
  cursor: pointer;
  transition: var(--transition);
  border-radius: 8px;
}

.btn-primary:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(204, 49, 86, 0.2);
}

.cart-sidebar {
  background: var(--surface);
  border-left: 1px solid var(--border);
  height: 100vh;
  width: 100%;
  position: fixed;
  top: 0;
  right: -100%;
  padding: var(--space-lg);
  display: flex;
  flex-direction: column;
  z-index: 200;
  transition: var(--transition);
  box-shadow: -10px 0 30px rgba(0,0,0,0.05);
}

.cart-sidebar.active {
  right: 0;
}

.cart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border);
  padding-bottom: var(--space-md);
  margin-bottom: var(--space-md);
}

.cart-header h3 {
  font-family: 'Outfit', sans-serif;
  margin: 0;
  letter-spacing: 2px;
  font-weight: 800;
  font-size: 1.1rem;
}

.cart-items-list {
  flex: 1;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding-right: 2px;
}

.empty-cart-msg {
  text-align: center;
  padding: 3rem 1rem;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.cart-item {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 0.9rem;
  background: var(--bg);
  border-radius: 14px;
  position: relative;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  transition: box-shadow 0.2s;
}

.cart-item:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,0.10);
}

.cart-item-img {
  width: 65px;
  height: 82px;
  object-fit: cover;
  border-radius: 10px;
  flex-shrink: 0;
}

.cart-item-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  min-width: 0;
}

.cart-item-info h4 {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text);
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cart-item-price {
  color: var(--accent);
  font-weight: 800;
  font-size: 0.92rem;
  margin: 0;
}

.cart-item-meta {
  color: var(--text-muted);
  font-size: 0.72rem;
  display: block;
}

.btn-remove-item {
  position: absolute;
  top: 0.5rem;
  right: 0.6rem;
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 0.9rem;
  line-height: 1;
  padding: 2px 4px;
  border-radius: 4px;
  transition: color 0.2s, background 0.2s;
}

.btn-remove-item:hover {
  color: #ff4d4d;
  background: rgba(255,77,77,0.08);
}

.qty-box {
  display: flex;
  align-items: center;
  margin-top: 0.5rem;
  background: var(--white);
  border-radius: 8px;
  width: fit-content;
  border: 1px solid var(--border);
  overflow: hidden;
}

.qty-btn {
  background: transparent;
  border: none;
  color: var(--text);
  width: 30px;
  height: 28px;
  cursor: pointer;
  font-size: 1rem;
  font-weight: bold;
  transition: background 0.2s, color 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.qty-btn:hover {
  background: var(--accent);
  color: var(--white);
}

.qty-box span {
  font-size: 0.85rem;
  font-weight: 700;
  min-width: 28px;
  text-align: center;
  border-left: 1px solid var(--border);
  border-right: 1px solid var(--border);
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cart-footer {
  margin-top: var(--space-xl);
}

.total-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-lg);
}

.total-line span:first-child {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 600;
}

.total-line span:last-child {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--accent);
}

.btn-primary-full {
  width: 100%;
  background: #25D366;
  color: white;
  border: none;
  padding: 1.1rem;
  font-weight: 800;
  cursor: pointer;
  border-radius: 8px;
  transition: var(--transition);
  box-shadow: 0 4px 15px rgba(37,211,102,0.3);
  font-size: 0.9rem;
  letter-spacing: 0.5px;
}

.btn-primary-full:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37,211,102,0.4);
  filter: brightness(1.05);
}

.product-detail-layout {
  max-width: 1200px;
  margin: 0 auto var(--space-xl) auto;
  padding: 0;
}

.detail-main-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
  margin-bottom: var(--space-xl);
}

.detail-gallery {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  width: 100%;
}
.main-img-container {
  position: relative;
  width: 100%;
}

.main-img-container img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 0;
  display: block;
}

.thumbnails-container {
  display: flex;
  gap: 10px;
  padding: 0.5rem var(--page-gutter) 0;
  justify-content: center;
}

.thumb {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 8px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
}

.thumb.active {
  border-color: var(--accent);
}

.detail-info {
  padding: 0 var(--page-gutter);
}

.size-selector {
  margin: var(--space-lg) 0;
}

.selector-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.size-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.size-chip {
  padding: 8px 16px;
  border: 1px solid var(--border);
  background: var(--white);
  border-radius: 6px;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.9rem;
  transition: var(--transition);
}

.size-chip:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.size-chip.active {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
}

.detail-title {
  font-size: 1.3rem;
  margin-bottom: 0.8rem;
  line-height: 1.3;
}

.detail-desc {
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: var(--space-xl);
  font-size: 1rem;
}

.detail-price-box {
  margin-bottom: var(--space-lg);
  display: flex;
  align-items: baseline;
  gap: 1rem;
}

.detail-price {
  font-size: 1.6rem;
  font-weight: 800;
}

.detail-header-nav {
  display: none;
}
.back-link {
  display: none;
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(8px);
  padding: 0.5rem 1rem;
  border-radius: 30px;
  color: var(--text);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 700;
  transition: var(--transition);
  align-items: center;
  gap: 5px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  z-index: 10;
}

.back-link:hover {
  background: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
  color: var(--accent);
}

.mobile-nav-back {
  display: flex;
  align-items: center;
  color: var(--white);
  text-decoration: none;
}

.overlay {
  position: fixed;
  inset: 0;
  background: var(--overlay-bg);
  opacity: 0;
  visibility: hidden;
  z-index: 150;
  transition: var(--transition);
  backdrop-filter: blur(4px);
}

.overlay.active {
  opacity: 1;
  visibility: visible;
}

.sidebar {
  background: var(--surface);
  border-right: 1px solid var(--border);
  height: 100vh;
  width: 85%;
  max-width: 300px;
  position: fixed;
  top: 0;
  left: -100%;
  padding: var(--space-lg);
  display: flex;
  flex-direction: column;
  z-index: 200;
  transition: var(--transition);
  box-shadow: 10px 0 30px rgba(0,0,0,0.05);
  overflow-y: auto;
  padding-bottom: 30px;
}

.sidebar.active {
  left: 0;
}

.sidebar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border);
  padding-bottom: var(--space-md);
  margin-bottom: var(--space-md);
}

.sidebar-header h3 {
  font-family: 'Outfit', sans-serif;
  margin: 0;
  letter-spacing: 2px;
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--text);
}

.sidebar-section {
  margin-bottom: var(--space-lg);
  flex-shrink: 0;
}

.sidebar-section h4 {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-muted);
  margin-bottom: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.filter-chip {
  padding: 0.45rem 1rem;
  border: 1px solid var(--border);
  background: var(--white);
  color: var(--text-muted);
  border-radius: 30px;
  cursor: pointer;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: var(--transition);
  margin-bottom: 5px;
  display: inline-block;
}

.filter-chip:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.filter-chip.active {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
}

.toggle-switch {
  position: relative;
  display: inline-block;
  width: 40px;
  height: 24px;
}

.toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  inset: 0;
  background-color: #ccc;
  transition: 0.4s;
  border-radius: 24px;
}

.slider::before {
  position: absolute;
  content: "";
  height: 16px;
  width: 16px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  transition: 0.4s;
  border-radius: 50%;
}

input:checked + .slider {
  background-color: var(--accent);
}

input:checked + .slider::before {
  transform: translateX(16px);
}

.recommendations-title {
  font-family: 'Outfit', sans-serif;
  font-size: 1.2rem;
  margin-bottom: var(--space-lg);
  text-align: center;
}

.recommendations-container {
  padding: 0 var(--page-gutter);
}

.recommendations-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 1rem;
}

.rec-card {
  background: var(--surface);
  padding: 0.8rem;
  border-radius: 8px;
  cursor: pointer;
  transition: var(--transition);
}

.rec-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.rec-card img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: 0.8rem;
}

.rec-card h4 {
  font-size: 0.85rem;
  margin-bottom: 0.3rem;
}

.rec-card p {
  font-weight: 800;
  color: var(--text);
  font-size: 0.9rem;
}

.main-footer {
  background-color: var(--surface);
  border-top: 1px solid var(--border);
  padding: var(--space-xl) var(--page-gutter) var(--space-md);
  color: var(--text);
}

.footer-socials {
  display: flex;
  justify-content: center;
  gap: var(--space-lg);
  margin-bottom: var(--space-xl);
  width: 100%;
}

.footer-socials a {
  color: var(--accent);
  transition: var(--transition);
  text-decoration: none;
  font-weight: bold;
  font-size: 1.5rem;
}

.footer-socials a:hover {
  color: var(--text);
}

.footer-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
  max-width: 1400px;
  margin: 0 auto;
  text-align: center;
}

.footer-column h4 {
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: var(--space-lg);
  color: var(--accent);
  font-size: 0.85rem;
}

.footer-column ul {
  list-style: none;
}

.footer-column ul li {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--text-muted);
  margin-bottom: 0.8rem;
  font-size: 0.85rem;
  line-height: 1.5;
}

.footer-column ul li .material-symbols-outlined {
  font-size: 1.2rem;
  color: var(--accent);
  opacity: 0.8;
  flex-shrink: 0;
}

.footer-map {
  margin-top: var(--space-md);
}

.footer-bottom {
  margin-top: var(--space-xl);
  padding-top: var(--space-xl);
  border-top: 1px solid var(--border);
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.close-btn {
  background: none;
  border: none;
  color: var(--text);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.25rem;
  line-height: 1;
}

.material-symbols-outlined {
  font-variation-settings: 'FILL' 0, 'wght' 300, 'GRAD' 0, 'opsz' 24;
  display: inline-block;
  vertical-align: middle;
}

::-webkit-scrollbar {
  width: 5px;
}

::-webkit-scrollbar-track {
  background: var(--bg);
}

::-webkit-scrollbar-thumb {
  background: var(--border);
  border-radius: 10px;
}

.loader-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 5rem 2rem;
  width: 100%;
  grid-column: 1 / -1;
  min-height: 300px;
}

.spinner {
  width: 48px;
  height: 48px;
  border: 4px solid rgba(204,49,86,0.1);
  border-radius: 50%;
  border-top-color: var(--accent);
  animation: spin 1s linear infinite;
  margin-bottom: var(--space-lg);
}

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

.loader-wrapper p {
  font-family: 'Outfit', sans-serif;
  color: var(--text-muted);
  letter-spacing: 1px;
  font-size: 0.9rem;
  text-transform: uppercase;
}

.color-selector {
  margin-top: 1rem;
  margin-bottom: var(--space-xl);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.color-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.color-chip-text {
  padding: 8px 16px;
  border: 1px solid var(--border);
  background-color: var(--white);
  cursor: pointer;
  border-radius: 6px;
  transition: var(--transition);
  font-size: 0.85rem;
}

.color-chip-text.active {
  background-color: var(--accent);
  color: var(--white);
  border-color: var(--accent);
}
.cart-toast {
  position: fixed;
  bottom: 90px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: #1a1a1a;
  color: #fff;
  padding: 0.75rem 1.4rem;
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: 600;
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
  z-index: 9999;
  opacity: 0;
  transition: opacity 0.3s ease, transform 0.3s ease;
  white-space: nowrap;
  pointer-events: none;
}

.cart-toast.visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 56px;
  height: 56px;
  background-color: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
  z-index: 1000;
  transition: var(--transition);
}

.whatsapp-float img {
  width: 32px;
}

.whatsapp-float:hover {
  transform: scale(1.1);
}

.pwa-float {
  position: fixed;
  bottom: 20px;
  left: 20px;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--accent);
  color: var(--white);
  border: none;
  border-radius: 50px;
  padding: 0 1.1rem 0 0.7rem;
  height: 56px;
  cursor: pointer;
  z-index: 1000;
  box-shadow: 0 4px 18px rgba(204, 49, 86, 0.35);
  transition: var(--transition);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
}

.pwa-float.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.pwa-float:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(204, 49, 86, 0.45);
  filter: brightness(1.08);
}

.pwa-float:active {
  transform: translateY(0);
}

.pwa-float__icon {
  width: 34px;
  height: 34px;
  background: rgba(255,255,255,0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.pwa-float__icon .material-symbols-outlined {
  font-size: 1.2rem;
  color: var(--white);
}

.pwa-float__label {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.3px;
  white-space: nowrap;
  line-height: 1.2;
}

@media (min-width: 600px) {
  :root {
    --page-gutter: 1.5rem;
  }

  .logo {
    font-size: 1.1rem;
  }

  .logo img {
    width: 42px;
    height: 42px;
  }

  .product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .card-img-box {
    aspect-ratio: 4 / 5;
  }

  .card-title {
    font-size: 0.9rem;
  }

  .card-price {
    font-size: 1rem;
  }

  .recommendations-grid {
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  }

  .cart-sidebar {
    width: 380px;
  }
}

@media (min-width: 768px) {
  :root {
    --page-gutter: 2rem;
  }

  .main-nav {
    height: 70px;
  }

  .logo img {
    width: 45px;
    height: 45px;
  }

  .search-toggle-btn,
  .close-search-btn {
    display: none;
  }

  .search-box {
    position: relative;
    top: auto;
    left: auto;
    width: auto;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.2);
    background: rgba(255,255,255,0.15);
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: none;
    display: flex;
  }

  .desktop-search-icon {
    display: block;
  }

  .search-box input {
    width: 180px;
    font-size: 0.9rem;
  }

  .nav-tools {
    gap: 1.5rem;
  }

  .catalog-layout {
    padding: 0 var(--page-gutter);
    margin: var(--space-xl) auto;
  }

  .product-grid {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1.5rem;
  }

  .product-card {
    padding: 0.8rem;
    border-radius: 12px;
  }

  .product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.08);
  }

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

  .card-title {
    font-size: 1rem;
  }

  .card-price {
    font-size: 1.1rem;
  }

  .badge-featured {
    top: 1rem;
    left: 1rem;
    font-size: 0.6rem;
    padding: 0.3rem 0.8rem;
  }

  .btn-add-cart {
    font-size: 0.7rem;
    padding: 0.75rem;
  }

  .btn-primary {
    width: auto;
    min-width: 200px;
    padding: 0.8rem 2.5rem;
  }

  .main-img-container img {
    aspect-ratio: auto;
    max-height: 420px;
    border-radius: 12px;
  }

  .detail-title {
    font-size: 1.5rem;
  }

  .detail-price {
    font-size: 1.8rem;
  }

  .product-detail-layout {
    padding: 0 var(--page-gutter);
    margin-top: var(--space-xl);
  }

  .detail-info {
    padding: 0;
  }

  .thumbnails-container {
    padding: 0;
    justify-content: flex-start;
  }

  .back-link {
    display: flex;
  }

  .mobile-nav-back {
    display: none;
  }

  .main-footer {
    padding: var(--space-xl) var(--page-gutter) var(--space-md);
  }

  .footer-container {
    text-align: left;
  }

  .footer-column ul li {
    justify-content: flex-start;
  }

  .recommendations-grid {
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 1.5rem;
  }
}

@media (min-width: 1024px) {
  :root {
    --page-gutter: 4rem;
  }

  .nav-container {
    padding: 0 var(--page-gutter);
  }

  .catalog-layout {
    padding: 0 var(--page-gutter);
  }

  .search-box input {
    width: 220px;
  }

  .product-grid {
    grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
    gap: 2rem;
  }

  .detail-main-content {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }

  .detail-title {
    font-size: 1.8rem;
  }

  .detail-price {
    font-size: 2rem;
  }

  .footer-container {
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
  }

  .main-footer {
    padding: var(--space-xl) var(--page-gutter) var(--space-md);
  }
}

@media (min-width: 1280px) {
  :root {
    --page-gutter: 6rem;
  }

  .nav-container {
    padding: 0 var(--page-gutter);
  }

  .main-footer {
    padding: var(--space-xl) var(--page-gutter) var(--space-md);
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

.suggestions-section {
  padding: 2rem var(--page-gutter, 1.5rem) 3rem;
}
.suggestions-title {
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-bottom: 1.2rem;
  color: var(--color-text, #111);
}
.suggestions-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
@media (min-width: 640px) { .suggestions-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .suggestions-grid { grid-template-columns: repeat(4, 1fr); } }

.sidebar-actions-footer {
  margin-top: auto;
  padding: 1.2rem 1.5rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: .75rem;
  border-top: 1px solid rgba(0,0,0,.08);
}
.btn-share-catalog,
.btn-install-catalog {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  width: 100%;
  padding: .75rem 1.25rem;
  border: none;
  border-radius: 50px;
  font-size: .95rem;
  font-weight: 600;
  cursor: pointer;
  transition: opacity .2s;
  white-space: nowrap;
}
.btn-share-catalog {
  background: var(--accent);
  color: #fff;
}
.btn-install-catalog {
  background: var(--accent);
  border: none;
  color: #fff;
}
.btn-share-catalog:hover,
.btn-install-catalog:hover { opacity: .82; }
.btn-share-catalog .material-symbols-outlined,
.btn-install-catalog .material-symbols-outlined { font-size: 1.1rem; }
