/* WordPress / WooCommerce inner pages — keep the heritage look */

.site-main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 24px 90px;
}
.site-main h1.page-title,
.site-main h1.entry-title {
  font-family: 'Cinzel', serif;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  margin-bottom: 30px;
}

/* WooCommerce grid basics */
.woocommerce ul.products {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 28px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.woocommerce ul.products li.product {
  text-align: left;
}
.woocommerce ul.products li.product img {
  width: 100%;
  height: auto;
  border-radius: 10px;
}
.woocommerce ul.products li.product .woocommerce-loop-product__title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.25rem;
  margin: 12px 0 4px;
}
.woocommerce ul.products li.product .price {
  font-family: 'Oswald', sans-serif;
}
.woocommerce .button,
.woocommerce a.button,
.woocommerce button.button {
  display: inline-block;
  padding: 10px 22px;
  font-family: 'Jost', sans-serif;
  letter-spacing: .04em;
  text-transform: uppercase;
  font-size: .8rem;
  background: #1f1712;
  color: #fff;
  border: 0;
  border-radius: 3px;
  cursor: pointer;
  text-decoration: none;
}
.woocommerce a.button:hover,
.woocommerce button.button:hover {
  background: #b98a3c;
  color: #fff;
}
.woocommerce img { max-width: 100%; height: auto; }

