* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  background: #ffffff;
  color: #141414;
  font-family: "IBM Plex Sans Arabic", sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 21px;
}

a {
  color: inherit;
}

.is-store {
  background: #ffffff;
}

.lux-bar {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 12px;
  background: #111111;
  color: #f6f1e8;
  padding: 10px 28px;
  font-size: 12px;
  line-height: 18px;
}

.lux-bar-mark {
  letter-spacing: 0.28em;
  font-size: 11px;
}

.lux-bar .cart-link {
  justify-self: end;
  color: inherit;
  text-decoration: none;
}

.lux-bar .cart-link em {
  font-style: normal;
  margin-inline-start: 8px;
  color: #a68456;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: 44px 1fr 44px;
  align-items: center;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid #e3ddd4;
  padding: 14px 20px;
}

.logo {
  justify-self: center;
  font-size: 26px;
  font-weight: 600;
  line-height: 1.4;
  color: #141414;
  text-decoration: none;
}

.menu-open {
  display: grid;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 15px 10px;
  border: 0;
  background: transparent;
  cursor: pointer;
  justify-self: start;
}

.menu-open span {
  display: block;
  height: 1px;
  background: #141414;
}

.menu-drawer {
  position: fixed;
  inset: 0;
  z-index: 40;
}

.menu-drawer[hidden] {
  display: none;
}

.menu-shade {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(17, 17, 17, 0.42);
  opacity: 0;
  cursor: pointer;
  transition: opacity 0.28s ease;
}

.menu-panel {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  width: min(320px, 86vw);
  padding: 24px 28px;
  background: #ffffff;
  transform: translateX(100%);
  transition: transform 0.28s ease;
  overflow: auto;
}

.menu-drawer.is-open .menu-shade {
  opacity: 1;
}

.menu-drawer.is-open .menu-panel {
  transform: translateX(0);
}

.menu-close {
  align-self: flex-start;
  margin-bottom: 18px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #6f6860;
  font: inherit;
  cursor: pointer;
}

.menu-panel a {
  display: block;
  width: 100%;
  padding: 12px 0;
  border-bottom: 1px solid #e3ddd4;
  color: #141414;
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
}

.menu-panel a:hover,
.crumb a:hover,
.footer-nav a:hover {
  color: #a68456;
}

body.is-menu-open {
  overflow: hidden;
}

.skip {
  position: absolute;
  top: -48px;
  inset-inline-start: 12px;
  z-index: 50;
  padding: 8px 12px;
  background: #111111;
  color: #ffffff;
}

.skip:focus {
  top: 8px;
}

.store-main {
  min-height: 50vh;
}

.flash {
  width: min(1240px, calc(100% - 48px));
  margin: 18px auto 0;
  padding: 12px 16px;
  border: 1px solid #e3ddd4;
}

.flash-ok {
  background: #e7f5ee;
  color: #1f6b45;
}

.flash-err {
  background: #fdeceb;
  color: #8d2b22;
}

.kicker {
  margin: 0;
  color: #a68456;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.sheet {
  width: min(1240px, calc(100% - 64px));
  margin: 0 auto;
  padding: 36px 0 96px;
}

.collection-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 40px;
  padding-bottom: 18px;
  border-bottom: 1px solid #e3ddd4;
}

.collection-head h1,
.sheet > h1,
.product-info h1 {
  margin: 6px 0 0;
  font-weight: 600;
  line-height: 1.5;
}

.collection-head h1,
.sheet > h1 {
  font-size: 20px;
}

.collection-count {
  margin: 0;
  color: #6f6860;
  font-size: 14px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 56px 28px;
}

.card {
  color: inherit;
  text-decoration: none;
}

.media {
  position: relative;
  display: block;
  aspect-ratio: 1;
  overflow: hidden;
  background: #efeae3;
}

.media img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.card:hover .media img {
  transform: scale(1.05);
}

.ph {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, transparent 48%, #ddd4c8 49%, #ddd4c8 51%, transparent 52%), #efeae3;
}

.badge {
  position: absolute;
  top: 14px;
  inset-inline-start: 14px;
  padding: 6px 10px;
  background: #111111;
  color: #ffffff;
  font-size: 12px;
  font-weight: 500;
}

.card-body h2 {
  margin: 12px 0 4px;
  font-size: 14px;
  font-weight: 500;
  line-height: 21px;
}

.prices {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin: 0;
}

.price-now,
.price-old {
  direction: ltr;
  unicode-bidi: isolate;
}

