:root {
  --black: #111;
  --ink: #1b1b1b;
  --muted: #777;
  --line: #e7e5e2;
  --paper: #faf9f7;
  --red: #b4232a;
  --red-dark: #8f171e;
  --cream: #efece6;
  --serif: "El Messiri", Georgia, serif;
  --sans: "IBM Plex Sans Arabic", Tahoma, sans-serif
}

* {
  box-sizing: border-box
}

html {
  scroll-behavior: smooth
}

body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.7
}

a {
  color: inherit;
  text-decoration: none
}

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

button {
  cursor: pointer
}

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

.container {
  width: min(1180px, calc(100% - 48px));
  margin-inline: auto
}

.announcement {
  background: var(--black);
  color: #fff;
  text-align: center;
  font-size: 12px;
  letter-spacing: .4px;
  padding: 7px
}

.announcement span {
  color: #d94148;
  margin: 0 12px
}

.site-header {
  height: 88px;
  border-bottom: 1px solid var(--line);
  background: #fff
}

.header-row {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 32px
}

.brand {
  display: flex;
  align-items: center;
  gap: 9px;
  font-weight: 800;
  letter-spacing: 3px;
  font-size: 19px;
  white-space: nowrap
}

.logo {
  width: 60px;
  height: 60px;
}

.brand span {
  position: absolute;
  right: 10%;
}

.main-nav {
  display: flex;
  gap: 30px;
  margin-inline: auto;
  font-size: 14px
}

.main-nav a {
  position: relative;
  padding: 29px 0
}

.main-nav a:after {
  content: "";
  height: 2px;
  background: var(--red);
  position: absolute;
  bottom: 20px;
  inset-inline: 0;
  transform: scaleX(0);
  transition: .25s
}

.main-nav a:hover:after {
  transform: scaleX(1)
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 18px
}

.header-search {
  display: flex;
  align-items: center;
  border-bottom: 1px solid #aaa
}

.header-search input {
  border: 0;
  outline: 0;
  width: 128px;
  padding: 7px 4px;
  background: transparent;
  font-size: 12px
}

.header-search button {
  border: 0;
  background: transparent;
  font-size: 21px;
  line-height: 1
}

.icon-link,
.cart-link {
  font-size: 21px;
  line-height: 1
}

.cart-link {
  position: relative
}

.cart-count {
  display: grid;
  place-items: center;
  position: absolute;
  top: -9px;
  right: -11px;
  background: var(--red);
  color: #fff;
  border-radius: 50%;
  width: 17px;
  height: 17px;
  font-size: 9px
}

.menu-toggle {
  display: none;
  border: 0;
  background: none;
  font-size: 22px
}

.hero {
  height: 570px;
  position: relative;
  background: #171717;
  color: #fff;
  overflow: hidden
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: 47% 53%;
  opacity: 0;
  visibility: hidden;
  transition: opacity .8s
}

.hero-slide.active {
  opacity: 1;
  visibility: visible
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 52px max(24px, calc((100vw - 1180px)/2)) 70px 8%;
  position: relative;
  z-index: 2
}

.eyebrow {
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin: 0 0 11px;
  color: var(--muted);
  font-weight: 700
}

.hero .eyebrow {
  color: #d6d1c7
}

.eyebrow.red {
  color: var(--red)
}

h1,
h2,
h3,
p {
  margin-top: 0
}

.hero h1 {
  font-family: var(--serif);
  font-size: clamp(50px, 6vw, 84px);
  line-height: 1.05;
  font-weight: 600;
  margin: 0 0 22px;
  letter-spacing: -2px
}

.hero h1 em,
h2 em {
  font-style: italic;
  color: #d22b35
}

.hero-copy>p:not(.eyebrow) {
  max-width: 340px;
  color: #c5c5c5;
  margin-bottom: 30px;
  font-size: 14px
}

.hero-visual {
  position: relative;
  background-size: cover;
  background-position: center
}

