/* ==========================================================================
   HK STORE - MODERN APPLE & TECH E-COMMERCE DESIGN SYSTEM
   ========================================================================== */

:root {
  --primary: #6d28d9;
  --primary-hover: #5b21b6;
  --primary-light: #f5f3ff;
  --secondary: #1e1b4b;
  --accent: #06b6d4;
  --sale: #f43f5e;
  --bg: #fafaff;
  --card: #ffffff;
  --border: #ede9fe;
  --text: #1e1b4b;
  --gray: #6b7280;
  --gray-light: #f5f3ff;
  --success: #16a34a;
  --warning: #f59e0b;
  --danger: #ef4444;

  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
  --shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 12px 30px rgba(0, 0, 0, 0.08);
  --shadow-hover: 0 20px 35px rgba(37, 99, 235, 0.12);

  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 16px;
  --radius-full: 9999px;

  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Cart actions remain visible and keyboard accessible below the item table. */
.cart-update {
  margin-top: 14px;
  padding: 10px 18px;
  border: 0;
  border-radius: 8px;
  background: #e30019;
  color: #fff;
  font: 600 14px Arial, sans-serif;
  cursor: pointer;
}
.cart-update:hover,
.cart-update:focus-visible { background: #b90014; }
.contact-notice {
  margin: 12px 0;
  padding: 10px 12px;
  border-radius: 8px;
  background: #fff3cd;
  color: #664d03;
}

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

body {
  font-family: Arial, sans-serif;
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  padding: 0 !important;
  margin: 0 !important;
}

#container {
  width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Container Utility */
.site-container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
}

/* ==========================================================================
   HEADER COMPONENT
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  gap: 20px;
}

.header-logo a {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 22px;
  font-weight: 800;
  color: var(--secondary);
  letter-spacing: -0.5px;
}

.header-logo img {
  height: 44px;
  width: auto;
  border-radius: var(--radius-sm);
  object-fit: contain;
}

.header-search {
  flex: 1;
  max-width: 520px;
  position: relative;
}

.search-form {
  display: flex;
  align-items: center;
  background: var(--gray-light);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  padding: 4px 6px 4px 18px;
  transition: var(--transition);
}

.search-form:focus-within {
  background: #ffffff;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
}

.search-input {
  width: 100%;
  border: none;
  background: transparent;
  outline: none;
  font-size: 14px;
  font-family: inherit;
  color: var(--text);
}

.search-btn {
  background: var(--primary);
  color: #ffffff;
  border: none;
  border-radius: var(--radius-full);
  padding: 8px 20px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 6px;
}

.search-btn:hover {
  background: var(--primary-hover);
  transform: scale(1.02);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.header-action-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: var(--radius-full);
  background: var(--gray-light);
  font-size: 13px;
  font-weight: 600;
  color: var(--secondary);
  transition: var(--transition);
  position: relative;
}

.header-action-btn:hover {
  background: var(--primary-light);
  color: var(--primary);
}

.cart-badge {
  background: var(--danger);
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: var(--radius-full);
}

/* Header Nav Menu */
.header-nav {
  border-top: 1px solid rgba(229, 231, 235, 0.6);
  padding: 10px 0;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 24px;
  list-style: none;
  flex-wrap: wrap;
}

.nav-menu > li {
  position: relative;
}

.nav-menu > li > a {
  font-size: 13px;
  font-weight: 600;
  color: var(--secondary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 6px 2px;
  display: inline-block;
  position: relative;
}

.nav-menu > li > a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
  transition: var(--transition);
}

.nav-menu > li > a:hover::after,
.nav-menu > li > a.active::after {
  width: 100%;
}

.nav-menu > li > a.active {
  color: var(--primary);
}

/* Submenu Dropdown */
.dropdown .submenu {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  min-width: 220px;
  padding: 8px 0;
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: var(--transition);
  z-index: 1100;
}

.dropdown:hover .submenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.submenu li a {
  display: block;
  padding: 10px 18px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
  transition: var(--transition);
}

.submenu li a:hover {
  background: var(--primary-light);
  color: var(--primary);
  padding-left: 22px;
}

/* ==========================================================================
   HERO BANNER
   ========================================================================== */
.hero-banner {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: #ffffff;
  padding: 60px 0;
  margin-bottom: 40px;
  position: relative;
  overflow: hidden;
}

.hero-banner::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(
    circle,
    rgba(37, 99, 235, 0.25) 0%,
    rgba(0, 0, 0, 0) 70%
  );
  border-radius: 50%;
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.hero-badge {
  display: inline-block;
  background: rgba(37, 99, 235, 0.2);
  color: #60a5fa;
  border: 1px solid rgba(96, 165, 250, 0.3);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
}

.hero-title {
  font-size: 44px;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 16px;
  letter-spacing: -1px;
  background: linear-gradient(135deg, #ffffff 0%, #cbd5e1 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  font-size: 16px;
  color: #94a3b8;
  margin-bottom: 28px;
  max-width: 500px;
}

.hero-btns {
  display: flex;
  gap: 16px;
  align-items: center;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--primary);
  color: #ffffff;
  padding: 13px 28px;
  border-radius: var(--radius-full);
  font-size: 14px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35);
}

.btn-primary:hover {
  background: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.45);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: justify;
  gap: 8px;
  background: transparent;
  color: #ffffff;
  padding: 13px 28px;
  border-radius: var(--radius-full);
  font-size: 14px;
  font-weight: 600;
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: var(--transition);
}

.btn-outline:hover {
  border-color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
}

.hero-image-wrap {
  position: relative;
  text-align: center;
}

.hero-image-wrap img {
  max-height: 380px;
  object-fit: contain;
  margin: 0 auto;
  filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.5));
  transition: var(--transition);
}

.hero-image-wrap:hover img {
  transform: scale(1.03) rotate(-1deg);
}

/* ==========================================================================
   SECTION HEADER
   ========================================================================== */
.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--gray-light);
}

.section-title-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}

.section-icon {
  font-size: 24px;
}

.stitle,
h1.stitle,
h2.stitle {
  font-size: 22px;
  font-weight: 800;
  color: var(--secondary);
  text-transform: uppercase;
  letter-spacing: -0.3px;
  margin: 0;
  text-align: left;
}

.view-all-link {
  font-size: 13px;
  font-weight: 700;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 4px;
}

.view-all-link:hover {
  color: var(--primary-hover);
  gap: 8px;
}

/* ==========================================================================
   PRODUCT GRID & CARD COMPONENT
   ========================================================================== */
.product-container,
.home-product-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}

.product {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 16px;
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.product:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(37, 99, 235, 0.3);
}

.product-badges {
  position: absolute;
  top: 14px;
  left: 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  z-index: 10;
}

