/**
 * SUNTECH Shop — Mecha skin overrides (clip-path, mono, HUD)
 * Load sau shop-components.css
 */

body {
  font-family: var(--font-body);
  background: transparent;
}

.shop-topbar,
.shop-promo-bar-wrap,
.shop-main,
.shop-footer {
  position: relative;
  z-index: 1;
}

.shop-header {
  z-index: var(--shop-z-header);
}

.shop-mobile-nav {
  z-index: var(--shop-z-overlay);
}

/* --- Shell --- */
.shop-topbar {
  background: var(--steel-dark);
  font-family: var(--font-body);
  font-size: var(--text-xs);
  letter-spacing: 0.02em;
  border-bottom: 1px solid rgba(0, 174, 239, 0.2);
}

.shop-topbar a { color: var(--cyan); }

.shop-header {
  position: sticky;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 2px solid var(--orange);
  box-shadow: 0 1px 0 var(--border);
  clip-path: var(--clip-header);
  overflow: visible;
}

.shop-header::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 4px;
  background: repeating-linear-gradient(
    90deg,
    var(--yellow) 0,
    var(--yellow) 12px,
    var(--steel-dark) 12px,
    var(--steel-dark) 24px
  );
  opacity: 0.55;
  pointer-events: none;
}

.shop-nav a {
  font-family: var(--font-display);
  font-size: var(--text-xs);
  letter-spacing: 0.03em;
  text-transform: uppercase;
  font-weight: 600;
  font-style: normal;
  color: var(--muted-mecha);
  position: relative;
}

.shop-nav a:hover,
.shop-nav a.is-active {
  color: var(--cyan);
}

.shop-nav a.is-active::after {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--cyan);
  box-shadow: 0 0 8px var(--cyan);
}

.shop-search {
  border: 1px solid rgba(0, 174, 239, 0.35);
  border-radius: 0;
  clip-path: var(--clip-sm);
  background: var(--surface-solid);
}

.shop-search button {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.04em;
  clip-path: var(--clip-sm);
  border-radius: 0;
}

.shop-cart {
  border: 1px solid rgba(0, 174, 239, 0.35);
  border-radius: 0;
  clip-path: var(--clip-sm);
  font-family: var(--font-display);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.02em;
}

.shop-cart__badge {
  border-radius: 0;
  clip-path: polygon(3px 0, 100% 0, calc(100% - 3px) 100%, 0 100%);
  top: -4px;
  right: -4px;
}

.shop-menu-toggle {
  border-radius: 0;
  clip-path: var(--clip-sm);
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.03em;
}

.shop-mobile-nav__panel {
  border-left: 2px solid var(--orange);
  clip-path: polygon(12px 0, 100% 0, 100% 100%, 0 100%);
}

.shop-mobile-nav__search {
  border-radius: 0;
  clip-path: var(--clip-sm);
  border: 1px solid rgba(0, 174, 239, 0.35);
}

.shop-mobile-nav__search button {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.03em;
  clip-path: var(--clip-sm);
}

.shop-mobile-nav__list a {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.02em;
}

.shop-breadcrumb {
  font-family: var(--font-body);
  font-size: var(--text-small);
}

.shop-footer {
  background: var(--surface-solid);
  clip-path: polygon(0 12px, 12px 0, 100% 0, 100% 100%, 0 100%);
  border-top: 2px solid var(--cyan);
}

.shop-footer h4 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: var(--text-small);
}

.shop-toast {
  border-radius: 0;
  clip-path: var(--clip-panel);
  border: 1px solid rgba(0, 174, 239, 0.4);
  font-family: var(--font-body);
}

/* --- Buttons (override template-shop .btn-primary) --- */
.btn-primary,
.btn-secondary {
  border-radius: 0;
  font-family: var(--font-display);
  font-size: var(--btn-font-size);
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: none;
  font-style: normal;
  clip-path: var(--clip-btn);
  box-shadow: 0 2px 10px rgba(227, 108, 9, 0.2);
}

