/* Tokens */
:root {
  --color-red: #b5564f;
  --color-red-hover: #94433d;
  --color-red-soft: #f7e8e6;
  --color-navy: #26313d;
  --color-navy-deep: #18222d;
  --color-text: #72777d;
  --color-text-strong: #343941;
  --color-text-muted: #767c82;
  --color-bg: #ffffff;
  --color-bg-soft: #f6f7f7;
  --color-bg-soft-2: #edf4f4;
  --color-border: #d8dddf;
  --color-border-2: #edf0f1;
  --color-cyan: #4eb4bb;
  --color-cyan-soft: #e5f6f7;
  --color-gold: #d8aa45;
  --color-green: #567a66;
  --color-error-bg: #fae8e6;
  --color-error-text: #8c2f2a;
  --color-success-bg: #e6f3ea;
  --color-success-text: #2f6842;
  --color-info-bg: #e5f1f7;
  --color-info-text: #275c78;
  --color-warning-bg: #fbf1d9;
  --color-warning-text: #7b5c1b;
  --grad-dark: linear-gradient(
    135deg,
    var(--color-navy-deep),
    var(--color-navy)
  );
  --grad-cyan: linear-gradient(135deg, var(--color-cyan), var(--color-red));
  --shadow-soft: 0 18px 42px rgba(24, 34, 45, 0.09);
  --shadow-line: 0 1px 0 rgba(24, 34, 45, 0.08);
  --container: 1160px;
  --radius: 6px;
  --radius-lg: 8px;
  --transition: 180ms ease;
  --transition-slow: 320ms ease;
  --nav-height: 58px;
}

/* Base */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-height) + 20px);
  background: var(--color-bg);
}

body {
  margin: 0;
  color: var(--color-text);
  background: var(--color-bg);
  font-family: "Asap", Arial, sans-serif;
  font-size: 15px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

body.is-locked {
  overflow: hidden;
}

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

a {
  color: var(--color-red);
  text-decoration: none;
  transition:
    color var(--transition),
    background-color var(--transition),
    border-color var(--transition);
}

a:hover {
  color: var(--color-cyan);
}

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

button {
  cursor: pointer;
}

:focus-visible {
  outline: 2px solid var(--color-cyan);
  outline-offset: 3px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
  color: var(--color-text-strong);
  font-family: "Roboto", Arial, sans-serif;
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: 0;
}

h1 {
  font-size: 38px;
  font-weight: 300;
}

h2 {
  font-size: 28px;
}

h3 {
  font-size: 21px;
}

h4 {
  font-size: 18px;
}

h5 {
  font-size: 16px;
}

h6 {
  font-size: 15px;
}

p {
  margin: 0 0 16px;
}

hr {
  height: 1px;
  margin: 22px 0;
  background: var(--color-border);
  border: 0;
}

blockquote {
  margin: 0;
  padding: 18px 22px;
  color: var(--color-text-strong);
  background: var(--color-bg-soft);
  border-left: 5px solid var(--color-red);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-style: italic;
}

table {
  width: 100%;
  border-collapse: collapse;
}

th,
td {
  padding: 14px 16px;
  border: 1px solid var(--color-border);
  text-align: left;
  vertical-align: top;
}

th {
  color: var(--color-text-strong);
  background: var(--color-bg-soft);
  font-weight: 700;
}

input,
select,
textarea {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  color: var(--color-text-strong);
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  transition:
    border-color var(--transition),
    box-shadow var(--transition);
}

textarea {
  min-height: 150px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--color-cyan);
  box-shadow: 0 0 0 3px var(--color-cyan-soft);
}

input[aria-invalid="true"],
textarea[aria-invalid="true"] {
  border-color: var(--color-red);
}

label {
  display: inline-block;
  margin-bottom: 7px;
  color: var(--color-text-strong);
  font-weight: 700;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 50;
  padding: 10px 14px;
  color: var(--color-bg);
  background: var(--color-navy-deep);
  border-radius: var(--radius);
  transform: translateY(-140%);
}

.skip-link:focus {
  transform: translateY(0);
}

/* Layout */
.container {
  width: min(var(--container), calc(100% - 40px));
  margin-inline: auto;
}

.section {
  padding: 64px 0;
}

.section-compact {
  padding: 42px 0;
}

