:root {
  color: #050505;
  background: #ffffff;
  font-family: Arial, Helvetica, sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
  margin: 0;
}

body {
  display: flex;
  flex-direction: column;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 150px;
  border-bottom: 1px solid #000;
  background: #fff;
}

.logo-link {
  display: block;
  line-height: 0;
}

.site-logo {
  display: block;
  width: min(400px, calc(100vw - 48px));
  height: auto;
}

.site-menu {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 82px;
  padding: 6px clamp(24px, 6vw, 112px);
  border-bottom: 1px solid #000;
  font-family: Candara, Calibri, Arial, sans-serif;
  font-size: 17px;
}

.menu-links,
.menu-actions {
  display: flex;
  align-items: center;
}

.menu-links {
  gap: clamp(24px, 5vw, 72px);
}

.menu-actions {
  gap: 12px;
}

.menu-links a {
  color: inherit;
  text-decoration: none;
}

.menu-links a:hover,
.menu-links a:focus-visible {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.menu-action {
  position: relative;
  display: grid;
  place-items: center;
  width: 68px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}

.menu-cart-link {
  text-decoration: none;
}

.cart-badge {
  position: absolute;
  top: -1px;
  right: 1px;
  display: grid;
  place-items: center;
  min-width: 19px;
  height: 19px;
  padding: 0 5px;
  border-radius: 10px;
  background: #005bff;
  color: #fff;
  font: 700 12px/1 Arial, sans-serif;
}

.menu-action img {
  display: block;
  width: 100%;
  height: auto;
}

.menu-action:hover,
.menu-action:focus-visible {
  opacity: 0.68;
}

main {
  flex: 1;
}

.catalog {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 64px 0 88px;
  font-family: Candara, Calibri, Arial, sans-serif;
}

.catalog h1 {
  margin: 0 0 32px;
  font-size: clamp(32px, 4vw, 44px);
  font-weight: 400;
}

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

.product-card {
  grid-column: span 1;
  min-width: 0;
}

.product-card-link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.product-card-link:hover .product-details h2,
.product-card-link:focus-visible .product-details h2 {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.product-gallery {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  background: #f4f3f1;
}

.product-main-image {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: #f4f3f1;
  transition: opacity 120ms ease;
}

.product-hover-zones {
  display: grid;
  position: absolute;
  inset: 0;
  grid-template-columns: repeat(var(--product-images, 4), 1fr);
}

.product-hover-zone {
  padding: 0;
  border: 0;
  background: transparent;
}

.product-image-dots {
  display: flex;
  position: absolute;
  right: 0;
  bottom: 10px;
  left: 0;
  justify-content: center;
  gap: 4px;
  pointer-events: none;
}

.product-image-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
}

.product-image-dot.is-active {
  width: 16px;
  border-radius: 4px;
  background: #242424;
}

.product-details {
  padding: 12px 8px 0;
}

.add-to-cart-button,
.product-buy-button {
  border: 0;
  border-radius: 10px;
  background: #005bff;
  color: #fff;
  font: 600 16px Candara, Calibri, Arial, sans-serif;
  cursor: pointer;
  transition: background 150ms ease, transform 150ms ease;
}

.add-to-cart-button {
  width: calc(100% - 16px);
  margin: 14px 8px 0;
  padding: 10px 14px;
}

.product-buy-button {
  width: 100%;
  margin: -12px 0 30px;
  padding: 15px 22px;
  font-size: 18px;
}

.add-to-cart-button:hover,
.product-buy-button:hover,
.add-to-cart-button:focus-visible,
.product-buy-button:focus-visible {
  background: #0049ca;
}

.add-to-cart-button:active,
.product-buy-button:active {
  transform: scale(0.98);
}

.add-to-cart-button.is-added,
.product-buy-button.is-added {
  background: #23873f;
}

.cart-page {
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
  padding: 46px 0 88px;
  font-family: Candara, Calibri, Arial, sans-serif;
}

.cart-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 22px;
  margin-bottom: 24px;
}

.cart-heading h1 {
  margin: 0;
  font-size: 34px;
}

.cart-heading h1 span {
  color: #747474;
  font-size: 18px;
  font-weight: 400;
}

