.hero {
  text-align: center;
  padding: 0 0 2.5rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  margin-bottom: 2.5rem;
  overflow: hidden;
}

.hero__title {
  font-size: 2rem;
  margin: 1.5rem 1rem 0.5rem;
}

.hero__lead {
  color: var(--color-muted);
  margin: 0 1rem 1.25rem;
}

.hero__actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 0 1rem;
}

.hero .product-search--hero {
  margin: 0 auto 1rem;
  max-width: min(28rem, calc(100% - 2rem));
}

.page-header {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem 1.5rem;
  margin-bottom: 1.5rem;
}

.page-header__title h1 {
  margin: 0;
}

.page-header__meta {
  margin: 0.35rem 0 0;
  font-size: 0.875rem;
  color: var(--color-muted);
}

.product-search {
  display: flex;
  align-items: stretch;
  width: 100%;
  max-width: 28rem;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.product-search__input {
  flex: 1;
  min-width: 0;
  padding: 0.65rem 0.85rem;
  border: none;
  font: inherit;
  background: transparent;
}

.product-search__input::placeholder {
  color: #94a3b8;
}

.product-search__input:focus {
  outline: none;
}

.product-search:focus-within {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 2px rgba(0, 59, 131, 0.15);
}

.product-search__submit {
  flex-shrink: 0;
  padding: 0.65rem 1.1rem;
  border: none;
  border-left: 1px solid var(--color-border);
  background: var(--color-accent);
  color: #fff;
  font: inherit;
  font-size: 0.9375rem;
  cursor: pointer;
  white-space: nowrap;
}

.product-search__submit:hover {
  background: var(--color-accent-hover);
}

.product-search--page {
  max-width: 22rem;
  margin: 0;
  flex: 1 1 14rem;
}

.product-search--hero {
  margin: 0 auto 1rem;
}

@media (max-width: 600px) {
  .page-header {
    align-items: stretch;
  }

  .product-search--page {
    max-width: none;
    flex-basis: 100%;
  }

  .product-search--hero {
    max-width: 100%;
  }

  .product-search__input,
  .product-search__submit {
    padding-top: 0.55rem;
    padding-bottom: 0.55rem;
    font-size: 0.9rem;
  }
}

.section { margin-bottom: 2.5rem; }

.section__header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.section__title { margin: 0; }

.section__more {
  font-size: 0.875rem;
  text-decoration: none;
  white-space: nowrap;
}

.static-content ul {
  padding-left: 1.5rem;
}

.static-content li + li {
  margin-top: 0.35rem;
}

.static-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0;
}

.static-content table th,
.static-content table td {
  border: 1px solid var(--color-border);
  padding: 0.5rem 0.75rem;
  text-align: left;
  vertical-align: top;
}

.static-content img {
  max-width: 100%;
  height: auto;
}

.law-list {
  display: grid;
  margin: 0;
}

.law-list__row {
  display: grid;
  grid-template-columns: minmax(8rem, 12.5rem) minmax(0, 1fr);
  align-items: stretch;
  border: 1px solid var(--color-border);
  border-bottom-width: 0;
}

.law-list__row:last-child {
  border-bottom-width: 1px;
}

.law-list dt,
.law-list dd {
  margin: 0;
  padding: 0.75rem;
  min-width: 0;
  overflow-wrap: anywhere;
}

.law-list dt {
  background: #e8eef4;
  font-weight: 600;
  font-size: 0.9375rem;
}

.law-list dd {
  font-size: 0.9375rem;
  line-height: 1.7;
}

@media (max-width: 767px) {
  .panel:has(.law-list) {
    padding: 0;
    overflow: hidden;
  }

  .law-list__row {
    grid-template-columns: minmax(0, 1fr);
    border-left: 0;
    border-right: 0;
  }

  .law-list__row:first-child {
    border-top: 0;
  }

  .law-list__row:last-child {
    border-bottom: 0;
  }

  .law-list dt {
    background: transparent;
    color: var(--color-muted);
    font-size: 0.8125rem;
    padding: 0.9rem 1rem 0.2rem;
  }

  .law-list dd {
    padding: 0.2rem 1rem 0.9rem;
  }
}

