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

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

:root {
  --pink-50: #fff0f3;
  --pink-100: #ffdde6;
  --pink-200: #ffb3c6;
  --pink-300: #ff8fab;
  --pink-400: #fb6f92;
  --pink-500: #ff4d6d;
  --pink-600: #e8315a;
  --pink-700: #c9184a;
  --pink-800: #a4133c;
  --pink-900: #800f2f;

  --purple: #c084fc;
  --purple-dark: #a855f7;
  --yellow: #ffe066;
  --yellow-bright: #ffd43b;
  --mint: #69db7c;
  --coral: #ff8787;
  --blue: #74c0fc;
  --orange: #ffa94d;

  --white: #fff;
  --gray-50: #fef9fb;
  --gray-100: #f8f0f3;
  --gray-200: #f0e4e9;
  --gray-300: #d9c7ce;
  --gray-400: #b8a0aa;
  --gray-500: #9a7e8a;
  --gray-600: #7a5f6b;
  --gray-700: #5c424e;
  --gray-800: #3e2a35;
  --gray-900: #22151c;

  --shadow-sm: 0 2px 8px rgba(255,77,109,.1);
  --shadow: 0 4px 16px rgba(255,77,109,.15);
  --shadow-lg: 0 8px 32px rgba(255,77,109,.18);
  --radius: 20px;
  --radius-sm: 12px;
  --radius-xs: 8px;
}

body {
  font-family: 'Nunito', 'Segoe UI', system-ui, sans-serif;
  background: var(--pink-50);
  color: var(--gray-700);
  overflow-x: hidden;
}

a { color: var(--pink-500); text-decoration: none; }
a:hover { color: var(--pink-700); }
img { max-width: 100%; height: auto; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 28px; border-radius: 50px;
  font-family: 'Nunito', sans-serif;
  font-weight: 700; font-size: 15px;
  cursor: pointer; border: none;
  transition: all .25s cubic-bezier(.4,0,.2,1);
  position: relative; overflow: hidden;
}
.btn::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,.25), transparent);
  opacity: 0; transition: opacity .25s;
}
.btn:hover::after { opacity: 1; }
.btn:active { transform: scale(.95); }