.section-head {
  display: grid;
  gap: 8px;
  margin-bottom: 30px;
}

.section-head h2,
.section-head h3 {
  text-transform: uppercase;
}

.section-head p {
  max-width: 720px;
  margin: 0;
  color: var(--color-text-muted);
}

.text-center {
  text-align: center;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 40px;
  align-items: start;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

/* Buttons */
.btn {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 16px;
  color: var(--color-text-strong);
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  font-weight: 700;
  line-height: 1.1;
  transition:
    color var(--transition),
    background var(--transition),
    border-color var(--transition),
    transform var(--transition);
}

.btn:hover {
  color: var(--color-bg);
  background: var(--color-cyan);
  border-color: var(--color-cyan);
}

.btn:active {
  transform: translateY(1px);
}

.btn-primary {
  color: var(--color-bg);
  background: var(--color-red);
  border-color: var(--color-red);
}

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

.btn-dark {
  color: var(--color-bg);
  background: var(--color-navy);
  border-color: var(--color-navy);
}

.btn-dark:hover {
  color: var(--color-bg);
  background: var(--color-cyan);
  border-color: var(--color-cyan);
}

.btn-small {
  min-height: 34px;
  padding: 8px 12px;
  font-size: 13px;
}

.btn-large {
  min-height: 50px;
  padding: 13px 22px;
}

.icon-button {
  inline-size: 42px;
  min-height: 42px;
  padding: 0;
}

/* Header and navigation */
.site-header {
  position: relative;
  z-index: 20;
  background: var(--color-bg);
}

.top-bar {
  color: var(--color-bg);
  background: var(--grad-dark);
}

.top-bar-inner {
  display: flex;
  min-height: 42px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.currency-list,
.social-links,
.brand-actions,
.nav-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.currency-list a,
.social-links a {
  display: inline-flex;
  min-width: 32px;
  min-height: 32px;
  align-items: center;
  justify-content: center;
  color: var(--color-bg);
  border: 1px solid transparent;
  border-radius: var(--radius);
}

.currency-list a:hover,
.social-links a:hover {
  color: var(--color-cyan);
  border-color: rgba(255, 255, 255, 0.22);
}

.brand-row {
  display: grid;
  grid-template-columns: auto minmax(240px, 1fr) minmax(200px, auto);
  gap: 28px;
  align-items: center;
  padding: 24px 0;
}

.brand-row .logo {
  grid-column: 1;
}

.brand-row .site-search {
  grid-column: 2;
}

.brand-row .cart-summary {
  grid-column: 3;
}

.logo {
  display: inline-flex;
  align-items: center;
}

.logo img {
  width: 88px;
  height: 67px;
}

.site-search {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
}

.cart-summary {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 14px;
  color: var(--color-text-strong);
  background: var(--color-bg-soft);
  border: 1px solid var(--color-border-2);
  border-radius: var(--radius);
}

.cart-summary:hover {
  color: var(--color-bg);
  background: var(--color-red);
}

.main-nav {
  position: sticky;
  top: 0;
  z-index: 30;
  background: var(--color-navy);
  box-shadow: var(--shadow-line);
}

.main-nav.is-fixed {
  background: var(--color-navy-deep);
}

.nav-inner {
  display: flex;
  min-height: var(--nav-height);
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.nav-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 14px;
  color: var(--color-bg);
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius);
}

.nav-menu {
  display: flex;
  align-items: stretch;
  gap: 2px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-item {
  position: relative;
  display: flex;
  align-items: stretch;
}

.nav-link,
.submenu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: var(--nav-height);
  padding: 0 16px;
  color: var(--color-bg);
  background: transparent;
  border: 0;
  font-weight: 700;
}

.nav-link:hover,
.nav-link.active,
.nav-link[aria-current="page"],
.nav-item:focus-within > .nav-link,
.submenu-toggle:hover {
  color: var(--color-bg);
  background: var(--color-red);
}

.submenu-toggle {
  width: 42px;
  padding: 0;
}

.sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  display: grid;
  min-width: 220px;
  margin: 0;
  padding: 8px;
  list-style: none;
  background: var(--color-navy-deep);
  border-radius: 0 0 var(--radius) var(--radius);
  box-shadow: var(--shadow-soft);
  opacity: 0;
  transform: translateY(8px);
  visibility: hidden;
  transition:
    opacity var(--transition),
    transform var(--transition),
    visibility var(--transition);
}