.faq {
  margin: 0;
}

.faq__item {
  margin: 0;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--color-border);
}

.faq__item:first-child {
  padding-top: 0;
}

.faq__item:last-child {
  padding-bottom: 0;
  border-bottom: none;
}

.faq dt {
  font-weight: 700;
  color: var(--color-accent);
  margin: 0 0 0.5rem;
}

.faq dt::before {
  content: "Ｑ、";
}

.faq dd {
  margin: 0;
  line-height: 1.8;
}

.faq dd::before {
  content: "Ａ、";
  font-weight: 700;
  color: var(--color-danger);
}

.breadcrumb {
  font-size: 0.875rem;
  color: var(--color-muted);
  margin-bottom: 1rem;
}

/* カテゴリツリー */
.category-tree {
  list-style: none;
  margin: 0;
  padding: 0;
}

.category-tree > li + li {
  margin-top: 1rem;
}

.category-tree__children {
  list-style: none;
  margin: 0.5rem 0 0;
  padding: 0 0 0 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

/* 商品詳細 */
.product-detail {
  display: grid;
  gap: 2rem;
  margin-bottom: 2rem;
}

.product-detail__gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 0.75rem;
  margin-bottom: 0;
}

.product-detail__gallery img {
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  width: 100%;
  max-width: none;
  aspect-ratio: 1;
  object-fit: cover;
}

.product-detail__gallery img:first-child {
  grid-column: 1 / -1;
  aspect-ratio: 4 / 3;
  max-height: 420px;
  object-fit: contain;
  background: #e8eef4;
}

.product-detail__price {
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--color-accent);
  margin: 0 0 1rem;
}

.product-detail__add-to-cart {
  margin-top: 0.25rem;
}

.product-detail__description {
  margin-top: 2rem;
}

.variant-options {
  display: grid;
  gap: 0.5rem;
  margin: 0 0 1rem;
  padding: 0;
  border: none;
}

.variant-options legend {
  padding: 0;
  margin: 0 0 0.5rem;
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-text);
}

.variant-option {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  margin: 0;
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: var(--color-surface);
  cursor: pointer;
}

.variant-option:has(input:checked) {
  border-color: var(--color-accent);
  background: #eef4fb;
}

.variant-option:has(input:disabled) {
  opacity: 0.65;
  cursor: not-allowed;
}

.variant-option input {
  margin-top: 0.35rem;
  flex-shrink: 0;
}

.variant-option__body {
  min-width: 0;
}

.variant-option__choices {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 0.85rem;
}

.variant-option__choice {
  display: inline-flex;
  align-items: baseline;
  gap: 0.35rem;
}

.variant-option__key {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--color-accent);
}

.variant-option__value {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--color-text);
}

.variant-option__meta {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.9375rem;
  color: var(--color-text);
}

.variant-options--sold-out {
  list-style: none;
  margin: 0;
  padding: 0;
}

.variant-options--sold-out .variant-option {
  cursor: default;
}

/* カート */
.cart-layout {
  display: grid;
  gap: 1.5rem;
}

.cart-layout > * {
  min-width: 0;
}

.cart-lines__head {
  display: none;
}

.cart-lines__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}

.cart-line {
  display: grid;
  grid-template-columns: 4.25rem minmax(0, 1fr) auto;
  grid-template-areas:
    "thumb info info"
    "thumb unit unit"
    "qty qty subtotal"
    "remove remove remove";
  gap: 0.4rem 0.75rem;
  align-items: start;
  min-width: 0;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 0.9rem 1rem;
}

.cart-line__thumb {
  grid-area: thumb;
  display: block;
  width: 4.25rem;
  height: 4.25rem;
  background: #e8eef4;
  border-radius: var(--radius);
  overflow: hidden;
  text-decoration: none;
}

.cart-line__thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.cart-line__thumb-placeholder {
  display: block;
  width: 100%;
  height: 100%;
}

.cart-line__info {
  grid-area: info;
  min-width: 0;
}

