/* =============================================================================
   INFORMATIONAL PAGES — Shipping & Returns, Size Guide, Contact, FAQs
   Shared layout primitives for all static content pages.
   ============================================================================= */

/* =============================================================================
   PAGE HERO — editorial header band (used on all four pages)
   ============================================================================= */

.store-page-hero {
  padding: clamp(3.5rem, 10vw, 7rem) var(--gutter) clamp(2rem, 5vw, 3.5rem);
  background: var(--color-off-white);
  text-align: center;
}

.store-page-hero__eyebrow {
  font-family: var(--font-sans);
  font-size: var(--text-xs);
  font-weight: var(--weight-medium);
  text-transform: uppercase;
  letter-spacing: var(--tracking-wider);
  color: var(--color-gold);
  margin: 0 0 var(--space-4);
}

.store-page-hero__title {
  font-family: var(--font-serif);
  font-size: var(--text-h1);
  font-weight: var(--weight-light);
  color: var(--color-black);
  margin: 0 0 var(--space-4);
  line-height: var(--leading-tight);
}

.store-page-hero__lead {
  font-family: var(--font-sans);
  font-size: var(--text-small);
  color: var(--color-charcoal);
  max-width: 52ch;
  margin: 0 auto;
  line-height: var(--leading-body);
}

/* =============================================================================
   PAGE BODY — constrained content area
   ============================================================================= */

.store-page-body {
  max-width: var(--container-text);
  margin: 0 auto;
  padding: clamp(2.5rem, 6vw, 5rem) var(--gutter);
}

.store-page-body--wide {
  max-width: 900px;
}

/* =============================================================================
   CONTENT SECTIONS — used inside page body
   ============================================================================= */

.store-content-section {
  margin-bottom: clamp(2.5rem, 6vw, 4rem);
}

.store-content-section:last-child {
  margin-bottom: 0;
}

.store-content-section__heading {
  font-family: var(--font-serif);
  font-size: var(--text-h3);
  font-weight: var(--weight-light);
  color: var(--color-black);
  margin: 0 0 var(--space-5);
  padding-bottom: var(--space-4);
  border-bottom: 1px solid var(--color-sand);
}

.store-content-section p {
  font-family: var(--font-sans);
  font-size: var(--text-small);
  color: var(--color-charcoal);
  line-height: var(--leading-body);
  margin: 0 0 var(--space-4);
}

.store-content-section p:last-child {
  margin-bottom: 0;
}

/* =============================================================================
   SHIPPING & RETURNS — rate table
   ============================================================================= */

.store-rate-table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--font-sans);
  font-size: var(--text-small);
  margin: var(--space-5) 0;
}

.store-rate-table th {
  font-size: var(--text-xs);
  font-weight: var(--weight-medium);
  text-transform: uppercase;
  letter-spacing: var(--tracking-wide);
  color: var(--color-gray);
  text-align: left;
  padding: var(--space-3) var(--space-4);
  border-bottom: 1px solid var(--color-sand);
}

.store-rate-table td {
  padding: var(--space-4);
  border-bottom: 1px solid var(--color-cream);
  color: var(--color-charcoal);
  vertical-align: top;
}

.store-rate-table tr:last-child td {
  border-bottom: none;
}

.store-rate-table td:first-child {
  font-weight: var(--weight-medium);
  color: var(--color-black);
}

/* Returns steps */
.store-returns-steps {
  list-style: none;
  margin: var(--space-5) 0;
  padding: 0;
  counter-reset: returns-step;
}

.store-returns-steps li {
  counter-increment: returns-step;
  display: flex;
  gap: var(--space-5);
  align-items: flex-start;
  padding: var(--space-5) 0;
  border-bottom: 1px solid var(--color-cream);
  font-family: var(--font-sans);
  font-size: var(--text-small);
  color: var(--color-charcoal);
  line-height: var(--leading-body);
}

.store-returns-steps li:last-child {
  border-bottom: none;
}

.store-returns-steps li::before {
  content: counter(returns-step);
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--color-sand);
  color: var(--color-black);
  font-size: var(--text-xs);
  font-weight: var(--weight-medium);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 0.1em;
}

/* =============================================================================
   SIZE GUIDE — measurement tables
   ============================================================================= */