.has-menu:hover .sub-menu,
.has-menu:focus-within .sub-menu,
.has-menu.is-open .sub-menu {
  opacity: 1;
  transform: translateY(0);
  visibility: visible;
}

.sub-menu a {
  display: block;
  padding: 10px 12px;
  color: var(--color-bg);
  border-radius: var(--radius);
}

.sub-menu a:hover,
.sub-menu a[aria-current="page"] {
  color: var(--color-bg);
  background: var(--color-red);
}

/* Hero carousel */
.hero-carousel {
  position: relative;
  overflow: hidden;
  background: var(--color-navy-deep);
}

.hero-track {
  position: relative;
  min-height: 500px;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity var(--transition-slow);
}

.hero-slide.is-active {
  opacity: 1;
}

.hero-slide img {
  width: 100%;
  height: 500px;
  object-fit: cover;
}

.hero-content {
  position: absolute;
  inset: 0;
  display: grid;
  align-items: end;
  padding: 0 0 64px;
  color: var(--color-bg);
  background: linear-gradient(
    90deg,
    rgba(24, 34, 45, 0.84),
    rgba(24, 34, 45, 0.18)
  );
}

.hero-panel {
  display: grid;
  max-width: 620px;
  gap: 14px;
}

.hero-panel h1,
.hero-panel p {
  color: var(--color-bg);
}

.hero-panel p {
  max-width: 520px;
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 18px;
}

.eyebrow {
  color: var(--color-red);
  font-weight: 700;
  text-transform: uppercase;
}

.hero-panel .eyebrow {
  color: var(--color-cyan);
}

.hero-controls {
  position: absolute;
  right: max(20px, calc((100% - var(--container)) / 2));
  bottom: 30px;
  display: flex;
  gap: 10px;
}

.hero-controls button {
  inline-size: 40px;
  min-height: 40px;
  color: var(--color-bg);
  background: rgba(24, 34, 45, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: var(--radius);
}

.hero-controls button:hover {
  background: var(--color-red);
}

/* Cards and content blocks */
.feature-card,
.service,
.box-white,
.box-gray,
.box-theme-color,
.product,
.product-list-item,
.sidebar-panel,
.form-panel,
.totals-panel,
.comment,
.component-surface {
  border-radius: var(--radius-lg);
}

.feature-card {
  display: grid;
  gap: 12px;
  padding: 24px;
  background: var(--color-bg);
  border: 1px solid var(--color-border-2);
  box-shadow: var(--shadow-line);
}

.feature-card h3,
.service h3 {
  display: flex;
  gap: 10px;
  align-items: center;
}

.feature-icon,
.service-icon {
  display: inline-flex;
  inline-size: 46px;
  min-width: 46px;
  block-size: 46px;
  align-items: center;
  justify-content: center;
  color: var(--color-bg);
  background: var(--grad-cyan);
  border-radius: 50%;
}

.skill-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 42px;
  align-items: center;
}

.progress-list {
  display: grid;
  gap: 14px;
}

.progress-item {
  display: grid;
  gap: 7px;
}

.progress-label {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: var(--color-text-strong);
  font-weight: 700;
}

.progress-track {
  overflow: hidden;
  height: 14px;
  background: var(--color-bg-soft);
  border-radius: 999px;
}

.progress-fill {
  display: block;
  height: 100%;
  width: 0;
  background: var(--grad-cyan);
  border-radius: inherit;
  transform-origin: left center;
  transition:
    width 900ms ease,
    transform 900ms ease;
}

.progress-fill[data-percentage="70"] {
  width: 70%;
}

.progress-fill[data-percentage="82"] {
  width: 82%;
}

.progress-fill[data-percentage="85"] {
  width: 85%;
}

.progress-fill[data-percentage="90"] {
  width: 90%;
}

.progress-fill[data-percentage="94"] {
  width: 94%;
}

.progress-fill[data-percentage="100"] {
  width: 100%;
}

.has-js .progress-fill {
  transform: scaleX(0);
}

.has-js .progress-fill.is-inview {
  transform: scaleX(1);
}

.list-clean,
.footer-links,
.comment-list,
.payment-methods,
.filter-list,
.tabs-list,
.accordion-list,
.pagination,
.social-icon-grid {
  margin: 0;
  padding: 0;
  list-style: none;
}