.cart-line__name {
  margin: 0;
  font-weight: 600;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.cart-line__name a {
  text-decoration: none;
}

.cart-line__name a:hover {
  text-decoration: underline;
}

.cart-line__alert {
  margin: 0.2rem 0 0;
  font-size: 0.875rem;
}

.cart-line__options {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin: 0.45rem 0 0;
}

.cart-line__option {
  display: inline-flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.3rem 0.45rem;
  margin: 0;
  padding: 0.35rem 0.65rem;
  background: #eef4fb;
  border: 1px solid #c5d4e8;
  border-radius: var(--radius);
  line-height: 1.35;
}

.cart-line__option dt {
  margin: 0;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--color-accent);
}

.cart-line__option dd {
  margin: 0;
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--color-text);
}

.cart-line__unit {
  grid-area: unit;
  font-size: 0.875rem;
  color: var(--color-muted);
}

.cart-line__qty {
  grid-area: qty;
  align-self: center;
}

.qty-stepper {
  display: inline-flex;
  align-items: stretch;
  gap: 0.4rem;
  background: transparent;
}

.qty-stepper__control {
  display: inline-flex;
  align-items: stretch;
  order: 0;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--color-surface);
}

.qty-stepper__apply {
  order: 1;
}

.qty-stepper--enhanced {
  position: relative;
}

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

.qty-stepper__btn {
  width: 2.25rem;
  padding: 0;
  border: 0;
  background: #f8fafc;
  color: var(--color-text);
  font-size: 1.125rem;
  line-height: 1;
  cursor: pointer;
  font-family: inherit;
}

.qty-stepper__btn:hover:not(:disabled),
.qty-stepper__btn:focus-visible:not(:disabled) {
  background: #e8eef4;
  color: var(--color-accent);
}

.qty-stepper__btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.qty-stepper__input {
  width: 3rem;
  margin: 0;
  padding: 0.4rem 0.15rem;
  border: 0;
  border-left: 1px solid var(--color-border);
  border-right: 1px solid var(--color-border);
  border-radius: 0;
  text-align: center;
  font: inherit;
  -moz-appearance: textfield;
}

.qty-stepper__input::-webkit-outer-spin-button,
.qty-stepper__input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.cart-line__subtotal {
  grid-area: subtotal;
  align-self: center;
  font-weight: 600;
  text-align: right;
  white-space: nowrap;
}

.cart-line__remove {
  grid-area: remove;
  justify-self: end;
}

.cart-line__label {
  display: inline-block;
  margin-right: 0.35rem;
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--color-muted);
}

.cart-summary {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
}

.cart-summary__row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin: 0.35rem 0;
}

.cart-summary__total {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--color-accent);
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--color-border);
}