.price-old {
  color: #6f6860;
  font-size: 14px;
  text-decoration: line-through;
}

.product {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 72px;
  align-items: start;
}

.product-photo {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
  background: #efeae3;
}

.crumb {
  display: flex;
  gap: 8px;
  margin: 0 0 8px;
  color: #6f6860;
  font-size: 13px;
}

.crumb a {
  flex: none;
  color: inherit;
  text-decoration: none;
}

.crumb [aria-current] {
  min-width: 0;
  overflow: hidden;
  color: #141414;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.product-info h1 {
  margin: 8px 0 12px;
  font-size: 20px;
}

.product-info .prices {
  margin-bottom: 20px;
  font-size: 16px;
  font-weight: 600;
}

.buy-bar,
.checkout form,
.pay-panel {
  display: grid;
  gap: 14px;
}

.buy-bar {
  grid-template-columns: 120px 1fr;
  align-items: end;
  margin-bottom: 28px;
}

label {
  display: grid;
  gap: 6px;
  color: #6f6860;
  font-size: 13px;
}

input,
textarea {
  width: 100%;
  padding: 14px 12px;
  border: 1px solid #e3ddd4;
  border-radius: 0;
  background: #ffffff;
  color: #141414;
  font: inherit;
}

.field-control {
  position: relative;
  display: block;
}

.field-icon {
  position: absolute;
  top: 50%;
  inset-inline-start: 12px;
  width: 18px;
  height: 18px;
  color: #a68456;
  transform: translateY(-50%);
  pointer-events: none;
}

.field-icon.is-top {
  top: 16px;
  transform: none;
}

.field-control input,
.field-control textarea {
  padding-inline-start: 40px;
}

.card-number {
  direction: ltr;
  padding-inline-start: 12px;
  padding-inline-end: 40px;
  text-align: left;
  letter-spacing: 0.06em;
}

.btn {
  display: inline-block;
  padding: 16px 22px;
  border: 1px solid #111111;
  border-radius: 0;
  background: #111111;
  color: #ffffff;
  font: inherit;
  font-weight: 500;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}

.btn.secondary {
  background: transparent;
  color: #111111;
}

.text-btn {
  padding: 0;
  border: 0;
  background: none;
  color: #6f6860;
  font: inherit;
  text-decoration: underline;
  cursor: pointer;
}

.description {
  margin: 0;
  padding-top: 20px;
  border-top: 1px solid #e3ddd4;
  color: #3d3833;
  font-size: 14px;
  line-height: 1.8;
}

.rich p,
.rich ul,
.rich ol {
  margin: 0 0 12px;
}

.rich h2,
.rich h3 {
  margin: 18px 0 8px;
  font-size: 18px;
  font-weight: 600;
}

.rich ul,
.rich ol {
  padding-inline-start: 20px;
}

.rich a {
  color: #a68456;
}

.rich img {
  max-width: 100%;
  height: auto;
}

.rich table {
  width: 100%;
  border-collapse: collapse;
}

.rich td,
.rich th {
  padding: 8px;
  border: 1px solid #e3ddd4;
}

.post-list {
  display: grid;
  gap: 22px;
}

.post-card {
  display: grid;
  grid-template-columns: 168px 1fr;
  gap: 18px;
  align-items: center;
  color: inherit;
  text-decoration: none;
}

.post-card.is-plain {
  grid-template-columns: 1fr;
}

.post-card img,
.post-cover {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  background: #efeae3;
}

.post-card img {
  width: 168px;
  height: 112px;
}

.post-card time,
.post-date {
  display: block;
  margin-bottom: 6px;
  color: #6f6860;
  font-size: 12px;
}

.post-card h2 {
  margin: 0 0 6px;
  font-size: 16px;
  font-weight: 600;
  line-height: 24px;
}

.post-card p {
  margin: 0;
  color: #3d3833;
}

.post-cover {
  max-width: 720px;
  margin: 8px 0 20px;
}

.post-card:hover h2 {
  color: #a68456;
}

.empty {
  color: #6f6860;
}

.cart-line {
  display: grid;
  grid-template-columns: 96px 1.4fr auto auto auto;
  gap: 18px;
  align-items: center;
  padding: 22px 0;
  border-bottom: 1px solid #e3ddd4;
}

.cart-line img,
.cart-line .ph {
  width: 96px;
  height: 96px;
}

.cart-line h2 {
  margin: 0;
  font-size: 14px;
  font-weight: 500;
  line-height: 21px;
}

.cart-line h2 a {
  text-decoration: none;
}

.unit {
  margin: 4px 0 0;
  color: #6f6860;
}