.icon-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.icon-list li,
.icon-list a {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.icon-list i {
  min-width: 18px;
  color: var(--color-red);
  line-height: 1.6;
}

.quote-band {
  padding: 38px;
  color: var(--color-bg);
  background: var(--grad-dark);
  border-radius: var(--radius-lg);
  text-align: center;
}

.quote-band h2,
.quote-band h3,
.quote-band p {
  color: var(--color-bg);
}

.quote-band p {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.78);
}

.parallax-band {
  min-height: 300px;
  display: grid;
  place-items: center;
  padding: 70px 20px;
  color: var(--color-bg);
  background-color: var(--color-navy-deep);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  text-align: center;
  position: relative;
}

.parallax-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(24, 34, 45, 0.6);
}

.parallax-inner {
  position: relative;
  display: grid;
  gap: 10px;
}

.parallax-inner h2,
.parallax-inner p {
  color: var(--color-bg);
}

.parallax-inner p {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-weight: 700;
  text-transform: uppercase;
}

.service {
  display: grid;
  justify-items: center;
  gap: 15px;
  padding: 30px 24px;
  text-align: center;
  background: var(--color-bg-soft);
}

.service h3 {
  justify-content: center;
}

.partners-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 18px;
  align-items: center;
}

.partner-logo {
  display: grid;
  place-items: center;
  min-height: 96px;
  padding: 16px;
  background: var(--color-bg);
  border: 1px solid var(--color-border-2);
  border-radius: var(--radius);
}

.partner-logo img {
  max-height: 74px;
  object-fit: contain;
}

.footer-strip {
  height: 10px;
  background: repeating-linear-gradient(
    45deg,
    var(--color-bg-soft),
    var(--color-bg-soft) 6px,
    var(--color-border-2) 6px,
    var(--color-border-2) 12px
  );
}

.site-footer {
  background: var(--color-bg);
}

.footer-main {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px;
  padding: 54px 0 42px;
}

.footer-main h4 {
  margin-bottom: 12px;
  text-transform: uppercase;
}

.footer-links {
  display: grid;
  gap: 8px;
}

.newsletter-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  margin-top: 14px;
}

.footer-bottom {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  padding: 38px 0;
}

.footer-logo {
  width: 60px;
  height: 46px;
}

.copyright {
  color: var(--color-text-muted);
  font-size: 14px;
}

.footer-bottom .social-links a {
  color: var(--color-navy);
  border-color: var(--color-border);
}

.footer-bottom .social-links a:hover {
  color: var(--color-bg);
  background: var(--color-cyan);
  border-color: var(--color-cyan);
}

.page-hero {
  padding: 46px 0;
  background: var(--color-bg-soft);
  border-bottom: 1px solid var(--color-border-2);
}

.page-hero-inner {
  display: grid;
  gap: 12px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin: 0;
  padding: 0;
  color: var(--color-text-muted);
  list-style: none;
}

.breadcrumb li:not(:last-child)::after {
  content: "/";
  margin-left: 8px;
  color: var(--color-border);
}

.breadcrumb [aria-current="page"] {
  color: var(--color-text-muted);
}

.tabs {
  display: grid;
  gap: 0;
}

.tabs-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  border-bottom: 1px solid var(--color-border);
}

.tab-button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 8px;
  padding: 0 16px;
  color: var(--color-text-strong);
  background: var(--color-bg-soft);
  border: 1px solid var(--color-border);
  border-bottom: 0;
  border-radius: var(--radius) var(--radius) 0 0;
  font-weight: 700;
}

.tab-button[aria-selected="true"] {
  color: var(--color-bg);
  background: var(--color-red);
  border-color: var(--color-red);
}

.tab-panel {
  padding: 24px;
  border: 1px solid var(--color-border);
  border-top: 0;
  border-radius: 0 0 var(--radius) var(--radius);
}

.accordion-list {
  display: grid;
  gap: 10px;
}

.accordion-item {
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  overflow: hidden;
}

.accordion-button {
  display: flex;
  width: 100%;
  min-height: 52px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 18px;
  color: var(--color-text-strong);
  background: var(--color-bg-soft);
  border: 0;
  font-weight: 700;
  text-align: left;
}