.cart-actions {
  margin-top: 1.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.cart-actions > form {
  margin: 0;
}

/* お問い合わせ確認 */
.contact-confirm {
  max-width: 40rem;
  min-width: 0;
}

.contact-confirm .detail-list dt {
  color: var(--color-muted);
}

.contact-confirm .detail-list dd {
  min-width: 0;
  overflow-wrap: anywhere;
}

.contact-confirm__message {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.contact-confirm .cart-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.contact-confirm .cart-actions .btn {
  width: 100%;
}

@media (min-width: 600px) {
  .contact-confirm .detail-list {
    grid-template-columns: max-content minmax(0, 1fr);
    column-gap: 1.5rem;
  }
}

@media (max-width: 599px) {
  .contact-confirm .detail-list {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 0.25rem;
  }

  .contact-confirm .detail-list dt {
    white-space: normal;
    font-size: 0.8125rem;
  }

  .contact-confirm .detail-list dt:not(:first-child) {
    margin-top: 0.85rem;
    padding-top: 0.85rem;
    border-top: 1px solid var(--color-border);
  }

  .contact-confirm .cart-actions {
    margin-top: 1.5rem;
  }
}

/* チェックアウト */
.checkout-layout {
  display: grid;
  gap: 1.5rem;
}

.checkout-main {
  display: grid;
  gap: 1.5rem;
  min-width: 0;
}

.checkout-main .panel h2 {
  font-size: 1.125rem;
}

.checkout-main .detail-list dt {
  color: var(--color-muted);
}

.checkout-main .detail-list dd {
  min-width: 0;
  overflow-wrap: anywhere;
}

@media (max-width: 599px) {
  .checkout-main .detail-list {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 0.25rem;
  }

  .checkout-main .detail-list dt {
    white-space: normal;
    font-size: 0.8125rem;
  }

  .checkout-main .detail-list dt:not(:first-child) {
    margin-top: 0.85rem;
    padding-top: 0.85rem;
    border-top: 1px solid var(--color-border);
  }
}

.checkout-panel-heading {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 1rem;
  margin-bottom: 0.75rem;
}

.checkout-panel-heading h2 {
  margin: 0;
}

.checkout-login-prompt {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1rem;
}

.checkout-login-prompt p {
  margin: 0;
  flex: 1 1 16rem;
}

.checkout-form__actions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 0.25rem;
}

.terms-agreement {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.5;
}

.terms-agreement input {
  margin-top: 0.2rem;
  flex-shrink: 0;
}

.checkout-form__actions > * {
  margin: 0;
  width: 100%;
}

.checkout-form__actions > * + * {
  padding-top: 1rem;
  border-top: 1px solid var(--color-border);
}

.checkout-summary {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  height: fit-content;
}

.checkout-summary h2 {
  font-size: 1.125rem;
  margin: 0 0 1rem;
}

.checkout-summary__row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin: 0.35rem 0;
}

.checkout-summary__row[hidden] {
  display: none !important;
}

.checkout-summary__total {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--color-accent);
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--color-border);
}

.checkout-summary__note {
  margin: 0.75rem 0 0;
  font-size: 0.875rem;
}

.checkout-summary__shipping--free {
  font-weight: 700;
  color: var(--color-accent);
}

.checkout-shipping-notice {
  margin: 0.5rem 0 0;
  font-size: 0.875rem;
  color: var(--color-muted);
  line-height: 1.5;
}

.checkout-shipping-notice__free {
  color: var(--color-accent);
}

.checkout-payment-notice {
  margin: 0.5rem 0 0;
  font-size: 0.875rem;
  color: var(--color-muted);
  line-height: 1.5;
}

.checkout-summary__actions {
  margin-top: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.checkout-summary__actions > * {
  margin: 0;
  width: 100%;
}

.checkout-summary__actions > * + * {
  padding-top: 1rem;
  border-top: 1px solid var(--color-border);
}

.checkout-profile-alert {
  margin: 0 0 1rem;
}

.checkout-profile-missing {
  color: var(--color-muted);
}

/* マイページ */
.mypage-header {
  margin-bottom: 1.5rem;
}

.mypage-nav {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}

@media (min-width: 600px) {
  .mypage-nav {
    grid-template-columns: repeat(2, 1fr);
  }
}

.mypage-nav a {
  display: block;
  padding: 1rem 1.25rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  text-decoration: none;
  color: var(--color-text);
  font-weight: 600;
}

.mypage-nav a:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
}

.mypage-order-origin {
  display: inline-block;
  margin-left: 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-muted);
}

.order-items {
  margin-bottom: 1.5rem;
}

.order-items__head {
  display: none;
}

.order-items__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.65rem;
}

.order-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas:
    "name name"
    "qty subtotal";
  gap: 0.35rem 0.75rem;
  width: 100%;
  min-width: 0;
  padding: 0.75rem 0.9rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
}

