/* SatyaKarm Store — styles (prefix sk-). Colors purani site ke CSS variables se aate hain. */
:root {
  --sk-primary: var(--color-primary, #e8643c);
  --sk-trust: var(--color-trust, #2b2f6b);
  --sk-gold: var(--color-gold, #c9a24b);
  --sk-bg: #fbf6ec;
  --sk-card: #ffffff;
  --sk-text: #2a2a33;
  --sk-muted: #6b6b78;
  --sk-line: #e8e0d0;
  --sk-ok: #1f8f55;
  --sk-err: #c0392b;
  --sk-radius: 14px;
}
.sk-body { margin: 0; background: var(--sk-bg); color: var(--sk-text); font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif; line-height: 1.55; }
.sk-body * { box-sizing: border-box; }
.sk-body h1, .sk-body h2, .sk-body h3 { font-family: 'Marcellus', Georgia, serif; font-weight: 400; color: var(--sk-trust); line-height: 1.2; margin: 0 0 .5em; }
.sk-body img { max-width: 100%; height: auto; display: block; }
.sk-body a { color: var(--sk-trust); }
.sk-wrap { width: 100%; max-width: 1140px; margin: 0 auto; padding: 0 16px; }
.sk-main { min-height: 60vh; }
.sk-section { padding: 28px 16px 56px; }
.sk-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Header / footer */
.sk-header { background: #fff; border-bottom: 1px solid var(--sk-line); position: sticky; top: 0; z-index: 30; }
.sk-header__in { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 60px; }
.sk-brand { text-decoration: none; font-family: 'Marcellus', Georgia, serif; font-size: 1.3rem; color: var(--sk-trust); }
.sk-nav { display: flex; gap: 4px; flex-wrap: wrap; }
.sk-nav a { text-decoration: none; padding: 8px 10px; border-radius: 8px; color: var(--sk-text); font-size: .95rem; }
.sk-nav a:hover, .sk-nav a.is-active { background: #f3ead9; color: var(--sk-trust); }
.sk-footer { background: var(--sk-trust); color: #e9e9f5; margin-top: 40px; padding: 28px 0 14px; }
.sk-footer a { color: #fff; }
.sk-footer__in { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.sk-footer__copy { margin-top: 18px; font-size: .85rem; opacity: .75; }

/* Buttons */
.sk-btn { display: inline-block; text-align: center; cursor: pointer; border: 0; text-decoration: none; background: var(--sk-primary); color: #fff !important; font: 600 1rem/1 'Inter', sans-serif; padding: 13px 22px; border-radius: 999px; transition: transform .1s, filter .15s; }
.sk-btn:hover { filter: brightness(.95); }
.sk-btn:active { transform: translateY(1px); }
.sk-btn--ghost { background: transparent; color: var(--sk-trust) !important; border: 1.5px solid var(--sk-trust); }
.sk-btn--block { display: block; width: 100%; }
.sk-btn--lg { padding: 16px 24px; font-size: 1.05rem; }
.sk-btn.is-disabled, .sk-btn[disabled] { background: #c9c5bb; cursor: not-allowed; filter: none; }

/* Hero + search */
.sk-hero { background: linear-gradient(135deg, #fff3e3, #f6e7cf); padding: 40px 0 34px; text-align: center; border-bottom: 1px solid var(--sk-line); }
.sk-hero h1 { font-size: clamp(1.8rem, 5vw, 2.6rem); }
.sk-hero p { color: var(--sk-muted); margin: 0 0 18px; }
.sk-search { display: flex; gap: 8px; max-width: 460px; margin: 0 auto; }
.sk-search input { flex: 1; min-width: 0; padding: 12px 16px; border: 1px solid var(--sk-line); border-radius: 999px; font: inherit; background: #fff; }

/* Product grid */
.sk-grid { display: grid; gap: 18px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 720px) { .sk-grid { grid-template-columns: repeat(3, 1fr); gap: 24px; } }
@media (min-width: 1000px) { .sk-grid { grid-template-columns: repeat(4, 1fr); } }
.sk-card { background: var(--sk-card); border: 1px solid var(--sk-line); border-radius: var(--sk-radius); overflow: hidden; display: flex; flex-direction: column; }
.sk-card__img { position: relative; display: block; aspect-ratio: 1/1; background: #f6efe4; }
.sk-card__img img { width: 100%; height: 100%; object-fit: cover; }
.sk-card.is-out .sk-card__img img { opacity: .55; }
.sk-card__body { padding: 12px 14px 16px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.sk-card__title { font-size: 1.05rem; margin: 0; }
.sk-card__title a { text-decoration: none; }
.sk-card__desc { margin: 0; color: var(--sk-muted); font-size: .88rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.sk-card .sk-btn { margin-top: auto; }
.sk-badge { position: absolute; top: 10px; left: 10px; background: var(--sk-primary); color: #fff; font-size: .75rem; font-weight: 700; padding: 4px 9px; border-radius: 999px; }
.sk-badge--out { background: #6b6b78; }
.sk-price { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.sk-price strong { font-size: 1.15rem; color: var(--sk-trust); }
.sk-price s { color: var(--sk-muted); font-size: .9rem; }
.sk-price--lg strong { font-size: 1.7rem; }
.sk-off { color: var(--sk-ok); font-weight: 700; font-size: .9rem; }
.sk-pager { display: flex; justify-content: center; gap: 6px; margin-top: 28px; flex-wrap: wrap; }
.sk-pager a { min-width: 38px; text-align: center; padding: 8px 10px; border: 1px solid var(--sk-line); border-radius: 8px; text-decoration: none; background: #fff; }
.sk-pager a.is-active { background: var(--sk-trust); color: #fff; border-color: var(--sk-trust); }
.sk-empty { text-align: center; padding: 50px 10px; }

/* Product page */
.sk-crumbs { padding-top: 16px; font-size: .92rem; }
.sk-product { display: grid; gap: 28px; padding-top: 12px; padding-bottom: 40px; grid-template-columns: 1fr; }
@media (min-width: 900px) { .sk-product { grid-template-columns: 1.1fr .9fr; align-items: start; } .sk-product__buy { position: sticky; top: 76px; } }
.sk-gallery__main { width: 100%; aspect-ratio: 1/1; object-fit: cover; border-radius: var(--sk-radius); border: 1px solid var(--sk-line); background: #f6efe4; }
.sk-gallery__thumbs { display: flex; gap: 8px; margin: 10px 0 4px; overflow-x: auto; padding-bottom: 4px; }
.sk-gallery__thumbs button { border: 2px solid transparent; padding: 0; background: none; border-radius: 10px; cursor: pointer; flex: 0 0 auto; }
.sk-gallery__thumbs button.is-active { border-color: var(--sk-primary); }
.sk-gallery__thumbs img { width: 72px; height: 72px; object-fit: cover; border-radius: 8px; }
.sk-title { font-size: clamp(1.5rem, 4vw, 2.1rem); margin-top: 14px; }
.sk-lead { color: var(--sk-muted); }
.sk-stock { font-weight: 600; margin: 6px 0; }
.sk-stock.is-in { color: var(--sk-ok); }
.sk-stock.is-out { color: var(--sk-err); }

/* Tabs (JS off ho to saare panel dikhte hain) */
.sk-tabs { margin-top: 20px; background: #fff; border: 1px solid var(--sk-line); border-radius: var(--sk-radius); overflow: hidden; }
.sk-tabs__nav { display: flex; overflow-x: auto; border-bottom: 1px solid var(--sk-line); background: #faf5ea; }
.sk-tabs__nav button { border: 0; background: none; padding: 12px 16px; font: 600 .92rem 'Inter', sans-serif; color: var(--sk-muted); cursor: pointer; white-space: nowrap; border-bottom: 3px solid transparent; }
.sk-tabs__nav button.is-active { color: var(--sk-trust); border-bottom-color: var(--sk-primary); background: #fff; }
.sk-tabs__panel { padding: 16px 18px; }
.sk-tabs__panel ul { padding-left: 20px; margin: .4em 0; }
.sk-tabs__panel p { margin: .4em 0 .8em; }
.sk-tabs__h { font-size: 1.15rem; }
html:not(.sk-js) .sk-tabs__nav { display: none; }
html.sk-js .sk-tabs__panel { display: none; }
html.sk-js .sk-tabs__panel.is-active { display: block; }
html.sk-js .sk-tabs__h { display: none; }

/* Form */
.sk-form { background: #fff; border: 1px solid var(--sk-line); border-radius: var(--sk-radius); padding: 20px 18px; box-shadow: 0 6px 24px rgba(43,47,107,.06); }
.sk-form h2 { font-size: 1.3rem; }
.sk-row { display: grid; grid-template-columns: 1fr; gap: 0 12px; }
@media (min-width: 480px) { .sk-row { grid-template-columns: 1fr 1fr; } }
.sk-f { display: block; margin-bottom: 14px; font-size: .88rem; font-weight: 600; color: var(--sk-text); }
.sk-f__label { display: block; margin-bottom: 6px; }
.sk-f input, .sk-f select, .sk-f textarea { display: block; width: 100%; margin-top: 6px; padding: 11px 12px; border: 1px solid #d9d0bd; border-radius: 10px; font: 400 1rem 'Inter', sans-serif; background: #fff; color: var(--sk-text); }
.sk-f input[readonly] { background: #f4efe4; color: var(--sk-muted); }
.sk-f input:focus, .sk-f select:focus, .sk-f textarea:focus { outline: 2px solid var(--sk-primary); outline-offset: 1px; border-color: transparent; }
.sk-f .is-invalid, .sk-f input.is-invalid { border-color: var(--sk-err); }
.sk-err { display: block; color: var(--sk-err); font-weight: 500; font-size: .82rem; margin-top: 4px; }
.sk-check { display: flex; gap: 8px; align-items: flex-start; margin: 4px 0 14px; font-size: .9rem; }
.sk-check input { margin-top: 4px; }
.sk-billing { border-left: 3px solid var(--sk-gold); padding-left: 12px; margin-bottom: 8px; }
.sk-billing[hidden] { display: none; }
.sk-qty { display: inline-flex; align-items: stretch; border: 1px solid #d9d0bd; border-radius: 10px; overflow: hidden; }
.sk-qty button { width: 44px; border: 0; background: #f4efe4; font-size: 1.2rem; cursor: pointer; }
.sk-qty input { width: 64px; margin: 0; border: 0; border-radius: 0; text-align: center; -moz-appearance: textfield; }
.sk-qty input::-webkit-outer-spin-button, .sk-qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.sk-summary { background: #faf5ea; border: 1px dashed var(--sk-gold); border-radius: 12px; padding: 12px 14px; margin: 6px 0 16px; }
.sk-summary > div { display: flex; justify-content: space-between; gap: 12px; padding: 3px 0; }
.sk-summary__total { border-top: 1px solid var(--sk-line); margin-top: 6px; padding-top: 8px !important; font-weight: 700; font-size: 1.1rem; color: var(--sk-trust); }
.sk-summary small { display: block; color: var(--sk-muted); margin-top: 6px; }
.sk-summary--card { background: #fff; text-align: left; max-width: 420px; margin: 16px auto; }
.sk-secure { text-align: center; color: var(--sk-muted); font-size: .84rem; margin: 10px 0 0; }

/* Alerts / notices */
.sk-alert { padding: 12px 14px; border-radius: 10px; margin-bottom: 14px; font-weight: 500; }
.sk-alert--err { background: #fdecea; color: #8e2318; border: 1px solid #f3c1bb; }
.sk-notice { text-align: center; padding: 48px 16px 24px; max-width: 760px; }
.sk-notice h1 { font-size: clamp(1.5rem, 4.5vw, 2.1rem); }
.sk-actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin: 18px 0; }
.sk-tick, .sk-cross { width: 72px; height: 72px; line-height: 72px; border-radius: 50%; margin: 0 auto 14px; font-size: 2.2rem; font-weight: 700; color: #fff; }
.sk-tick { background: var(--sk-ok); }
.sk-cross { background: var(--sk-primary); }
.sk-receipt { background: #fff; border: 1px solid var(--sk-line); border-radius: var(--sk-radius); padding: 18px; text-align: left; margin-top: 22px; }
.sk-receipt h2 { font-size: 1.1rem; margin-top: 10px; }
.sk-table { width: 100%; border-collapse: collapse; }
.sk-table th, .sk-table td { padding: 8px 6px; border-bottom: 1px solid var(--sk-line); text-align: left; }
.sk-table td:last-child, .sk-table th:last-child { text-align: right; }
.sk-table tfoot td { border-bottom: 0; }
.sk-address { font-style: normal; line-height: 1.6; }

/* Mobile sticky bar */
.sk-sticky { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; background: #fff; border-top: 1px solid var(--sk-line); padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); display: flex; align-items: center; justify-content: space-between; gap: 12px; box-shadow: 0 -6px 20px rgba(0,0,0,.08); transition: transform .2s; }
.sk-sticky[hidden] { display: none; }
.sk-sticky.is-hidden { transform: translateY(110%); }
@media (min-width: 900px) { .sk-sticky { display: none !important; } }
@media (max-width: 899px) { .sk-checkout .sk-footer { margin-bottom: 70px; } }