.visual-one {
  background-image: linear-gradient(90deg, #171717 0%, transparent 15%), url("https://images.unsplash.com/photo-1496747611176-843222e1e57c?auto=format&fit=crop&w=1300&q=85")
}

.visual-two {
  background-image: linear-gradient(90deg, #171717 0%, transparent 15%), url("https://images.unsplash.com/photo-1483985988355-763728e1935b?auto=format&fit=crop&w=1300&q=85")
}

.visual-label {
  position: absolute;
  left: 20px;
  bottom: 28px;
  border: 1px solid rgba(255, 255, 255, .5);
  padding: 7px 11px;
  color: #fff;
  font-size: 10px;
  letter-spacing: 2px;
  line-height: 1.2
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 19px;
  border: 1px solid transparent;
  padding: 12px 22px;
  min-height: 48px;
  font-size: 13px;
  font-weight: 700;
  transition: .25s;
  white-space: nowrap
}

.btn span {
  font-size: 20px;
  line-height: 1
}

.btn-light {
  background: #fff;
  color: var(--black);
  width: max-content
}

.btn-light:hover {
  background: #e9e7e3
}

.btn-dark {
  background: var(--black);
  color: #fff
}

.btn-dark:hover {
  background: #3b3b3b
}

.btn-red {
  background: var(--red);
  color: #fff
}

.btn-red:hover {
  background: var(--red-dark)
}

.btn:disabled {
  opacity: .5;
  cursor: not-allowed
}

.btn-light-outline {
  background: transparent;
  border-color: #bbb
}

.btn-light-outline:hover {
  background: #fff
}

.full-width {
  width: 100%
}

.hero-dots {
  position: absolute;
  bottom: 29px;
  right: max(24px, calc((100vw - 1180px)/2));
  z-index: 4;
  display: flex;
  gap: 8px
}

.hero-dot {
  height: 2px;
  width: 35px;
  border: 0;
  background: #888;
  padding: 0
}

.hero-dot.active {
  background: #fff
}

.section {
  padding: 92px 0
}

.section-muted {
  background: var(--paper)
}

.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  margin-bottom: 34px
}

.section-heading h2,
.page-intro h1 {
  font-family: var(--serif);
  font-size: 44px;
  line-height: 1.15;
  margin: 0;
  letter-spacing: -1px
}

.text-link {
  font-size: 12px;
  font-weight: 700;
  border-bottom: 1px solid #aaa;
  padding-bottom: 4px
}

.text-link span {
  font-size: 18px;
  margin-inline-start: 10px
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px
}

.category-tile {
  height: 250px;
  padding: 24px;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background-size: cover;
  background-position: center;
  position: relative;
  isolation: isolate;
  overflow: hidden
}

.category-tile:before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, .15), rgba(0, 0, 0, .65));
  z-index: -1;
  transition: .3s
}

.category-tile:hover:before {
  background: linear-gradient(180deg, rgba(0, 0, 0, .05), rgba(0, 0, 0, .8))
}

.category-tile span {
  font-family: var(--serif);
  font-size: 24px
}

.category-tile strong {
  font-family: var(--serif);
  font-size: 32px;
  font-weight: 600
}

.category-tile small {
  font-size: 11px
}

.category-tile i {
  font-style: normal;
  font-size: 18px;
  margin-inline-start: 8px
}

.category-1 {
  background-image: url("https://images.unsplash.com/photo-1551488831-00ddcb6c6bd3?auto=format&fit=crop&w=700&q=85")
}

.category-2 {
  background-image: url("https://images.unsplash.com/photo-1490481651871-ab68de25d43d?auto=format&fit=crop&w=700&q=85")
}

.category-3 {
  background-image: url("https://images.unsplash.com/photo-1519238263530-99bdd11df2ea?auto=format&fit=crop&w=700&q=85")
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px 16px
}

.product-image {
  display: block;
  aspect-ratio: .79;
  overflow: hidden;
  background: #eee;
  position: relative
}

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

.product-card:hover .product-image img {
  transform: scale(1.04)
}

.product-badge {
  position: absolute;
  top: 13px;
  right: 13px;
  background: var(--red);
  color: #fff;
  padding: 3px 9px;
  font-size: 10px
}

.product-badge.sale {
  background: #fff;
  color: var(--red)
}

.product-badge.sold {
  background: #333
}

.quick-view {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(17, 17, 17, .92);
  color: #fff;
  text-align: center;
  padding: 10px;
  font-size: 11px;
  transform: translateY(100%);
  transition: .3s
}

.product-card:hover .quick-view {
  transform: translateY(0)
}

.product-info {
  padding-top: 13px
}

.product-category {
  color: #999;
  font-size: 10px;
  letter-spacing: 1px;
  margin: 0 0 3px
}

.product-info h3 {
  font-size: 14px;
  font-weight: 700;
  margin: 0 0 4px
}

.price-row {
  display: flex;
  align-items: center;
  gap: 10px
}

.price-row strong {
  font-size: 13px
}

.price-row del {
  color: #999;
  font-size: 11px
}

.editorial {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
  padding-top: 105px;
  padding-bottom: 105px
}

.editorial-image {
  height: 470px;
  background: url("../uploads/image1.jpg") center/cover
}

.editorial-copy {
  max-width: 440px
}

.editorial-copy h2 {
  font-family: var(--serif);
  font-size: 48px;
  line-height: 1.15;
  margin: 0 0 18px
}

.editorial-copy>p:not(.eyebrow) {
  color: #6c6c6c;
  font-size: 14px;
  margin-bottom: 28px
}

.site-footer {
  background: #141414;
  color: #fff;
  padding: 60px 0 20px
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr .7fr .7fr 1.3fr;
  gap: 45px;
  padding-bottom: 52px
}

.footer-brand {
  margin-bottom: 18px
}

.site-footer p {
  color: #999;
  font-size: 12px
}

.site-footer h3 {
  font-size: 13px;
  margin: 0 0 15px
}