.btn-primary.btn-sm,
.btn-secondary.btn-sm {
  min-height: var(--btn-height);
  height: var(--btn-height);
  padding: 0 var(--btn-padding-sm-x);
  font-size: var(--btn-font-size-sm);
}

.btn-outline-sm {
  border-radius: 0;
  clip-path: var(--clip-btn);
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.02em;
  border: 1px solid var(--cyan);
  color: var(--steel-dark);
}

.btn-outline-sm:hover {
  background: rgba(0, 174, 239, 0.08);
  box-shadow: 0 0 12px rgba(0, 174, 239, 0.2);
}

/* --- Spotlight --- */
.shop-category-rail {
  background: var(--surface);
  border: 1px solid rgba(0, 174, 239, 0.3);
  border-radius: 0;
  clip-path: var(--clip-panel);
}

.shop-category-rail__head {
  font-family: var(--font-display);
  font-weight: 700;
  font-style: italic;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: rgba(0, 174, 239, 0.06);
  color: var(--orange);
}

.shop-category-rail__link {
  font-family: var(--font-body);
  font-size: var(--text-small);
  font-weight: 500;
  letter-spacing: 0.01em;
}

.shop-category-rail__link:hover {
  background: rgba(0, 174, 239, 0.08);
  color: var(--cyan);
}

.shop-category-rail__icon {
  border-radius: 0;
  clip-path: polygon(3px 0, 100% 0, calc(100% - 3px) 100%, 0 100%);
  background: rgba(0, 174, 239, 0.12);
  font-family: var(--font-mono);
}

.shop-category-rail__badge {
  border-radius: 0;
  clip-path: polygon(2px 0, 100% 0, calc(100% - 2px) 100%, 0 100%);
  font-family: var(--font-mono);
  letter-spacing: 0.06em;
}

.shop-slider {
  border-radius: 0;
  clip-path: var(--clip-card);
  border: 1px solid rgba(0, 174, 239, 0.35);
}

.shop-slider__overlay h2 {
  font-family: var(--font-display);
  font-weight: var(--font-display-weight);
  font-style: var(--font-display-style);
  letter-spacing: 0.03em;
  clip-path: polygon(0 0, 100% 0, 95% 100%, 0 100%);
}

.shop-slider__nav {
  border-radius: 0;
  width: 36px;
  height: 36px;
  clip-path: polygon(6px 0, 100% 0, calc(100% - 6px) 100%, 0 100%);
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(0, 174, 239, 0.4);
  font-family: var(--font-mono);
}

.shop-slider__dot {
  width: 24px;
  height: 4px;
  border-radius: 0;
  background: rgba(255, 255, 255, 0.35);
}

.shop-slider__dot.is-active {
  background: var(--cyan);
  box-shadow: 0 0 8px var(--cyan);
  transform: none;
}

.shop-bento-tile {
  border-radius: 0;
  clip-path: var(--clip-card);
  border: 1px solid rgba(0, 174, 239, 0.25);
}

.shop-bento-tile:hover {
  border-color: var(--cyan);
  box-shadow: 0 0 20px rgba(0, 174, 239, 0.2);
  transform: translateY(-2px);
}