.store-size-intro {
  background: var(--color-cream);
  border-radius: 2px;
  padding: var(--space-5) var(--space-6);
  margin-bottom: var(--space-6);
  font-family: var(--font-sans);
  font-size: var(--text-small);
  color: var(--color-charcoal);
  line-height: var(--leading-body);
}

.store-size-intro strong {
  color: var(--color-black);
}

.store-size-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: var(--space-5) 0;
}

.store-size-table {
  width: 100%;
  min-width: 480px;
  border-collapse: collapse;
  font-family: var(--font-sans);
  font-size: var(--text-small);
}

.store-size-table th {
  font-size: var(--text-xs);
  font-weight: var(--weight-medium);
  text-transform: uppercase;
  letter-spacing: var(--tracking-wide);
  color: var(--color-gray);
  background: var(--color-off-white);
  text-align: center;
  padding: var(--space-3) var(--space-4);
  border: 1px solid var(--color-sand);
}

.store-size-table th:first-child {
  text-align: left;
}

.store-size-table td {
  padding: var(--space-3) var(--space-4);
  border: 1px solid var(--color-cream);
  color: var(--color-charcoal);
  text-align: center;
}

.store-size-table td:first-child {
  text-align: left;
  font-weight: var(--weight-medium);
  color: var(--color-black);
}

.store-size-table tr:nth-child(even) td {
  background: var(--color-off-white);
}

.store-measure-tip {
  display: flex;
  gap: var(--space-4);
  align-items: flex-start;
  padding: var(--space-5);
  background: var(--color-cream);
  border-left: 3px solid var(--color-gold);
  margin: var(--space-5) 0;
  border-radius: 0 2px 2px 0;
}

.store-measure-tip svg {
  flex-shrink: 0;
  color: var(--color-gold);
  margin-top: 0.15em;
}

.store-measure-tip p {
  font-family: var(--font-sans);
  font-size: var(--text-small);
  color: var(--color-charcoal);
  line-height: var(--leading-body);
  margin: 0;
}

/* =============================================================================
   CONTACT PAGE
   ============================================================================= */

.store-contact-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2rem, 6vw, 4rem);
}

@media (min-width: 768px) {
  .store-contact-layout {
    grid-template-columns: 1fr 360px;
    align-items: start;
  }
}

.store-contact-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}

.store-contact-form__group {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.store-contact-form__label {
  font-family: var(--font-sans);
  font-size: var(--text-xs);
  font-weight: var(--weight-medium);
  text-transform: uppercase;
  letter-spacing: var(--tracking-wide);
  color: var(--color-black);
}

.store-contact-form__input,
.store-contact-form__textarea {
  font-family: var(--font-sans);
  font-size: 1rem; /* 16px — prevent iOS zoom */
  color: var(--color-black);
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--color-sand);
  padding: var(--space-3) 0;
  width: 100%;
  transition: border-color var(--duration-fast) var(--ease-default);
  outline: none;
  border-radius: 0;
  -webkit-appearance: none;
}

.store-contact-form__input:focus,
.store-contact-form__textarea:focus {
  border-bottom-color: var(--color-black);
}

.store-contact-form__textarea {
  resize: vertical;
  min-height: 8rem;
}

.store-contact-form__error {
  font-family: var(--font-sans);
  font-size: var(--text-xs);
  color: var(--color-error);
  display: none;
}

.store-contact-form__notice {
  font-family: var(--font-sans);
  font-size: var(--text-small);
  line-height: var(--leading-body);
  padding: var(--space-4) var(--space-5);
  border-radius: 2px;
  display: none;
}

.store-contact-form__notice--success {
  background: var(--color-background-success);
  color: var(--color-text-success);
}

.store-contact-form__notice--error {
  background: var(--color-background-danger);
  color: var(--color-text-danger);
}

.store-contact-form__submit {
  align-self: flex-start;
  min-width: 160px;
}

/* Contact aside */
.store-contact-aside {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}

.store-contact-info-block {
  padding: var(--space-6);
  background: var(--color-off-white);
  border-radius: 2px;
}

.store-contact-info-block__title {
  font-family: var(--font-sans);
  font-size: var(--text-xs);
  font-weight: var(--weight-medium);
  text-transform: uppercase;
  letter-spacing: var(--tracking-wide);
  color: var(--color-gold);
  margin: 0 0 var(--space-4);
}

