/* Vinicius Iracet Store - Fully Responsive Design System */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

:root {
  --primary-yellow: #fbd777;
  --primary-yellow-hover: #f5c756;
  --text-dark: #111827;
  --text-muted: #6b7280;
  --bg-light-grey: #f8f9fa;
  --border-color: #e5e7eb;
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --drawer-width: 420px;
}

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

html, body {
  width: 100%;
  min-height: 100vh;
  font-family: var(--font-family);
  color: var(--text-dark);
  background-color: #ffffff;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

/* Header Navigation - Fully Responsive */
.header {
  position: sticky;
  top: 0;
  width: 100%;
  background: #ffffff;
  z-index: 50;
  border-bottom: 1px solid var(--border-color);
  padding: 14px 20px;
}

.header-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.header-logo img {
  height: 42px;
  width: auto;
  object-fit: contain;
  max-width: 220px;
}

@media (min-width: 768px) {
  .header-logo img {
    height: 52px;
    max-width: 280px;
  }
}

.icon-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  color: var(--text-dark);
  border-radius: 50%;
  transition: background 0.2s;
}

.icon-btn:hover {
  background: #f3f4f6;
}

.cart-count-badge {
  position: absolute;
  top: 2px;
  right: 2px;
  background-color: var(--text-dark);
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Layout Containers - Adaptable for Mobile and Desktop */
.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 20px 16px;
}

@media (min-width: 768px) {
  .container {
    padding: 40px 32px;
  }
}

/* Product Page Responsive Grid */
.product-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  width: 100%;
}

@media (min-width: 768px) {
  .product-grid {
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: start;
  }
}

/* Product Media & Launch Badge */
.product-media-wrapper {
  position: relative;
  width: 100%;
  background: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.launch-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background-color: #fce38a;
  color: #111827;
  font-size: 12px;
  font-weight: 700;
  padding: 5px 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  z-index: 10;
  border-radius: 3px;
}

.product-image {
  width: 100%;
  max-width: 500px;
  height: auto;
  display: block;
  object-fit: contain;
  margin: 0 auto;
}

/* Product Details */
.product-title {
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
  color: var(--text-dark);
  line-height: 1.25;
}

@media (min-width: 768px) {
  .product-title {
    font-size: 36px;
  }
}

.product-price {
  font-size: 32px;
  font-weight: 300;
  color: var(--text-dark);
  margin-bottom: 24px;
}

/* Touch-Friendly Quantity Selector */
.quantity-control {
  display: inline-flex;
  align-items: center;
  margin-bottom: 24px;
  gap: 16px;
  font-size: 20px;
  font-weight: 500;
  user-select: none;
}

.btn-qty {
  width: 40px;
  height: 40px;
  background: #f3f4f6;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  font-size: 22px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dark);
  transition: all 0.2s;
}

.btn-qty:hover {
  background: #e5e7eb;
}

.btn-qty:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.qty-val {
  min-width: 32px;
  text-align: center;
  font-weight: 600;
}

/* Large Touch Yellow Action Button */
.btn-yellow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 16px 28px;
  background-color: var(--primary-yellow);
  color: var(--text-dark);
  font-size: 16px;
  font-weight: 700;
  border: none;
  border-radius: 9999px;
  cursor: pointer;
  text-decoration: none;
  transition: background-color 0.2s, transform 0.1s;
  box-shadow: 0 2px 4px rgba(0,0,0,0.06);
}

.btn-yellow:hover {
  background-color: var(--primary-yellow-hover);
}

.btn-yellow:active {
  transform: scale(0.98);
}

/* Notice & Descriptions */
.product-notice {
  margin-top: 28px;
  font-style: italic;
  font-weight: 600;
  font-size: 15px;
  line-height: 1.5;
  color: #111827;
}

.product-description-section {
  margin-top: 28px;
}

.product-desc-subtitle {
  font-style: italic;
  font-weight: 700;
  font-size: 16px;
  margin-bottom: 8px;
}

.product-desc-text {
  font-size: 15px;
  line-height: 1.6;
  color: #374151;
}

/* Mini Cart Drawer */
.cart-drawer-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 100;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.cart-drawer-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  max-width: var(--drawer-width);
  background: #ffffff;
  z-index: 101;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
}

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

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

.cart-drawer-title {
  font-size: 20px;
  font-weight: 700;
  color: #0f172a;
}

