@font-face {
  font-family: "Estedad";
  src: url("assets/fonts/Estedad-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Estedad";
  src: url("assets/fonts/Estedad-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&display=swap');

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body{
  margin:0;
  background:#fff;
  color:#111;
  font-family:Inter, Arial, sans-serif;
  -webkit-font-smoothing:antialiased
}
body:has(.drawer.active),
body:has(.overlay.active) {
  overflow: hidden;
}

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

button,
a {
  font: inherit;
}

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

button {
  border: 0;
  cursor: pointer;
  color: inherit;
  background: none;
}

/* =========================
   HEADER
========================= */

.site-header {
  height: 126px;
  background: #f5f5f5;
  padding: 25px 3.2vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 20;
}

.logo {
  width: 150px;
}

.logo img {
  width: 100%;
  height: auto;
}

.site-header nav {
  display: flex;
  align-items: center;
  gap: 54px;
  font-size: 12px;
  letter-spacing: .08em;
}

.cart-link {
  letter-spacing: .08em;
}

.menu {
  display: none;
  width: 28px;
  gap: 5px;
  flex-direction: column;
}

.menu i {
  display: block;
  height: 2px;
  background: #111;
  width: 100%;
}

/* =========================
   HERO
========================= */

.hero {
  display: grid;
  grid-template-columns: 38% minmax(0, 1fr);
  min-height: 620px;
}

.hero-copy {
  padding: 105px 5vw 85px 3.2vw;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

.eyebrow {
  font-size: 11px;
  letter-spacing: .12em;
  margin-bottom: 30px;
}

.hero h1 {
  font-size: clamp(45px, 4.3vw, 76px);
  line-height: .98;
  letter-spacing: -.055em;
  font-weight: 400;
  margin: 0;
}

.hero h1 strong {
  font-weight: 600;
}

.primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 25px;
  margin-top: 46px;
  padding: 15px 28px;
  background: #222;
  color: #fff;
  font-size: 11px;
  letter-spacing: .08em;
  min-height: 42px;
}

.primary:hover {
  background: #000;
}

.hero-art {
  background: #f4f4f4;
  margin: 38px 3.2vw 38px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  min-width: 0;
}

.hero-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* =========================
   SELECTED WORK
========================= */

.work {
  background: #f5f5f5;
  padding: 75px 3.2vw;
  display: grid;
  grid-template-columns: 38% minmax(0, 1fr);
  gap: 4vw;
  align-items: center;
  min-height: 620px;
}

.work-copy {
  padding-right: 1vw;
}

.work-copy h2 {
  font-size: clamp(40px, 3.8vw, 68px);
  line-height: .98;
  letter-spacing: -.055em;
  font-weight: 400;
  margin: 0;
}

.work-copy p {
  font-size: 16px;
  line-height: 1.4;
  max-width: 430px;
  margin: 45px 0 0;
}

/*
  IMPORTANT:
  Keep the complete artwork inside the right panel.
  It will no longer become oversized or crop itself.
*/

.work-art {
  background: #f1f1f1;
  width: 100%;
  height: 560px;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.work-art img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
}

/* =========================
   COLLECTION
========================= */

.collection {
  padding: 80px 3.2vw 95px;
}

.collection .eyebrow {
  margin-bottom: 42px;
}

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

.product-card {
  cursor: pointer;
  min-width: 0;
}

.product-image {
  background: #f4f4f4;
  overflow: hidden;
}

.product-image img {
  width: 100%;
  aspect-ratio: 1.45;
  object-fit: cover;
  transition: transform .35s ease;
}

.product-card:hover img {
  transform: scale(1.025);
}

.product-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-top: 13px;
  font-size: 11px;
  letter-spacing: .03em;
}

/* =========================
   ABOUT
========================= */

.about {
  background: #f5f5f5;
  border-top: 1px solid #ddd;
  padding: 105px 3.2vw;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10vw;
}

.about h2 {
  font-size: clamp(48px, 5vw, 82px);
  font-weight: 400;
  line-height: .95;
  letter-spacing: -.06em;
}

.about p {
  font-size: 18px;
  line-height: 1.55;
  max-width: 510px;
  margin-top: 35px;
}

/* =========================
   FOOTER
========================= */

footer {
  background: #111;
  color: #fff;
  padding: 38px 3.2vw;
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  letter-spacing: .1em;
}

/* =========================
   CART DRAWER
========================= */

.drawer {
  position: fixed;
  z-index: 100;
  right: 0;
  top: 0;
  width: min(520px, 100%);
  height: 100vh;
  background: #fff;
  transform: translateX(100%);
  transition: .35s;
  display: flex;
  flex-direction: column;
  padding: 30px;
}

.drawer.active {
  transform: none;
}

.drawer-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #111;
  padding-bottom: 18px;
}

.drawer-head h3 {
  font-size: 14px;
  letter-spacing: .1em;
}

.drawer-head button,
.close {
  font-size: 30px;
}

.drawer #cart-items {
  flex: 1;
  overflow: auto;
  padding: 25px 0;
}