.site-footer a:not(.brand) {
  display: block;
  color: #aaa;
  font-size: 12px;
  margin: 6px 0
}

.site-footer a:not(.brand):hover {
  color: #fff
}

.newsletter-form {
  display: flex;
  border-bottom: 1px solid #555
}

.newsletter-form input {
  background: none;
  border: 0;
  outline: 0;
  color: #fff;
  padding: 8px 0;
  width: 100%;
  font-size: 12px
}

.newsletter-form button {
  background: none;
  color: #fff;
  border: 0;
  font-size: 22px
}

.footer-bottom {
  border-top: 1px solid #333;
  padding-top: 16px;
  display: flex;
  justify-content: space-between;
  color: #777;
  font-size: 10px
}

.flash-wrap {
  position: relative;
  z-index: 5
}

.flash {
  margin-top: 16px;
  padding: 11px 16px;
  font-size: 12px
}

.flash.success {
  background: #eaf6ed;
  color: #276339
}

.flash.error,
.form-errors {
  background: #fff0f0;
  color: #a01d24
}

.form-errors {
  padding: 10px 16px;
  margin-bottom: 20px;
  font-size: 12px
}

.form-errors p {
  margin: 0
}

.page-shell {
  padding-top: 70px;
  padding-bottom: 100px
}

.page-intro {
  margin-bottom: 50px
}

.page-intro.compact {
  margin-bottom: 38px
}

.page-intro>p:last-child {
  color: #888;
  font-size: 13px;
  margin: 12px 0 0
}

.shop-layout {
  display: grid;
  grid-template-columns: 218px 1fr;
  gap: 42px
}

.filters {
  border-top: 2px solid var(--black);
  padding-top: 14px
}

.filter-title {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  margin-bottom: 24px
}

.filter-close {
  display: none
}

.filter-group {
  border-top: 1px solid var(--line);
  padding: 18px 0
}

.filter-group h3 {
  font-size: 13px;
  margin: 0 0 12px
}

.radio-label {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 12px;
  margin: 9px 0;
  cursor: pointer
}

.radio-label input {
  accent-color: var(--red)
}

.price-inputs {
  display: flex;
  align-items: center;
  gap: 7px
}

.price-inputs input {
  width: 80px;
  border: 1px solid var(--line);
  padding: 7px;
  font-size: 11px
}

.clear-filter {
  font-size: 11px;
  text-decoration: underline;
  display: block;
  text-align: center;
  margin-top: 13px;
  color: #888
}

.results-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 22px;
  font-size: 11px;
  color: #888
}

.results-toolbar select {
  border: 0;
  border-bottom: 1px solid #aaa;
  padding: 5px 0;
  background: #fff;
  outline: 0;
  font-size: 11px
}

.filter-trigger {
  display: none;
  border: 0;
  background: #fff;
  border-bottom: 1px solid #aaa;
  padding: 4px 0;
  font-size: 11px
}

.empty-state {
  grid-column: 1/-1;
  text-align: center;
  padding: 75px 20px;
  background: var(--paper)
}

.empty-icon {
  font-size: 42px;
  color: var(--red);
  font-family: var(--serif)
}

.empty-state h2 {
  font-family: var(--serif);
  font-size: 30px;
  margin: 8px 0
}

.empty-state p {
  color: #888;
  font-size: 13px;
  margin-bottom: 22px
}

.large-search {
  display: flex;
  max-width: 600px;
  border-bottom: 2px solid var(--black);
  margin: 30px auto 0
}

.large-search input {
  border: 0;
  outline: 0;
  flex: 1;
  padding: 15px 5px
}

.large-search .btn {
  border: 0
}

.breadcrumbs {
  display: flex;
  gap: 10px;
  align-items: center;
  color: #999;
  font-size: 11px;
  margin-bottom: 30px
}

.breadcrumbs strong {
  color: #333
}

.product-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px
}

.gallery-main {
  background: #f2f1ef;
  aspect-ratio: .82;
  overflow: hidden
}

.gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: cover
}

.gallery-thumbs {
  display: flex;
  gap: 10px;
  margin-top: 12px
}

.gallery-thumbs button {
  width: 78px;
  height: 92px;
  border: 1px solid transparent;
  padding: 0;
  background: #eee
}

.gallery-thumbs button.active {
  border-color: var(--red)
}

.gallery-thumbs img {
  width: 100%;
  height: 100%;
  object-fit: cover
}

.detail-copy {
  padding-top: 20px
}

.detail-copy h1 {
  font-family: var(--serif);
  font-size: 44px;
  line-height: 1.15;
  margin: 0 0 8px
}

.detail-rating {
  color: #d18a22;
  font-size: 13px;
  letter-spacing: 2px
}

.detail-rating span {
  color: #999;
  letter-spacing: 0;
  font-size: 11px;
  margin-inline-start: 9px
}

.detail-price {
  display: flex;
  align-items: center;
  gap: 15px;
  margin: 25px 0
}

.detail-price strong {
  font-size: 22px
}