.shop-bento-tile__badge {
  border-radius: 0;
  clip-path: polygon(3px 0, 100% 0, calc(100% - 3px) 100%, 0 100%);
  font-family: var(--font-mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: var(--text-xs);
}

.shop-bento-tile__title {
  letter-spacing: 0.04em;
}

/* --- Sections / tabs / cards --- */
.shop-section__title {
  font-family: var(--font-display);
  font-weight: var(--font-display-weight);
  font-style: var(--font-display-style);
  letter-spacing: 0.03em;
  color: var(--heading-mecha);
}

.shop-section__title::before {
  content: "// ";
  font-family: var(--font-tech);
  font-style: italic;
  font-weight: 600;
  color: var(--cyan);
  font-size: 0.85em;
}

.shop-section__more {
  font-family: var(--font-display);
  font-weight: 600;
  font-style: normal;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  font-size: var(--text-xs);
}

.shop-tabs {
  border-bottom: 1px solid rgba(0, 174, 239, 0.25);
}

.shop-tab {
  border-radius: 0;
  font-family: var(--font-display);
  font-style: normal;
  clip-path: var(--clip-sm);
}

.shop-tab.is-active {
  color: var(--cyan);
  background: rgba(0, 174, 239, 0.08);
  box-shadow: inset 0 -2px 0 var(--cyan);
}

.product-card {
  background: var(--surface);
  border: 1px solid rgba(0, 174, 239, 0.25);
  border-radius: 0;
  clip-path: var(--clip-card);
  transition: border-color 0.3s, transform 0.3s;
}

.product-card:hover {
  border-color: var(--cyan);
  box-shadow: 0 0 20px rgba(0, 174, 239, 0.15);
}

.product-card__cat {
  font-family: var(--font-mono);
  color: var(--orange);
  letter-spacing: 0.1em;
}

.product-card__badge {
  border-radius: 0;
  clip-path: polygon(2px 0, 100% 0, calc(100% - 2px) 100%, 0 100%);
  font-family: var(--font-mono);
  letter-spacing: 0.06em;
}

.product-card__specs-row {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  letter-spacing: 0.02em;
  opacity: 0.85;
}

.product-card__price-current {
  font-family: var(--font-display);
  font-weight: 700;
}

/* --- PLP / PDP --- */
.shop-sidebar,
.shop-plp__toolbar,
.shop-pdp__gallery-main,
.shop-pdp__thumb {
  border-radius: 0;
}

.shop-sidebar {
  background: var(--surface);
  border: 1px solid rgba(0, 174, 239, 0.3);
  clip-path: var(--clip-panel);
}

.shop-sidebar h3,
.shop-filter-accordion summary,
.shop-filter-section__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-style: normal;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  font-size: var(--text-small);
  color: var(--orange);
}

.shop-filter-group label {
  font-family: var(--font-body);
  font-size: var(--text-small);
}

.shop-plp__toolbar {
  background: var(--surface);
  border: 1px solid rgba(0, 174, 239, 0.2);
  clip-path: var(--clip-sm);
}

.shop-plp__sort select,
.shop-pdp__qty input {
  border-radius: 0;
  clip-path: var(--clip-sm);
  font-family: var(--font-body);
}

.shop-pagination button {
  border-radius: 0;
  clip-path: var(--clip-sm);
  font-family: var(--font-display);
  font-weight: 600;
}

.shop-pagination button.is-active {
  clip-path: var(--clip-btn);
}

.shop-pdp__gallery-main {
  clip-path: var(--clip-card);
  border: 1px solid rgba(0, 174, 239, 0.3);
}

.shop-pdp__thumb {
  border-radius: 0;
  clip-path: var(--clip-sm);
}

.shop-pdp__title {
  font-family: var(--font-display);
  font-weight: var(--font-display-weight);
  font-style: var(--font-display-style);
  letter-spacing: 0.03em;
}

.shop-pdp__meta,
.shop-pdp__discount {
  font-family: var(--font-tech);
  font-style: italic;
  font-weight: 600;
}

.shop-pdp__price-current {
  font-family: var(--font-display);
  font-weight: 700;
}

.shop-spec-table th {
  font-family: var(--font-mono);
  letter-spacing: 0.05em;
}

.shop-pdp-video__embed {
  clip-path: var(--clip-card);
  border: 1px solid rgba(0, 174, 239, 0.3);
}

.shop-pdp-video__title,
.shop-pdp-article__title {
  font-family: var(--font-display);
  font-weight: var(--font-display-weight);
  font-style: var(--font-display-style);
  letter-spacing: 0.03em;
}

.shop-pdp-video__label,
.shop-pdp-article__label {
  font-family: var(--font-tech);
  font-style: italic;
}

.shop-pdp-article__figure {
  clip-path: var(--clip-card);
  border: 1px solid rgba(0, 174, 239, 0.2);
}

.shop-pdp-detail__specs-panel {
  clip-path: var(--clip-card);
  border: 1px solid rgba(0, 174, 239, 0.25);
}