.btn-pink {
  background: linear-gradient(135deg, var(--pink-400), var(--pink-600));
  color: #fff; box-shadow: 0 4px 15px rgba(251,111,146,.4);
}
.btn-pink:hover { box-shadow: 0 6px 25px rgba(251,111,146,.5); color: #fff; }

.btn-outline {
  background: transparent; border: 2.5px solid var(--pink-300);
  color: var(--pink-600);
}
.btn-outline:hover { background: var(--pink-100); color: var(--pink-700); border-color: var(--pink-400); }

.btn-yellow {
  background: linear-gradient(135deg, var(--yellow), var(--yellow-bright));
  color: var(--gray-800); box-shadow: 0 4px 15px rgba(255,212,59,.4);
}
.btn-yellow:hover { box-shadow: 0 6px 25px rgba(255,212,59,.5); }

.btn-mint {
  background: linear-gradient(135deg, var(--mint), #40c057);
  color: #fff; box-shadow: 0 4px 15px rgba(105,219,124,.4);
}

.btn-sm { padding: 8px 18px; font-size: 13px; }
.btn-lg { padding: 16px 36px; font-size: 17px; }

/* ===== TOP BAR ===== */
.top-bar {
  background: linear-gradient(90deg, var(--pink-500), var(--pink-400), var(--pink-300));
  color: #fff; padding: 8px 0; font-size: 13px; font-weight: 600;
  position: relative; overflow: hidden;
}
.top-bar::before {
  content: '🌸 ✨ 🎀 💖 🌈'; position: absolute; top: 50%; left: -100px;
  transform: translateY(-50%); font-size: 14px; opacity: .3;
  animation: floatBanner 20s linear infinite;
  white-space: nowrap;
}
@keyframes floatBanner {
  0% { left: -200px; }
  100% { left: 100%; }
}
.top-bar .container { display: flex; justify-content: space-between; align-items: center; position: relative; z-index: 1; }

/* ===== HEADER ===== */
.header {
  background: var(--white); position: sticky; top: 0; z-index: 100;
  border-bottom: 3px solid var(--pink-100);
}
.header .container { display: flex; align-items: center; justify-content: space-between; padding: 10px 20px; gap: 16px; }

.logo {
  font-size: 22px; font-weight: 900; color: var(--pink-500);
  display: flex; align-items: center; gap: 8px;
  background: linear-gradient(135deg, var(--pink-500), var(--purple));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  white-space: nowrap;
}
.logo img { max-height: 42px; border-radius: 12px; }

.nav {
  display: flex; align-items: center; gap: 6px;
}
.nav a {
  color: var(--gray-600); font-weight: 700; font-size: 14px;
  padding: 8px 16px; border-radius: 50px;
  transition: all .2s; position: relative;
}
.nav a:hover, .nav a.active {
  background: var(--pink-100); color: var(--pink-600);
}

.search-box {
  display: flex; align-items: center;
  background: var(--pink-50); border: 2px solid var(--pink-100);
  border-radius: 50px; padding: 0 6px 0 18px;
  flex: 1; max-width: 380px; transition: all .2s;
}
.search-box:focus-within { border-color: var(--pink-300); box-shadow: 0 0 0 4px rgba(255,143,171,.15); }
.search-box input {
  border: none; background: none; padding: 9px 0; outline: none;
  flex: 1; font-size: 14px; font-family: 'Nunito', sans-serif;
}
.search-box button {
  background: linear-gradient(135deg, var(--pink-400), var(--pink-500));
  border: none; color: #fff; cursor: pointer; font-size: 14px;
  width: 36px; height: 36px; border-radius: 50%;
  transition: transform .2s;
}
.search-box button:hover { transform: scale(1.1); }

.header-actions { display: flex; align-items: center; gap: 12px; }
.header-actions a {
  color: var(--gray-600); font-size: 20px; position: relative;
  width: 42px; height: 42px; display: flex; align-items: center; justify-content: center;
  border-radius: 50%; transition: all .2s;
}
.header-actions a:hover { background: var(--pink-100); color: var(--pink-500); }
.cart-count {
  position: absolute; top: 0; right: 0;
  background: var(--pink-500); color: #fff; font-size: 10px; font-weight: 800;
  width: 20px; height: 20px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  border: 2px solid #fff; box-shadow: 0 2px 6px rgba(255,77,109,.3);
}
.hamburger { display: none; font-size: 24px; cursor: pointer; background: none; border: none; color: var(--gray-600); }

/* ===== HERO ===== */
.hero {
  background: linear-gradient(135deg, #fff0f3 0%, #ffe0e8 30%, #ffd0dc 60%, #ffb3c6 100%);
  padding: 70px 0; text-align: center; position: relative; overflow: hidden;
}
.hero::before {
  content: '✿ ✦ ✿ ✦ ✿ ✦ ✿ ✦';
  position: absolute; top: 20px; left: -50px; font-size: 40px;
  color: rgba(255,255,255,.3); white-space: nowrap;
  animation: floatBanner 30s linear infinite;
  transform: rotate(-10deg);
}
.hero::after {
  content: '✦ ✿ ✦ ✿ ✦ ✿ ✦ ✿';
  position: absolute; bottom: 20px; right: -50px; font-size: 30px;
  color: rgba(255,255,255,.2); white-space: nowrap;
  animation: floatBanner 25s linear infinite reverse;
  transform: rotate(10deg);
}
.hero h1 {
  font-size: 52px; font-weight: 900; color: var(--pink-700);
  margin-bottom: 12px; position: relative; z-index: 1;
  text-shadow: 0 2px 20px rgba(255,77,109,.2);
}
.hero h1 span {
  display: inline-block;
  background: linear-gradient(135deg, var(--pink-500), var(--purple));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.hero p {
  font-size: 18px; color: var(--gray-500); max-width: 550px;
  margin: 0 auto 28px; position: relative; z-index: 1;
  line-height: 1.6;
}
.hero-badges { display: flex; justify-content: center; gap: 24px; flex-wrap: wrap; margin-top: 24px; }
.hero-badge {
  background: var(--white); padding: 12px 24px; border-radius: 50px;
  box-shadow: var(--shadow-sm); font-weight: 700; font-size: 14px;
  display: flex; align-items: center; gap: 8px;
}

/* ===== DROPDOWN NAV ===== */
.menu-has-child:hover .submenu { display: block !important; }
.menu-has-child .submenu a:hover { background: var(--pink-50); color: var(--pink-600); }

/* ===== SECTION ===== */
.section { padding: 56px 0; }
.section-title { text-align: center; margin-bottom: 36px; }
.section-title .emoji { font-size: 36px; margin-bottom: 4px; }
.section-title h2 {
  font-size: 30px; font-weight: 900; color: var(--gray-800);
  position: relative; display: inline-block;
}
.section-title h2::after {
  content: ''; display: block; width: 80px; height: 4px;
  background: linear-gradient(90deg, var(--pink-300), var(--purple));
  margin: 10px auto 0; border-radius: 4px;
}
.section-title p { color: var(--gray-500); margin-top: 8px; font-size: 15px; }

/* ===== CATEGORY TAGS ===== */
.cat-tags { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-bottom: 32px; }
.cat-tag {
  padding: 10px 22px; border-radius: 50px;
  background: var(--white); border: 2px solid var(--pink-100);
  font-size: 14px; font-weight: 700; color: var(--gray-600);
  transition: all .25s; cursor: pointer; box-shadow: var(--shadow-sm);
}
.cat-tag:hover, .cat-tag.active {
  background: linear-gradient(135deg, var(--pink-400), var(--pink-500));
  color: #fff; border-color: transparent; box-shadow: 0 4px 15px rgba(251,111,146,.35);
  transform: translateY(-2px);
}

/* ===== PRODUCT GRID ===== */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 24px;
}

.product-card {
  background: var(--white); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow-sm);
  transition: all .3s cubic-bezier(.4,0,.2,1);
  position: relative; border: 2px solid transparent;
}
.product-card:hover {
  box-shadow: var(--shadow-lg); transform: translateY(-6px);
  border-color: var(--pink-200);
}

.product-image {
  position: relative; overflow: hidden; aspect-ratio: 1;
  background: linear-gradient(135deg, var(--pink-50), var(--pink-100));
}
.product-image img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .4s;
}
.product-card:hover .product-image img { transform: scale(1.08); }

.product-badge {
  position: absolute; top: 12px; left: 12px;
  background: linear-gradient(135deg, var(--pink-500), var(--pink-600));
  color: #fff; padding: 5px 14px; border-radius: 50px;
  font-size: 12px; font-weight: 800; box-shadow: 0 2px 10px rgba(255,77,109,.3);
}

.product-actions {
  position: absolute; bottom: 12px; left: 12px; right: 12px;
  display: flex; gap: 8px;
  opacity: 0; transform: translateY(12px);
  transition: all .35s cubic-bezier(.4,0,.2,1);
}
.product-card:hover .product-actions { opacity: 1; transform: translateY(0); }
.product-actions .btn { flex: 1; justify-content: center; font-size: 12px; padding: 10px; }

.product-info { padding: 16px 18px 18px; }

.product-category {
  font-size: 12px; font-weight: 800; color: var(--purple);
  text-transform: uppercase; letter-spacing: 1px; margin-bottom: 4px;
}

.product-name {
  font-size: 16px; font-weight: 800; color: var(--gray-800);
  margin-bottom: 8px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden; line-height: 1.4;
}
.product-name:hover { color: var(--pink-500); }

.product-price { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.product-price .current { font-size: 18px; font-weight: 900; color: var(--pink-500); }
.product-price .old { font-size: 14px; color: var(--gray-400); text-decoration: line-through; }

/* Seller badge */
.seller-badge {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 12px; font-weight: 700; color: var(--purple-dark);
  background: #f3e8ff; padding: 2px 10px; border-radius: 50px;
  margin-top: 6px;
}

/* ===== PRODUCT DETAIL ===== */
.breadcrumb {
  background: var(--white); border-bottom: 2px solid var(--pink-100);
  padding: 14px 0; font-size: 14px; font-weight: 600;
}
.breadcrumb a { color: var(--gray-500); }
.breadcrumb span { color: var(--pink-500); }

.product-detail {
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px;
  padding: 48px 0;
}
.product-gallery .main-image {
  border-radius: var(--radius); overflow: hidden; background: var(--white);
  border: 3px solid var(--pink-100); margin-bottom: 12px;
}
.product-thumbs { display: flex; gap: 8px; }
.product-thumbs img {
  width: 80px; height: 80px; object-fit: cover;
  border-radius: var(--radius-xs); cursor: pointer;
  border: 3px solid transparent; transition: all .2s;
}
.product-thumbs img.active, .product-thumbs img:hover {
  border-color: var(--pink-400); transform: translateY(-2px);
}

.product-info-detail .name { font-size: 30px; font-weight: 900; margin-bottom: 8px; color: var(--gray-800); }
.product-info-detail .seller-line {
  display: flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 700;
  color: var(--purple-dark); margin-bottom: 12px;
}
.product-info-detail .price-box {
  background: linear-gradient(135deg, var(--pink-50), #fef3f5);
  padding: 20px; border-radius: var(--radius-sm); margin-bottom: 20px;
  border: 2px dashed var(--pink-200);
}
.product-info-detail .price-box .current { font-size: 34px; font-weight: 900; color: var(--pink-500); }
.product-info-detail .price-box .old { font-size: 20px; color: var(--gray-400); text-decoration: line-through; margin-left: 10px; }
.product-info-detail .desc { color: var(--gray-600); line-height: 1.8; margin-bottom: 20px; font-size: 15px; }
.product-info-detail .qty {
  display: flex; align-items: center; gap: 8px; margin-bottom: 20px;
}
.product-info-detail .qty button {
  width: 42px; height: 42px;
  border: 2px solid var(--pink-200); background: var(--white);
  cursor: pointer; font-size: 18px; border-radius: 50%;
  transition: all .2s; font-weight: 700; color: var(--pink-500);
}
.product-info-detail .qty button:hover { background: var(--pink-100); border-color: var(--pink-400); }
.product-info-detail .qty input {
  width: 64px; height: 42px; text-align: center;
  border: 2px solid var(--pink-200); border-radius: 12px;
  font-size: 16px; font-weight: 700; font-family: 'Nunito', sans-serif;
}

/* ===== CART ===== */
.cart-section { padding: 48px 0; }
.cart-table { width: 100%; background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow-sm); overflow: hidden; border: 2px solid var(--pink-100); }
.cart-table th {
  background: linear-gradient(135deg, var(--pink-100), var(--pink-200));
  padding: 16px; text-align: left; font-weight: 800; font-size: 14px; color: var(--gray-700);
}
.cart-table td { padding: 16px; border-bottom: 1px solid var(--pink-50); vertical-align: middle; }
.cart-table .product-col { display: flex; align-items: center; gap: 14px; }
.cart-table .product-col img { width: 72px; height: 72px; object-fit: cover; border-radius: var(--radius-xs); border: 2px solid var(--pink-100); }

.cart-summary {
  background: var(--white); border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow-sm); border: 2px solid var(--pink-100);
  position: sticky; top: 90px;
}
.cart-summary h3 { margin-bottom: 16px; font-size: 20px; font-weight: 900; color: var(--gray-800); }
.cart-summary .row { display: flex; justify-content: space-between; padding: 10px 0; font-weight: 600; }
.cart-summary .total {
  font-size: 24px; font-weight: 900; color: var(--pink-500);
  border-top: 2px dashed var(--pink-200); padding-top: 14px; margin-top: 10px;
}

/* ===== CHECKOUT ===== */
.checkout-grid { display: grid; grid-template-columns: 1fr 420px; gap: 32px; padding: 48px 0; }
.form-group { margin-bottom: 18px; }
.form-group label {
  display: block; font-weight: 800; margin-bottom: 6px;
  font-size: 14px; color: var(--gray-700);
}
.form-group input, .form-group textarea, .form-group select {
  width: 100%; padding: 12px 16px;
  border: 2px solid var(--pink-100); border-radius: var(--radius-sm);
  font-size: 14px; outline: none; transition: all .2s;
  font-family: 'Nunito', sans-serif; background: var(--white);
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
  border-color: var(--pink-300); box-shadow: 0 0 0 4px rgba(255,143,171,.12);
}
.form-group textarea { resize: vertical; min-height: 100px; }

/* ===== FOOTER ===== */
.footer {
  background: linear-gradient(180deg, var(--pink-700), var(--pink-900));
  color: rgba(255,255,255,.85); padding: 50px 0 0;
  position: relative; overflow: hidden;
}
.footer::before {
  content: '🌸 ✨ 🎀 💖 🌈 ✨ 🎀 💖';
  position: absolute; top: 10px; left: -50px; font-size: 28px;
  opacity: .15; white-space: nowrap;
  animation: floatBanner 25s linear infinite;
}
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 36px; margin-bottom: 30px; position: relative; z-index: 1; }
.footer h4 { color: var(--pink-200); font-size: 18px; font-weight: 900; margin-bottom: 18px; }
.footer a {
  color: rgba(255,255,255,.7); display: block; padding: 6px 0;
  transition: all .2s; font-weight: 600;
}
.footer a:hover { color: var(--yellow); transform: translateX(4px); }
.footer-bottom {
  border-top: 2px solid rgba(255,255,255,.1);
  padding: 18px 0; text-align: center; font-size: 14px;
  position: relative; z-index: 1;
}

