/* ============================================
   URBAN TEE CO — Global Stylesheet
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Barlow+Condensed:wght@300;400;600;700&family=Barlow:ital,wght@0,300;0,400;0,500;1,300&display=swap');

/* ── CSS VARIABLES ── */
:root {
  --black: #0a0a0a;
  --white: #f5f0eb;
  --accent: #e63b2e;
  --accent2: #f5a623;
  --gray: #1c1c1c;
  --gray2: #2a2a2a;
  --gray3: #555;
  --text-light: #999;
  --font-display: 'Bebas Neue', sans-serif;
  --font-heading: 'Barlow Condensed', sans-serif;
  --font-body: 'Barlow', sans-serif;
  --nav-h: 68px;
  --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --max-w: 1320px;
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { background: var(--black); color: var(--white); font-family: var(--font-body); font-size: 16px; line-height: 1.6; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
img { display: block; width: 100%; object-fit: cover; }
ul { list-style: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--black); }
::-webkit-scrollbar-thumb { background: var(--accent); border-radius: 3px; }

/* ============================================
   CONTAINER
   ============================================ */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 48px; }
.section { padding: 80px 0; }
.section-sm { padding: 48px 0; }
.section-lg { padding: 120px 0; }

/* ============================================
   NAVIGATION
   ============================================ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 9000;
  height: var(--nav-h);
  display: flex; align-items: center;
  padding: 0 48px;
  background: rgba(10,10,10,0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255,255,255,0.05);
  transition: border-color 0.3s;
}
.nav.scrolled { border-bottom-color: var(--accent); }
.nav-logo { font-family: var(--font-display); font-size: 26px; letter-spacing: 4px; flex-shrink: 0; }
.nav-logo span { color: var(--accent); }
.nav-links { display: flex; gap: 40px; margin: 0 auto; }
.nav-links a {
  font-family: var(--font-heading); font-size: 13px; font-weight: 600;
  letter-spacing: 2.5px; text-transform: uppercase; color: var(--text-light);
  transition: color 0.25s; position: relative; padding-bottom: 4px;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: 0; left: 0;
  width: 0; height: 2px; background: var(--accent);
  transition: width 0.3s var(--ease);
}
.nav-links a:hover, .nav-links a.active { color: var(--white); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.nav-icon-btn {
  width: 38px; height: 38px; display: flex; align-items: center; justify-content: center;
  border-radius: 50%; color: var(--text-light); transition: color 0.2s, background 0.2s; position: relative;
}
.nav-icon-btn:hover { color: var(--white); background: rgba(255,255,255,0.07); }
.nav-icon-btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.cart-badge {
  position: absolute; top: 2px; right: 2px;
  width: 16px; height: 16px; background: var(--accent); color: var(--white);
  font-size: 9px; font-weight: 700; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.nav-burger { display: none; flex-direction: column; gap: 5px; padding: 6px; }
.nav-burger span { display: block; width: 22px; height: 2px; background: var(--white); transition: transform 0.3s, opacity 0.3s; transform-origin: center; }
.nav-burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── MOBILE MENU ── */
.mobile-menu {
  position: fixed; top: var(--nav-h); left: 0; right: 0; bottom: 0;
  background: var(--black); z-index: 8999;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 28px;
  transform: translateX(100%); transition: transform 0.4s var(--ease);
}
.mobile-menu.open { transform: translateX(0); }
.mobile-menu a { font-family: var(--font-display); font-size: 48px; letter-spacing: 3px; transition: color 0.2s; }
.mobile-menu a:hover { color: var(--accent); }

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-heading); font-size: 13px; font-weight: 700;
  letter-spacing: 2.5px; text-transform: uppercase; padding: 14px 32px;
  border: 2px solid transparent; transition: all 0.28s var(--ease);
  position: relative; overflow: hidden; z-index: 1;
}
.btn span { position: relative; z-index: 2; }
.btn::before {
  content: ''; position: absolute; inset: 0; z-index: 1;
  transform: scaleX(0); transform-origin: right; transition: transform 0.3s var(--ease);
}
.btn:hover::before { transform: scaleX(1); transform-origin: left; }
.btn-primary { background: var(--accent); color: var(--white); border-color: var(--accent); }
.btn-primary::before { background: #c0281c; }
.btn-outline { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.6); }
.btn-outline::before { background: var(--white); }
.btn-outline:hover { color: var(--black); }
.btn-dark { background: var(--black); color: var(--white); border-color: var(--black); }
.btn-dark::before { background: var(--gray2); }
.btn-accent2 { background: var(--accent2); color: var(--black); border-color: var(--accent2); }
.btn-accent2::before { background: #d48f10; }
.btn-sm { padding: 10px 22px; font-size: 12px; letter-spacing: 2px; }
.btn-lg { padding: 18px 44px; font-size: 15px; }
.btn-full { width: 100%; justify-content: center; }

/* ============================================
   SECTION TYPOGRAPHY
   ============================================ */
.section-label { font-family: var(--font-heading); font-size: 12px; font-weight: 700; letter-spacing: 4px; text-transform: uppercase; color: var(--accent); margin-bottom: 10px; }
.section-title { font-family: var(--font-display); font-size: clamp(40px, 5.5vw, 80px); letter-spacing: 2px; line-height: 0.95; }
.section-title.dark { color: var(--black); }
.section-subtitle { font-size: 16px; color: var(--text-light); max-width: 500px; line-height: 1.75; margin-top: 14px; }
.section-header { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 48px; gap: 24px; flex-wrap: wrap; }
.divider { width: 50px; height: 3px; background: var(--accent); margin: 14px 0; }

/* ============================================
   PAGE WRAPPER
   ============================================ */
.page { padding-top: var(--nav-h); min-height: 100vh; }

/* ============================================
   MARQUEE TICKER
   ============================================ */
.marquee-wrap { overflow: hidden; background: var(--accent); padding: 11px 0; }
.marquee-track { display: flex; animation: marquee 24s linear infinite; white-space: nowrap; }
.marquee-track span { font-family: var(--font-heading); font-size: 12px; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; padding: 0 30px; }
.marquee-track span::after { content: '✦'; margin-left: 30px; opacity: 0.6; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ============================================
   PRODUCT CARD
   ============================================ */
.product-card { background: var(--gray); overflow: hidden; cursor: pointer; transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease); }
.product-card:hover { transform: translateY(-6px); box-shadow: 0 24px 48px rgba(0,0,0,0.5); }
.product-card-img { position: relative; overflow: hidden; aspect-ratio: 3/4; background: var(--gray2); }
.product-card-img img { height: 100%; transition: transform 0.5s var(--ease); }
.product-card:hover .product-card-img img { transform: scale(1.07); }
.product-badge { position: absolute; top: 14px; left: 14px; background: var(--accent); color: var(--white); font-family: var(--font-heading); font-size: 11px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; padding: 5px 12px; }
.product-badge.new { background: var(--accent2); color: var(--black); }
.product-card-actions { position: absolute; bottom: -64px; left: 0; right: 0; padding: 12px; transition: bottom 0.3s var(--ease); display: flex; gap: 8px; }
.product-card:hover .product-card-actions { bottom: 0; }
.product-card-actions .btn { flex: 1; }
.product-card-info { padding: 16px 16px 20px; }
.product-card-name { font-family: var(--font-heading); font-size: 18px; font-weight: 700; letter-spacing: 0.5px; margin-bottom: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.product-card-cat { font-size: 11px; color: var(--text-light); letter-spacing: 2.5px; text-transform: uppercase; margin-bottom: 10px; }
.product-card-price { display: flex; align-items: center; gap: 10px; }
.price-current { font-family: var(--font-heading); font-size: 20px; font-weight: 700; }
.price-old { font-size: 14px; color: var(--text-light); text-decoration: line-through; }
.price-sale { color: var(--accent2); }

/* ============================================
   PRODUCTS GRID
   ============================================ */
.products-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.products-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

/* ============================================
   CHIPS / TAGS
   ============================================ */
.chips-row { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { display: inline-block; padding: 8px 18px; border: 1px solid rgba(255,255,255,0.12); font-family: var(--font-heading); font-size: 12px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; color: var(--text-light); transition: all 0.2s; cursor: pointer; }
.chip:hover, .chip.active { background: var(--accent); border-color: var(--accent); color: var(--white); }

/* ============================================
   STARS
   ============================================ */
.stars { display: flex; gap: 2px; color: var(--accent2); font-size: 13px; }

/* ============================================
   QTY SELECTOR
   ============================================ */
.qty-selector { display: inline-flex; align-items: center; border: 1px solid rgba(255,255,255,0.15); }
.qty-btn { width: 42px; height: 42px; display: flex; align-items: center; justify-content: center; font-size: 20px; color: var(--text-light); transition: color 0.2s, background 0.2s; }
.qty-btn:hover { color: var(--white); background: rgba(255,255,255,0.06); }
.qty-input { width: 52px; height: 42px; background: none; border: none; border-left: 1px solid rgba(255,255,255,0.1); border-right: 1px solid rgba(255,255,255,0.1); color: var(--white); font-family: var(--font-heading); font-size: 18px; font-weight: 700; text-align: center; outline: none; }

/* ============================================
   FORM ELEMENTS
   ============================================ */
.form-group { margin-bottom: 20px; }
.form-label { display: block; font-family: var(--font-heading); font-size: 11px; font-weight: 700; letter-spacing: 2.5px; text-transform: uppercase; color: var(--text-light); margin-bottom: 8px; }
.form-input { width: 100%; background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.1); color: var(--white); padding: 13px 16px; font-family: var(--font-body); font-size: 15px; outline: none; transition: border-color 0.25s; border-radius: 0; }
.form-input:focus { border-color: var(--accent); }
.form-input::placeholder { color: var(--gray3); }
select.form-input { cursor: pointer; }
textarea.form-input { resize: vertical; min-height: 120px; }

/* ============================================
   BREADCRUMB
   ============================================ */
.breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--text-light); margin-bottom: 32px; flex-wrap: wrap; }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb .sep { color: var(--gray3); }

