:root {
  --primary: #1a1a2e;
  --accent: #db1f28;
  --accent-hover: #b8101a;
  --text: #2d2d2d;
  --text-light: #000;
  --bg: #fafafa;
  --bg-white: #ffffff;
  --border: #bbb;
  --border-light: #f3f4f6;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.10);
  --radius: 16px;
  --radius-sm: 10px;
  --radius-xs: 6px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ─── Smooth scroll (no JS needed) ─── */
html { scroll-behavior: smooth; }

/* ─── Reset & Base ─── */
.fp-page *, .fp-page *::before, .fp-page *::after { box-sizing: border-box; }

.fp-page {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow: visible;
}

.fp-page h2 {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--primary);
  margin: 0 0 1.5rem 0;
  line-height: 1.3;
  letter-spacing: -0.02em;
}

.fp-page h3 {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--primary);
  margin: 0 0 0.75rem 0;
  line-height: 1.4;
}

.fp-page p {
  color: var(--text-light);
  margin: 0 0 1rem 0;
  font-size: 0.9rem;
}

.fp-page a {
  color: var(--accent);
  text-decoration: none;
  transition: color var(--transition);
}
.fp-page a:hover { color: var(--accent-hover); }

/* ─── Sticky Navigation ─── */
.fp-nav {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 10px 0;
  margin-bottom: 3rem;
  width: 100%;
}

.fp-nav ul {
  list-style: none;
  padding: 4px 12px;
  margin: 0;
  display: flex;
  flex-wrap: nowrap;
  gap: 6px;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
  -ms-overflow-style: none;
  -webkit-overflow-scrolling: touch;
}
.fp-nav ul::-webkit-scrollbar { display: none; }

.fp-nav li {
  flex-shrink: 0;
}

.fp-nav a {
  display: inline-block;
  padding: 8px 16px;
  background: transparent;
  border: 1.5px solid var(--border);
  border-radius: 50px;
  text-decoration: none;
  color: var(--text-light);
  font-weight: 500;
  font-size: 0.85rem;
  white-space: nowrap;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.fp-nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: #fff;
  border-radius: 0 0 50px 50px;
  transition: width 0.15s linear;
}

.fp-nav a.active::after {
  background: rgba(255,255,255,0.6);
}

.fp-nav a:hover, .fp-nav a.active {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(219, 32, 41, 0.25);
}

.fp-nav a.fp-visited {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff !important;
}

.fp-nav a.fp-visited::after {
  width: 100% !important;
  background: rgba(255,255,255,0.15);
}

@media (max-width: 767px) {
  .fp-nav { padding: 8px 0; }
  .fp-nav a { padding: 7px 13px; font-size: 0.8rem; }
}

/* ─── Sections ─── */
.fp-section {
  margin-bottom: 4rem;
  scroll-margin-top: 80px;
}

.fp-section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 2.5rem;
}

.fp-section-header h2 {
  position: relative;
  display: inline-block;
}

.fp-section-header h2::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 48px;
  height: 3px;
  background: var(--accent);
  border-radius: 2px;
}

.fp-section-header p {
  margin-top: 1.25rem;
  font-size: 0.9rem;
}

/* ─── Hero Intro ─── */
.fp-intro {
  background: linear-gradient(135deg, #f8f9ff 0%, #fff5f5 100%);
  border-radius: var(--radius);
  padding: 2.5rem;
  margin-bottom: 4rem;
  border: 1px solid var(--border-light);
}

.fp-intro p {
  font-size: 0.9rem;
  color: var(--text);
  line-height: 1.8;
  margin-bottom: 1.25rem;
}
.fp-intro p:last-child { margin-bottom: 0; }

/* ─── Material Cards ─── */
.fp-materials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

@media (max-width: 991px) { .fp-materials-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 575px) { .fp-materials-grid { grid-template-columns: 1fr; } }

.fp-material-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
}
.fp-material-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.fp-material-card img {
  width: 100%;
  height: auto;
  display: block;
}

.fp-material-card-body {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.fp-material-card-body h3 {
  font-size: 1.1rem;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--accent);
  display: inline-block;
}