.cart-item {
  display: grid;
  grid-template-columns: 82px 1fr auto;
  gap: 14px;
  margin-bottom: 24px;
}

.cart-item img {
  width: 82px;
  height: 58px;
  object-fit: cover;
}

.cart-item div {
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: 11px;
}

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

.remove {
  text-align: left;
  text-decoration: underline;
  font-size: 9px;
  padding: 0;
  margin-top: 3px;
}

.empty {
  font-size: 12px;
}

.drawer-foot {
  border-top: 1px solid #111;
  padding-top: 20px;
}

.drawer-foot > div {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
  font-size: 12px;
}

.drawer-foot .total {
  font-size: 15px;
  margin: 20px 0;
}

.wide {
  width: 100%;
}

/* =========================
   OVERLAYS
========================= */

.overlay {
  position: fixed;
  inset: 0;
  background: rgba(255, 255, 255, .96);
  z-index: 150;
  display: none;
  overflow: auto;
}

.overlay.active {
  display: block;
}

.product-modal-inner,
.checkout-inner,
.payment-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 50px 3.2vw;
  position: relative;
}

.product-modal-inner .close,
.checkout-inner .close {
  position: absolute;
  right: 3vw;
  top: 30px;
}

/* =========================
   PRODUCT DETAIL
========================= */

.product-detail {
  display: grid;
  grid-template-columns: 38% minmax(0, 1fr);
  gap: 5vw;
  align-items: center;
  min-height: 85vh;
}

.detail-copy h2 {
  font-size: clamp(48px, 5vw, 80px);
  font-weight: 400;
  letter-spacing: -.06em;
  margin: 0 0 30px;
}

.detail-copy > p {
  font-size: 16px;
  line-height: 1.45;
  max-width: 520px;
}

.detail-image {
  background: #f4f4f4;
  overflow: hidden;
}

.detail-image img {
  width: 100%;
  height: auto;
  display: block;
}

.size-label {
  font-size: 11px;
  letter-spacing: .1em;
  margin-top: 45px;
  margin-bottom: 12px;
}

.sizes {
  display: flex;
  gap: 10px;
}

.size {
  border: 1px solid #111;
  padding: 15px 16px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 12px;
  align-items: center;
  font-size: 12px;
}

.size span {
  font-size: 11px;
}

.size strong {
  font-weight: 500;
}

.size.active {
  background: #111;
  color: #fff;
}

/* =========================
   CHECKOUT
========================= */

.checkout-inner {
  min-height: 100vh;
}

.checkout-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 8vw;
  margin-top: 35px;
}

.checkout-summary {
  background: #f5f5f5;
  padding: 30px;
}

.checkout-summary h3 {
  font-size: 13px;
  letter-spacing: .1em;
}

.checkout-line {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 13px 0;
  border-bottom: 1px solid #ccc;
  font-size: 11px;
}

.checkout-summary p {
  border-top: 1px solid #aaa;
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
}

.fields {
  display: grid;
  gap: 15px;
}

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

form input {
  width: 100%;
  padding: 15px;
  border: 1px solid #777;
  background: #fff;
  margin-bottom: 15px;
  outline: 0;
}

.payment-title {
  margin-top: 35px;
}

.payment-option {
  border: 1px solid #222;
  padding: 18px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 20px;
}

.payment-option strong {
  display: block;
  font-weight: 500;
}

.payment-option small {
  display: block;
  color: #aaa;
  margin-top: 7px;
}

/* =========================
   PAYMENT
========================= */

.payment-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9vw;
  align-items: center;
  min-height: 75vh;
}