.accordion-button[aria-expanded="true"] i {
  transform: rotate(180deg);
}

.accordion-panel {
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
  gap: 20px;
  align-items: start;
  padding: 20px;
}

.accordion-panel[hidden] {
  display: none;
}

.accordion-panel img {
  width: 210px;
  border-radius: var(--radius);
}

.box-white,
.box-gray,
.box-theme-color {
  padding: 26px;
  border: 1px solid var(--color-border-2);
}

.box-white {
  background: var(--color-bg);
}

.box-gray {
  background: var(--color-bg-soft);
}

.box-theme-color {
  color: var(--color-bg);
  background: var(--color-red);
  border-color: var(--color-red);
}

.box-theme-color h3,
.box-theme-color h4,
.box-theme-color p {
  color: var(--color-bg);
}

.ad-banner img {
  width: 100%;
  border-radius: var(--radius);
}

/* Shop */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

.product {
  display: grid;
  grid-template-rows: auto 1fr;
  overflow: hidden;
  background: var(--color-bg);
  border: 1px solid var(--color-border-2);
  box-shadow: var(--shadow-line);
}

.product-image {
  display: block;
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--color-bg-soft);
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-info {
  display: grid;
  gap: 10px;
  padding: 18px;
}

.rating {
  display: flex;
  gap: 3px;
  color: var(--color-gold);
  font-size: 13px;
}

.price,
.new-price {
  color: var(--color-red);
  font-weight: 700;
}

.old-price {
  margin-right: 10px;
  color: var(--color-text-muted);
  text-decoration: line-through;
}

.shop-layout {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 34px;
  align-items: start;
}

.sidebar-panel {
  display: grid;
  gap: 26px;
  padding: 24px;
  background: var(--color-bg-soft);
}

.filter-group {
  display: grid;
  gap: 10px;
}

.filter-list {
  display: grid;
  gap: 7px;
}

.filter-list a {
  display: flex;
  gap: 8px;
  align-items: center;
  color: var(--color-text);
}

.filter-list a:hover {
  color: var(--color-cyan);
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tags a {
  display: inline-flex;
  min-height: 31px;
  align-items: center;
  padding: 5px 10px;
  color: var(--color-text-strong);
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
}

.tags a:hover {
  color: var(--color-bg);
  background: var(--color-cyan);
  border-color: var(--color-cyan);
}

.product-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  padding: 14px;
  background: var(--color-bg-soft);
  border-radius: var(--radius);
}

.toolbar-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.toolbar-group select {
  width: auto;
  min-width: 150px;
}

.product-list {
  display: grid;
  gap: 22px;
  margin: 28px 0;
}

.product-list-item {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  gap: 24px;
  padding: 18px;
  background: var(--color-bg);
  border: 1px solid var(--color-border-2);
}

.product-list-item img {
  width: 190px;
  height: 190px;
  object-fit: cover;
  border-radius: var(--radius);
}

.product-list-data {
  display: grid;
  gap: 12px;
}

.product-list-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}

.pagination-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
}

.pagination {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.pagination a,
.pagination span {
  display: inline-flex;
  min-width: 36px;
  min-height: 36px;
  align-items: center;
  justify-content: center;
  padding: 0 10px;
  color: var(--color-text-strong);
  background: var(--color-bg-soft);
  border-radius: var(--radius);
}

.pagination a:hover,
.pagination .active {
  color: var(--color-bg);
  background: var(--color-red);
}

.detail-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  gap: 34px;
  align-items: start;
}

.detail-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-lg);
}

.purchase-panel {
  display: grid;
  gap: 16px;
  padding: 24px;
  background: var(--color-bg-soft);
  border-radius: var(--radius-lg);
}

.quantity-control {
  display: grid;
  gap: 8px;
  justify-items: start;
}

.quantity-control .qty-field {
  width: 96px;
}

.comments {
  display: grid;
  gap: 18px;
}

.comment-list {
  display: grid;
  gap: 18px;
}

.comment {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 16px;
  padding: 18px;
  background: var(--color-bg-soft);
}

.comment.is-child {
  margin-left: 58px;
}

.comment img {
  width: 59px;
  height: 58px;
  border-radius: 50%;
}

.comment-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: baseline;
  margin-bottom: 8px;
  color: var(--color-text-muted);
  font-size: 14px;
}