.fp-material-card-body ul {
  list-style: none;
  padding: 0;
  margin: 0;
  flex: 1;
}

.fp-material-card-body li {
  position: relative;
  padding: 0.5rem 0 0.5rem 1.75rem;
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.5;
}

.fp-material-card-body li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.85rem;
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
}

/* ─── Specs Table ─── */
.fp-specs-wrapper {
  overflow-x: auto;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-white);
  -webkit-overflow-scrolling: touch;
}

.fp-specs-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  min-width: 700px;
}

.fp-specs-table td {
  padding: 0.85rem 1.25rem;
  border-bottom: 1px solid var(--border-light);
  vertical-align: top;
  color: var(--text-light);
}

.fp-specs-table tr:last-child td { border-bottom: none; }

.fp-specs-table td:first-child {
  width: 40%;
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
  min-width: 180px;
  background: var(--border-light);
}

.fp-specs-table .fp-table-header td {
  background: var(--primary) !important;
  color: #fff !important;
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.7rem 1.25rem;
}

.fp-specs-table tr:not(.fp-table-header):hover td {
  background: #fafbff;
}
.fp-specs-table tr:not(.fp-table-header):hover td:first-child {
  background: #f0f1f5;
}

/* ─── USP Grid ─── */
.fp-usp-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
}
.fp-usp-grid.fp-reverse { direction: rtl; }
.fp-usp-grid.fp-reverse > * { direction: ltr; }

@media (max-width: 767px) {
  .fp-usp-grid, .fp-usp-grid.fp-reverse { grid-template-columns: 1fr; direction: ltr; }
}

.fp-usp-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.fp-usp-item {
  display: flex;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border-light);
}
.fp-usp-item:last-child { border-bottom: none; }

.fp-usp-icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, #fee2e2, #fecaca);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}

.fp-usp-icon svg {
  width: 18px;
  height: 18px;
  color: var(--accent);
}

.fp-usp-text strong {
  display: block;
  font-size: 0.95rem;
  margin-bottom: 2px;
  color: var(--primary);
}

.fp-usp-text span {
  font-size: 0.88rem;
  color: var(--text-light);
  line-height: 1.6;
}

.fp-usp-image {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.fp-usp-image img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.6s ease;
}
.fp-usp-image:hover img { transform: scale(1.03); }

/* ─── Trust / Pro Section ─── */
.fp-trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

@media (max-width: 991px) { .fp-trust-grid { grid-template-columns: repeat(2, 1fr) !important; } }
@media (max-width: 575px) { .fp-trust-grid { grid-template-columns: 1fr !important; } }

.fp-trust-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.fp-trust-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--accent);
  transform: scaleX(0);
  transition: transform var(--transition);
}

.fp-trust-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.fp-trust-card:hover::before { transform: scaleX(1); }

.fp-trust-card h3 {
  font-size: 1rem;
  margin-bottom: 0.75rem;
}

.fp-trust-card p {
  font-size: 0.88rem;
  margin: 0;
  line-height: 1.7;
}

/* ─── Laminate / Protection ─── */
.fp-protection-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.fp-protection-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  min-height: 350px;
}

.fp-protection-content {
  padding: 2.5rem 2.5rem 2.5rem 0;
}

@media (max-width: 767px) {
  .fp-protection-grid { grid-template-columns: 1fr; }
  .fp-protection-content { padding: 1.5rem; }
}

/* ─── Delivery ─── */
.fp-delivery-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
}

@media (max-width: 767px) { .fp-delivery-grid { grid-template-columns: 1fr; } }

.fp-delivery-items {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.fp-delivery-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 1.25rem 1.5rem;
  transition: all var(--transition);
}
.fp-delivery-card:hover {
  border-color: var(--accent);
  box-shadow: 0 2px 12px rgba(219,32,41,0.08);
}

.fp-delivery-badge {
  flex-shrink: 0;
  background: linear-gradient(135deg, var(--accent), var(--accent-hover));
  color: #fff;
  font-weight: 700;
  font-size: 0.85rem;
  padding: 0.5rem 1rem;
  border-radius: 50px;
  white-space: nowrap;
}

