/* =========================================================
   2instincts — Premium produktside for stenger
   Scope: kun når $isRod === true
   ========================================================= */

/* ---- Breadcrumb ---- */
.pd-breadcrumb-premium {
  background: var(--brand-cream, #f7f7f5);
  border-bottom: 1px solid rgba(0,0,0,0.04);
  padding: 0.75rem 0;
  margin-top: 64px; /* kompensere for fixed header */
}
@media (min-width: 768px) {
  .pd-breadcrumb-premium { margin-top: 72px; }
}
@media (max-width: 767px) {
  .pd-breadcrumb-premium { margin-top: 0; }
}
@media (min-width: 768px) {
  .pd-breadcrumb-premium { padding: 1rem 0; }
}
.pd-breadcrumb-premium .container {
  max-width: 1200px; margin: 0 auto; padding: 0 1.5rem;
}
@media (min-width: 768px) {
  .pd-breadcrumb-premium .container { padding: 0 2rem; }
}
.pd-breadcrumb-premium ol {
  list-style: none; display: flex; flex-wrap: wrap;
  align-items: center; gap: 0.5rem;
  font-size: 0.7rem; letter-spacing: 0.04em;
}
.pd-breadcrumb-premium li { display: flex; align-items: center; gap: 0.5rem; }
.pd-breadcrumb-premium a {
  color: var(--brand-mist, #8a8a8a); text-decoration: none; transition: color 0.2s;
}
.pd-breadcrumb-premium a:hover { color: var(--brand-gold, #b8966a); }
.pd-breadcrumb-premium li:last-child { color: var(--brand-slate, #2c2e35); font-weight: 500; }
.pd-breadcrumb-premium .sep { color: var(--brand-silver, #c5c7cc); font-size: 0.6rem; }

/* ---- Hero ---- */
.product-hero-premium {
  background: linear-gradient(160deg, var(--brand-slate, #2c2e35) 0%, var(--brand-ink, #1a1c23) 100%);
  color: #fff; padding: 2rem 0 3rem; position: relative; overflow: hidden;
}
@media (min-width: 768px) {
  .product-hero-premium { padding: 3rem 0 4rem; }
}
.product-hero-premium::before {
  content: ''; position: absolute; top: -50%; right: -20%;
  width: 800px; height: 800px;
  background: radial-gradient(circle, rgba(184,150,106,0.08) 0%, transparent 70%);
  pointer-events: none;
}
.product-hero-premium .container {
  max-width: 1200px; margin: 0 auto; padding: 0 1.5rem;
  display: grid; grid-template-columns: 1fr; gap: 2rem; position: relative; z-index: 1;
}
@media (max-width: 899px) {
  .product-hero-premium .container { gap: 1.5rem; }
  .product-meta-premium { order: -1; }
}
@media (min-width: 900px) {
  .product-hero-premium .container {
    grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; padding: 0 2rem;
  }
}

/* Gallery */
.gallery-main-premium {
  position: relative; background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08); aspect-ratio: 1/1; overflow: hidden;
}
@media (min-width: 900px) {
  .gallery-main-premium { aspect-ratio: 3/4; }
}
.gallery-main-premium img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.6s ease, opacity 0.4s ease;
}
.gallery-thumbs-premium {
  display: flex; gap: 0.5rem; margin-top: 0.75rem;
  overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none;
}
.gallery-thumbs-premium::-webkit-scrollbar { display: none; }
.gallery-thumbs-premium button {
  width: 60px; height: 60px; border: 1px solid rgba(255,255,255,0.15);
  background: transparent; cursor: pointer; padding: 0; overflow: hidden;
  transition: all 0.2s; opacity: 0.6; flex-shrink: 0;
}
@media (min-width: 768px) {
  .gallery-thumbs-premium button { width: 72px; height: 72px; }
  .gallery-thumbs-premium { gap: 0.75rem; margin-top: 1rem; }
}
.gallery-thumbs-premium button img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumbs-premium button:hover, .gallery-thumbs-premium button.active {
  opacity: 1; border-color: var(--brand-gold, #b8966a);
}

/* Product meta */
.product-meta-premium { position: relative; z-index: 2; }
.product-meta-premium .eyebrow {
  font-size: 0.7rem; font-weight: 500; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--brand-gold, #b8966a);
  margin-bottom: 0.75rem; display: block;
}
.product-meta-premium h1 {
  font-family: var(--font-display, 'Cormorant Garamond', Georgia, serif);
  font-size: clamp(1.8rem, 5vw, 3.2rem); font-weight: 300; line-height: 1.15;
  margin-bottom: 1rem; color: #fff;
}
.product-meta-premium .price-line {
  display: flex; align-items: baseline; gap: 1rem; margin-bottom: 1.5rem; flex-wrap: wrap;
}
.product-meta-premium .price {
  font-family: var(--font-display, 'Cormorant Garamond', Georgia, serif);
  font-size: 1.75rem; font-weight: 400; color: #fff;
}
@media (min-width: 768px) {
  .product-meta-premium .price { font-size: 2rem; }
}
.product-meta-premium .stock {
  font-size: 0.8rem; font-weight: 500; color: #7cb87c; letter-spacing: 0.04em;
}
.product-meta-premium .stock.out { color: #ef4444; }
.product-meta-premium .tagline {
  font-size: 0.95rem; line-height: 1.7; color: rgba(255,255,255,0.85);
  margin-bottom: 1.75rem; max-width: 440px;
}
.product-meta-premium .highlights {
  list-style: none; padding: 0; margin: 0 0 2rem;
  display: grid; grid-template-columns: 1fr; gap: 0.5rem;
}
@media (min-width: 500px) {
  .product-meta-premium .highlights { grid-template-columns: 1fr 1fr; gap: 0.6rem 1.5rem; }
}
.product-meta-premium .highlights li {
  font-size: 0.85rem; color: rgba(255,255,255,0.75);
  padding-left: 1.25rem; position: relative;
}
.product-meta-premium .highlights li::before {
  content: ''; position: absolute; left: 0; top: 0.5rem;
  width: 6px; height: 6px; background: var(--brand-gold, #b8966a); border-radius: 50%;
}

/* Model selector */
.model-select-premium { margin-bottom: 1.75rem; }
.model-select-label-premium {
  font-size: 0.7rem; font-weight: 500; letter-spacing: 0.15em;
  text-transform: uppercase; color: rgba(255,255,255,0.8);
  margin-bottom: 0.75rem; display: block;
}
.model-options-premium { display: flex; gap: 1rem; flex-direction: column; }
@media (min-width: 500px) {
  .model-options-premium { gap: 1.25rem; }
}
.model-option-group { display: flex; flex-direction: column; gap: 0.5rem; }
.model-option-group-label {
  font-size: 0.7rem; font-weight: 500; letter-spacing: 0.15em;
  text-transform: uppercase; color: rgba(255,255,255,0.6);
}
.model-option-group-buttons { display: grid; gap: 0.5rem; grid-template-columns: 1fr; }
@media (min-width: 500px) {
  .model-option-group-buttons { grid-auto-flow: column; grid-auto-columns: 1fr; gap: 0.75rem; }
}
.model-option-premium {
  padding: 0.875rem 1.25rem;
  border: 1px solid rgba(255,255,255,0.15); background: rgba(255,255,255,0.02);
  cursor: pointer; transition: all 0.25s ease; position: relative;
  min-height: 50px;
}
.model-option-premium:hover { border-color: rgba(255,255,255,0.4); }
.model-option-premium.selected {
  border-color: var(--brand-gold, #b8966a); background: rgba(184,150,106,0.08);
}
.model-option-premium .opt-title {
  font-weight: 500; font-size: 0.85rem; color: #fff; margin-bottom: 0.25rem; padding-right: 1.5rem;
}
.model-option-premium .opt-desc {
  font-size: 0.75rem; color: rgba(255,255,255,0.5); line-height: 1.4;
}
.model-option-premium .opt-check {
  position: absolute; top: 0.75rem; right: 0.75rem;
  width: 18px; height: 18px; border: 1.5px solid rgba(255,255,255,0.3);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
}
.model-option-premium.selected .opt-check {
  border-color: var(--brand-gold, #b8966a); background: var(--brand-gold, #b8966a);
}
.model-option-premium.selected .opt-check::after {
  content: '✓'; font-size: 10px; color: var(--brand-ink, #1a1c23); font-weight: 700;
}

/* Price at model selector */
.model-price-premium {
  font-family: var(--font-display, 'Cormorant Garamond', Georgia, serif);
  font-size: 1.25rem; color: #fff; margin: 1.25rem 0 0.5rem;
}
@media (min-width: 768px) {
  .model-price-premium { display: none; }
}

/* Buttons */
.btn-group-premium { display: flex; gap: 0.75rem; flex-wrap: wrap; }
.btn-premium {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0.875rem 2rem; font-family: var(--font-body, Inter, sans-serif);
  font-size: 0.7rem; font-weight: 500; letter-spacing: 0.2em;
  text-transform: uppercase; border: 1px solid transparent;
  cursor: pointer; transition: all 0.3s ease; min-height: 50px; flex: 1;
  text-decoration: none; color: inherit;
}
@media (min-width: 500px) {
  .btn-premium { flex: 0 0 auto; padding: 1rem 2.5rem; min-height: 54px; }
}
.btn-premium-primary {
  background: var(--brand-gold, #b8966a); color: #fff;
  border-color: var(--brand-gold, #b8966a);
}
.btn-premium-primary:hover {
  background: var(--brand-gold-light, #c9a97a); border-color: var(--brand-gold-light, #c9a97a);
  transform: translateY(-1px); box-shadow: 0 10px 30px rgba(184,150,106,0.25);
}
.btn-premium-outline {
  background: transparent; color: #fff; border-color: rgba(255,255,255,0.3);
}
.btn-premium-outline:hover {
  border-color: #fff; background: rgba(255,255,255,0.05);
}
.btn-premium-small {
  padding: 0.6rem 1.25rem; min-height: 40px; font-size: 0.65rem; letter-spacing: 0.15em;
}

/* ---- Sticky Mobile Bar ---- */
.pd-sticky-bar {
  position: fixed; bottom: 0; left: 0; right: 0;
  background: #fff; border-top: 1px solid rgba(0,0,0,0.08);
  padding: 0.75rem 1.25rem;
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; z-index: 999;
  transform: translateY(100%); transition: transform 0.35s ease;
}
.pd-sticky-bar.visible { transform: translateY(0); }
@media (min-width: 768px) {
  .pd-sticky-bar { display: none; }
}
.pd-sticky-bar-info { flex: 1; min-width: 0; }
.pd-sticky-bar-name {
  font-size: 0.75rem; font-weight: 500; color: var(--brand-slate, #2c2e35);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.pd-sticky-bar-price {
  font-family: var(--font-display, 'Cormorant Garamond', Georgia, serif);
  font-size: 1.1rem; color: var(--brand-slate, #2c2e35); margin-top: 0.1rem;
}
.pd-sticky-bar .btn-premium { flex: 0 0 auto; padding: 0.75rem 1.5rem; min-height: 44px; font-size: 0.65rem; }

/* ---- Story Sections ---- */
.pd-story-section { padding: 70px 0; }
@media (min-width: 768px) { .pd-story-section { padding: 100px 0; } }
.pd-story-section.bg-cream { background: var(--brand-cream, #f7f7f5); }
.pd-story-section.bg-white { background: #fff; }
.pd-story-section.bg-dark {
  background: linear-gradient(160deg, var(--brand-slate, #2c2e35) 0%, var(--brand-ink, #1a1c23) 100%);
  color: #fff;
}
.pd-story-section.bg-dark h2, .pd-story-section.bg-dark h3 { color: #fff; }
.pd-story-section.bg-dark p { color: rgba(255,255,255,0.85); }

.pd-story-section .container { max-width: 1100px; margin: 0 auto; padding: 0 1.5rem; }
@media (min-width: 768px) { .pd-story-section .container { padding: 0 2rem; } }

.pd-content-split {
  display: grid; grid-template-columns: 1fr; gap: 2.5rem; align-items: center;
}
@media (min-width: 900px) {
  .pd-content-split { grid-template-columns: 1fr 1fr; gap: 5rem; }
  .pd-content-split.reverse { direction: rtl; }
  .pd-content-split.reverse > * { direction: ltr; }
}
.pd-content-split img {
  width: 100%; height: 320px; object-fit: cover;
  filter: grayscale(20%) contrast(1.05); transition: filter 0.5s ease;
}
@media (min-width: 768px) { .pd-content-split img { height: 500px; } }
.pd-content-split img:hover { filter: grayscale(0%) contrast(1); }
.pd-content-split h3 {
  font-family: var(--font-display, 'Cormorant Garamond', Georgia, serif);
  font-size: 1.5rem; font-weight: 300; margin-bottom: 1.25rem;
}
@media (min-width: 768px) { .pd-content-split h3 { font-size: 1.6rem; } }
.pd-content-split p {
  color: var(--brand-graphite, #5a5d66); margin-bottom: 1.25rem; font-size: 0.9rem;
}
.pd-content-split ul { list-style: none; padding: 0; }
.pd-content-split ul li {
  padding: 0.6rem 0; padding-left: 1.5rem;
  border-bottom: 1px solid rgba(0,0,0,0.06);
  position: relative; color: var(--brand-graphite, #5a5d66); font-size: 0.9rem;
}
.pd-content-split ul li::before {
  content: ''; position: absolute; left: 0; top: 1rem;
  width: 6px; height: 6px; background: var(--brand-gold, #b8966a); border-radius: 50%;
}
.pd-story-section.bg-dark .pd-content-split ul li {
  border-bottom: 1px solid rgba(255,255,255,0.08); color: rgba(255,255,255,0.85);
}
.pd-story-section.bg-dark .pd-content-split ul li::before {
  background: var(--brand-gold, #b8966a); width: 6px; height: 6px; border-radius: 50%; top: 0.85rem;
}

/* Section header */
.pd-section-header {
  text-align: center; margin-bottom: 3rem;
}
@media (min-width: 768px) { .pd-section-header { margin-bottom: 4rem; } }
.pd-section-header .eyebrow {
  font-size: 0.7rem; font-weight: 500; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--brand-gold, #b8966a);
  margin-bottom: 1rem; display: block;
}
.pd-section-header h2 {
  font-family: var(--font-display, 'Cormorant Garamond', Georgia, serif);
  font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 300; line-height: 1.2;
}
.pd-section-header p {
  max-width: 560px; margin: 1rem auto 0; color: var(--brand-graphite, #5a5d66);
}

/* Cards grid */
.pd-cards-grid {
  display: grid; grid-template-columns: 1fr; gap: 1.25rem;
}
@media (min-width: 768px) { .pd-cards-grid { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; } }
.pd-card {
  background: #fff; border: 1px solid rgba(0,0,0,0.06);
  padding: 2rem 1.75rem; transition: all 0.35s ease;
}
@media (min-width: 768px) { .pd-card { padding: 2.5rem 2rem; } }
.pd-card:hover {
  transform: translateY(-4px); box-shadow: 0 20px 50px rgba(0,0,0,0.08); border-color: transparent;
}
.pd-card-icon {
  width: 44px; height: 44px; margin-bottom: 1.25rem; color: var(--brand-gold, #b8966a);
}
@media (min-width: 768px) { .pd-card-icon { width: 48px; height: 48px; margin-bottom: 1.5rem; } }
.pd-card h4 {
  font-family: var(--font-display, 'Cormorant Garamond', Georgia, serif);
  font-size: 1.15rem; font-weight: 400; margin-bottom: 0.75rem;
}
@media (min-width: 768px) { .pd-card h4 { font-size: 1.25rem; } }
.pd-card p {
  font-size: 0.85rem; color: var(--brand-graphite, #5a5d66); line-height: 1.7;
}

/* Match / Cross-sell grid */
.pd-match-grid {
  display: grid; grid-template-columns: 1fr; gap: 1.25rem;
}
@media (min-width: 768px) { .pd-match-grid { grid-template-columns: repeat(2, 1fr); gap: 2rem; } }
.pd-match-card {
  display: grid; grid-template-columns: 100px 1fr; gap: 1rem;
  align-items: start; padding: 1.25rem;
  border: 1px solid rgba(0,0,0,0.06); transition: all 0.3s; background: #fff;
}
@media (min-width: 768px) {
  .pd-match-card { grid-template-columns: 140px 1fr; gap: 1.5rem; padding: 1.5rem; }
}
.pd-match-card:hover { border-color: var(--brand-gold, #b8966a); }
.pd-match-card img { width: 100%; height: 100px; object-fit: cover; }
@media (min-width: 768px) { .pd-match-card img { height: 140px; } }
.pd-match-card h4 {
  font-family: var(--font-display, 'Cormorant Garamond', Georgia, serif);
  font-size: 1rem; margin-bottom: 0.3rem;
}
@media (min-width: 768px) { .pd-match-card h4 { font-size: 1.1rem; margin-bottom: 0.5rem; } }
.pd-match-card p { font-size: 0.8rem; color: var(--brand-graphite, #5a5d66); margin: 0 0 0.75rem; }
.pd-match-card .match-price {
  font-family: var(--font-display, 'Cormorant Garamond', Georgia, serif);
  font-size: 1.1rem; color: var(--brand-slate, #2c2e35); margin-bottom: 0.75rem; display: block;
}
.pd-match-card .match-actions { display: flex; gap: 0.75rem; align-items: center; flex-wrap: wrap; }
.pd-match-card .match-link {
  font-size: 0.7rem; font-weight: 500; letter-spacing: 0.15em;
  text-transform: uppercase; color: var(--brand-gold, #b8966a);
  border-bottom: 1px solid transparent; transition: border-color 0.2s;
  background: none; border-top: none; border-left: none; border-right: none;
  cursor: pointer; padding: 0; text-decoration: none;
}
.pd-match-card:hover .match-link { border-bottom-color: var(--brand-gold, #b8966a); }

/* Bundle card */
.pd-bundle-card {
  background: linear-gradient(135deg, var(--brand-slate, #2c2e35) 0%, var(--brand-ink, #1a1c23) 100%);
  color: #fff; padding: 2.5rem 2rem;
  border: 1px solid rgba(184,150,106,0.2); text-align: center; margin-top: 2rem;
}
@media (min-width: 768px) { .pd-bundle-card { padding: 3rem; margin-top: 3rem; } }
.pd-bundle-card h4 {
  font-family: var(--font-display, 'Cormorant Garamond', Georgia, serif);
  font-size: 1.5rem; font-weight: 300; margin-bottom: 0.5rem;
}
.pd-bundle-card p { color: rgba(255,255,255,0.6); font-size: 0.9rem; margin-bottom: 1.5rem; }
.pd-bundle-note {
  font-size: 0.75rem; color: rgba(255,255,255,0.4); margin-top: 1rem;
}

/* ---- Animations ---- */
.pd-reveal { }
.js-enabled .pd-reveal {
  opacity: 0; transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.js-enabled .pd-reveal.visible { opacity: 1; transform: translateY(0); }
.pd-reveal-delay-1 { transition-delay: 0.1s; }
.pd-reveal-delay-2 { transition-delay: 0.2s; }
.pd-reveal-delay-3 { transition-delay: 0.3s; }

/* ---- Accordion (for FAQ) ---- */
.accordion { border-top: 1px solid rgba(0,0,0,0.08); }
.accordion-item { border-bottom: 1px solid rgba(0,0,0,0.08); }
.accordion-header {
  display: flex; justify-content: space-between; align-items: center;
  padding: 1.25rem 0; cursor: pointer; transition: color 0.2s;
}
@media (min-width: 768px) {
  .accordion-header { padding: 1.5rem 0; }
}
.accordion-header:hover { color: var(--brand-gold, #b8966a); }
.accordion-header h4 {
  font-family: var(--font-display, 'Cormorant Garamond', Georgia, serif);
  font-size: 1.05rem; font-weight: 400; padding-right: 1rem;
}
@media (min-width: 768px) {
  .accordion-header h4 { font-size: 1.1rem; }
}
.accordion-icon {
  width: 24px; height: 24px; position: relative; flex-shrink: 0;
}
.accordion-icon::before, .accordion-icon::after {
  content: ''; position: absolute; background: currentColor;
  transition: transform 0.3s ease;
}
.accordion-icon::before { width: 12px; height: 1px; top: 50%; left: 50%; transform: translate(-50%, -50%); }
.accordion-icon::after { width: 1px; height: 12px; top: 50%; left: 50%; transform: translate(-50%, -50%); }
.accordion-item.open .accordion-icon::after { transform: translate(-50%, -50%) rotate(90deg); opacity: 0; }
.accordion-body {
  max-height: 0; overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
}
.accordion-item.open .accordion-body {
  max-height: 800px; padding-bottom: 1.25rem;
}
@media (min-width: 768px) {
  .accordion-item.open .accordion-body { padding-bottom: 1.5rem; }
}

/* ---- Override generell padding når premium hero er aktiv ---- */
.pd-premium-content { padding-top: 0 !important; }