.detail-price del {
  color: #999
}

.save-label {
  font-size: 10px;
  background: #f8e4e5;
  color: var(--red);
  padding: 4px 8px
}

.detail-divider {
  border-top: 1px solid var(--line);
  margin: 20px 0
}

.detail-description {
  color: #777;
  font-size: 13px;
  line-height: 2
}

.option-block {
  margin: 25px 0
}

.option-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  margin-bottom: 10px
}

.option-heading span {
  color: #888;
  font-size: 11px
}

.option-list {
  display: flex;
  gap: 8px
}

.option-choice input,
.color-choice input {
  position: absolute;
  opacity: 0
}

.option-choice span {
  display: grid;
  place-items: center;
  width: 44px;
  height: 37px;
  border: 1px solid #ccc;
  font-size: 11px
}

.option-choice input:checked+span {
  border-color: var(--red);
  color: var(--red);
  box-shadow: inset 0 0 0 1px var(--red)
}

.color-list {
  display: flex;
  gap: 12px
}

.color-choice {
  cursor: pointer
}

.color-swatch {
  display: block;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  border: 3px solid #fff;
  outline: 1px solid #ccc
}

.color-choice input:checked+.color-swatch {
  outline: 2px solid var(--red);
  outline-offset: 2px
}

.swatch-1 {
  background: #111
}

.swatch-2 {
  background: #d8d1c5
}

.swatch-3 {
  background: #9d2227
}

.swatch-4 {
  background: #47566b
}

.swatch-5 {
  background: #e5b4a7
}

.purchase-row {
  display: flex;
  gap: 12px
}

.purchase-row .btn {
  flex: 1
}

.quantity {
  display: flex;
  align-items: center;
  border: 1px solid #ccc;
  height: 48px
}

.quantity button {
  width: 35px;
  height: 100%;
  border: 0;
  background: #fff;
  font-size: 19px
}

.quantity input {
  width: 30px;
  border: 0;
  text-align: center;
  outline: 0;
  font-size: 12px
}

.detail-benefits {
  border-top: 1px solid var(--line);
  margin-top: 30px;
  padding-top: 20px;
  display: flex;
  gap: 25px
}

.detail-benefits>div {
  display: flex;
  gap: 9px
}

.detail-benefits span {
  color: var(--red);
  font-size: 22px
}

.detail-benefits p {
  margin: 0;
  display: flex;
  flex-direction: column;
  font-size: 11px
}

.detail-benefits small {
  font-size: 10px;
  color: #999
}

.cart-layout,
.checkout-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 55px
}

.cart-table-head {
  display: grid;
  grid-template-columns: 1fr 90px 105px 90px;
  gap: 15px;
  color: #888;
  font-size: 10px;
  border-bottom: 1px solid var(--line);
  padding: 0 0 12px
}

.cart-table-head span:not(:first-child) {
  text-align: center
}

.cart-item {
  display: grid;
  grid-template-columns: 86px 1fr 90px 105px 90px;
  align-items: center;
  gap: 15px;
  border-bottom: 1px solid var(--line);
  padding: 18px 0
}

.cart-item-image {
  width: 86px;
  height: 106px;
  background: #eee
}

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

.cart-item-info h3 {
  font-size: 13px;
  margin: 0
}

.cart-item-info small {
  font-size: 10px;
  color: #888
}

.remove-item {
  border: 0;
  padding: 0;
  background: none;
  color: #999;
  font-size: 10px;
  text-decoration: underline;
  display: block;
  margin-top: 6px
}

.cart-item-price,
.cart-item-subtotal {
  text-align: center;
  font-size: 12px
}

.cart-item-subtotal {
  font-weight: 700
}

.cart-quantity {
  justify-content: center;
  height: 34px
}

.cart-quantity button {
  width: 24px;
  font-size: 15px
}

.cart-quantity input {
  width: 24px;
  font-size: 11px
}

.order-summary {
  align-self: start;
  background: var(--paper);
  padding: 24px
}

.order-summary h2 {
  font-family: var(--serif);
  font-size: 22px;
  margin: 0 0 24px
}

.summary-line,
.summary-total {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  margin: 13px 0
}

.summary-line span {
  color: #888
}

.summary-total {
  font-weight: 700;
  font-size: 15px;
  margin: 18px 0 22px
}

.summary-divider {
  border-top: 1px solid #dedbd5;
  margin: 18px 0
}

.coupon-box {
  margin: 18px 0 4px
}

.coupon-box label {
  display: block;
  color: #555;
  font-size: 11px;
  margin-bottom: 6px
}

.coupon-input-row {
  display: flex;
  gap: 8px
}

.coupon-input-row input {
  flex: 1;
  min-width: 0;
  padding: 11px;
  border: 1px solid #d8d5d0;
  outline: 0;
  font-size: 12px;
  background: #fff;
  text-transform: uppercase
}

.coupon-input-row input:focus {
  border-color: var(--red)
}