.close-btn {
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: #475569;
  padding: 4px;
}

.cart-drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 24px;
}

.cart-item-card {
  display: flex;
  gap: 16px;
  align-items: start;
  margin-bottom: 20px;
}

.cart-item-thumb-wrapper {
  position: relative;
  width: 80px;
  height: 80px;
  flex-shrink: 0;
  border-radius: 6px;
  overflow: hidden;
  background: var(--bg-light-grey);
}

.cart-item-thumb-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mini-launch-badge {
  position: absolute;
  top: 2px;
  left: 2px;
  background: #fce38a;
  font-size: 8px;
  font-weight: 700;
  padding: 2px 4px;
  border-radius: 2px;
}

.cart-item-details {
  flex: 1;
}

.cart-item-name {
  font-size: 16px;
  font-weight: 600;
  color: #111827;
  margin-bottom: 8px;
}

.cart-item-remove {
  background: none;
  border: none;
  cursor: pointer;
  color: #6b7280;
  padding: 4px;
  transition: color 0.2s;
}

.cart-item-remove:hover {
  color: #ef4444;
}

.cart-drawer-footer {
  padding: 24px;
  border-top: 1px solid var(--border-color);
  background: #ffffff;
}

.cart-summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 18px;
  font-weight: 500;
  color: #0f172a;
  margin-bottom: 20px;
}

.cart-summary-total {
  font-weight: 700;
}

/* Cart Page */
.cart-page-title {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 24px;
}

.cart-table-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--border-color);
}

.cart-table-info {
  flex: 1;
}

.cart-table-info-title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
}

.cart-summary-card {
  margin-top: 32px;
  padding-top: 16px;
}

.cart-line-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  font-size: 16px;
  font-weight: 600;
}

.cart-line-item.subtotal {
  font-size: 18px;
}

.cart-line-item.shipping-link {
  color: #111827;
  font-size: 15px;
}

.location-link {
  font-weight: 700;
  text-decoration: underline;
  cursor: pointer;
}

.cart-line-item.total {
  font-size: 24px;
  font-weight: 700;
  padding-top: 16px;
  border-top: 1px solid var(--border-color);
  margin-top: 12px;
}

.tax-included-text {
  font-size: 14px;
  color: #374151;
  margin-top: 4px;
  margin-bottom: 24px;
}

.secure-checkout-tag {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
  font-size: 14px;
  color: #374151;
}

/* Checkout Page */
.checkout-header {
  text-align: center;
  padding: 20px;
  font-weight: 700;
  letter-spacing: 1px;
  font-size: 18px;
  border-bottom: 1px solid var(--border-color);
  background: #ffffff;
}

.summary-toggle-bar {
  background: #f3f4f6;
  padding: 16px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  border-bottom: 1px solid var(--border-color);
}

.summary-toggle-title {
  display: flex;
  align-items: center;
  gap: 8px;
}

.login-banner {
  background: #f3f4f6;
  border-radius: 8px;
  padding: 14px 20px;
  margin-bottom: 24px;
  font-size: 14px;
  color: #374151;
}

.login-banner a {
  color: #111827;
  font-weight: 600;
  text-decoration: underline;
}

.form-group {
  margin-bottom: 16px;
}

.form-label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 6px;
  color: #374151;
}

.form-input {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  font-size: 15px;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  background-color: #ffffff;
}

.form-input:focus {
  border-color: #111827;
  box-shadow: 0 0 0 1px #111827;
}

.grid-2-cols {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

@media (min-width: 600px) {
  .grid-2-cols {
    grid-template-columns: 1fr 1fr;
  }
}

/* Footer - Responsive Grid */
.footer {
  margin-top: 60px;
  background: #ffffff;
  border-top: 1px solid var(--border-color);
  padding: 48px 20px 24px 20px;
}

.footer-container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

@media (min-width: 600px) {
  .footer-container {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 992px) {
  .footer-container {
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
  }
}

.footer-brand img {
  height: 48px;
  margin-bottom: 16px;
}

.footer-heading {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 16px;
  color: #111827;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: #374151;
  text-decoration: underline;
  font-size: 15px;
}

.footer-links a:hover {
  color: #111827;
}

.social-icons {
  display: flex;
  gap: 12px;
}

.social-icon-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #f3f4f6;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #111827;
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
}

.copyright {
  text-align: center;
  font-size: 13px;
  color: #6b7280;
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--border-color);
}