/* ===== TOAST ===== */
.toast {
  position: fixed; bottom: 24px; right: 24px;
  background: var(--gray-900); color: #fff;
  padding: 16px 28px; border-radius: 50px;
  box-shadow: var(--shadow-lg);
  transform: translateY(120px); opacity: 0;
  transition: all .35s cubic-bezier(.4,0,.2,1);
  z-index: 999; font-weight: 700; font-size: 15px;
}
.toast.show { transform: translateY(0); opacity: 1; }

/* ===== EMPTY STATE ===== */
.empty-state { text-align: center; padding: 80px 20px; }
.empty-state .icon { font-size: 80px; margin-bottom: 16px; }
.empty-state h3 { font-size: 24px; font-weight: 900; margin-bottom: 8px; color: var(--gray-700); }
.empty-state p { color: var(--gray-500); margin-bottom: 24px; font-size: 16px; }

/* ===== DECORATIVE FLOATING ELEMENTS ===== */
.floating-hearts {
  position: fixed; inset: 0; pointer-events: none; z-index: -1;
  overflow: hidden;
}
.floating-hearts span {
  position: absolute; font-size: 20px; opacity: .12;
  animation: floatHeart 12s infinite linear;
}
@keyframes floatHeart {
  0% { transform: translateY(100vh) rotate(0deg); opacity: 0; }
  10% { opacity: .12; }
  90% { opacity: .12; }
  100% { transform: translateY(-100px) rotate(720deg); opacity: 0; }
}