.qty {
  display: flex;
  align-items: center;
  gap: 6px;
  direction: ltr;
}

.qty input {
  width: 64px;
  text-align: center;
}

.qty button {
  width: 36px;
  height: 36px;
  border: 1px solid #e3ddd4;
  background: #ffffff;
  font: inherit;
  cursor: pointer;
}

.qty .btn {
  width: auto;
  height: auto;
  padding: 8px 12px;
}

.cart-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 28px;
}

.total {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin: 0;
  font-size: 18px;
}

.total strong {
  font-size: 18px;
  font-weight: 600;
}

.checkout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: start;
}

.summary {
  padding: 28px;
  background: #f3efe8;
}

.summary h2,
.pay-head h2 {
  margin: 8px 0 18px;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
}

.pay-head h2 {
  margin-bottom: 0;
}

.summary-line {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin: 0 0 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid #e3ddd4;
}

.summary .total {
  margin-top: 8px;
}

.note {
  margin: 0 0 8px;
  color: #6f6860;
  font-size: 14px;
}

.pay-sheet {
  position: fixed;
  inset: 0;
  z-index: 50;
}

.pay-sheet[hidden] {
  display: none;
}

.pay-shade {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(17, 17, 17, 0.5);
  opacity: 0;
  cursor: pointer;
  transition: opacity 0.35s ease;
}

.pay-panel {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  width: min(520px, 100%);
  max-height: min(92vh, 780px);
  margin-inline: auto;
  padding: 10px 22px 24px;
  overflow: auto;
  border-radius: 18px 18px 0 0;
  background: #ffffff;
  box-shadow: 0 -16px 40px rgba(17, 17, 17, 0.18);
  transform: translateY(110%);
  transition: transform 0.42s cubic-bezier(0.16, 1, 0.3, 1);
}

.pay-sheet.is-open .pay-shade {
  opacity: 1;
}

.pay-sheet.is-open .pay-panel {
  transform: translateY(0);
}

.pay-handle {
  display: block;
  width: 42px;
  height: 4px;
  margin: 4px auto 12px;
  border-radius: 4px;
  background: #e3ddd4;
}

.pay-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.pay-head .kicker {
  margin-bottom: 0;
}

.pay-close {
  padding: 0;
  border: 0;
  background: transparent;
  color: #6f6860;
  font: inherit;
  cursor: pointer;
}

.pay-amount {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin: 0;
  padding-bottom: 12px;
  border-bottom: 1px solid #e3ddd4;
  font-size: 14px;
}

.pay-amount strong {
  font-size: 18px;
  font-weight: 600;
}

.card-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.pay-actions {
  display: grid;
  grid-template-columns: 1.4fr 0.6fr;
  gap: 10px;
}

body.is-pay-open {
  overflow: hidden;
}

.site-footer {
  padding: 56px 24px;
  background: #111111;
  color: #f6f1e8;
  text-align: center;
}

.site-footer p {
  margin: 0;
  font-size: 20px;
  font-weight: 600;
}

.site-footer small {
  display: block;
  margin-top: 8px;
  color: #c9bfb2;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 18px;
  max-width: 720px;
  margin: 22px auto 0;
}

.footer-nav a {
  color: #c9bfb2;
  font-size: 12px;
  line-height: 18px;
  text-decoration: none;
}

@media (max-width: 900px) {
  .product,
  .checkout {
    grid-template-columns: 1fr;
  }

  .product-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px 16px;
  }

  .cart-line {
    grid-template-columns: 80px 1fr;
  }

  .cart-line .qty,
  .line-total,
  .cart-line form:last-child {
    grid-column: 2;
  }

  .lux-bar {
    padding-inline: 14px;
  }

  .lux-bar-mark {
    display: none;
  }

  .logo {
    font-size: 22px;
  }

  .sheet {
    width: min(1240px, calc(100% - 32px));
    padding-top: 40px;
  }
}
@media (max-width: 700px) {
  .product-grid,
  .post-card,
  .post-card.is-plain {
    grid-template-columns: 1fr;
  }

  .post-card img {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
  }

  .product-info {
    padding-bottom: 96px;
  }

  .buy-bar {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 25;
    grid-template-columns: 88px 1fr;
    margin: 0;
    padding: 12px 14px;
    border-top: 1px solid #e3ddd4;
    background: #ffffff;
  }

  .cart-foot {
    flex-direction: column;
    align-items: stretch;
  }

  .pay-actions {
    grid-template-columns: 1fr;
  }
}