.cart-heading a {
  color: #1f5fc4;
  text-underline-offset: 3px;
}

.cart-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(310px, 0.85fr);
  gap: 22px;
  align-items: start;
}

.cart-items-panel,
.cart-summary {
  border-radius: 20px;
  background: #f4f7fb;
}

.cart-items-panel {
  overflow: hidden;
  padding: 16px;
}

.cart-panel-label {
  padding: 12px 14px;
  border-radius: 12px;
  background: #eaf0f7;
  font-weight: 700;
}

.cart-item {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr) auto auto;
  gap: 16px;
  align-items: center;
  padding: 18px 8px;
  border-bottom: 1px solid #dde3eb;
}

.cart-item-image {
  display: block;
  overflow: hidden;
  border-radius: 12px;
  background: #fff;
}

.cart-item-image img {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.cart-item-name {
  color: inherit;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
}

.cart-item-name:hover,
.cart-item-name:focus-visible { text-decoration: underline; }

.cart-item-meta,
.cart-summary-note {
  margin: 7px 0 0;
  color: #63748c;
  font-size: 14px;
  line-height: 1.25;
}

.cart-item-controls {
  display: grid;
  justify-items: center;
  gap: 8px;
}

.quantity-control {
  display: grid;
  grid-template-columns: 34px 32px 34px;
  align-items: center;
  min-height: 36px;
  border-radius: 10px;
  background: #eaf0f7;
  text-align: center;
}

.quantity-control button {
  height: 36px;
  border: 0;
  background: transparent;
  color: #1c2b3d;
  font: 700 22px/1 Arial, sans-serif;
  cursor: pointer;
}

.quantity-control button:hover,
.quantity-control button:focus-visible { background: #dce7f5; }

.cart-remove {
  border: 0;
  background: transparent;
  color: #63748c;
  font: 14px Candara, Calibri, Arial, sans-serif;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

.cart-item-price { white-space: nowrap; font-size: 18px; }

.cart-summary {
  position: sticky;
  top: 20px;
  padding: 22px;
  background: #fff;
  box-shadow: 0 6px 24px rgba(23, 42, 67, 0.1);
}

.cart-summary h2 { margin: 28px 0 14px; font-size: 22px; }

.cart-primary-button {
  display: block;
  width: 100%;
  padding: 15px;
  border-radius: 11px;
  background: #005bff;
  color: #fff;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
}

.cart-primary-button:hover,
.cart-primary-button:focus-visible { background: #0049ca; }

.cart-total-row {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 11px 0;
  border-bottom: 1px solid #dbe1e9;
}

.cart-total-row--final { margin-top: 10px; border-bottom: 0; font-size: 22px; }
.cart-total-row--final strong:last-child { color: #23873f; }

.cart-empty { padding: 46px 22px; text-align: center; }
.cart-empty h2 { margin: 0; font-size: 25px; }
.cart-empty p { margin: 10px 0 26px; color: #63748c; }
.cart-empty .cart-primary-button { max-width: 260px; margin: 0 auto; }

.product-details h2,
.product-price {
  margin: 0;
}

@media (max-width: 980px) {
  .product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 26px 12px;
  }

  .product-details {
    padding: 10px 4px 0;
  }

  .product-details h2 {
    font-size: 15px;
  }

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

  .product-page {
    width: min(100% - 32px, 1180px);
    padding: 20px 0 56px;
  }

  .product-detail-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }

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

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

  .product-detail-thumbnail {
    width: 100%;
  }

  .product-detail-info h1 {
    font-size: 30px;
  }
}

.product-details h2 {
  overflow: hidden;
  font-size: 17px;
  font-weight: 400;
  line-height: 1.24;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.product-price {
  margin-top: 5px;
  font-size: 23px;
  font-weight: 700;
  line-height: 1.05;
}

.page-main {
  width: min(900px, calc(100% - 48px));
  margin: 0 auto;
  padding: 72px 0;
  font-family: Candara, Calibri, Arial, sans-serif;
}

.page-main h1 {
  margin: 0 0 20px;
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 400;
}

.page-main p {
  max-width: 680px;
  margin: 0;
  font-size: 18px;
  line-height: 1.5;
}

.account-page {
  display: grid;
  flex: 1;
  place-items: center;
  width: min(960px, calc(100% - 48px));
  margin: 0 auto;
  padding: 72px 0;
  font-family: Candara, Calibri, Arial, sans-serif;
}

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

.account-panel--login {
  width: min(100%, 568px);
}

.account-panel h1,
.account-panel h2 {
  margin: 0 0 20px;
  font-size: 32px;
  font-weight: 400;
}

.account-panel p {
  margin: 0 0 24px;
  font-size: 18px;
  line-height: 1.4;
}

.account-form {
  display: grid;
  gap: 18px;
}

.account-form label {
  display: grid;
  gap: 7px;
  font-size: 17px;
}

.account-form .registration-consent {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 14px;
  line-height: 1.35;
}

.registration-consent input {
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  margin: 2px 0 0;
}

.registration-consent a {
  color: inherit;
  text-underline-offset: 3px;
}

.account-form input {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #000;
  border-radius: 0;
  font: inherit;
}

.account-submit {
  justify-self: start;
  padding: 11px 20px;
  border: 1px solid #000;
  border-radius: 0;
  background: #000;
  color: #fff;
  font: inherit;
  cursor: pointer;
}

.account-form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px 26px;
  margin-top: 6px;
}

.account-submit--link {
  display: inline-block;
  text-decoration: none;
}

.account-text-link {
  color: inherit;
  text-underline-offset: 3px;
}

.account-dashboard {
  width: min(100%, 1080px);
}

.account-dashboard-heading {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: flex-start;
  margin-bottom: 32px;
}

.account-dashboard-heading h1,
.account-profile h2,
.account-orders h2 {
  margin: 0;
  font-size: 32px;
  font-weight: 400;
}

.account-dashboard-heading p {
  margin: 8px 0 0;
}

.account-dashboard-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.85fr) minmax(0, 1.15fr);
  gap: 36px;
}

.account-layout {
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
  gap: 36px;
  align-items: start;
}

.account-sidebar {
  display: grid;
  gap: 4px;
}

.account-sidebar a {
  padding: 12px 14px;
  color: inherit;
  font-size: 18px;
  text-decoration: none;
}

.account-sidebar a:hover,
.account-sidebar a:focus-visible,
.account-sidebar a.is-active {
  background: #f1f0ee;
}

.account-sidebar a.is-active {
  font-weight: 700;
}

.account-content {
  min-height: 360px;
  padding: 30px;
  border: 1px solid #000;
}

.account-content h2 {
  margin: 0;
  font-size: 30px;
  font-weight: 400;
}

.account-content-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.account-content .account-form,
.account-content .orders-table {
  max-width: 640px;
  margin-top: 26px;
}

.profile-notice {
  max-width: 610px;
  margin: 26px 0 0;
  padding: 14px 16px;
  border-left: 3px solid #000;
  background: #f1f0ee;
  font-size: 18px;
  line-height: 1.35;
}

.profile-details {
  max-width: 660px;
  margin: 26px 0 0;
}

.profile-details div {
  display: grid;
  grid-template-columns: minmax(140px, 0.65fr) minmax(180px, 1.35fr);
  gap: 22px;
  padding: 14px 0;
  border-bottom: 1px solid #d8d8d8;
}

.profile-details dt,
.profile-details dd {
  margin: 0;
}

.profile-details dt {
  color: #6d6d6d;
}

.account-profile,
.account-orders {
  padding: 28px;
  border: 1px solid #000;
}

.account-profile .account-form {
  margin-top: 24px;
}

.account-form textarea {
  width: 100%;
  resize: vertical;
  padding: 10px 12px;
  border: 1px solid #000;
  border-radius: 0;
  font: inherit;
}

.address-autocomplete {
  position: relative;
}

.address-suggestions {
  position: absolute;
  z-index: 5;
  right: 0;
  left: 0;
  overflow: hidden;
  border: 1px solid #000;
  background: #fff;
  box-shadow: 0 7px 18px rgba(0, 0, 0, 0.14);
}

.address-suggestions button {
  display: block;
  width: 100%;
  padding: 10px 12px;
  border: 0;
  border-bottom: 1px solid #e1e1e1;
  background: #fff;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.address-suggestions button:hover,
.address-suggestions button:focus-visible {
  background: #f1f0ee;
}

.orders-table {
  display: grid;
  margin-top: 24px;
}

.orders-row {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) 110px;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid #d6d6d6;
  line-height: 1.3;
}

.orders-row--head {
  padding-top: 0;
  color: #666;
  font-size: 15px;
}

.order-status {
  font-weight: 700;
}

.empty-orders {
  margin: 24px 0 0;
  color: #666;
}

.account-logout {
  margin-top: 24px;
}

.account-text-button {
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

.admin-page {
  width: min(1080px, calc(100% - 48px));
  margin: 0 auto;
  padding: 64px 0 88px;
  font-family: Candara, Calibri, Arial, sans-serif;
}

.admin-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 38px;
}

.admin-heading h1,
.admin-form-section h2,
.admin-products h2 {
  margin: 0;
  font-size: 32px;
  font-weight: 400;
}

.admin-heading p {
  margin: 8px 0 0;
}

.admin-form-section,
.admin-products {
  padding: 28px;
  border: 1px solid #000;
}

.admin-products {
  margin-top: 36px;
}

.admin-form {
  display: grid;
  gap: 18px;
  max-width: 620px;
  margin-top: 24px;
}

.admin-form label {
  display: grid;
  gap: 7px;
  font-size: 17px;
}

.admin-form input:not([type="checkbox"]) {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #000;
  border-radius: 0;
  font: inherit;
}

.admin-form textarea {
  width: 100%;
  resize: vertical;
  padding: 10px 12px;
  border: 1px solid #000;
  border-radius: 0;
  font: inherit;
}

.product-page {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 30px 0 88px;
  font-family: Candara, Calibri, Arial, sans-serif;
}

.breadcrumbs {
  display: flex;
  gap: 8px;
  overflow: hidden;
  margin-bottom: 28px;
  color: #767676;
  font-size: 15px;
  white-space: nowrap;
}

.breadcrumbs a {
  color: inherit;
}

.breadcrumbs span:last-child {
  overflow: hidden;
  text-overflow: ellipsis;
}

.product-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  gap: clamp(40px, 7vw, 104px);
  align-items: start;
}

.product-detail-gallery {
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr);
  gap: 14px;
}