.store-contact-info-block p {
  font-family: var(--font-sans);
  font-size: var(--text-small);
  color: var(--color-charcoal);
  line-height: var(--leading-body);
  margin: 0 0 var(--space-3);
}

.store-contact-info-block p:last-child {
  margin-bottom: 0;
}

.store-contact-info-block a {
  color: var(--color-gold);
  text-decoration: none;
}

.store-contact-info-block a:hover {
  text-decoration: underline;
}

/* =============================================================================
   FAQ PAGE — accordion
   ============================================================================= */

.store-faq-group {
  margin-bottom: clamp(2rem, 5vw, 3.5rem);
}

.store-faq-group__heading {
  font-family: var(--font-sans);
  font-size: var(--text-xs);
  font-weight: var(--weight-medium);
  text-transform: uppercase;
  letter-spacing: var(--tracking-wider);
  color: var(--color-gold);
  margin: 0 0 var(--space-5);
}

.store-faq-item {
  border-bottom: 1px solid var(--color-sand);
}

.store-faq-item:first-of-type {
  border-top: 1px solid var(--color-sand);
}

.store-faq-item__trigger {
  all: unset;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-5);
  width: 100%;
  padding: var(--space-5) 0;
  font-family: var(--font-sans);
  font-size: var(--text-small);
  font-weight: var(--weight-medium);
  color: var(--color-black);
  cursor: pointer;
  text-align: left;
}

.store-faq-item__trigger:hover {
  color: var(--color-gold);
}

.store-faq-item__icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  position: relative;
  color: var(--color-gray);
}

.store-faq-item__icon::before,
.store-faq-item__icon::after {
  content: '';
  position: absolute;
  inset: 50% 0 auto;
  height: 1px;
  background: currentColor;
  transition: transform var(--duration-fast) var(--ease-default),
              opacity var(--duration-fast) var(--ease-default);
}

.store-faq-item__icon::after {
  transform: rotate(90deg);
}

.store-faq-item[open] .store-faq-item__icon::after {
  transform: rotate(0deg);
  opacity: 0;
}

.store-faq-item__trigger:focus-visible {
  outline: 2px solid var(--color-gold);
  outline-offset: 2px;
  border-radius: 2px;
}

/* Use <details>/<summary> — no JS needed for basic accordion */
details.store-faq-item > summary {
  list-style: none;
  cursor: pointer;
}

details.store-faq-item > summary::-webkit-details-marker {
  display: none;
}

.store-faq-item__answer {
  font-family: var(--font-sans);
  font-size: var(--text-small);
  color: var(--color-charcoal);
  line-height: var(--leading-body);
  padding: 0 0 var(--space-5);
  max-width: 66ch;
}

.store-faq-item__answer a {
  color: var(--color-gold);
  text-decoration: underline;
}

.store-faq-item__answer a:hover {
  color: var(--color-gold-dark);
}

/* =============================================================================
   CONTACT PAGE — form state resets (Astra override)
   ============================================================================= */

.store-contact-form__input:focus,
.store-contact-form__textarea:focus {
  box-shadow: none;
}

/* =============================================================================
   IZRADA NAKITA — custom landing page
   ============================================================================= */

/* Hero */
.store-in-hero {
  position: relative;
  min-height: 70svh;
  display: flex;
  align-items: flex-end;
  background: var(--color-black);
  background-image: var(--in-hero-bg);
  background-size: cover;
  background-position: center;
  padding-bottom: clamp(3rem, 8vw, 5rem);
  color: #fff;
}

.store-in-hero--no-image {
  background-image: none;
  background: var(--color-black);
}

.store-in-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(26,26,26,.75) 0%, rgba(26,26,26,.2) 60%, transparent 100%);
}

.store-in-hero__inner {
  position: relative;
  z-index: 1;
  max-width: 700px;
}

.store-in-hero .store-breadcrumb,
.store-in-hero nav.store-breadcrumb {
  color: rgba(255,255,255,.65);
  margin-bottom: var(--space-5);
}

.store-in-hero .store-breadcrumb a {
  color: rgba(255,255,255,.65);
}

.store-in-hero__eyebrow {
  font-family: var(--font-sans);
  font-size: var(--text-xs);
  font-weight: var(--weight-medium);
  text-transform: uppercase;
  letter-spacing: var(--tracking-wider);
  color: var(--color-gold);
  margin: 0 0 var(--space-4);
}