/* ---------- Cart drawer ---------- */
.drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(20, 13, 8, .55);
  opacity: 0;
  transition: opacity .3s ease;
  z-index: 998;
}
.drawer-overlay.open { opacity: 1; }
.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  height: 100dvh;
  width: min(420px, 92vw);
  background: #faf6ef;
  color: #2a2018;
  box-shadow: -18px 0 50px rgba(20, 13, 8, .25);
  transform: translateX(105%);
  transition: transform .35s cubic-bezier(.22, .8, .3, 1);
  z-index: 999;
  display: flex;
  flex-direction: column;
}
.cart-drawer-head h3,
.cart-drawer .drawer-item-name,
.cart-drawer .drawer-subtotal b,
.cart-drawer .drawer-empty p { color: #2a2018; }
.cart-drawer .drawer-close { color: #2a2018; }
.cart-drawer .woocommerce-Price-amount { color: inherit; }
.cart-drawer .btn-line {
  border-color: #2a2018;
  color: #2a2018;
}
.cart-drawer .btn-line:hover {
  background: #2a2018;
  color: #faf6ef;
}
.cart-drawer.open { transform: translateX(0); }
.cart-drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 26px;
  border-bottom: 1px solid rgba(0, 0, 0, .09);
}
.cart-drawer-head h3 {
  font-family: 'Cinzel', serif;
  font-size: 1.15rem;
  letter-spacing: .06em;
}
.cart-drawer-head h3 em {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  color: #b98a3c;
}
.drawer-close {
  background: none;
  border: 0;
  font-size: 1.7rem;
  line-height: 1;
  cursor: pointer;
  color: inherit;
  padding: 2px 6px;
}
.drawer-close:hover { color: #b3242c; }
.cart-drawer-items {
  flex: 1;
  overflow-y: auto;
  padding: 10px 26px;
}
.freeship { padding: 16px 0 6px; }
.freeship p {
  font-family: 'Jost', sans-serif;
  font-size: .82rem;
  letter-spacing: .03em;
  margin-bottom: 10px;
}
.freeship b { color: #b98a3c; }
.freeship .woocommerce-Price-amount { color: inherit; }
.freeship-track {
  display: block;
  height: 5px;
  border-radius: 3px;
  background: rgba(0, 0, 0, .12);
  overflow: hidden;
}
.freeship-track i {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, #b98a3c, #e6c684);
  transition: width .4s ease;
}
/* cart page variant sits on the dark page background */
.site-main .freeship { max-width: 720px; margin: 0 auto 26px; text-align: center; }
.site-main .freeship-track { background: rgba(242, 233, 219, .18); }

.drawer-list { list-style: none; margin: 0; padding: 0; }
.drawer-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(0, 0, 0, .07);
}
.drawer-thumb img {
  width: 62px;
  height: 62px;
  object-fit: cover;
  border-radius: 6px;
  display: block;
}
.drawer-item-info { flex: 1; min-width: 0; }
.drawer-item-name {
  display: block;
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  font-size: 1.05rem;
  color: inherit;
  text-decoration: none;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.drawer-item-name:hover { color: #b98a3c; }
.drawer-qty-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 8px;
}
.drawer-qty {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(0, 0, 0, .18);
}
.drawer-qty b {
  min-width: 34px;
  text-align: center;
  font-family: 'Oswald', sans-serif;
  font-size: .88rem;
  font-weight: 500;
}
.dq-btn {
  width: 30px;
  height: 30px;
  border: 0;
  background: none;
  color: #2a2018;
  font-size: 1rem;
  line-height: 1;
  cursor: pointer;
  transition: color .2s ease;
}
.dq-btn:hover { color: #b98a3c; }
.dq-btn:disabled { opacity: .4; cursor: wait; }
.drawer-item-price {
  font-family: 'Oswald', sans-serif;
  font-size: .85rem;
  color: rgba(0, 0, 0, .6);
}
.drawer-remove {
  font-size: 1.25rem;
  line-height: 1;
  color: rgba(0, 0, 0, .35);
  text-decoration: none;
  padding: 4px 6px;
}
.drawer-remove:hover { color: #b3242c; }
.drawer-empty {
  text-align: center;
  padding: 70px 10px;
}
.drawer-empty p {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.25rem;
  margin-bottom: 22px;
}
.drawer-subtotal {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 18px 0 8px;
}
.drawer-subtotal span {
  font-family: 'Jost', sans-serif;
  font-size: .74rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: rgba(0, 0, 0, .55);
}
.drawer-subtotal b {
  font-family: 'Oswald', sans-serif;
  font-size: 1.15rem;
}
.cart-drawer-foot {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  padding: 18px 26px 26px;
  border-top: 1px solid rgba(0, 0, 0, .09);
}
.cart-drawer-foot .btn { text-align: center; }

/* ---------- Our Story hero emblem ---------- */
.st-hero-inner {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: clamp(48px, 9vw, 150px);
  flex-wrap: wrap;
}
.st-hero-inner > div:first-child { flex: 0 1 auto; }
.st-hero-emblem {
  position: relative;
  flex-shrink: 0;
  width: clamp(220px, 26vw, 340px);
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: stEmblemIn 1.4s cubic-bezier(.22, .8, .3, 1) both;
}
.st-hero-emblem img {
  width: 100%;
  height: auto;
  position: relative;
  z-index: 1;
  animation: stEmblemFloat 7s ease-in-out 1.4s infinite;
  filter: drop-shadow(0 18px 40px rgba(201, 162, 94, .18));
}
.st-emblem-halo {
  position: absolute;
  inset: -18%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 162, 94, .16), transparent 62%);
  animation: stHaloPulse 7s ease-in-out 1.4s infinite;
}
.st-hero-emblem::after {
  content: "";
  position: absolute;
  inset: 4%;
  border-radius: 50%;
  border: 1px solid rgba(201, 162, 94, .22);
  animation: stRingSpin 26s linear infinite;
  border-top-color: rgba(201, 162, 94, .5);
}
@keyframes stEmblemIn {
  from { opacity: 0; transform: translateY(26px) scale(.96); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes stEmblemFloat {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-12px); }
}
@keyframes stHaloPulse {
  0%, 100% { opacity: .7; transform: scale(1); }
  50%      { opacity: 1; transform: scale(1.06); }
}
@keyframes stRingSpin {
  to { transform: rotate(360deg); }
}
@media (max-width: 820px) {
  .st-hero-emblem { display: none; }
}

/* ---------- Newsletter popup ---------- */
.np-overlay[hidden] { display: none !important; }
.np-overlay {
  position: fixed;
  inset: 0;
  background: rgba(20, 13, 8, .6);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  z-index: 1001;
  opacity: 0;
  transition: opacity .3s ease;
}
.np-overlay.open { opacity: 1; }
.np-modal {
  position: relative;
  display: flex;
  width: min(760px, 100%);
  background: #faf6ef;
  color: #2a2018;
  box-shadow: 0 30px 80px rgba(20, 13, 8, .4);
  overflow: hidden;
  transform: translateY(14px);
  transition: transform .35s cubic-bezier(.22, .8, .3, 1);
}
.np-modal .np-title, .np-modal .np-sub, .np-modal #npEmail { color: #2a2018; }
.np-modal #npEmail::placeholder { color: rgba(42, 32, 24, .45); }
.np-overlay.open .np-modal { transform: translateY(0); }
.np-media { width: 42%; flex-shrink: 0; }
.np-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.np-body {
  flex: 1;
  padding: 48px 40px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.np-close {
  position: absolute;
  top: 12px;
  right: 16px;
  background: none;
  border: 0;
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
  color: rgba(0, 0, 0, .55);
  z-index: 2;
}
.np-close:hover { color: #b3242c; }
.np-logo { max-height: 46px; width: auto; margin: 0 auto 22px; }
.np-mark { margin: 0 auto 22px; }
.np-get {
  font-family: 'Jost', sans-serif;
  font-size: .8rem;
  letter-spacing: .34em;
  text-transform: uppercase;
  color: rgba(0, 0, 0, .55);
}
.np-off {
  font-family: 'Cinzel', serif;
  font-size: clamp(2.2rem, 5vw, 3rem);
  color: #b98a3c;
  line-height: 1.1;
  margin: 4px 0;
}
.np-sub {
  font-family: 'Jost', sans-serif;
  font-size: .78rem;
  letter-spacing: .26em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.np-copy {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.08rem;
  color: rgba(0, 0, 0, .7);
  margin-bottom: 14px;
}
.np-title {
  font-family: 'Cinzel', serif;
  font-size: 1.5rem;
  line-height: 1.3;
  margin-bottom: 26px;
}
.np-title em {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  color: #b98a3c;
}
#npEmail {
  width: 100%;
  padding: 14px 18px;
  font-family: 'Jost', sans-serif;
  font-size: .9rem;
  letter-spacing: .06em;
  border: 1px solid rgba(0, 0, 0, .3);
  background: transparent;
  text-align: center;
  margin-bottom: 12px;
}
#npEmail:focus { outline: none; border-color: #b98a3c; }
.np-btn { width: 100%; cursor: pointer; }
.np-error {
  font-size: .82rem;
  color: #b3242c;
  margin-bottom: 10px;
}
.np-nothanks {
  background: none;
  border: 0;
  margin-top: 16px;
  font-family: 'Jost', sans-serif;
  font-size: .82rem;
  color: rgba(0, 0, 0, .45);
  cursor: pointer;
}
.np-nothanks:hover { color: rgba(0, 0, 0, .7); text-decoration: underline; }
@media (max-width: 640px) {
  .np-media { display: none; }
  .np-body { padding: 40px 26px; }
}

/* Uploaded logos (Tema Ayarları) */
.header .logo-img { display: block; height: 46px; width: auto; }
.footer .logo-img { display: block; max-height: 120px; width: auto; }

/* Category page pagination — minimal, matches the caps type */
.cat-pagination { margin-top: 56px; }
.cat-pagination ul {
  display: flex;
  justify-content: center;
  gap: 10px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.cat-pagination .page-numbers {
  display: inline-block;
  min-width: 42px;
  padding: 11px 14px;
  text-align: center;
  font-family: 'Jost', sans-serif;
  font-size: .78rem;
  letter-spacing: .12em;
  color: inherit;
  border: 1px solid rgba(0,0,0,.14);
  text-decoration: none;
}
.cat-pagination .page-numbers.current {
  background: #1f1712;
  color: #fff;
  border-color: #1f1712;
}
.cat-pagination a.page-numbers:hover {
  border-color: #b98a3c;
  color: #b98a3c;
}

/* Hero stats: the counter span inside <strong> keeps the big number style */
.hero-stats strong span {
  font-family: inherit;
  font-size: inherit;
  letter-spacing: inherit;
  text-transform: none;
  color: inherit;
}

/* Product cards on the front page: images fill the frame */
.product-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