.coupon-apply-btn {
  padding: 0 16px;
  font-size: 11px;
  min-height: unset;
  white-space: nowrap
}

.coupon-message {
  font-size: 11px;
  margin: 8px 0 0
}

.coupon-message.error {
  color: var(--red)
}

.coupon-message.success {
  color: #1c7a3c
}

.coupon-applied-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  margin: 13px 0;
  color: #1c7a3c
}

.coupon-applied-line button {
  border: 0;
  background: none;
  color: var(--red);
  font-size: 11px;
  text-decoration: underline;
  padding: 0
}

.secure-note {
  text-align: center;
  color: #999;
  font-size: 10px;
  margin: 14px 0 0
}

.cart-empty {
  margin-top: 20px
}

.checkout-form {
  max-width: 650px
}

.form-section {
  border-top: 1px solid var(--line);
  padding: 22px 0 30px
}

.form-section-heading {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  margin-bottom: 25px
}

.form-section-heading>span {
  font-family: var(--serif);
  font-size: 23px;
  color: var(--red)
}

.form-section-heading h2 {
  font-size: 19px;
  margin: 0
}

.form-section-heading p {
  color: #999;
  font-size: 11px;
  margin: 3px 0 0
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px
}

.form-grid .full-span {
  grid-column: 1/-1
}

.checkbox-label {
  display: flex !important;
  align-items: center;
  gap: 8px;
  font-size: 12px !important;
  color: var(--ink) !important;
  cursor: pointer
}

.checkbox-label input {
  width: auto !important;
  margin: 0 !important;
  accent-color: var(--red)
}

.checkout-form label,
.auth-form label,
.admin-product-form>label,
.admin-product-form .form-grid label {
  display: block;
  color: #555;
  font-size: 11px
}

.checkout-form input,
.checkout-form textarea,
.auth-form input,
.admin-product-form input,
.admin-product-form select,
.admin-product-form textarea,
.inline-add-form input,
.inline-add-form select {
  display: block;
  width: 100%;
  margin-top: 6px;
  padding: 11px;
  border: 1px solid #d8d5d0;
  outline: 0;
  font-size: 12px;
  background: #fff
}

.checkout-form select {
  display: block;
  width: 100%;
  margin-top: 6px;
  padding: 13px 40px 13px 14px;
  border: 1px solid #d8d5d0;
  outline: 0;
  font-size: 12px;
  background-color: #fff;
  color: var(--ink);
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%23888' stroke-width='1.6'%3E%3Cpath d='M5 7.5l5 5 5-5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: left 12px center;
  background-size: 13px;
  transition: border-color .2s, box-shadow .2s
}

.checkout-form select:hover {
  border-color: #b7b3ac
}

.checkout-form select:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(180, 35, 42, .08)
}

.checkout-form select:invalid {
  color: #999
}

.checkout-form input:focus,
.checkout-form textarea:focus,
.auth-form input:focus,
.admin-product-form input:focus,
.admin-product-form select:focus,
.admin-product-form textarea:focus {
  border-color: var(--red)
}

.payment-option {
  display: flex;
  align-items: center;
  gap: 15px;
  border: 1px solid #d8d5d0;
  padding: 15px;
  margin: 10px 0;
  cursor: pointer
}

.payment-option input {
  accent-color: var(--red)
}

.payment-option span {
  display: flex;
  flex-direction: column;
  font-size: 12px
}

.payment-option small {
  font-size: 10px;
  color: #999
}

.payment-option>b {
  margin-inline-start: auto;
  color: var(--red)
}

.payment-option.disabled {
  opacity: .45
}

.checkout-submit {
  min-width: 210px
}

.mini-cart-item {
  display: grid;
  grid-template-columns: 45px 1fr auto;
  gap: 10px;
  align-items: center;
  margin: 14px 0
}

.mini-cart-item img {
  width: 45px;
  height: 56px;
  object-fit: cover;
  background: #eee
}

.mini-cart-item div {
  display: flex;
  flex-direction: column
}

.mini-cart-item strong {
  font-size: 11px
}

.mini-cart-item small {
  color: #888;
  font-size: 10px
}

.mini-cart-item>b {
  font-size: 11px
}

.auth-page {
  padding: 65px max(24px, calc((100vw - 1080px)/2)) 100px;
  background: #f7f6f4
}

.auth-panel {
  max-width: 1000px;
  margin: auto;
  background: #fff;
  display: grid;
  grid-template-columns: 40% 60%;
  min-height: 560px
}

.auth-visual {
  color: #fff;
  background: linear-gradient(140deg, rgba(0, 0, 0, .25), rgba(0, 0, 0, .75)), url("https://images.unsplash.com/photo-1485230895905-ec40ba36b9bc?auto=format&fit=crop&w=900&q=85") center/cover;
  padding: 35px;
  display: flex;
  flex-direction: column;
  justify-content: end
}

.register-visual {
  background-image: linear-gradient(140deg, rgba(0, 0, 0, .2), rgba(0, 0, 0, .8)), url("https://images.unsplash.com/photo-1525507119028-ed4c629a60a3?auto=format&fit=crop&w=900&q=85")
}