.product-detail-thumbnails {
  display: grid;
  align-content: start;
  gap: 10px;
}

.product-detail-thumbnail {
  overflow: hidden;
  width: 82px;
  padding: 0;
  border: 1px solid transparent;
  border-radius: 12px;
  background: #f4f3f1;
  cursor: pointer;
}

.product-detail-thumbnail.is-active,
.product-detail-thumbnail:focus-visible {
  border-color: #000;
}

.product-detail-thumbnail img {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.product-detail-main {
  overflow: hidden;
  border-radius: 24px;
  background: #f4f3f1;
}

.product-detail-image {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.product-detail-info h1 {
  margin: 0;
  font-size: clamp(30px, 3vw, 42px);
  font-weight: 400;
  line-height: 1.08;
}

.product-detail-price {
  margin: 22px 0 34px;
  font-size: 32px;
  font-weight: 700;
}

.product-description,
.product-specifications {
  padding-top: 26px;
  border-top: 1px solid #d4d4d4;
}

.product-specifications {
  margin-top: 28px;
}

.product-description h2,
.product-specifications h2 {
  margin: 0 0 14px;
  font-size: 22px;
  font-weight: 400;
}

.product-description p {
  margin: 0;
  font-size: 18px;
  line-height: 1.5;
}

.product-specifications dl {
  margin: 0;
}

.product-specifications dl div {
  display: grid;
  grid-template-columns: minmax(120px, 1fr) minmax(150px, 1fr);
  gap: 24px;
  padding: 11px 0;
  border-bottom: 1px solid #e2e2e2;
}

.product-specifications dt,
.product-specifications dd {
  margin: 0;
}

.product-specifications dt {
  color: #737373;
}

.admin-form .admin-checkbox {
  display: flex;
  align-items: center;
  gap: 9px;
}

.admin-product-list {
  display: grid;
  gap: 14px;
  margin-top: 24px;
}

.admin-product {
  display: grid;
  grid-template-columns: 94px minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid #d0d0d0;
}

.admin-product:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.admin-product img {
  width: 94px;
  height: 76px;
  object-fit: cover;
  background: #eee;
}

.admin-product h3,
.admin-product p {
  margin: 0;
  font-weight: 400;
}

.admin-product h3 {
  font-size: 20px;
}

.admin-product p {
  margin-top: 5px;
}

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

.admin-delete {
  padding: 0;
  border: 0;
  background: transparent;
  color: #9b0000;
  font: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

.form-message {
  color: #a80000;
}

.form-message--success {
  color: #167131;
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: clamp(24px, 6vw, 96px);
  min-height: 220px;
  padding: 32px clamp(24px, 6vw, 112px);
  border-top: 1px solid #000;
  font-family: Candara, Calibri, Arial, sans-serif;
}

.footer-logo {
  width: min(235px, 30vw);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 16px;
  line-height: 1.25;
}

.footer-links--left {
  align-items: flex-start;
}

.footer-links--right {
  align-items: flex-end;
  text-align: right;
}

.footer-links a {
  color: inherit;
  text-decoration: none;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 480px) {
  .site-logo {
    width: min(360px, calc(100vw - 32px));
  }

  .site-menu {
    flex-wrap: wrap;
    gap: 10px 16px;
    padding: 13px 16px;
    font-size: 16px;
  }

  .menu-links {
    flex-wrap: wrap;
    gap: 10px 24px;
  }

  .menu-action {
    width: 54px;
  }

  .account-page {
    width: min(100% - 32px, 960px);
    padding: 48px 0;
  }

  .account-forms {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .admin-page {
    width: min(100% - 32px, 1080px);
    padding: 40px 0 56px;
  }

  .admin-heading {
    display: grid;
  }

  .admin-form-section,
  .admin-products {
    padding: 20px;
  }

  .admin-product {
    grid-template-columns: 70px minmax(0, 1fr);
  }

  .admin-product img {
    width: 70px;
    height: 64px;
  }

  .admin-product-actions {
    grid-column: 2;
  }

  .site-footer {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 28px;
    padding: 32px 24px;
  }

  .catalog {
    width: min(100% - 32px, 1180px);
    padding: 40px 0 56px;
  }

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

  .footer-logo {
    width: min(235px, calc(100vw - 48px));
  }

  .footer-links,
  .footer-links--left,
  .footer-links--right {
    align-items: center;
    text-align: center;
  }

  .cart-page { width: min(100% - 32px, 1120px); padding: 30px 0 56px; }
  .cart-heading { align-items: flex-start; flex-direction: column; gap: 8px; }
  .cart-layout { grid-template-columns: 1fr; }
  .cart-summary { position: static; order: -1; }
  .cart-item { grid-template-columns: 78px minmax(0, 1fr); gap: 12px; }
  .cart-item-controls { grid-column: 2; justify-items: start; grid-auto-flow: column; justify-content: space-between; }
  .cart-item-price { grid-column: 2; }
}

@media (max-width: 680px) {
  .product-page {
    width: min(100% - 32px, 1180px);
    padding: 20px 0 56px;
  }

  .product-detail-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .product-detail-gallery {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .product-detail-main {
    grid-row: 1;
  }

  .product-detail-thumbnails {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-row: 2;
    order: initial;
  }

  .product-detail-thumbnail {
    width: 100%;
  }

  .product-detail-info h1 {
    font-size: 30px;
  }
}

@media (max-width: 480px) {
  .site-menu {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
  }

  .menu-links,
  .menu-actions {
    width: 100%;
    justify-content: center;
  }

  .menu-links {
    gap: 10px 24px;
  }

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

  .account-dashboard-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .account-profile,
  .account-orders {
    padding: 20px;
  }

  .account-layout {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .account-sidebar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .account-sidebar a {
    text-align: center;
  }

  .account-content {
    min-height: 0;
    padding: 20px;
  }

  .account-content-heading {
    display: grid;
  }

  .profile-details div {
    grid-template-columns: 1fr;
    gap: 5px;
  }

  .orders-row {
    grid-template-columns: 58px minmax(0, 1fr);
  }

  .orders-row > :last-child {
    grid-column: 2;
  }
}