/* ===== TOUCH DEVICES - always show product actions ===== */
@media (hover: none) and (pointer: coarse) {
  .product-actions { opacity: 1; transform: translateY(0); position: relative; bottom: auto; left: auto; right: auto; padding: 0 12px 14px; }
  .product-card:hover .product-actions { transform: none; }
  .product-card:hover { transform: none; }
}

/* ===== RESPONSIVE MOBILE ONLY ===== */

@media (max-width: 768px) {
  /* Header */
  .search-box { display: none; }
  .hamburger { display: block; }
  .nav {
    display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,.4); z-index: 999; padding: 0;
    border: none; box-shadow: none;
  }
  .nav.open { display: flex; }
  .nav::before {
    content: ''; position: absolute; top: 0; left: 0; width: 280px; bottom: 0;
    background: var(--white); box-shadow: 4px 0 20px rgba(0,0,0,.1);
  }
  .nav a, .nav .menu-has-child > a {
    display: block; padding: 14px 20px; margin: 0; border-radius: 0;
    font-size: 15px; border-bottom: 1px solid var(--pink-50);
    background: var(--white); width: 280px; position: relative; z-index: 1000;
  }
  .nav a:first-of-type { margin-top: 50px; }
  .nav .menu-has-child { background: var(--white); width: 280px; }
  .nav .menu-has-child .submenu {
    display: block !important; position: static; box-shadow: none;
    border: none; border-radius: 0; padding: 0; background: var(--pink-50);
    width: 280px;
  }
  .nav .menu-has-child .submenu a { padding-left: 32px; background: var(--pink-50); font-size: 14px; }
  .menu-has-child > a i.fa-chevron-down { display: none; }
  .menu-has-child:hover .submenu { display: block; }

  /* Hero */
  .hero h1 { font-size: 28px; }
  .hero p { font-size: 15px; }
  .hero { padding: 36px 0; }
  .hero-badges { flex-direction: column; align-items: center; gap: 10px; }
  .hero-badge { font-size: 13px; padding: 8px 18px; }
  .hero::before, .hero::after { display: none; }

  /* Products */
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .product-info { padding: 10px 12px; }
  .product-name { font-size: 13px; }
  .product-category { font-size: 10px; }
  .product-price .current { font-size: 15px; }
  .product-price .old { font-size: 12px; }
  .product-actions .btn { font-size: 11px; padding: 8px; }

  /* Sections */
  .section { padding: 28px 0; }
  .section-title { margin-bottom: 20px; }
  .section-title h2 { font-size: 22px; }
  .section-title p { font-size: 13px; }
  .cat-tags { gap: 6px; }
  .cat-tag { padding: 7px 14px; font-size: 12px; }

  /* Breadcrumb */
  .breadcrumb { font-size: 12px; padding: 10px 0; }

  /* Product detail */
  .product-info-detail .name { font-size: 22px; }
  .product-info-detail .price-box .current { font-size: 26px; }
  .product-info-detail .price-box { padding: 14px; }
  .product-info-detail .price-box p { font-size: 14px; }

  /* Cart */
  .cart-table table, .cart-table thead, .cart-table tbody, .cart-table tr { display: block; }
  .cart-table thead { display: none; }
  .cart-table tr { display: flex; flex-wrap: wrap; padding: 14px; border-bottom: 2px solid var(--pink-100); }
  .cart-table td { display: block; border: none; padding: 4px 8px; }
  .cart-table td:first-child { width: 100%; }
  .cart-table td:nth-child(2)::before { content: '💰 Giá: '; font-weight: 700; color: var(--gray-500); }
  .cart-table td:nth-child(3)::before { content: '🔢 SL: '; font-weight: 700; color: var(--gray-500); }
  .cart-table td:nth-child(4)::before { content: '💵 Tạm tính: '; font-weight: 700; color: var(--gray-500); }
  .cart-table td:nth-child(5) { width: 100%; text-align: right; }
  .cart-table .product-col img { width: 60px; height: 60px; }
  .cart-table td:first-child { padding-bottom: 8px; }

  /* Checkout */
  .form-row { grid-template-columns: 1fr; gap: 0; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 20px; }
  .footer h4 { font-size: 15px; margin-bottom: 10px; }

  /* Toast */
  .toast { left: 16px; right: 16px; bottom: 16px; text-align: center; font-size: 14px; }
}

@media (max-width: 480px) {
  .container { padding: 0 10px; }
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .product-info { padding: 8px 10px; }
  .product-name { font-size: 12px; }
  .product-price .current { font-size: 14px; }
  .product-price .old { font-size: 11px; }
  .hero h1 { font-size: 22px; }
  .hero p { font-size: 14px; }
  .section { padding: 20px 0; }
  .section-title h2 { font-size: 18px; }
  .empty-state { padding: 40px 16px; }
  .empty-state .icon { font-size: 56px; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .footer { padding: 32px 0 0; }
  .top-bar { font-size: 11px; padding: 6px 0; }
  .top-bar .container { flex-direction: column; gap: 2px; }
  .header .container { padding: 8px 10px; gap: 8px; }
  .logo { font-size: 16px; }
  .logo img { max-height: 32px; }
  .header-actions a { width: 36px; height: 36px; font-size: 17px; }
  .cart-count { width: 18px; height: 18px; font-size: 9px; }
  .btn { padding: 10px 20px; font-size: 13px; }
  .btn-lg { padding: 12px 24px; font-size: 14px; }
}