.auth-visual .brand-mark {
  margin-bottom: auto
}

.auth-visual h2 {
  font-family: var(--serif);
  font-size: 42px;
  line-height: 1.1;
  margin: 0
}

.auth-visual p {
  color: #ddd;
  font-size: 12px
}

.auth-form {
  padding: 66px 70px
}

.auth-form h1 {
  font-family: var(--serif);
  font-size: 38px;
  margin: 0
}

.auth-lead {
  color: #999;
  font-size: 12px;
  margin: 7px 0 28px
}

.auth-form label {
  position: relative;
  margin: 18px 0
}

.forgot-link {
  position: absolute;
  left: 0;
  top: 31px;
  color: var(--red);
  font-size: 10px
}

.auth-switch {
  text-align: center;
  color: #888;
  font-size: 11px;
  margin-top: 23px
}

.auth-switch a {
  color: var(--red);
  font-weight: 700
}

.field-note {
  color: #999;
  font-size: 10px;
  display: block;
  margin-top: 4px
}

.admin-shell {
  padding: 60px 0 100px
}

.admin-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  margin-bottom: 30px
}

.admin-heading h1 {
  font-family: var(--serif);
  font-size: 42px;
  margin: 0
}

.admin-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 35px
}

.admin-stats>div {
  border: 1px solid var(--line);
  padding: 18px;
  position: relative
}

.admin-stats span {
  display: block;
  color: #888;
  font-size: 11px
}

.admin-stats strong {
  font-family: var(--serif);
  font-size: 30px
}

.admin-stats i {
  position: absolute;
  left: 17px;
  top: 17px;
  color: var(--red);
  font-style: normal;
  font-size: 24px
}

.admin-tabs {
  display: flex;
  gap: 27px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 30px
}

.admin-tabs a {
  font-size: 13px;
  padding: 0 0 12px;
  color: #888;
  border-bottom: 2px solid transparent
}

.admin-tabs a.active {
  color: var(--black);
  border-color: var(--red);
  font-weight: 700
}

.admin-content {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 22px
}

.single-content {
  display: block;
  max-width: 560px
}

.admin-card {
  border: 1px solid var(--line);
  padding: 23px
}

.admin-card-head {
  display: flex;
  justify-content: space-between;
  align-items: start;
  margin-bottom: 22px
}

.admin-card-head h2 {
  font-family: var(--serif);
  font-size: 23px;
  margin: 0
}

.admin-product-form {
  display: flex;
  flex-direction: column;
  gap: 15px
}

.admin-product-form .form-grid {
  gap: 12px
}

.admin-product-form .btn {
  margin-top: 5px
}

.inline-add-form {
  display: flex;
  gap: 10px;
  margin-bottom: 20px
}

.inline-add-form input {
  margin: 0
}

.inline-add-form .btn {
  min-height: 42px
}

.admin-list-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--line);
  padding: 14px 0;
  font-size: 12px
}

.table-wrap {
  overflow: auto
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 11px
}

th {
  text-align: right;
  color: #888;
  font-weight: 500;
  padding: 10px 6px;
  border-bottom: 1px solid var(--line)
}

td {
  padding: 11px 6px;
  border-bottom: 1px solid var(--line);
  white-space: nowrap
}

.table-product {
  display: flex;
  align-items: center;
  gap: 9px
}

.table-product img {
  width: 34px;
  height: 42px;
  object-fit: cover
}

.stock-pill {
  background: #e9f6ed;
  color: #276339;
  padding: 3px 8px
}

.stock-pill.low {
  background: #fff0d8;
  color: #96620c
}

.table-actions {
  display: flex;
  gap: 9px
}

.table-action {
  border: 0;
  background: none;
  font-size: 10px;
  text-decoration: underline
}

.table-action.danger {
  color: var(--red)
}

.password-mask {
  letter-spacing: 2px;
  color: #aaa;
  font-size: 13px
}

.role-pill,
.status-pill {
  display: inline-block;
  padding: 3px 8px;
  font-size: 10px;
  white-space: nowrap
}

.role-pill.role-customer {
  background: #eef1f4;
  color: #45586b
}

.role-pill.role-admin {
  background: #fdece9;
  color: var(--red-dark)
}

.status-pill.status-pending {
  background: #fff0d8;
  color: #96620c
}

.status-pill.status-processing {
  background: #eaf1fb;
  color: #1d4f96
}

.status-pill.status-shipped {
  background: #eee7fb;
  color: #5b2f96
}

.status-pill.status-completed {
  background: #e9f6ed;
  color: #276339
}

.status-pill.status-cancelled {
  background: #fff0f0;
  color: #a01d24
}

.order-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 24px
}

.order-detail-block {
  border: 1px solid var(--line);
  padding: 18px
}

.order-detail-block h3 {
  font-size: 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 14px
}