.store-in-hero__title {
  font-family: var(--font-serif);
  font-size: clamp(2.25rem, 6vw, 4rem);
  font-weight: var(--weight-light);
  line-height: var(--leading-tight);
  color: #fff;
  margin: 0 0 var(--space-5);
}

.store-in-hero__lead {
  font-family: var(--font-sans);
  font-size: var(--text-small);
  color: rgba(255,255,255,.85);
  line-height: var(--leading-body);
  margin: 0 0 var(--space-7);
  max-width: 52ch;
}

.store-in-hero__cta {
  display: inline-block;
}

/* Shared section chrome */
.store-in-section {
  padding: clamp(4rem, 10vw, 7rem) 0;
}

.store-in-section__eyebrow {
  font-family: var(--font-sans);
  font-size: var(--text-xs);
  font-weight: var(--weight-medium);
  text-transform: uppercase;
  letter-spacing: var(--tracking-wider);
  color: var(--color-gold);
  margin: 0 0 var(--space-4);
  text-align: center;
}

.store-in-section__title {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: var(--weight-light);
  color: var(--color-black);
  line-height: var(--leading-tight);
  margin: 0 0 clamp(2.5rem, 6vw, 4rem);
  text-align: center;
}

/* Intro */
.store-in-intro {
  background: var(--color-off-white);
}

.store-in-intro__inner {
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.store-in-intro__text {
  font-family: var(--font-sans);
  font-size: var(--text-small);
  color: var(--color-charcoal);
  line-height: var(--leading-body);
  margin: 0;
}

/* Steps */
.store-in-steps-section {
  background: #fff;
}

.store-in-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  counter-reset: in-step;
  max-width: 740px;
  margin-left: auto;
  margin-right: auto;
}

.store-in-steps__item {
  display: flex;
  gap: var(--space-6);
  align-items: flex-start;
  padding: var(--space-6) 0;
  border-bottom: 1px solid var(--color-sand);
}

.store-in-steps__item:first-child {
  border-top: 1px solid var(--color-sand);
}

.store-in-steps__num {
  flex-shrink: 0;
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: var(--weight-light);
  color: var(--color-gold);
  line-height: 1;
  min-width: 2.5rem;
}

.store-in-steps__body {
  flex: 1;
}

.store-in-steps__heading {
  display: block;
  font-family: var(--font-sans);
  font-size: var(--text-small);
  font-weight: var(--weight-medium);
  color: var(--color-black);
  margin-bottom: var(--space-2);
}

.store-in-steps__body p {
  font-family: var(--font-sans);
  font-size: var(--text-small);
  color: var(--color-charcoal);
  line-height: var(--leading-body);
  margin: 0;
}

/* Values */
.store-in-values-section {
  background: var(--color-off-white);
}

.store-in-values {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
}

@media (min-width: 640px) {
  .store-in-values {
    grid-template-columns: repeat(3, 1fr);
  }
}

.store-in-values__item {
  text-align: center;
  padding: var(--space-7) var(--space-5);
  background: #fff;
  border-radius: 2px;
}

.store-in-values__icon {
  display: block;
  font-size: 1.25rem;
  color: var(--color-gold);
  margin-bottom: var(--space-5);
}

.store-in-values__heading {
  display: block;
  font-family: var(--font-sans);
  font-size: var(--text-small);
  font-weight: var(--weight-medium);
  color: var(--color-black);
  margin-bottom: var(--space-3);
}

.store-in-values__item p {
  font-family: var(--font-sans);
  font-size: var(--text-small);
  color: var(--color-charcoal);
  line-height: var(--leading-body);
  margin: 0;
}

/* Contact section */
.store-in-contact-section {
  background: #fff;
}

.store-in-contact__inner {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.store-in-contact__lead {
  font-family: var(--font-sans);
  font-size: var(--text-small);
  color: var(--color-charcoal);
  text-align: center;
  margin: calc(-1 * clamp(1.5rem, 4vw, 2.5rem)) 0 clamp(2.5rem, 6vw, 4rem);
}

.store-in-contact__layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2rem, 6vw, 4rem);
  align-items: start;
}

@media (min-width: 768px) {
  .store-in-contact__layout {
    grid-template-columns: 1fr 280px;
  }
}

.store-in-contact__aside {
  margin-top: 0;
}