.payment-grid h2 {
  font-size: clamp(45px, 4.5vw, 75px);
  font-weight: 400;
  line-height: .98;
  letter-spacing: -.06em;
}

.payment-grid p {
  font-size: 16px;
  line-height: 1.5;
}

.pay-detail {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.pay-detail span,
.cliq-box span {
  font-size: 10px;
  letter-spacing: .1em;
}

.pay-detail b,
.cliq-box b {
  font-size: 16px;
}

.small {
  font-size: 12px !important;
}

.cliq-box {
  background: #f5f5f5;
  padding: 35px;
}

.cliq-box > div {
  padding: 20px 0;
  border-bottom: 1px solid #bbb;
  display: flex;
  flex-direction: column;
  gap: 8px;
  position: relative;
}

.cliq-box button {
  position: absolute;
  right: 0;
  top: 20px;
  border: 1px solid #777;
  padding: 10px 15px;
  font-size: 10px;
}

.cliq-box p {
  color: #aaa;
  font-size: 12px;
}

/* =========================
   SUCCESS
========================= */

.success-inner {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
}

.success-inner h1 {
  font-size: clamp(55px, 6vw, 90px);
  font-weight: 400;
  letter-spacing: -.06em;
  margin: 0 0 20px;
}

.success-inner p {
  font-size: 17px;
}

/* =========================
   TABLET
========================= */

@media (max-width: 900px) {

  .site-header {
    height: 92px;
  }

  .site-header nav {
    gap: 20px;
  }

  .hero,
  .work,
  .product-detail,
  .checkout-grid,
  .payment-grid,
  .about {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    padding: 70px 6vw;
  }

  .hero-art {
    margin: 0 6vw 50px;
    height: auto;
    min-height: 420px;
  }

  /* Selected work becomes stacked */
  .work {
    padding: 65px 6vw;
    gap: 35px;
  }

  .work-copy {
    padding-right: 0;
  }

  .work-art {
    margin-top: 0;
    width: 100%;
    height: auto;
    min-height: 420px;
  }

  .work-art img {
    width: 100%;
    height: auto;
    max-height: 500px;
    object-fit: contain;
  }

  .collection {
    padding: 65px 6vw;
  }

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

  .about {
    padding: 75px 6vw;
    gap: 20px;
  }

  .detail-image {
    order: -1;
  }

  .product-detail {
    padding-top: 55px;
  }

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

  .checkout-grid {
    gap: 35px;
  }

  .payment-grid {
    padding-top: 55px;
    gap: 40px;
  }

  .menu {
    display: flex;
  }

  .site-header nav > a {
    display: none;
  }
}

/* =========================
   MOBILE
========================= */

@media (max-width: 520px) {

  .site-header {
    padding: 20px;
  }

  .logo {
    width: 115px;
  }

  .cart-link {
    font-size: 10px;
  }

  .hero-copy {
    padding: 60px 20px;
  }

  .hero h1 {
    font-size: 45px;
  }

  .hero-art {
    margin: 0 20px 35px;
    min-height: 300px;
  }

  .work {
    padding: 55px 20px;
    gap: 30px;
  }

  .work-copy h2 {
    font-size: 43px;
  }

  .work-copy p {
    margin-top: 30px;
    font-size: 14px;
  }

  .work-art {
    min-height: 280px;
  }

  .work-art img {
    max-height: 320px;
  }

  .collection {
    padding: 55px 20px;
  }

  .collection-grid {
    grid-template-columns: 1fr 1fr;
    gap: 20px 12px;
  }

  .product-meta {
    font-size: 9px;
  }

  .product-meta span:last-child {
    font-size: 8px;
  }

  .drawer {
    padding: 22px;
  }

  .product-modal-inner,
  .checkout-inner,
  .payment-inner {
    padding: 35px 20px;
  }

  .sizes {
    flex-direction: column;
  }

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

  .payment-grid h2 {
    font-size: 45px;
  }

  footer {
    padding: 30px 20px;
    flex-direction: column;
    gap: 10px;
  }
}
/* Arabic typography */
.arabic,
.product-meta .arabic,
.detail-copy h2 {
  font-family:"Estedad", Arial, sans-serif;
}
/* Fix selected work artwork cropping */
.work-visual {
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.work-visual img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
}