.order-detail-block p {
  font-size: 12px;
  margin: 0 0 8px
}

.order-detail-block p:last-child {
  margin-bottom: 0
}

.order-detail-block .inline-add-form {
  margin-bottom: 0
}

.order-items-table {
  margin-bottom: 18px
}

.order-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--line);
  padding-top: 16px;
  font-size: 15px
}

.order-total span {
  font-family: var(--serif);
  font-size: 22px;
  color: var(--red)
}

.toast {
  position: fixed;
  bottom: 22px;
  left: 22px;
  background: var(--black);
  color: #fff;
  padding: 12px 18px;
  font-size: 12px;
  transform: translateY(130%);
  transition: .3s;
  z-index: 20;
  box-shadow: 0 7px 25px #0003
}

.toast.show {
  transform: translateY(0)
}

@media(max-width:900px) {
  .main-nav {
    gap: 15px
  }

  .header-row {
    gap: 18px
  }

  .header-search {
    display: none
  }

  .hero-copy {
    padding-right: 6%
  }

  .product-grid {
    grid-template-columns: repeat(3, 1fr)
  }

  .product-detail {
    gap: 40px
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr
  }

  .newsletter {
    grid-column: 1/-1
  }

  .admin-content {
    grid-template-columns: 1fr
  }

  .order-detail-grid {
    grid-template-columns: 1fr
  }

  .product-list-card {
    order: -1
  }
}

@media(max-width:680px) {
  .container {
    width: min(100% - 30px, 500px)
  }

  .announcement {
    font-size: 10px
  }

  .site-header {
    height: 70px
  }

  .header-row {
    justify-content: space-between
  }

  .menu-toggle {
    display: block;
    order: 0
  }

  .brand {
    order: 1;
    font-size: 16px
  }

  .brand-mark {
    width: 27px;
    height: 27px;
    font-size: 17px
  }

  .main-nav {
    display: none;
    position: absolute;
    top: 110px;
    right: 15px;
    left: 15px;
    background: #fff;
    border: 1px solid var(--line);
    z-index: 10;
    padding: 10px;
    flex-direction: column;
    gap: 0;
    box-shadow: 0 8px 20px #0001
  }

  .main-nav.open {
    display: flex
  }

  .main-nav a {
    padding: 9px 12px
  }

  .main-nav a:after {
    display: none
  }

  .header-actions {
    order: 2;
    gap: 10px
  }

  .header-actions .user-link {
    display: none
  }

  .icon-link,
  .cart-link {
    font-size: 19px
  }

  .hero {
    height: 640px
  }

  .hero-slide {
    display: block
  }

  .hero-copy {
    height: 100%;
    justify-content: end;
    padding: 34px 26px 85px
  }

  .hero h1 {
    font-size: 58px
  }

  .hero-visual {
    position: absolute;
    inset: 0;
    opacity: .65
  }

  .hero-copy {
    z-index: 2;
    background: linear-gradient(0deg, #171717 4%, rgba(23, 23, 23, .45) 57%, rgba(23, 23, 23, .25))
  }

  .hero-dots {
    right: 24px
  }

  .section {
    padding: 62px 0
  }

  .section-heading h2,
  .page-intro h1 {
    font-size: 36px
  }

  .section-heading {
    align-items: end;
    margin-bottom: 22px
  }

  .text-link {
    font-size: 10px
  }

  .category-grid {
    grid-template-columns: 1fr;
    gap: 10px
  }

  .category-tile {
    height: 150px
  }

  .category-tile strong {
    font-size: 28px
  }

  .product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 26px 10px
  }

  .product-info h3 {
    font-size: 12px
  }

  .editorial {
    display: flex;
    flex-direction: column;
    gap: 30px;
    padding-top: 65px;
    padding-bottom: 65px
  }

  .editorial-image {
    height: 350px;
    width: 100%
  }

  .editorial-copy h2 {
    font-size: 39px
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 30px
  }

  .footer-bottom {
    display: block
  }

  .footer-bottom span {
    display: block;
    margin: 5px 0
  }

  .page-shell {
    padding-top: 45px;
    padding-bottom: 70px
  }

  .shop-layout {
    display: block
  }

  .filters {
    position: fixed;
    inset: 0 18% 0 0;
    background: #fff;
    z-index: 15;
    padding: 23px;
    transform: translateX(110%);
    transition: .3s;
    overflow: auto;
    box-shadow: -5px 0 20px #0002
  }

  .filters.open {
    transform: translateX(0)
  }

  .filter-close {
    display: block;
    border: 0;
    background: none;
    font-size: 23px
  }

  .filter-trigger {
    display: block
  }

  .results-toolbar {
    margin-bottom: 16px
  }

  .product-detail {
    display: block
  }

  .detail-gallery {
    margin-bottom: 35px
  }

  .detail-copy {
    padding-top: 0
  }

  .detail-copy h1 {
    font-size: 36px
  }

  .detail-benefits {
    gap: 13px
  }

  .cart-layout,
  .checkout-layout {
    display: block
  }

  .cart-table-head {
    display: none
  }

  .cart-item {
    grid-template-columns: 70px 1fr;
    gap: 10px
  }

  .cart-item-image {
    width: 70px;
    height: 90px
  }

  .cart-item-info {
    min-width: 0
  }

  .cart-item-price,
  .cart-item-subtotal,
  .cart-quantity {
    grid-row: 2
  }

  .cart-item-price {
    text-align: right;
    grid-column: 2
  }

  .cart-quantity {
    justify-self: start;
    grid-column: 1
  }

  .cart-item-subtotal {
    grid-column: 2;
    text-align: left
  }

  .order-summary {
    margin-top: 25px
  }

  .form-grid {
    grid-template-columns: 1fr
  }

  .form-grid .full-span {
    grid-column: auto
  }

  .checkout-summary {
    margin-top: 30px
  }

  .auth-page {
    padding: 20px 15px 60px
  }

  .auth-panel {
    display: block
  }

  .auth-visual {
    min-height: 220px;
    padding: 24px
  }

  .auth-visual h2 {
    font-size: 32px
  }

  .auth-form {
    padding: 35px 24px
  }

  .admin-shell {
    padding-top: 40px
  }

  .admin-heading {
    align-items: start
  }

  .admin-heading h1 {
    font-size: 34px
  }

  .admin-heading .btn {
    padding: 8px 11px;
    font-size: 10px
  }

  .admin-stats {
    grid-template-columns: 1fr 1fr
  }

  .admin-stats>div {
    padding: 13px
  }

  .admin-stats strong {
    font-size: 25px
  }

  .inline-add-form {
    display: block
  }

  .inline-add-form .btn {
    width: 100%;
    margin-top: 9px
  }

  .admin-card {
    padding: 16px
  }

  .admin-product-form .form-grid {
    grid-template-columns: 1fr 1fr
  }

  .admin-product-form .form-grid label:last-child {
    grid-column: 1/-1
  }
}