.reply-form {
  display: grid;
  gap: 16px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.form-row-full {
  grid-column: 1 / -1;
}

.form-note,
.form-status {
  color: var(--color-text-muted);
  font-size: 14px;
}

.form-status {
  min-height: 0;
}

.form-status:empty {
  display: none;
}

.error-text {
  display: none;
  margin-top: 5px;
  color: var(--color-error-text);
  font-size: 13px;
}

[aria-invalid="true"] + .error-text {
  display: block;
}

.login-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
}

.form-panel,
.totals-panel {
  display: grid;
  gap: 16px;
  padding: 24px;
  background: var(--color-bg-soft);
}

.cart-table-wrap {
  overflow-x: auto;
}

.cart-product {
  display: grid;
  grid-template-columns: 80px minmax(180px, 1fr);
  gap: 14px;
  align-items: start;
}

.cart-product img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: var(--radius);
}

.cart-product dl {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0 6px;
  margin: 6px 0 0;
  color: var(--color-text-muted);
  font-size: 14px;
}

.cart-product dt {
  color: var(--color-text-strong);
  font-weight: 700;
}

.qty-field {
  width: 74px;
}

.remove-item {
  margin-top: 8px;
  color: var(--color-red);
  background: transparent;
  border: 0;
  font-weight: 700;
}

.checkout-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 32px;
  align-items: start;
}

.check-list {
  display: grid;
  gap: 10px;
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
}

.check-list label {
  display: flex;
  gap: 10px;
  align-items: center;
  margin: 0;
  color: var(--color-text);
  font-weight: 500;
}

.check-list input {
  width: auto;
  min-height: auto;
}

.totals-table th,
.totals-table td {
  border-color: var(--color-border-2);
}

.payment-fieldset {
  display: grid;
  gap: 16px;
  margin: 0;
  padding: 0;
  border: 0;
}

.payment-fieldset legend {
  margin: 0 0 16px;
  padding: 0;
  color: var(--color-text-strong);
  font-family: "Roboto", Arial, sans-serif;
  font-size: 28px;
  font-weight: 500;
  line-height: 1.25;
}

.payment-methods {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  margin-bottom: 18px;
}

.payment-methods label {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  margin: 0;
  padding: 10px;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
}

.payment-methods input {
  width: auto;
  min-height: auto;
}

/* Contact and components */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

.contact-card {
  display: grid;
  gap: 8px;
  padding: 22px;
  background: var(--color-bg-soft);
  border-radius: var(--radius-lg);
}

.contact-card address {
  font-style: normal;
}

.contact-list {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 6px 12px;
  margin: 0;
}

.contact-list dt {
  color: var(--color-text-strong);
  font-weight: 700;
}

.contact-list dd {
  margin: 0;
}

.map-frame {
  width: 100%;
  min-height: 360px;
  border: 0;
  border-radius: var(--radius-lg);
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 40px;
}

.social-icon-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.social-icon-grid a,
.social-variant a {
  display: inline-flex;
  inline-size: 38px;
  block-size: 38px;
  align-items: center;
  justify-content: center;
  color: var(--color-text-strong);
  background: var(--color-bg-soft);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
}

.social-icon-grid a:hover,
.social-variant a:hover {
  color: var(--color-bg);
  background: var(--color-cyan);
  border-color: var(--color-cyan);
}

.social-variant {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.social-variant.round a {
  border-radius: 50%;
}

.social-variant.dark a {
  color: var(--color-bg);
  background: var(--color-navy);
  border-color: var(--color-navy);
}

.alert {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 14px 16px;
  border-radius: var(--radius);
  border: 1px solid var(--color-border);
}

.alert-error {
  color: var(--color-error-text);
  background: var(--color-error-bg);
  border-color: var(--color-error-bg);
}

.alert-success {
  color: var(--color-success-text);
  background: var(--color-success-bg);
  border-color: var(--color-success-bg);
}

.alert-info {
  color: var(--color-info-text);
  background: var(--color-info-bg);
  border-color: var(--color-info-bg);
}

.alert-warning {
  color: var(--color-warning-text);
  background: var(--color-warning-bg);
  border-color: var(--color-warning-bg);
}

.alert-close {
  inline-size: 34px;
  min-height: 34px;
  padding: 0;
  color: inherit;
  background: transparent;
  border: 0;
  border-radius: var(--radius);
}

.component-grid {
  display: grid;
  gap: 34px;
}

.component-surface {
  padding: 26px;
  background: var(--color-bg);
  border: 1px solid var(--color-border-2);
}

.heading-stack {
  display: grid;
  gap: 12px;
}

/* Motion */
@media (prefers-reduced-motion: no-preference) {
  .feature-card,
  .service,
  .product,
  .product-list-item {
    transition:
      transform var(--transition),
      box-shadow var(--transition);
  }

  .feature-card:hover,
  .service:hover,
  .product:hover,
  .product-list-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-soft);
  }
}