.order-item__name {
  grid-area: name;
  display: block;
  min-width: 0;
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.order-item__qty {
  grid-area: qty;
  font-size: 0.875rem;
  color: var(--color-muted);
}

.order-item__label {
  margin-right: 0.35rem;
}

.order-item__subtotal {
  grid-area: subtotal;
  font-weight: 600;
  text-align: right;
  white-space: nowrap;
}

@media (min-width: 600px) {
  .order-items {
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--color-surface);
  }

  .order-items__head {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 7.5rem 6.5rem;
    gap: 0.75rem;
    align-items: center;
    padding: 0.65rem 0.75rem;
    background: #e8eef4;
    font-size: 0.9375rem;
    font-weight: 600;
  }

  .order-items__head-qty,
  .order-items__head-subtotal,
  .order-item__qty,
  .order-item__subtotal {
    text-align: right;
  }

  .order-items__list {
    gap: 0;
  }

  .order-item {
    grid-template-columns: minmax(0, 1fr) 7.5rem 6.5rem;
    grid-template-areas: "name qty subtotal";
    gap: 0.75rem;
    align-items: start;
    border: 0;
    border-top: 1px solid var(--color-border);
    border-radius: 0;
    padding: 0.75rem;
  }

  .order-item__label {
    display: none;
  }

  .order-item__qty {
    color: inherit;
    font-size: inherit;
  }
}

@media (max-width: 599px) {
  .panel:has(.detail-list) {
    padding: 1rem;
  }
}

/* 注文完了・領収書 */
.order-complete,
.receipt-document {
  max-width: 640px;
}

.order-complete__highlight,
.receipt-document__amount {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-accent);
}

.bank-transfer-box {
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  margin: 1rem 0;
}

@media (min-width: 768px) {
  .cart-lines {
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--color-surface);
  }

  .panel .cart-lines {
    border: 0;
    border-radius: 0;
    background: transparent;
  }

  .cart-lines__head {
    display: grid;
    gap: 0.75rem;
    align-items: center;
    padding: 0.65rem 0.75rem;
    background: #e8eef4;
    font-size: 0.9375rem;
    font-weight: 600;
  }

  .cart-lines__list {
    gap: 0;
  }

  .cart-line {
    gap: 0.75rem;
    align-items: center;
    border: 0;
    border-top: 1px solid var(--color-border);
    border-radius: 0;
    padding: 0.75rem;
  }

  .cart-lines--editable .cart-lines__head,
  .cart-lines--editable .cart-line {
    grid-template-columns: 4.25rem minmax(0, 1fr) 6.5rem 9.5rem 6.5rem auto;
    grid-template-areas: "thumb info unit qty subtotal remove";
  }

  .cart-lines--readonly .cart-lines__head,
  .cart-lines--readonly .cart-line {
    grid-template-columns: 4.25rem minmax(0, 1fr) 6.5rem 5.5rem 6.5rem;
    grid-template-areas: "thumb info unit qty subtotal";
  }

  .cart-lines__head-product {
    grid-column: 1 / 3;
  }

  .cart-lines__head-unit { grid-area: unit; }
  .cart-lines__head-qty { grid-area: qty; }
  .cart-lines__head-subtotal { grid-area: subtotal; }
  .cart-lines__head-remove { grid-area: remove; }

  .cart-line__unit {
    font-size: inherit;
    color: inherit;
    text-align: right;
    white-space: nowrap;
  }

  .cart-line__qty {
    justify-self: start;
  }

  .cart-lines__head-unit,
  .cart-lines__head-subtotal {
    text-align: right;
  }

  .cart-line__label {
    display: none;
  }
}

@media (max-width: 767px) {
  .cart-actions {
    flex-direction: column;
  }

  .cart-actions .btn,
  .cart-actions > form {
    width: 100%;
    text-align: center;
  }

  .contact-confirm .cart-actions {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.5rem;
  }
}

@media (min-width: 900px) {
  .cart-layout {
    grid-template-columns: 1fr 300px;
    align-items: start;
  }

  .checkout-layout {
    grid-template-columns: 1fr 300px;
    align-items: start;
  }

  .checkout-summary {
    position: sticky;
    top: 1.5rem;
  }

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

  .product-detail__description {
    grid-column: 1 / -1;
  }
}

@media (max-width: 768px) {
  .product-detail__add-to-cart {
    display: block;
    width: 100%;
    text-align: center;
    padding: 0.85rem 1.25rem;
    font-size: 1rem;
    font-weight: 700;
  }
}

@media (max-width: 600px) {
  .hero__title { font-size: 1.5rem; }
}