:root {
  --black: #0d1114;
  --ink: #172532;
  --muted: #71808c;
  --line: #dfe6ea;
  --paper: #f3f6f8;
  --red: #a72832;
  --red-dark: #7f1d26;
  --cream: #e2ebf0
}

body {
  background: #fff;
  color: var(--ink)
}

.announcement {
  background: #17384f;
  letter-spacing: 1px;
  padding: 8px
}

.brand-mark {
  background: none
}

.main-nav a:after {
  background: var(--red)
}

.hero {
  height: 620px;
  background: #0d1821
}

.hero h1 em,
h2 em {
  color: #83abc5
}

.visual-one {
  background-image: linear-gradient(90deg, #0d1821 0%, transparent 18%), url("https://images.unsplash.com/photo-1542272604-787c3835535d?auto=format&fit=crop&w=1300&q=85")
}

.visual-two {
  background-image: linear-gradient(90deg, #0d1821 0%, transparent 18%), url("https://images.unsplash.com/photo-1475178626620-a4d074967452?auto=format&fit=crop&w=1300&q=85")
}

.section-muted {
  background: #f3f6f8
}

.category-1 {
  background-image: url("https://images.unsplash.com/photo-1475178626620-a4d074967452?auto=format&fit=crop&w=700&q=85")
}

.category-2 {
  background-image: url("https://images.unsplash.com/photo-1541099649105-f69ad21f3246?auto=format&fit=crop&w=700&q=85")
}

.category-3 {
  background-image: url("https://images.unsplash.com/photo-1519238263530-99bdd11df2ea?auto=format&fit=crop&w=700&q=85")
}

.product-image {
  background: #edf3f6
}

.product-badge.sale {
  background: #17384f;
  color: #fff
}

.editorial-image {
  background-image: url("https://images.unsplash.com/photo-1548883354-94bcfe321cbb?auto=format&fit=crop&w=1000&q=85")
}

.filters {
  border-top-color: #17384f
}

.detail-rating {
  color: #17384f
}

.option-choice input:checked+span {
  border-color: #17384f;
  color: #17384f;
  box-shadow: inset 0 0 0 1px #17384f
}

.site-footer {
  background: #0e1d28
}

.toast {
  background: #17384f
}

.auth-visual {
  background-image: linear-gradient(140deg, rgba(7, 20, 30, .18), rgba(7, 20, 30, .8)), url("https://images.unsplash.com/photo-1542272604-787c3835535d?auto=format&fit=crop&w=900&q=85")
}

.register-visual {
  background-image: linear-gradient(140deg, rgba(7, 20, 30, .2), rgba(7, 20, 30, .82)), url("https://images.unsplash.com/photo-1475178626620-a4d074967452?auto=format&fit=crop&w=900&q=85")
}

@media(max-width:680px) {
  .hero {
    height: 650px
  }

  .hero-copy {
    background: linear-gradient(0deg, #0d1821 4%, rgba(13, 24, 33, .5) 57%, rgba(13, 24, 33, .24))
  }
}