@media (prefers-reduced-motion: reduce) {
  .has-js .progress-fill,
  .has-js .progress-fill.is-inview {
    transform: none;
  }
}

/* Responsive */
@media (max-width: 991px) {
  :root {
    --nav-height: 54px;
  }

  .container {
    width: min(var(--container), calc(100% - 28px));
  }

  .brand-row {
    grid-template-columns: 1fr auto;
  }

  .brand-row .logo {
    grid-column: 1;
    grid-row: 1;
  }

  .brand-row .cart-summary {
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
  }

  .brand-row .site-search {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav-menu {
    position: absolute;
    top: 100%;
    left: 14px;
    right: 14px;
    display: none;
    max-height: calc(100vh - var(--nav-height) - 20px);
    overflow: auto;
    flex-direction: column;
    align-items: stretch;
    padding: 8px;
    background: var(--color-navy-deep);
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
    box-shadow: var(--shadow-soft);
  }

  .main-nav.is-open .nav-menu {
    display: flex;
  }

  .nav-item {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .nav-link,
  .submenu-toggle {
    min-height: 46px;
    justify-content: flex-start;
  }

  .submenu-toggle {
    justify-content: center;
  }

  .sub-menu {
    position: static;
    display: none;
    grid-column: 1 / -1;
    min-width: 0;
    box-shadow: none;
    opacity: 1;
    transform: none;
    visibility: visible;
  }

  .has-menu:hover .sub-menu,
  .has-menu:focus-within .sub-menu {
    display: none;
  }

  .has-menu.is-open .sub-menu {
    display: grid;
  }

  .hero-track,
  .hero-slide img {
    min-height: 420px;
    height: 420px;
  }

  .skill-grid,
  .shop-layout,
  .detail-hero,
  .checkout-grid,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .footer-main,
  .partners-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

}

@media (max-width: 768px) {
  h1 {
    font-size: 30px;
  }

  h2 {
    font-size: 24px;
  }

  .section {
    padding: 48px 0;
  }

  .grid-2,
  .grid-3,
  .grid-4,
  .product-grid,
  .login-grid,
  .contact-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .hero-content {
    padding-bottom: 86px;
  }

  .hero-panel p {
    font-size: 16px;
  }

  .hero-controls {
    left: 14px;
    right: auto;
  }

  .product-list-item {
    grid-template-columns: 1fr;
  }

  .product-list-item img {
    width: 100%;
    height: auto;
    aspect-ratio: 1;
  }

  .footer-bottom {
    grid-template-columns: 1fr;
    justify-items: start;
  }

  .accordion-panel img {
    width: 100%;
  }

  .accordion-panel {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .top-bar-inner,
  .brand-row,
  .brand-actions,
  .product-toolbar,
  .pagination-wrap {
    align-items: stretch;
  }

  .top-bar-inner,
  .brand-actions,
  .footer-main {
    grid-template-columns: 1fr;
  }

  .brand-row {
    grid-template-columns: 1fr;
  }

  .brand-row .logo,
  .brand-row .cart-summary,
  .brand-row .site-search {
    grid-column: 1;
    grid-row: auto;
    justify-self: stretch;
  }

  .site-search,
  .newsletter-form {
    grid-template-columns: 1fr auto;
  }

  .hero-track,
  .hero-slide img {
    min-height: 390px;
    height: 390px;
  }

  .hero-panel {
    max-width: 100%;
  }

  .tab-button {
    flex: 1 1 100%;
    justify-content: center;
  }

  .cart-product {
    grid-template-columns: 1fr;
  }

  .comment {
    grid-template-columns: 1fr;
  }

  .comment.is-child {
    margin-left: 24px;
  }
}