.shop-pdp-detail__specs-title {
  font-family: var(--font-display);
  font-weight: var(--font-display-weight);
  font-style: var(--font-display-style);
  letter-spacing: 0.03em;
}

.shop-pdp-detail__specs-label {
  font-family: var(--font-tech);
  font-style: italic;
}

.shop-pdp__highlight-specs-label {
  font-family: var(--font-tech);
  font-style: italic;
}

.shop-pdp__btn {
  clip-path: var(--clip-btn);
  border-radius: 0;
}

.shop-pdp__btn--zalo {
  box-shadow: 0 2px 10px rgba(0, 104, 255, 0.25);
}

/* --- Promo bar + home promo blocks --- */
.shop-promo-bar-wrap {
  background: rgba(255, 255, 255, 0.88);
  border-bottom: 1px solid rgba(0, 174, 239, 0.2);
  backdrop-filter: blur(8px);
}

.shop-promo-bar__link {
  font-family: var(--font-display);
  font-weight: 600;
  font-style: normal;
  font-size: var(--text-xs);
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.shop-promo-bar__link.is-highlight {
  color: var(--orange);
}

.shop-nav a.is-highlight {
  color: var(--orange);
}

.shop-promo-deals > .shop-promo-card,
.shop-promo-campaign,
.shop-cat-shortcut {
  border-radius: 0;
  clip-path: var(--clip-card);
  border: 1px solid rgba(0, 174, 239, 0.25);
}

.shop-promo-deals > .shop-promo-card:hover,
.shop-promo-campaign:hover,
.shop-cat-shortcut:hover {
  border-color: var(--cyan);
  box-shadow: 0 0 16px rgba(0, 174, 239, 0.18);
}

.shop-promo-deals > .shop-promo-card .shop-promo-card__badge,
.shop-promo-deals > .shop-promo-card .shop-promo-card__discount {
  border-radius: 0;
  clip-path: polygon(2px 0, 100% 0, calc(100% - 2px) 100%, 0 100%);
  font-family: var(--font-mono);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.shop-cat-shortcut {
  background: var(--surface);
}

.shop-cat-shortcut__thumb {
  border-radius: 0;
  clip-path: var(--clip-sm);
  border: 1px solid rgba(0, 174, 239, 0.2);
}

.shop-cat-shortcut__label {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.01em;
}

.shop-footer__hotline {
  font-family: var(--font-body);
  font-size: var(--text-small);
  letter-spacing: 0.01em;
}

.shop-header__logo img,
.shop-footer__brand .shop-footer__logo {
  border-radius: 0;
  clip-path: var(--clip-logo);
  border: none;
  background: var(--color-white);
  padding: 5px 8px;
  box-sizing: content-box;
  filter:
    drop-shadow(var(--shadow-logo-ring))
    drop-shadow(var(--shadow-logo-soft))
    drop-shadow(var(--shadow-logo-glow));
}

/* --- Cart page --- */
.shop-cart-empty,
.shop-cart-item,
.shop-cart-summary {
  border-radius: 0;
  clip-path: var(--clip-card);
  border: 1px solid rgba(0, 174, 239, 0.3);
  background: var(--surface);
}

.shop-cart-item__thumb {
  border-radius: 0;
  clip-path: var(--clip-sm);
}

.shop-cart-qty {
  border-radius: 0;
  clip-path: var(--clip-sm);
}

.shop-cart-qty__btn,
.shop-cart-qty__input {
  border-radius: 0;
}

.shop-cart-page__title {
  font-family: var(--font-display);
  font-weight: var(--font-display-weight);
  font-style: var(--font-display-style);
  letter-spacing: 0.03em;
}

.shop-cart-summary__title {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  font-size: var(--text-small);
  letter-spacing: 0.04em;
  color: var(--orange);
}

.shop-cart-item__line-total,
.shop-cart-summary__grand {
  font-family: var(--font-display);
  font-weight: 700;
}

/* --- Checkout page --- */
.shop-checkout-panel,
.shop-checkout-empty,
.shop-checkout-bank,
.shop-checkout-qr__frame,
.shop-ai-compare-panel {
  border-radius: 0;
  clip-path: var(--clip-card);
  border: 1px solid rgba(0, 174, 239, 0.3);
  background: var(--surface);
}

.shop-checkout-bank--pick {
  clip-path: var(--clip-sm);
}

.shop-checkout-bank__pick {
  border-radius: 0;
  clip-path: var(--clip-sm);
}

.shop-checkout-field input,
.shop-checkout-coupon input {
  border-radius: 0;
  clip-path: var(--clip-sm);
  border: 1px solid rgba(0, 174, 239, 0.35);
  background: var(--color-white);
}

.shop-checkout-coupon .btn-outline-sm {
  border-radius: 0;
  clip-path: var(--clip-sm);
}

.shop-checkout-line__thumb {
  border-radius: 0;
  clip-path: var(--clip-sm);
}

.shop-checkout-page__title {
  font-family: var(--font-display);
  font-weight: var(--font-display-weight);
  font-style: var(--font-display-style);
  letter-spacing: 0.03em;
}

.shop-checkout-panel__title,
.shop-checkout-qr__title {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  font-size: var(--text-small);
  letter-spacing: 0.04em;
  color: var(--orange);
}

.shop-checkout-totals__grand,
.shop-checkout-line__total {
  font-family: var(--font-display);
  font-weight: 700;
}

.shop-checkout-coupon__applied {
  font-family: var(--font-body);
  letter-spacing: 0.01em;
}

.shop-ai-entry {
  border: 1px solid rgba(0, 174, 239, 0.35);
  clip-path: var(--clip-md);
  background: var(--surface-solid);
}

.shop-ai-entry__badge {
  clip-path: var(--clip-sm);
  border-radius: 0;
}

.shop-ai-entry__form input,
.shop-ai-entry__form .shop-ai-entry__submit {
  border-radius: 0;
  clip-path: var(--clip-sm);
}

.shop-ai-entry__form input {
  border: 1px solid rgba(0, 174, 239, 0.25);
}

.shop-ai-workflow__step {
  clip-path: var(--clip-sm);
  border-radius: 0;
}

.shop-ai-build-card {
  clip-path: var(--clip-sm);
  border-radius: 0;
  border: 1px solid rgba(0, 174, 239, 0.25);
}

.shop-ai-build-card.is-selected {
  border-color: var(--cyan);
  box-shadow: 0 0 12px rgba(0, 174, 239, 0.2);
}

.shop-ai-build-card__delete {
  clip-path: var(--clip-sm);
  border-radius: 0;
}

.shop-ai-prompt-bar {
  clip-path: var(--clip-md);
  border: 1px solid rgba(0, 174, 239, 0.35);
}

.shop-ai-prompt-bar__target {
  clip-path: var(--clip-sm);
  border-radius: 0;
}

.shop-ai-prompt-bar__form textarea,
.shop-ai-prompt-bar__submit {
  clip-path: var(--clip-sm);
  border-radius: 0;
}

.shop-ai-compare-col__delete {
  clip-path: var(--clip-sm);
  border-radius: 0;
}

.shop-config-table,
.shop-ai-compare-table {
  clip-path: var(--clip-sm);
  border-radius: 0;
  border: 1px solid rgba(0, 174, 239, 0.25);
}

.shop-ai-compare-panel .shop-ai-compare-scroll {
  clip-path: var(--clip-sm);
}

.shop-ai-compare-col__badge {
  clip-path: var(--clip-sm);
  border-radius: 0;
}

/* --- Float contact dock --- */
.shop-float-contact {
  border-radius: 0;
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
  backdrop-filter: blur(12px);
  overflow: hidden;
}

.shop-float-contact__btn {
  border-radius: 0;
}

.shop-float-contact__btn--phone.btn-primary {
  clip-path: var(--clip-btn);
  box-shadow: 0 2px 10px rgba(227, 108, 9, 0.2);
}

.shop-float-contact__label {
  border-radius: 0;
  clip-path: var(--clip-sm);
}