/* ============================================
   TOAST
   ============================================ */
.toast { position: fixed; bottom: 28px; right: 28px; background: var(--gray2); border-left: 4px solid var(--accent); color: var(--white); padding: 16px 22px; font-family: var(--font-heading); font-size: 14px; letter-spacing: 1px; z-index: 99999; transform: translateY(120px); opacity: 0; transition: all 0.4s var(--ease); max-width: 320px; box-shadow: 0 16px 40px rgba(0,0,0,0.5); }
.toast.show { transform: translateY(0); opacity: 1; }

/* ============================================
   OVERLAY
   ============================================ */
.overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.8); z-index: 9998; opacity: 0; pointer-events: none; transition: opacity 0.3s; }
.overlay.active { opacity: 1; pointer-events: all; }

/* ============================================
   SIDE CART DRAWER
   ============================================ */
.cart-drawer { position: fixed; top: 0; right: -480px; bottom: 0; width: 420px; background: var(--gray); z-index: 9999; display: flex; flex-direction: column; transition: right 0.4s var(--ease); border-left: 1px solid rgba(255,255,255,0.06); }
.cart-drawer.open { right: 0; }
.cart-drawer-header { display: flex; align-items: center; justify-content: space-between; padding: 24px 28px; border-bottom: 1px solid rgba(255,255,255,0.06); }
.cart-drawer-header h3 { font-family: var(--font-display); font-size: 24px; letter-spacing: 2px; }
.cart-close { font-size: 22px; color: var(--text-light); transition: color 0.2s; padding: 4px; }
.cart-close:hover { color: var(--white); }
.cart-items { flex: 1; overflow-y: auto; padding: 16px 28px; }
.cart-empty { text-align: center; padding: 60px 0; color: var(--text-light); }
.cart-empty p { font-family: var(--font-heading); font-size: 16px; letter-spacing: 1px; margin-top: 12px; }
.cart-item { display: flex; gap: 16px; padding: 18px 0; border-bottom: 1px solid rgba(255,255,255,0.05); }
.cart-item-img { width: 80px; height: 80px; flex-shrink: 0; background: var(--gray2); overflow: hidden; }
.cart-item-img img { height: 100%; }
.cart-item-info { flex: 1; }
.cart-item-name { font-family: var(--font-heading); font-size: 16px; font-weight: 700; margin-bottom: 4px; }
.cart-item-meta { font-size: 12px; color: var(--text-light); margin-bottom: 10px; letter-spacing: 1px; }
.cart-item-footer { display: flex; align-items: center; justify-content: space-between; }
.cart-item-price { font-family: var(--font-heading); font-size: 18px; font-weight: 700; color: var(--accent); }
.cart-remove { font-size: 11px; color: var(--text-light); text-transform: uppercase; letter-spacing: 1.5px; transition: color 0.2s; }
.cart-remove:hover { color: var(--accent); }
.cart-footer { padding: 22px 28px; border-top: 1px solid rgba(255,255,255,0.06); }
.cart-total { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.cart-total span:first-child { font-family: var(--font-heading); font-size: 13px; letter-spacing: 2.5px; text-transform: uppercase; color: var(--text-light); }
.cart-total-price { font-family: var(--font-display); font-size: 28px; letter-spacing: 1px; }

/* ============================================
   FOOTER
   ============================================ */
.footer { background: var(--gray); border-top: 1px solid rgba(255,255,255,0.05); padding: 64px 48px 32px; margin-top: 80px; }
.footer-grid { display: grid; grid-template-columns: 1.8fr 1fr 1fr 1fr; gap: 48px; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,0.06); margin-bottom: 32px; }
.footer-logo { font-family: var(--font-display); font-size: 30px; letter-spacing: 4px; margin-bottom: 14px; }
.footer-logo span { color: var(--accent); }
.footer-tagline { color: var(--text-light); font-size: 14px; line-height: 1.75; margin-bottom: 24px; max-width: 230px; }
.footer-socials { display: flex; gap: 10px; }
.footer-social { width: 36px; height: 36px; border: 1px solid rgba(255,255,255,0.12); display: flex; align-items: center; justify-content: center; color: var(--text-light); font-size: 14px; transition: all 0.22s; border-radius: 50%; }
.footer-social:hover { background: var(--accent); border-color: var(--accent); color: var(--white); }
.footer-col h4 { font-family: var(--font-heading); font-size: 12px; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; margin-bottom: 20px; }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul a { font-size: 14px; color: var(--text-light); transition: color 0.2s; }
.footer-col ul a:hover { color: var(--accent); }
.footer-newsletter-input { display: flex; gap: 0; margin-top: 8px; }
.footer-newsletter-input input { flex: 1; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); border-right: none; color: var(--white); padding: 11px 14px; font-family: var(--font-body); font-size: 14px; outline: none; transition: border-color 0.25s; }
.footer-newsletter-input input:focus { border-color: var(--accent); }
.footer-newsletter-input input::placeholder { color: var(--gray3); }
.footer-newsletter-input .btn { flex-shrink: 0; padding: 11px 18px; font-size: 11px; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.footer-bottom p { font-size: 13px; color: var(--text-light); }
.footer-bottom-links { display: flex; gap: 20px; }
.footer-bottom-links a { font-size: 13px; color: var(--text-light); transition: color 0.2s; }
.footer-bottom-links a:hover { color: var(--white); }

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeUp { from { opacity: 0; transform: translateY(32px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes scaleIn { from { opacity: 0; transform: scale(0.92); } to { opacity: 1; transform: scale(1); } }
.anim-fadeup { animation: fadeUp 0.7s var(--ease) both; }
.anim-fadein { animation: fadeIn 0.6s ease both; }
.anim-d1 { animation-delay: 0.1s; }
.anim-d2 { animation-delay: 0.2s; }
.anim-d3 { animation-delay: 0.3s; }
.anim-d4 { animation-delay: 0.45s; }
.anim-d5 { animation-delay: 0.6s; }

/* ============================================
   RESPONSIVE — TABLET (max 1100px)
   ============================================ */
@media (max-width: 1100px) {
  .container { padding: 0 28px; }
  .nav { padding: 0 28px; }
  .footer { padding: 52px 28px 28px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .products-grid { grid-template-columns: repeat(3, 1fr); }
  .products-grid-3 { grid-template-columns: repeat(2, 1fr); }
  .nav-links { gap: 24px; }
}

/* ============================================
   RESPONSIVE — MOBILE (max 768px)
   ============================================ */
@media (max-width: 768px) {
  :root { --nav-h: 60px; }
  .nav { padding: 0 18px; }
  .nav-links { display: none; }
  .nav-burger { display: flex; }
  .container { padding: 0 18px; }
  .section { padding: 56px 0; }
  .section-lg { padding: 72px 0; }
  .products-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .products-grid-3 { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .section-header { flex-direction: column; align-items: flex-start; }
  .footer { padding: 44px 18px 24px; margin-top: 60px; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .footer-bottom { flex-direction: column; text-align: center; gap: 10px; }
  .cart-drawer { width: 100%; right: -110%; }
  .mobile-menu a { font-size: 38px; }
  .btn-lg { padding: 15px 30px; font-size: 14px; }
}

/* ============================================
   RESPONSIVE — SMALL MOBILE (max 480px)
   ============================================ */
@media (max-width: 480px) {
  .products-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .products-grid-3 { grid-template-columns: 1fr; }
  .section-title { font-size: clamp(34px, 11vw, 52px); }
  .nav-actions .nav-icon-btn:not(.cart-btn) { display: none; }
}