.fp-delivery-card span {
  font-weight: 600;
  color: var(--primary);
  font-size: 0.95rem;
}

/* ─── Measurement ─── */
.fp-measure-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
}

@media (max-width: 767px) { .fp-measure-grid { grid-template-columns: 1fr; } }

.fp-measure-steps {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.fp-measure-step {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.fp-step-num {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  background: var(--primary);
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.fp-step-text {
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 1.6;
  padding-top: 6px;
}

.fp-measure-cta {
  margin-top: 1.5rem;
  padding: 1rem 1.5rem;
  background: linear-gradient(135deg, #f8f9ff, #f0f1ff);
  border-radius: var(--radius-sm);
  border: 1px solid #e0e1f0;
  font-size: 0.93rem;
  color: var(--text);
}

/* ─── FAQ Accordion (pure CSS) ─── */
.fp-faq-list {
  max-width: 820px;
  margin: 0 auto;
}

.fp-faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  margin-bottom: 0.75rem;
  overflow: hidden;
  background: var(--bg-white);
  transition: border-color var(--transition), box-shadow var(--transition);
}
.fp-faq-item:hover { border-color: #d1d5db; }
.fp-faq-item[open] {
  border-color: var(--accent);
  box-shadow: 0 2px 12px rgba(219,32,41,0.06);
}

.fp-faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.15rem 1.5rem;
  cursor: pointer;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--primary);
  line-height: 1.4;
  gap: 1rem;
  list-style: none;
  -webkit-user-select: none;
  user-select: none;
}
.fp-faq-question::-webkit-details-marker { display: none; }
.fp-faq-question::marker { display: none; content: ''; }
.fp-faq-question:hover { color: var(--accent); }

.fp-faq-chevron {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  background: var(--border-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
}

.fp-faq-item[open] > .fp-faq-question .fp-faq-chevron {
  background: var(--accent);
  transform: rotate(180deg);
}
.fp-faq-item[open] > .fp-faq-question .fp-faq-chevron svg { color: #fff; }

.fp-faq-chevron svg {
  width: 14px;
  height: 14px;
  color: var(--text-light);
  transition: color var(--transition);
}

.fp-faq-answer {
  padding: 0 1.5rem 1.25rem;
  font-size: 0.92rem;
  color: var(--text-light);
  line-height: 1.8;
}

.fp-faq-answer a {
  color: var(--accent);
  font-weight: 500;
}

/* ─── Schema.org hidden markup ─── */
.fp-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* ─── Layout: full-width description container ─── */
.creator-redesign .description_area.product-info {
    padding: 0 !important;
    margin-left: -24px !important;
    margin-right: -24px !important;
    border-radius: 0 !important;
    flex-basis: 100%;
    max-width: none;
    width: calc(100% + 48px);
}

.creator-redesign .description_area.product-info .content {
    overflow: hidden;
}

.creator-redesign .description_area.product-info .content .fp-page {
    padding: 0 16px;
    max-width: 100%;
    overflow: hidden;
    box-sizing: border-box;
}

/* ─── Mobile: description sizing ─── */
@media (max-width: 768px) {
    .creator-redesign .description_area.product-info {
        margin-left: 0 !important;
        margin-right: 0 !important;
        margin-top: 24px !important;
        margin-bottom: 0 !important;
        width: 100%;
        max-width: 100%;
    }

    .creator-redesign .description_area.product-info .content .fp-page {
        padding: 0;
        max-width: 100%;
    }

    .creator-redesign .description_area.product-info .fp-page p,
    .creator-redesign .description_area.product-info .fp-intro p {
        font-size: 0.9rem !important;
        max-width: 330px;
    }

    .creator-redesign .description_area.product-info .fp-intro {
        padding: 1.25rem;
    }

    .creator-redesign .description_area.product-info .fp-page img {
        max-width: 100%;
        height: auto;
    }

    .creator-redesign .description_area.product-info .fp-material-card img {
        max-width: 100%;
        height: auto;
    }
}
/* Mobile: photo list 388px width */
@media (max-width: 768px) {
    .creator-redesign .description_area.photo_list {
        padding: 16px 13px !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        overflow: hidden !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
}