.badge {
  font-size: 11px;
  font-weight: 700;
  padding: 4px 9px;
  border-radius: var(--radius-sm);
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.badge-hot {
  background: linear-gradient(135deg, #ef4444, #dc2626);
}
.badge-sale {
  background: linear-gradient(135deg, #16a34a, #15803d);
}
.badge-new {
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
}

.product-img-wrap {
  width: 100%;
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: var(--radius);
  background: #fafafa;
  margin-bottom: 14px;
  padding: 12px;
}

.product-img-wrap img,
.product img {
  max-height: 100%;
  width: auto;
  object-fit: contain;
  transition: transform 0.4s ease;
}

.product:hover img {
  transform: scale(1.08);
}

.product-cat-name {
  font-size: 11px;
  font-weight: 600;
  color: var(--gray);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}

.product h3 {
  font-size: 14px;
  font-weight: 600;
  color: var(--secondary);
  margin-bottom: 8px;
  line-height: 1.4;
  height: 40px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.product-rating {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  color: var(--warning);
  margin-bottom: 10px;
}

.rating-count {
  color: var(--gray);
  font-size: 11px;
  margin-left: 2px;
}

.product-price-box {
  margin-top: auto;
  margin-bottom: 14px;
}

.product .price,
.price-current {
  font-size: 18px;
  font-weight: 800;
  color: var(--primary);
  margin: 0;
}

.price-old {
  font-size: 13px;
  color: var(--gray);
  text-decoration: line-through;
  margin-left: 6px;
  font-weight: 500;
}

.product form {
  margin-top: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.qty-input-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.product input[type="number"] {
  width: 100%;
  padding: 8px 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 600;
  text-align: center;
  outline: none;
  background: var(--gray-light);
  color: var(--text);
  font-family: inherit;
}

.product input[type="submit"],
.btn-add-cart {
  width: 100%;
  padding: 11px;
  background: var(--primary);
  color: #ffffff;
  border: none;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  transition: var(--transition);
}

.product input[type="submit"]:hover,
.btn-add-cart:hover {
  background: var(--primary-hover);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

/* ==========================================================================
   PRODUCT DETAIL PAGE (APPLE STORE STYLE)
   ========================================================================== */
.pd-wrap {
  max-width: 1240px;
  margin: 40px auto;
  padding: 0 20px;
}

.pd-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  background: var(--card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  padding: 40px;
}

.pd-images {
  display: flex;
  gap: 16px;
}

.pd-thumbs {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pd-thumb {
  width: 76px;
  height: 76px;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  cursor: pointer;
  overflow: hidden;
  transition: var(--transition);
  background: #fafafa;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
}

.pd-thumb:hover,
.pd-thumb.active {
  border-color: var(--primary);
  transform: scale(1.05);
}

.pd-thumb img {
  max-height: 100%;
  object-fit: contain;
}

.pd-main-img {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fafafa;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  padding: 24px;
  min-height: 400px;
}

.pd-main-img img {
  max-height: 380px;
  object-fit: contain;
  transition: transform 0.4s ease;
}

.pd-info h1 {
  font-size: 28px;
  font-weight: 800;
  color: var(--secondary);
  margin-bottom: 10px;
  line-height: 1.25;
}

.pd-cat {
  display: inline-block;
  background: var(--primary-light);
  color: var(--primary);
  padding: 4px 14px;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.pd-price {
  font-size: 32px;
  font-weight: 800;
  color: var(--primary);
  margin: 16px 0;
}

.pd-desc {
  color: var(--gray);
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 24px;
  padding: 16px;
  background: var(--gray-light);
  border-radius: var(--radius);
  border-left: 4px solid var(--primary);
}

.pd-qty-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 28px;
}

.pd-qty-row label {
  font-size: 14px;
  font-weight: 700;
  color: var(--secondary);
}

.qty-ctrl {
  display: flex;
  align-items: center;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: #ffffff;
}

.qty-ctrl button {
  width: 42px;
  height: 42px;
  background: var(--gray-light);
  border: none;
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
  color: var(--secondary);
  transition: var(--transition);
}

.qty-ctrl button:hover {
  background: var(--primary);
  color: #ffffff;
}

.qty-ctrl input {
  width: 60px;
  height: 42px;
  border: none;
  text-align: center;
  font-size: 16px;
  font-weight: 700;
  outline: none;
  font-family: inherit;
  color: var(--secondary);
}

.pd-btns {
  display: flex;
  gap: 16px;
}

.btn-cart {
  flex: 1;
  padding: 14px 24px;
  background: var(--primary-light);
  color: var(--primary);
  border: 2px solid var(--primary);
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  transition: var(--transition);
}

.btn-cart:hover {
  background: var(--primary);
  color: #ffffff;
}

.btn-buy {
  flex: 1;
  padding: 14px 24px;
  background: var(--primary);
  color: #ffffff;
  border: none;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.3);
}

.btn-buy:hover {
  background: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.4);
}

.pd-specs {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  margin: 40px 0;
  box-shadow: var(--shadow-sm);
}

.pd-specs h3 {
  font-size: 20px;
  font-weight: 800;
  color: var(--secondary);
  border-left: 4px solid var(--primary);
  padding-left: 14px;
  margin-bottom: 20px;
}

/* ==========================================================================
   CART & CHECKOUT PAGES
   ========================================================================== */
.steps {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin: 30px auto 40px;
  max-width: 600px;
}

.step {
  flex: 1;
  text-align: center;
  padding: 12px 16px;
  background: var(--gray-light);
  color: var(--gray);
  font-weight: 600;
  font-size: 13px;
  border-radius: var(--radius-full);
  transition: var(--transition);
}

.step.current,
.step.active {
  background: var(--primary);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
}

.cart-container {
  display: flex;
  gap: 32px;
  max-width: 1240px;
  margin: 30px auto;
  padding: 0 20px;
}

.cart-left {
  flex: 2.5;
}
.cart-right {
  flex: 1;
  background: var(--card);
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  height: fit-content;
}

.cart-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  margin-bottom: 24px;
}

.cart-table th {
  background: var(--gray-light);
  padding: 14px 18px;
  text-align: left;
  font-size: 13px;
  font-weight: 700;
  color: var(--secondary);
}

.cart-table td {
  padding: 16px 18px;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
  font-size: 14px;
}

.product-info {
  display: flex;
  align-items: center;
  gap: 16px;
}

.product-info img {
  width: 64px;
  height: 64px;
  object-fit: contain;
  border-radius: var(--radius-sm);
  background: #fafafa;
  padding: 4px;
  border: 1px solid var(--border);
}

.product-info span {
  font-weight: 600;
  color: var(--secondary);
}

.checkout-btn {
  display: block;
  width: 100%;
  background: var(--primary);
  color: #ffffff;
  padding: 14px;
  border-radius: var(--radius);
  border: none;
  font-size: 15px;
  font-weight: 700;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.3);
}

.checkout-btn:hover {
  background: var(--primary-hover);
  transform: translateY(-2px);
}

/* ==========================================================================
   FOOTER COMPONENT
   ========================================================================== */
.site-footer {
  background: var(--secondary);
  color: #94a3b8;
  padding: 60px 0 24px;
  margin-top: 60px;
  font-size: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-container {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-column h3 {
  color: #ffffff;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 8px;
}

.footer-column h3::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 32px;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
}

.footer-column p,
.footer-column li,
.footer-column a {
  color: #94a3b8;
  line-height: 1.8;
  font-size: 14px;
}

.footer-column a:hover {
  color: #ffffff;
  padding-left: 4px;
}

.footer-logo {
  max-height: 48px;
  margin-bottom: 16px;
  border-radius: var(--radius-sm);
}

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

.footer-column ul li {
  margin-bottom: 8px;
}

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

.social-icons a img {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.1);
  padding: 8px;
  transition: var(--transition);
}

.social-icons a img:hover {
  background: var(--primary);
  transform: scale(1.1);
}

.footer-bottom {
  text-align: center;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 13px;
  color: #64748b;
}

/* ==========================================================================
   RESPONSIVE LAYOUTS
   ========================================================================== */
@media (max-width: 1024px) {
  .product-container,
  .home-product-container {
    grid-template-columns: repeat(3, 1fr);
  }
  .footer-container {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }
}

@media (max-width: 768px) {
  .header-top {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }
  .header-search {
    max-width: 100%;
  }
  .nav-menu {
    gap: 14px;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-desc {
    margin: 0 auto 28px;
  }
  .hero-btns {
    justify-content: center;
  }
  .product-container,
  .home-product-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  .pd-container {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 20px;
  }
  .cart-container {
    flex-direction: column;
  }
}

/* ===== TRANG GIỚI THIỆU ===== */
.product-empty-state {
  grid-column: 1 / -1;
  width: 100%;
  padding: 64px 24px;
  border: 1px solid #dce4f2;
  border-radius: 16px;
  background: #f8faff;
  text-align: center;
}
.product-empty-state > span {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: #e8efff;
  color: #124df0;
  font-size: 28px;
}
.product-empty-state h2 { margin: 0 0 8px; color: #172033; font-size: 24px; }
.product-empty-state p { margin: 0 0 22px; color: #64748b; }
.product-empty-state a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  padding: 0 20px;
  border-radius: 9px;
  background: #124df0;
  color: #fff;
  font-weight: 700;
  text-decoration: none;
}
.about-page { color: #18181b; background: #fff; }
.about-page .et-shell { width: min(100% - 64px, 1380px); margin-inline: auto; }
.about-hero { overflow: hidden; background: linear-gradient(135deg, #f5f8ff 0%, #edf3ff 55%, #fff8f2 100%); }
.about-hero-grid { min-height: 540px; display: grid; grid-template-columns: 1.02fr .98fr; align-items: center; gap: 50px; padding-block: 72px; }
.about-eyebrow { display: inline-block; color: #124df0; font-size: 13px !important; line-height: 1.4; font-weight: 800; letter-spacing: .12em; }
.about-hero h1 { margin: 14px 0 20px; max-width: 720px; color: #101828; font-size: clamp(42px, 4vw, 64px); line-height: 1.08; letter-spacing: -.045em; }
.about-hero-copy > p { max-width: 650px; margin: 0; color: #64748b; font-size: 18px; line-height: 1.75; }
.about-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.about-btn { min-height: 50px; display: inline-flex; align-items: center; justify-content: center; padding: 0 24px; border: 1px solid transparent; border-radius: 10px; font-weight: 750; text-decoration: none; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.about-btn:hover { transform: translateY(-2px); }
.about-btn-primary { background: #124df0; color: #fff; box-shadow: 0 10px 24px rgba(18,77,240,.22); }
.about-btn-primary:hover { background: #0d3ed0; box-shadow: 0 14px 28px rgba(18,77,240,.28); }
.about-btn-secondary { border-color: #cbd5e1; background: #fff; color: #1e293b; }
.about-btn-light { border-color: rgba(255,255,255,.38); background: rgba(255,255,255,.1); color: #fff; }
.about-hero-visual { position: relative; min-height: 390px; border: 1px solid rgba(49,103,254,.16); border-radius: 28px; background: radial-gradient(circle at 45% 45%, rgba(49,103,254,.35), rgba(18,77,240,.04) 48%, rgba(255,255,255,.75) 74%); }
.about-hero-visual img { position: absolute; z-index: 2; object-fit: contain; filter: drop-shadow(0 24px 22px rgba(15,23,42,.2)); }
.about-macbook { width: 54%; left: 50%; top: 50%; transform: translate(-50%, -50%); }
.about-orbit { position: absolute; border: 1px solid rgba(49,103,254,.2); border-radius: 50%; }
.about-orbit-one { width: 330px; height: 330px; left: 14%; top: 7%; }
.about-orbit-two { width: 230px; height: 230px; right: 4%; bottom: 4%; }
.about-visual-badge { position: absolute; z-index: 3; left: 6%; bottom: 8%; display: flex; flex-direction: column; padding: 11px 16px; border: 1px solid #dbe5ff; border-radius: 12px; background: rgba(255,255,255,.9); color: #64748b; box-shadow: 0 12px 28px rgba(15,23,42,.1); font-size: 13px !important; }
.about-visual-badge b { color: #124df0; font-size: 20px; }
.about-story { display: block; padding-block: 86px; }
.about-story-copy h2, .about-section-heading h2 { margin: 12px 0 18px; color: #101828; font-size: clamp(32px, 3vw, 46px); line-height: 1.18; letter-spacing: -.035em; }
.about-story-copy { max-width: 940px; margin: 0 auto; text-align: center; }
.about-story-copy > p { margin: 0 0 14px; color: #64748b; line-height: 1.7; }
.about-check-list { max-width: 720px; display: grid; gap: 12px; margin: 28px auto 0; padding: 0; list-style: none; text-align: left; }
.about-check-list li { position: relative; padding-left: 34px; color: #334155; font-weight: 650; }
.about-check-list li::before { content: "✓"; position: absolute; left: 0; top: -2px; width: 24px; height: 24px; display: grid; place-items: center; border-radius: 50%; background: #e9efff; color: #124df0; font-size: 13px; font-weight: 900; }
.about-stats { background: #102f6f; }
.about-stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); padding-block: 40px; }
.about-stats-grid > div { display: flex; flex-direction: column; align-items: center; gap: 7px; border-right: 1px solid rgba(255,255,255,.18); text-align: center; }
.about-stats-grid > div:last-child { border-right: 0; }
.about-stats strong { color: #fff; font-size: 36px; }
.about-stats span { color: #c9d7ff; font-size: 14px !important; }
.about-values { padding-block: 100px; }
.about-section-heading { max-width: 720px; margin: 0 auto 42px; text-align: center; }
.about-section-heading > p { margin: 0; color: #64748b; line-height: 1.6; }
.about-value-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.about-value-grid article { padding: 30px 26px; border: 1px solid #dce4f2; border-radius: 16px; background: #fff; transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease; }
.about-value-grid article:hover { transform: translateY(-5px); border-color: #3167fe; box-shadow: 0 18px 38px rgba(15,23,42,.09); }
.about-value-grid article > span { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 12px; background: #e9efff; color: #124df0; font-size: 22px; font-weight: 800; }
.about-value-grid h3, .about-process-grid h3 { margin: 20px 0 10px; color: #172033; font-size: 20px; }
.about-value-grid p, .about-process-grid p { margin: 0; color: #64748b; font-size: 15px; line-height: 1.65; }
.about-process { padding-block: 90px; background: #f6f8fc; }
.about-process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: process; }
.about-process-grid article { position: relative; min-height: 240px; padding: 28px; overflow: hidden; border: 1px solid #dce4f2; border-radius: 16px; background: #fff; }
.about-process-grid article > b { position: absolute; top: 15px; right: 18px; color: #dce6ff; font-size: 36px; }
.about-process-grid article > span { width: 50px; height: 50px; display: grid; place-items: center; border-radius: 50%; background: #124df0; color: #fff; font-size: 22px; }
.about-cta { margin-block: 80px; padding: 52px 58px; display: flex; align-items: center; justify-content: space-between; gap: 40px; border-radius: 22px; background: linear-gradient(120deg, #102f6f, #124df0); box-shadow: 0 22px 50px rgba(18,77,240,.22); }
.about-cta .about-eyebrow { color: #b9cbff; }
.about-cta h2 { max-width: 760px; margin: 10px 0 0; color: #fff; font-size: clamp(28px, 3vw, 42px); line-height: 1.2; }
.about-cta .about-actions { flex-shrink: 0; margin-top: 0; }
@media (max-width: 980px) {
  .about-hero-grid, .about-story { grid-template-columns: 1fr; }
  .about-hero-grid { padding-block: 52px; }
  .about-story { gap: 42px; padding-block: 70px; }
  .about-value-grid, .about-process-grid { grid-template-columns: repeat(2, 1fr); }
  .about-cta { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 640px) {
  .about-page .et-shell { width: min(100% - 32px, 1380px); }
  .about-hero h1 { font-size: 38px; }
  .about-hero-visual { min-height: 300px; }
  .about-stats-grid { grid-template-columns: repeat(2, 1fr); gap: 28px 0; }
  .about-stats-grid > div:nth-child(2) { border-right: 0; }
  .about-value-grid, .about-process-grid { grid-template-columns: 1fr; }
  .about-values, .about-process { padding-block: 64px; }
  .about-cta { margin-block: 48px; padding: 34px 24px; }
  .about-actions, .about-actions .about-btn { width: 100%; }
}

@media (max-width: 480px) {
  .product-container,
  .home-product-container {
    grid-template-columns: repeat(1, 1fr);
  }
  .hero-title {
    font-size: 30px;
  }
}

/* ==========================================================================
   2026 PREMIUM UI REFINEMENTS
   Presentation-only overrides shared by every storefront view.
   ========================================================================== */
html {
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  letter-spacing: -0.01em;
}

button,
input,
textarea,
select {
  font: inherit;
}

button,
input[type="submit"],
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid rgba(37, 99, 235, 0.28);
  outline-offset: 3px;
}

::selection {
  color: #fff;
  background: var(--primary);
}

.site-header {
  box-shadow: 0 1px 0 rgba(15, 23, 42, 0.05);
}

.header-top {
  min-height: 76px;
}

.header-logo a {
  font-size: 20px;
  letter-spacing: -0.04em;
}

.header-logo img {
  width: 46px;
  height: 46px;
  padding: 4px;
  background: #fff;
  border: 1px solid var(--border);
}

.search-form {
  min-height: 48px;
  background: #f1f5f9;
}

.search-btn {
  min-height: 38px;
  padding-inline: 18px;
}

.header-action-btn {
  min-height: 42px;
  white-space: nowrap;
  border: 1px solid transparent;
}

.header-action-btn:hover {
  border-color: #bfdbfe;
  transform: translateY(-1px);
}

.header-nav {
  padding: 0;
}

.nav-menu {
  min-height: 48px;
  justify-content: center;
}

.nav-menu > li > a {
  padding: 15px 2px 13px;
}

.submenu {
  margin-top: 1px;
}

.hero-banner {
  margin: 24px auto 48px;
  width: min(calc(100% - 40px), 1240px);
  border-radius: 24px;
  min-height: 460px;
  display: flex;
  align-items: center;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.18);
}

.hero-banner::after {
  content: "";
  position: absolute;
  inset: auto auto -180px -120px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: rgba(59, 130, 246, 0.1);
  filter: blur(4px);
}

.hero-title {
  font-size: clamp(38px, 5vw, 60px);
  letter-spacing: -0.055em;
}

.hero-desc {
  font-size: 17px;
}

.btn-primary,
.btn-outline,
.btn-cart,
.btn-buy,
.checkout-btn,
.btn-order {
  min-height: 48px;
}

.stitle,
h1.stitle,
h2.stitle {
  max-width: 1240px;
  margin: 42px auto 22px;
  padding: 0 20px;
  font-size: clamp(21px, 2vw, 28px);
  letter-spacing: -0.04em;
  text-transform: none;
}

.product-container,
.home-product-container {
  width: min(calc(100% - 40px), 1240px);
  margin-inline: auto;
}

.product {
  padding: 14px;
  overflow: hidden;
}

.product > a:first-child {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 240px;
  padding: 16px;
  margin-bottom: 16px;
  overflow: hidden;
  border-radius: 12px;
  background: linear-gradient(145deg, #f8fafc, #fff);
}

.product > a:first-child img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.product h3 {
  height: auto;
  min-height: 44px;
  padding: 0 4px;
  font-size: 15px;
}

.product .price {
  padding: 0 4px;
  margin: 2px 0 14px;
  color: var(--primary);
}

.product form {
  padding: 0 4px 4px;
}

.product input[type="number"] {
  height: 40px;
}

.product input[type="submit"] {
  min-height: 44px;
}

.pd-wrap {
  margin-top: 32px;
}

.pd-container {
  border-radius: 24px;
  box-shadow: 0 18px 50px rgba(15, 23, 42, 0.08);
}

.pd-main-img {
  background: linear-gradient(145deg, #f8fafc, #fff);
}

.pd-info h1 {
  font-size: clamp(26px, 3vw, 38px);
  letter-spacing: -0.045em;
}

.pd-stock {
  padding: 10px 14px;
  border-radius: 10px;
  background: #f0fdf4;
}

.pd-specs,
.rel-card {
  border-color: var(--border);
  box-shadow: var(--shadow-sm);
}

.cart-container {
  align-items: flex-start;
  margin-top: 40px;
}

.cart-left {
  min-width: 0;
}

.cart-right {
  position: sticky;
  top: 140px;
}

.cart-right h3 {
  margin-bottom: 20px;
  font-size: 20px;
}

.total-line {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 11px 0;
  color: var(--gray);
}

.total-line.total {
  color: var(--secondary);
  font-size: 18px;
  font-weight: 800;
}

.cart-table input[type="number"] {
  min-height: 40px;
  padding: 6px;
  border: 1px solid var(--border);
  border-radius: 8px;
  text-align: center;
}

.continue {
  display: block;
  margin-top: 10px;
  text-align: center;
  color: var(--primary);
  font-size: 13px;
  font-weight: 600;
}

.cart-empty {
  padding: 28px !important;
  text-align: center;
  color: var(--gray);
}

.cart-remove {
  color: var(--primary);
  font-weight: 600;
}

.cart-coupon {
  display: grid;
  grid-template-columns: minmax(210px, 0.8fr) minmax(320px, 1.2fr);
  gap: 28px;
  align-items: center;
  margin-top: 22px;
  padding: 24px;
  background: #fff8f1;
  border: 1px solid #fed7aa;
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
}

.cart-coupon-kicker {
  display: block;
  margin-bottom: 6px;
  color: var(--primary);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .05em;
}

.cart-coupon h3 {
  margin: 0 0 6px;
  font-size: 21px;
}

.cart-coupon p {
  margin: 0;
  color: var(--gray);
  font-size: 14px;
}

.cart-coupon-input-row {
  display: flex;
  gap: 10px;
}

.cart-coupon-input-row input,
.cart-coupon-input-row select {
  min-width: 0;
  flex: 1;
  height: 48px;
  padding: 0 15px;
  border: 1px solid var(--border);
  border-radius: 9px;
  background: #fff;
  color: var(--secondary);
  font: inherit;
}

.cart-coupon-input-row select {
  cursor: pointer;
  appearance: auto;
}

.cart-coupon-input-row input:focus,
.cart-coupon-input-row select:focus {
  outline: 2px solid rgba(244, 81, 69, .16);
  border-color: var(--primary);
}

.cart-coupon-input-row button {
  min-width: 112px;
  height: 48px;
  padding: 0 18px;
  border: 0;
  border-radius: 9px;
  background: var(--primary);
  color: #fff;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.cart-coupon-input-row button:disabled {
  cursor: not-allowed;
  opacity: .55;
}

.cart-coupon-input-row .coupon-remove-btn {
  background: #475569;
}

.coupon-feedback {
  margin-top: 10px;
  font-size: 13px;
  font-weight: 600;
}

.coupon-success,
.discount-line {
  color: #159447;
}

.coupon-error {
  color: #dc2626;
}

@media (max-width: 760px) {
  .cart-coupon {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .cart-coupon-input-row {
    flex-direction: column;
  }

  .cart-coupon-input-row button {
    width: 100%;
  }
}

.checkout-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: 30px;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px 56px;
}

.checkout-form-box,
.order-summary-box {
  padding: 28px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.checkout-form-box h2,
.order-summary-box h3 {
  padding-bottom: 14px;
  margin-bottom: 22px;
  color: var(--secondary);
  border-bottom: 1px solid var(--border);
}

.checkout-form-box label {
  display: block;
  margin-bottom: 7px;
  color: #334155;
  font-size: 13px;
  font-weight: 650;
}

.checkout-form-box input[type="text"],
.checkout-form-box input[type="email"],
.contact-form input,
.contact-form textarea {
  width: 100%;
  min-height: 48px;
  padding: 11px 14px;
  margin-bottom: 17px;
  color: var(--text);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  transition: var(--transition);
}

.checkout-form-box input:focus,
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
}

.btn-order {
  width: 100%;
  margin-top: 8px;
  color: #fff;
  background: var(--primary);
  border: 0;
  border-radius: 10px;
  font-weight: 750;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.22);
  transition: var(--transition);
}

.btn-order:hover {
  background: var(--primary-hover);
  transform: translateY(-2px);
}

.order-summary-box table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.order-summary-box th,
.order-summary-box td {
  padding: 12px 8px;
  border-bottom: 1px solid var(--border);
}

.order-summary-box th {
  color: var(--gray);
  background: #f8fafc;
  text-align: left;
}

.order-summary-box .total-row td {
  color: var(--primary);
  font-size: 16px;
  font-weight: 800;
}

.payment-note {
  padding: 14px;
  margin-top: 18px;
  color: #92400e;
  background: #fffbeb;
  border: 1px solid #fde68a;
  border-radius: 10px;
  font-size: 13px;
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.9fr);
  gap: 28px;
  width: min(calc(100% - 40px), 1120px);
  margin: 48px auto;
}

.contact-info,
.contact-map {
  padding: 28px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.contact-map {
  min-height: 480px;
  padding: 8px;
  overflow: hidden;
}

.contact-map iframe {
  border-radius: 12px;
}

.info-item {
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}

.contact-form {
  margin-top: 22px;
}

.contact-form textarea {
  min-height: 130px;
  resize: vertical;
}

.contact-form button {
  min-height: 46px;
  padding: 0 22px;
  color: #fff;
  background: var(--primary);
  border: 0;
  border-radius: 10px;
  font-weight: 700;
  cursor: pointer;
}

@media (max-width: 900px) {
  .header-actions {
    gap: 8px;
  }

  .header-action-btn {
    padding-inline: 10px;
    font-size: 12px;
  }

  .checkout-wrap,
  .contact {
    grid-template-columns: 1fr;
  }

  .contact-map {
    min-height: 380px;
  }
}

@media (max-width: 768px) {
  .site-header {
    position: relative;
  }

  .header-top {
    padding: 12px 0;
  }

  .header-logo a {
    justify-content: center;
  }

  .header-actions {
    justify-content: center;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .header-nav {
    margin-inline: -20px;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .header-nav::-webkit-scrollbar {
    display: none;
  }

  .nav-menu {
    width: max-content;
    min-width: 100%;
    padding: 0 20px;
    justify-content: flex-start;
    flex-wrap: nowrap;
  }

  .submenu {
    display: none;
  }

  .hero-banner {
    width: calc(100% - 24px);
    min-height: auto;
    margin-top: 12px;
    padding: 44px 0;
    border-radius: 18px;
  }

  .hero-image-wrap img {
    max-height: 260px;
  }

  .pd-images {
    flex-direction: column-reverse;
  }

  .pd-thumbs {
    flex-direction: row;
  }

  .pd-main-img {
    min-height: 320px;
  }

  .cart-container {
    overflow: hidden;
  }

  .cart-left {
    width: 100%;
    overflow-x: auto;
  }

  .cart-table {
    min-width: 700px;
  }

  .cart-right {
    position: static;
    width: 100%;
  }

  .checkout-form-box,
  .order-summary-box {
    padding: 20px;
  }
}

@media (max-width: 480px) {
  .et-topbar-inner {
    padding: 10px 0;
  }
  .et-search-strip {
    margin-top: 10px;
  }
  .et-brand strong {
    font-size: 16px;
  }
  .et-brand em {
    font-size: 12px;
  }
  .et-top-actions {
    gap: 8px;
  }
}

@media (max-width: 360px) {
  .et-topbar-inner {
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
  }
  .et-brand {
    margin-right: 0;
  }
  .et-top-actions {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 520px) {
  .site-container {
    padding-inline: 14px;
  }

  .search-form {
    padding-left: 14px;
  }

  .search-btn {
    width: 44px;
    padding: 0;
    overflow: hidden;
    color: transparent;
    font-size: 0;
  }

  .search-btn::before {
    content: "⌕";
    width: 100%;
    color: #fff;
    font-size: 23px;
    text-align: center;
  }

  .header-action-btn {
    padding: 8px 10px;
  }

  .hero-btns,
  .pd-btns {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-btns > *,
  .pd-btns > * {
    width: 100%;
  }

  .product-container,
  .home-product-container {
    width: calc(100% - 28px);
    gap: 12px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .product {
    padding: 10px;
  }

  .product > a:first-child {
    height: 170px;
    padding: 8px;
  }

  .product h3 {
    min-height: 39px;
    font-size: 13px;
  }

  .product .price {
    font-size: 15px;
  }

  .product input[type="number"] {
    display: none;
  }

  .product input[type="submit"] {
    padding-inline: 6px;
    font-size: 11px;
  }

  .footer-container {
    grid-template-columns: 1fr;
  }

  .site-footer {
    padding-top: 42px;
  }

  .steps {
    gap: 6px;
    padding-inline: 14px;
  }

  .step {
    padding-inline: 8px;
    font-size: 11px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* ==========================================================================
   HƯỚNG DẪN NHẬN BIẾT CSS GIAO DIỆN SHOP
   --------------------------------------------------------------------------
   .et-shell            : khung giới hạn chiều rộng và căn giữa nội dung
   .et-header           : toàn bộ phần đầu trang
   .et-topbar-inner     : hàng trên gồm menu trái, logo và thao tác bên phải
   .et-mini-links       : menu Trang chủ, Giới thiệu, Sản phẩm, Liên hệ
   .et-brand            : logo HK E-Tech
   .et-top-actions      : Tìm kiếm, Quản trị, Đơn hàng và Giỏ hàng
   .et-category-inner   : menu danh mục sản phẩm phía dưới logo
   .et-search-strip     : thanh tìm kiếm sản phẩm
   .et-hero             : khu vực banner lớn đầu trang
   .et-mini-promo       : các banner quảng cáo nhỏ
   .et-categories       : khu vực danh mục sản phẩm
   .et-wide-promos      : banner quảng cáo ngang
   .et-product-grid     : lưới danh sách sản phẩm
   .et-product-card     : từng thẻ sản phẩm
   .et-deal             : khu vực sản phẩm/ưu đãi nổi bật
   .et-benefits         : khu vực quyền lợi mua hàng
   .et-footer           : chân trang

   LƯU Ý:
   - CSS nằm phía dưới sẽ được ưu tiên nếu selector có cùng độ ưu tiên.
   - Các chỉnh sửa riêng nên đặt ở mục "TÙY CHỈNH NHANH" cuối file.
   - gap        = khoảng cách giữa các phần tử.
   - font-size  = cỡ chữ.
   - padding    = khoảng cách bên trong phần tử.
   - margin     = khoảng cách bên ngoài phần tử.
   ========================================================================== */

/* ===== KHUNG CHUNG CỦA GIAO DIỆN SHOP ===== */
.et-shell {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

/* ===== HEADER: MÀU NỀN VÀ FONT CHỮ CHUNG ===== */
.et-header {
  background: white;
  color: #20242c;
  font-family: Arial, sans-serif;
}

/* ===== HÀNG HEADER TRÊN: MENU TRÁI | LOGO | THAO TÁC PHẢI ===== */
.et-topbar {
  border-bottom: 1px solid #000000;
}
.et-topbar-inner {
  height: 62px;
  display: grid;
  /* Ba cột: menu trái co giãn | logo tự động | thao tác phải co giãn */
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
}

/* Menu điều hướng bên trái và nhóm thao tác bên phải */
.et-mini-links,
.et-top-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 12px;
}
.et-mini-links a,
.et-top-actions a,
.et-category-inner a {
  color: #555c68;
  text-decoration: none;
  transition: 0.2s;
}
.et-mini-links a:hover,
.et-mini-links a.active,
.et-top-actions a:hover,
.et-category-inner a:hover {
  color: #ed4b3e;
}
/* ===== LOGO HK E-TECH ===== */
.et-brand {
  display: flex;
  align-items: center;
  color: #17191f;
  text-decoration: none;
  font-size: 23px;
  font-style: italic;
  letter-spacing: -1px;
}
.et-brand-mark {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  margin-right: 7px;
  border-radius: 8px;
  background: #ffd616;
  color: #111;
  font-style: normal;
  font-size: 18px;
}
.et-brand em {
  color: #ed4b3e;
  font-style: italic;
  margin-left: 4px;
}
.et-top-actions {
  justify-content: flex-end;
}
.et-cart-link {
  position: relative;
  font-size: 17px;
}
.et-cart-link span {
  position: absolute;
  top: -10px;
  right: -12px;
  width: 18px;
  height: 18px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #ffd616;
  color: #111;
  font-size: 10px;
  font-weight: 700;
}
.et-categorybar {
  border-bottom: 1px solid #eceef3;
  box-shadow: 0 3px 12px rgba(20, 30, 50, 0.03);
}
/* ===== MENU DANH MỤC SẢN PHẨM ===== */
.et-category-inner {
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  overflow-x: auto;
  white-space: nowrap;
  font-size: 12px;
}
/* ===== THANH TÌM KIẾM SẢN PHẨM ===== */
.et-search-strip {
  padding: 13px 0;
  background: #fafbfc;
}
.et-search-strip form {
  display: flex;
  max-width: 660px;
  margin: auto;
  background: #fff;
  border: 1px solid #e3e6ec;
  border-radius: 5px;
  overflow: hidden;
}
.et-search-strip input {
  flex: 1;
  border: 0;
  padding: 12px 16px;
  outline: 0;
  font-family: inherit;
  font-size: 13px;
}
.et-search-strip button {
  border: 0;
  background: #ef4b3e;
  color: #fff;
  padding: 0 23px;
  font-weight: 700;
  cursor: pointer;
}

.et-home {
  font-family: Arial, sans-serif;
  background: #fff;
  color: #222;
}
.et-hero {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr;
  grid-template-rows: 290px 200px;
  gap: 18px;
  padding-top: 30px;
}
.et-hero-card,
.et-mini-promo {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
}
.et-hero-main {
  grid-column: span 2;
  background: #f7eded;
}
.et-hero-side {
  background: #edf0ff;
}
.et-hero-card {
  display: flex;
  align-items: center;
  padding: 34px;
}
.et-hero-card > div {
  position: relative;
  z-index: 2;
  width: 54%;
}
.et-hero-card img {
  position: absolute;
  right: 2%;
  bottom: 0;
  width: 48%;
  height: 92%;
  object-fit: contain;
}
.et-hero-card h1 {
  font-size: 34px;
  line-height: 1.15;
  margin: 8px 0 12px;
}
.et-hero-card h2 {
  font-size: 27px;
  line-height: 1.2;
  margin: 8px 0;
}
.et-hero-card p {
  font-size: 12px;
  color: #686d76;
  line-height: 1.7;
  margin-bottom: 17px;
}
.et-kicker,
.et-section-copy > span,
.et-section-heading span,
.et-deal-copy > small {
  color: #ef4b3e;
  font-size: 10px;
  text-transform: uppercase;
  font-weight: 700;
}
.et-hero-card a,
.et-mini-promo a,
.et-section-copy a,
.et-wide-promos a,
.et-deal-copy > a {
  display: inline-block;
  padding: 10px 16px;
  background: #ef4b3e;
  color: #fff;
  text-decoration: none;
  font-size: 11px;
  font-weight: 700;
  border-radius: 3px;
}
.et-mini-promo {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px;
}
.et-mini-promo.pink {
  background: #fde8e8;
}
.et-mini-promo.mint {
  background: #e8f6ee;
}
.et-mini-promo.yellow {
  background: #fff6c9;
}
.et-mini-promo img {
  width: 48%;
  height: 150px;
  object-fit: contain;
}
.et-mini-promo div {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 7px;
}
.et-mini-promo small {
  font-size: 10px;
  color: #777;
}
.et-mini-promo strong {
  font-size: 17px;
  line-height: 1.25;
}
.et-mini-promo span {
  color: #1c9d60;
  font-size: 13px;
}
.et-mini-promo a {
  padding: 8px 12px;
  background: transparent;
  color: #ef4b3e;
  border: 1px solid #ef4b3e;
}

.et-categories {
  display: grid;
  grid-template-columns: 1fr 1.8fr;
  gap: 45px;
  padding-top: 80px;
  padding-bottom: 70px;
}
.et-section-copy h2,
.et-section-heading h2 {
  font-size: 30px;
  line-height: 1.2;
  margin: 8px 0 12px;
}
.et-section-copy p {
  color: #8b8f98;
  font-size: 12px;
  line-height: 1.7;
  margin-bottom: 20px;
}
.et-section-copy a {
  padding: 10px 15px;
}
.et-category-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid #e6e8ed;
  border-left: 1px solid #e6e8ed;
}
.et-category-grid a {
  min-height: 108px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  border-right: 1px solid #e6e8ed;
  border-bottom: 1px solid #e6e8ed;
  color: #444;
  text-decoration: none;
  transition: 0.2s;
}
.et-category-grid a:hover {
  background: #fff8e0;
  transform: translateY(-2px);
}
.et-category-grid span {
  color: #ef4b3e;
  font-size: 21px;
}
.et-category-grid strong {
  font-size: 11px;
  margin-top: 6px;
}
.et-category-grid small {
  font-size: 9px;
  color: #aaa;
  margin-top: 3px;
}

.et-wide-promos {
  display: grid;
  grid-template-columns: 1.55fr 0.8fr;
  gap: 20px;
  padding-bottom: 78px;
}
.et-wide-promos article {
  height: 270px;
  position: relative;
  overflow: hidden;
  background: #0a347c;
  border-radius: 4px;
  color: #fff;
  padding: 38px;
}
.et-wide-promos article:last-child {
  background: #dceeff;
  color: #272b33;
}
.et-wide-promos div {
  position: relative;
  z-index: 2;
  width: 55%;
}
.et-wide-promos span {
  font-size: 10px;
}
.et-wide-promos h2 {
  font-size: 27px;
  line-height: 1.18;
  margin: 9px 0 20px;
}
.et-wide-promos img {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 55%;
  height: 95%;
  object-fit: contain;
}
.et-wide-promos article:last-child img {
  width: 60%;
  height: 70%;
}

.et-products {
  padding-bottom: 80px;
}
.et-section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 28px;
}
.et-section-heading h2 {
  margin-bottom: 0;
}
.et-section-heading > a {
  font-size: 11px;
  color: #ef4b3e;
  text-decoration: none;
  font-weight: 700;
}
.et-product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.et-product-card {
  position: relative;
  border: 1px solid #e4e6ec;
  background: #fff;
  padding: 13px;
  transition: 0.25s;
}
.et-product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(31, 39, 55, 0.1);
}
.et-sale-tag {
  position: absolute;
  z-index: 2;
  top: 10px;
  left: 10px;
  background: #ef4b3e;
  color: #fff;
  font-size: 9px;
  padding: 4px 7px;
}
.et-product-image {
  height: 205px;
  display: block;
  background: #f2f4fa;
  margin-bottom: 13px;
  overflow: hidden;
}
.et-product-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: 0.3s;
}
.et-product-card:hover img {
  transform: scale(1.04);
}
.et-product-card > small {
  font-size: 9px;
  color: #9da1aa;
}
.et-product-card h3 {
  font-size: 12px;
  line-height: 1.45;
  height: 35px;
  margin: 6px 0;
}
.et-product-card h3 a {
  color: #252830;
  text-decoration: none;
}
.et-rating {
  color: #ffc400;
  font-size: 9px;
  border-bottom: 2px solid #ef4b3e;
  padding-bottom: 8px;
}
.et-rating span {
  float: right;
  color: #999;
}
.et-price {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 8px;
  margin: 10px 0;
}
.et-price del {
  color: #aaa;
  font-size: 10px;
}
.et-price strong {
  font-size: 13px;
}
.et-product-card form button {
  width: 100%;
  border: 0;
  background: #ef4b3e;
  color: #fff;
  padding: 10px;
  font-weight: 700;
  font-size: 10px;
  cursor: pointer;
}

.et-yellow-banner {
  min-height: 155px;
  background: #ffd616;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 45px;
  margin-bottom: 80px;
  padding: 20px 55px;
}
.et-yellow-banner img {
  width: 180px;
  height: 115px;
  object-fit: contain;
}
.et-yellow-banner h2 {
  font-size: 25px;
  line-height: 1.15;
}
.et-yellow-banner a {
  background: #111;
  color: #fff;
  padding: 11px 18px;
  text-decoration: none;
  font-size: 11px;
  font-weight: 700;
}
.et-deal {
  background: #eef0ff;
  min-height: 390px;
  padding: 42px 0;
}
.et-deal > .et-shell {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 90px;
}
.et-deal-art {
  position: relative;
  width: 420px;
  height: 300px;
}
.et-deal-art img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.et-deal-art > span {
  position: absolute;
  top: 25px;
  right: 30px;
  display: grid;
  place-items: center;
  width: 70px;
  height: 70px;
  background: #ffd616;
  border-radius: 50%;
  font-weight: 800;
  font-size: 13px;
  text-align: center;
}
.et-deal-copy {
  max-width: 350px;
}
.et-deal-copy h2 {
  font-size: 32px;
  margin: 7px 0;
}
.et-deal-copy p {
  font-size: 11px;
  color: #777;
  line-height: 1.7;
}
.et-countdown {
  display: flex;
  gap: 8px;
  margin: 20px 0;
}
.et-countdown b {
  width: 50px;
  background: #fff;
  padding: 8px;
  text-align: center;
  font-size: 15px;
}
.et-countdown small {
  display: block;
  text-transform: uppercase;
  font-size: 7px;
  color: #aaa;
  margin-top: 3px;
}

.sale-countdown-wrap{display:flex;align-items:center;gap:12px}
.sale-countdown-label{color:#6d28d9!important;font-size:12px!important;font-weight:800;text-transform:uppercase;white-space:nowrap}
.sale-countdown{display:flex;align-items:center;gap:5px}
.sale-countdown>span{display:grid;place-items:center;min-width:48px;padding:7px 6px 6px;background:#6d28d9;border-radius:6px;color:#fff!important;box-shadow:0 5px 14px rgba(109,40,217,.18)}
.sale-countdown b{color:#fff;font-size:17px;line-height:1;font-variant-numeric:tabular-nums}
.sale-countdown small{margin-top:4px;color:rgba(255,255,255,.82);font-size:8px;line-height:1;text-transform:uppercase}
.sale-countdown i{color:#06b6d4;font-style:normal;font-weight:900}
@media(max-width:760px){.sale-countdown-wrap{width:100%;justify-content:flex-start;flex-wrap:wrap}.sale-countdown>span{min-width:43px}}

.et-benefits {
  background: #ef4b3e;
  color: #fff;
}
.et-benefits > .et-shell {
  min-height: 90px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: center;
}
.et-benefits div div {
  display: grid;
  grid-template-columns: 35px 1fr;
  align-items: center;
  padding: 0 25px;
  border-right: 1px solid rgba(255, 255, 255, 0.25);
}
.et-benefits div div:last-child {
  border: 0;
}
.et-benefits span {
  grid-row: span 2;
  font-size: 22px;
}
.et-benefits strong {
  font-size: 11px;
}
.et-benefits small {
  font-size: 8px;
  opacity: 0.8;
}
.et-footer {
  background: #171a21;
  color: #c7cad1;
  padding-top: 55px;
}
.et-footer-grid {
  display: grid;
  grid-template-columns: 1.6fr repeat(3, 1fr);
  gap: 55px;
  padding-bottom: 40px;
}
.et-footer p {
  font-size: 11px;
  line-height: 1.8;
  margin: 8px 0;
}
.et-footer h4 {
  color: #fff;
  font-size: 13px;
  margin-bottom: 15px;
}
.et-footer-grid > div > a:not(.et-brand) {
  display: block;
  color: #c7cad1;
  text-decoration: none;
  font-size: 11px;
  margin: 9px 0;
}
.et-footer-brand {
  color: #fff;
}
.et-copyright {
  padding: 17px 0;
  border-top: 1px solid #30343e;
  font-size: 10px;
}

@media (max-width: 900px) {
  .et-topbar-inner {
    grid-template-columns: 1fr auto;
  }
  .et-mini-links {
    display: none;
  }
  .et-brand {
    justify-self: start;
  }
  .et-category-inner {
    justify-content: flex-start;
  }
  .et-hero {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 300px 210px 210px;
  }
  .et-hero-main {
    grid-column: span 2;
  }
  .et-hero-side {
    grid-column: span 1;
  }
  .et-mini-promo {
    grid-column: span 1;
  }
  .et-categories {
    grid-template-columns: 1fr;
  }
  .et-product-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .et-footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 620px) {
  .et-shell {
    width: min(100% - 24px, 1180px);
  }
  .et-top-actions > a:not(.et-cart-link):not(:last-child) {
    display: none;
  }
  .et-search-strip button {
    padding: 0 12px;
  }
  .et-hero {
    display: flex;
    flex-direction: column;
  }
  .et-hero-card,
  .et-mini-promo {
    min-height: 260px;
  }
  .et-hero-card > div {
    width: 65%;
  }
  .et-hero-card h1 {
    font-size: 26px;
  }
  .et-category-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .et-wide-promos {
    grid-template-columns: 1fr;
  }
  .et-wide-promos article {
    height: 230px;
  }
  .et-product-grid {
    grid-template-columns: 1fr 1fr;
    gap: 9px;
  }
  .et-product-card {
    padding: 9px;
  }
  .et-product-image {
    height: 145px;
  }
  .et-rating span {
    display: none;
  }
  .et-yellow-banner {
    gap: 12px;
    padding: 18px;
  }
  .et-yellow-banner img:last-child {
    display: none;
  }
  .et-yellow-banner img {
    width: 100px;
  }
  .et-yellow-banner h2 {
    font-size: 18px;
  }
  .et-deal > .et-shell {
    flex-direction: column;
    gap: 10px;
  }
  .et-deal-art {
    width: 100%;
    height: 230px;
  }
  .et-benefits > .et-shell {
    grid-template-columns: 1fr 1fr;
  }
  .et-benefits div div {
    min-height: 75px;
    padding: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  }
  .et-footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

/* ===== E-TECH TYPOGRAPHY & BALANCE TUNING ===== */
html {
  font-size: 20px;
}
body,
.et-header,
.et-home,
.et-search-strip input {
  font-family: Arial, sans-serif;
}
.et-shell {
  width: min(1240px, calc(100% - 48px));
}
.et-topbar-inner {
  height: 58px;
}
.et-mini-links,
.et-top-actions {
  font-size: 13px;
  gap: 24px;
}
.et-brand {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.5px;
}
.et-brand strong,
.et-brand em {
  font-weight: 600;
}
.et-category-inner {
  height: 48px;
  gap: 34px;
  font-size: 13px;
}
.et-search-strip {
  padding: 10px 0;
}
.et-search-strip form {
  max-width: 620px;
}
.et-search-strip input {
  padding: 10px 15px;
  font-size: 13px;
}

.et-hero {
  grid-template-columns: repeat(6, 1fr);
  grid-template-rows: 320px 190px;
  gap: 20px;
  padding-top: 34px;
}
.et-hero-main,
.et-hero-side {
  grid-column: span 3;
}
.et-mini-promo {
  grid-column: span 2;
}
.et-hero-card {
  padding: 32px 34px;
}
.et-hero-card > div {
  width: 52%;
}
.et-hero-card h1,
.et-hero-card h2 {
  font-weight: 500;
  letter-spacing: -0.8px;
}
.et-hero-card h1 {
  font-size: 32px;
  line-height: 1.16;
}
.et-hero-card h2 {
  font-size: 30px;
  line-height: 1.15;
}
.et-hero-card p {
  font-size: 13px;
  line-height: 1.55;
}
.et-kicker {
  font-size: 11px;
  font-weight: 500;
  text-transform: none;
}
.et-hero-card a,
.et-mini-promo a,
.et-section-copy a,
.et-wide-promos a,
.et-deal-copy > a {
  font-weight: 600;
}
.et-mini-promo {
  padding: 20px 24px;
}
.et-mini-promo strong {
  font-size: 18px;
  font-weight: 500;
}
.et-mini-promo img {
  height: 145px;
}

.et-categories {
  grid-template-columns: 0.9fr 1.8fr;
  gap: 56px;
  padding-top: 72px;
  padding-bottom: 66px;
}
.et-section-copy h2,
.et-section-heading h2 {
  font-size: 29px;
  font-weight: 500;
  letter-spacing: -0.5px;
}
.et-section-copy p {
  font-size: 13px;
  max-width: 390px;
}
.et-category-grid a {
  min-height: 104px;
}
.et-category-grid strong {
  font-size: 12px;
  font-weight: 500;
}

.et-wide-promos {
  grid-template-columns: 1.55fr 0.82fr;
  gap: 20px;
  padding-bottom: 72px;
}
.et-wide-promos article {
  height: 250px;
  padding: 34px;
}
.et-wide-promos h2 {
  font-size: 27px;
  font-weight: 500;
}
.et-section-heading {
  margin-bottom: 25px;
}
.et-product-grid {
  gap: 20px;
}
.et-product-card {
  padding: 14px;
}
.et-product-image {
  height: 215px;
}
.et-product-card h3 {
  font-size: 13px;
  font-weight: 500;
  height: 39px;
}
.et-product-card h3 a {
  font-weight: 500;
}
.et-price strong {
  font-size: 14px;
  font-weight: 600;
}
.et-yellow-banner {
  margin-bottom: 72px;
}
.et-deal-copy h2 {
  font-size: 31px;
  font-weight: 500;
}
.et-footer h4 {
  font-weight: 600;
}

@media (max-width: 900px) {
  .et-shell {
    width: min(100% - 32px, 1240px);
  }
  .et-hero {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: 300px auto auto;
  }
  .et-hero-main,
  .et-hero-side {
    grid-column: span 1;
  }
  .et-mini-promo {
    grid-column: span 1;
    min-height: 190px;
  }
  .et-mini-promo:last-child {
    grid-column: span 2;
  }
}
@media (max-width: 620px) {
  html {
    font-size: 15px;
  }
  .et-shell {
    width: min(100% - 22px, 1240px);
  }
  .et-topbar-inner {
    height: 54px;
  }
  .et-brand {
    font-size: 19px;
  }
  .et-category-inner {
    height: 43px;
    gap: 22px;
  }
  .et-hero {
    display: flex;
    padding-top: 20px;
    gap: 12px;
  }
  .et-hero-card,
  .et-mini-promo {
    min-height: 230px;
  }
  .et-hero-card {
    padding: 24px 20px;
  }
  .et-hero-card h1,
  .et-hero-card h2 {
    font-size: 24px;
  }
  .et-hero-card p {
    font-size: 12px;
  }
  .et-mini-promo:last-child {
    min-height: 190px;
  }
  .et-categories {
    padding-top: 52px;
    padding-bottom: 52px;
    gap: 30px;
  }
  .et-section-copy h2,
  .et-section-heading h2 {
    font-size: 24px;
  }
  .et-wide-promos {
    padding-bottom: 52px;
  }
  .et-product-grid {
    gap: 10px;
  }
  .et-product-card h3 {
    font-size: 12px;
  }
}

/* ==========================================================================
   TÙY CHỈNH NHANH: FONT CHỮ VÀ KHOẢNG CÁCH HEADER
   --------------------------------------------------------------------------
   Đây là phần được thêm để ghi đè các khai báo phía trên.
   Muốn đổi cỡ chữ header: sửa giá trị 20px bên dưới.
   Muốn menu cách logo xa/gần: chỉnh justify-content hoặc gap.
   ========================================================================== */

/* Giảm khoảng trống giữa menu trái, logo và nhóm thao tác phải */
.et-topbar-inner {
  gap: 60px;
}

/* Đẩy menu Trang chủ... về cuối cột trái để nằm sát phía trái logo */
.et-mini-links {
  justify-content: flex-end;
  width: 100%;
  gap: 30px;
}

/* Đẩy Quản trị, Đơn hàng và Giỏ hàng về sát phía phải logo */
.et-top-actions {
  justify-content: flex-start;
  width: 100%;
  gap: 30px;
}

/* Cỡ chữ dùng chung cho các thành phần chính trên header */
.et-mini-links,
.et-top-actions,
.et-brand,
.et-category-inner,
.et-search-strip input,
.et-search-strip button {
  font-size: 18px;
}

/* Logo nằm bên trái, toàn bộ menu và thao tác nằm bên phải */
@media (min-width: 769px) {
  .et-topbar-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
  }

  .et-brand {
    order: 1;
    flex: 0 0 auto;
  }

  .et-mini-links {
    order: 2;
    width: auto;
    margin-left: 0;
    justify-content: flex-start;
  }

  .et-top-actions {
    order: 3;
    width: auto;
    justify-content: flex-start;
  }
}

/* ===== FONT CHỮ THỐNG NHẤT TOÀN WEBSITE ===== */
html,
body,
#container,
#container button,
#container input,
#container select,
#container textarea {
  font-family: Arial, sans-serif !important;
  font-size: 18px;
}

#container * {
  font-family: Arial, sans-serif !important;
}

/* ===== MENU TÀI KHOẢN TRÊN HEADER ===== */
.et-account-menu {
  position: relative;
}

.et-account-menu summary {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #555c68;
  cursor: pointer;
  list-style: none;
  white-space: nowrap;
  user-select: none;
}

.et-account-menu summary::-webkit-details-marker {
  display: none;
}

.et-account-avatar {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #ffd616;
  color: #20242c;
  font-weight: 700;
}

.et-account-arrow {
  transition: transform 0.2s ease;
}

.et-account-menu[open] .et-account-arrow {
  transform: rotate(180deg);
}

.et-account-dropdown {
  position: absolute;
  z-index: 1000;
  top: calc(100% + 12px);
  right: 0;
  min-width: 260px;
  padding: 10px;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.14);
}

.et-account-dropdown::before {
  content: "";
  position: absolute;
  top: -7px;
  right: 22px;
  width: 12px;
  height: 12px;
  border-top: 1px solid #e5e7eb;
  border-left: 1px solid #e5e7eb;
  background: #fff;
  transform: rotate(45deg);
}

.et-account-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 8px 10px 12px;
  border-bottom: 1px solid #eceff3;
  overflow-wrap: anywhere;
}

.et-account-info span {
  color: #7a818d;
}

.et-account-dropdown > a {
  display: block;
  padding: 10px;
  border-radius: 7px;
  color: #444b56;
  text-decoration: none;
}

.et-account-dropdown > a:hover {
  background: #f5f6f8;
  color: #ed4b3e;
}

.et-account-dropdown > .et-account-logout {
  margin-top: 4px;
  border-top: 1px solid #eceff3;
  border-radius: 0 0 7px 7px;
  color: #d9363e;
  font-weight: 700;
}

/* ===== PHÓNG LỚN KHU VỰC DANH MỤC PHỔ BIẾN THEO TRANG MẪU ===== */
@media (min-width: 769px) {
  .et-categories {
    grid-template-columns: minmax(390px, 0.9fr) 1.7fr;
    align-items: center;
    gap: 70px;
    padding-top: 115px;
    padding-bottom: 115px;
  }

  .et-section-copy > span {
    font-size: 18px;
    font-weight: 500;
  }

  .et-section-copy h2 {
    margin: 10px 0 28px;
    font-size: 48px;
    line-height: 1.12;
    font-weight: 500;
    letter-spacing: -1px;
  }

  .et-section-copy p {
    max-width: 480px;
    margin-bottom: 42px;
    font-size: 18px;
    line-height: 1.55;
  }

  .et-section-copy a {
    padding: 16px 28px;
    font-size: 18px;
    border-radius: 7px;
  }

  .et-category-grid a {
    min-height: 180px;
    padding: 20px 12px;
  }

  .et-category-grid span {
    display: grid;
    place-items: center;
    width: 72px;
    height: 72px;
    margin-bottom: 12px;
    border-radius: 50%;
    background: #f4f4f7;
    font-size: 30px;
  }

  .et-category-grid strong {
    margin-top: 0;
    font-size: 18px;
    font-weight: 500;
  }

  .et-category-grid small {
    margin-top: 7px;
    font-size: 16px;
  }
}

@media (max-width: 768px) {
  .et-section-copy > span {
    font-size: 15px;
  }

  .et-section-copy h2 {
    font-size: 32px;
  }

  .et-section-copy p,
  .et-section-copy a,
  .et-category-grid strong {
    font-size: 16px;
  }

  .et-category-grid a {
    min-height: 145px;
    padding: 16px 8px;
  }

  .et-category-grid span {
    font-size: 26px;
  }

  .et-category-grid small {
    font-size: 14px;
    color: #3167fe;
  }
}
