/* FR Products — Grid */
.frp-product-grid { display: grid; gap: 24px; margin: 24px 0; }
.frp-columns-2 { grid-template-columns: repeat(2, 1fr); }
.frp-columns-3 { grid-template-columns: repeat(3, 1fr); }
.frp-columns-4 { grid-template-columns: repeat(4, 1fr); }
.frp-columns-5 { grid-template-columns: repeat(5, 1fr); }
.frp-columns-6 { grid-template-columns: repeat(6, 1fr); }
@media (max-width: 768px) { .frp-product-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; } }

.frp-product-card { border: 1px solid #eee; border-radius: 8px; overflow: hidden; transition: box-shadow 0.2s; }
.frp-product-card:hover { box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); }
.frp-card-link { text-decoration: none; color: inherit; display: block; }
.frp-card-image img { width: 100%; height: auto; display: block; aspect-ratio: 2/3; object-fit: cover; }
.frp-card-body { padding: 12px; }
.frp-card-brand { font-size: 12px; text-transform: uppercase; letter-spacing: 0.5px; color: #888; margin: 0 0 4px; }
.frp-card-title { font-size: 14px; font-weight: 500; margin: 0 0 8px; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.frp-card-price { font-size: 14px; }
[class*="frp-"] a, a[class*="frp-"] { text-decoration: none !important; }

/* FR Products — Single (Figma product detail) */
.frp-single-product { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; gap: 40px; max-width: 1140px; margin: 0 auto; padding: 0 40px 40px; font-family: FKGroteskNeue, sans-serif; color: #000; }

/* Gallery: vertical thumbnail rail + main image */
.frp-product-gallery { display: flex; min-width: 0; gap: 12px; align-items: flex-start; }
.frp-thumbnails { display: flex; flex-direction: column; gap: 12px; flex: 0 0 88px; }
.frp-thumb { width: 88px; aspect-ratio: 3/4; flex-shrink: 0; cursor: pointer; border: 1px solid #cbcbcb; overflow: hidden; transition: border-color 0.2s; }
.frp-thumb:hover { border-color: #979797; }
.frp-thumb.active { border-color: #000; }
.frp-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.frp-main-image { flex: 1 1 auto; min-width: 0; }
.frp-main-image img { width: 100%; height: auto; aspect-ratio: 2/3; object-fit: cover; display: block; background: #f4f4f4; }

/* Info column */
.frp-product-info { display: flex; min-width: 0; flex-direction: column; gap: 50px; padding: 40px; }
.frp-brand { font-size: 20px; font-weight: 700; letter-spacing: 0.5px; text-transform: uppercase; color: #000; margin: 0; line-height: 1; }
.frp-brand a { color: inherit; text-decoration: none; }
.frp-title { font-family: FKGroteskNeue, sans-serif; font-size: 28px !important; font-style: normal; font-weight: 400 !important; margin: -8px 0 0; line-height: 32px !important; color: #000 !important; }
.frp-price-info { display: flex; flex-direction: column; gap: 15px; }
.frp-price { display: flex; flex-wrap: wrap; align-items: center; gap: 15px; margin: 0; font-size: 16px; line-height: normal; letter-spacing: 0.48px; text-transform: uppercase; }
.frp-title + .frp-price-info { margin-top: -35px; }
.frp-product-price-note { margin: 0; font-size: 14px; font-weight: 400; line-height: 1.6; color: #979797; }
.frp-price-original { text-decoration: line-through; color: #979797; font-weight: 400; }
.frp-price-sale { color: #000; font-weight: 700; }
.frp-price-current { color: #000; font-weight: 700; }

/* CTA Buttons — match archive button system */
.frp-cta-buttons { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 0; }
.frp-cta-primary, .frp-cta-secondary { display: inline-flex; width: 100%; min-width: 0; align-items: center; justify-content: center; box-sizing: border-box; padding: 20px 35px; font-family: FKGroteskNeue, sans-serif; font-size: 12px; font-weight: 700; letter-spacing: 0.36px; line-height: normal; text-transform: uppercase; text-decoration: none; border-radius: 0; text-align: center; white-space: nowrap; }
button.frp-cta-primary { appearance: none !important; width: 100% !important; min-height: 0 !important; padding: 20px 35px !important; cursor: pointer; background: #000 !important; color: #fff !important; border: 1px solid #000 !important; border-radius: 0 !important; box-shadow: none !important; font-family: FKGroteskNeue, sans-serif !important; font-size: 12px !important; font-weight: 700 !important; line-height: normal !important; letter-spacing: 0.36px !important; text-transform: uppercase !important; }
button.frp-cta-primary--disabled { cursor: not-allowed; opacity: .45; }
.frp-cta-secondary { background: transparent; color: #000; border: 1px solid #000; }
.frp-out-of-stock { margin: -35px 0 0; color: #979797; font-size: 14px; line-height: 1.6; }

/* Compact specs list */
.frp-info-divider { border: 0; border-top: 1px solid #cbcbcb; margin: 12px 0 0; }
.frp-specs-list { display: flex; flex-direction: column; gap: 15px; margin: 0; font-size: 14px; line-height: normal; color: #000; }
.frp-spec-row { display: grid; grid-template-columns: minmax(120px, 32%) minmax(0, 1fr); gap: 15px; }
.frp-spec-label { font-weight: 700; letter-spacing: 0.42px; text-transform: uppercase; }
.frp-spec-value { font-weight: 400; overflow-wrap: anywhere; }

/* Breadcrumbs */
.frp-breadcrumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 15px; max-width: 1140px; margin: 40px auto 50px; padding: 0 40px; font-family: FKGroteskNeue, sans-serif; font-size: 12px; line-height: normal; letter-spacing: 0.36px; text-transform: uppercase; color: #cbcbcb; }
.frp-breadcrumbs a, .frp-breadcrumbs span { color: #cbcbcb; text-decoration: none; }
.frp-breadcrumbs a:hover { color: #000; }
.frp-breadcrumbs .frp-bc-current { color: #000; }
.frp-bc-chev { color: #cbcbcb; flex: 0 0 auto; }

/* Related Products — match archive listing style */
.frp-related-products { max-width: 1140px; margin: 80px auto 60px; padding: 0 40px; font-family: FKGroteskNeue, sans-serif; }
.frp-related-products h2 { font-size: 28px !important; font-weight: 700 !important; line-height: normal !important; text-transform: uppercase; color: #000; text-align: center; margin: 0 0 48px; }
.frp-related-products .frp-product-grid { grid-template-columns: repeat(4, 1fr); gap: 0 12px; margin: 0; }
.frp-related-products .frp-product-card { border: none; border-radius: 0; box-shadow: none; background: transparent; padding: 0; overflow: visible; transition: none; }
.frp-related-products .frp-product-card:hover { box-shadow: none; }
.frp-related-products .frp-card-image img { aspect-ratio: 355/532; object-fit: cover; border-radius: 0; }
.frp-related-products .frp-card-body { padding: 16px 0 0; text-align: left; }
.frp-related-products .frp-card-brand { display: none; }
.frp-related-products .frp-card-title { font-size: 14px; font-weight: 700; color: #000; text-transform: none; text-align: left; line-height: 18px; margin: 0 0 5px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.frp-related-products .frp-card-price { text-align: left; font-size: 14px; font-weight: 400; line-height: 20px; letter-spacing: 0.42px; text-transform: uppercase; color: #000; }
.frp-related-products .frp-card-price .frp-price-original { display: block; color: #979797; text-decoration: line-through; }
.frp-related-products .frp-card-price .frp-price-sale { display: block; color: #000; font-weight: 400; }
.frp-related-products .frp-card-price .frp-price-current { color: #000; font-weight: 400; }

/* Mobile overrides */
@media (max-width: 768px) {
    .frp-single-product { grid-template-columns: 1fr; gap: 28px; padding: 0 20px 32px; }
    .frp-product-gallery { gap: 8px; }
    .frp-thumbnails { display: none; }
    .frp-thumb { width: 64px; }
    .frp-product-info { gap: 22px; padding: 0; }
    .frp-brand { font-size: 18px; }
    .frp-title { font-size: 22px !important; line-height: 26px !important; }
    .frp-title + .frp-price-info { margin-top: -7px; }
    .frp-cta-buttons { gap: 8px; }
    .frp-cta-primary, .frp-cta-secondary { padding: 18px 12px; }
    .frp-breadcrumbs { margin: 16px auto 18px; padding: 0 20px; gap: 10px; font-size: 11px; letter-spacing: 0.33px; }
    .frp-related-products { margin: 48px auto 40px; padding: 0 20px; }
    .frp-related-products h2 { font-size: 22px !important; margin-bottom: 28px; }
    .frp-related-products .frp-product-grid { grid-template-columns: repeat(2, 1fr); gap: 20px 8px; }
    .frp-related-products .frp-card-title { font-size: 13px; line-height: 15px; }
    .frp-related-products .frp-card-price { font-size: 13px; line-height: 16px; letter-spacing: 0.39px; }
    .frp-spec-row { grid-template-columns: minmax(100px, 40%) minmax(0, 1fr); }
}

/* FR Products — Archive */
.frp-archive { max-width: 1220px; margin: 0 auto; padding: 0 40px; }
.frp-archive-title { font-size: 28px; font-weight: 600; margin-bottom: 8px; text-align: center; }
.frp-archive-count { color: #888; margin-bottom: 24px; }
.frp-no-products { text-align: center; color: #888; padding: 40px; }

/* FR Products — Archive Page */
.frp-archive-page { min-height: 60vh; }

/* Banner (full-width, outside .frp-archive wrapper) */
.frp-archive-banner { margin: 0; }
.frp-archive-banner img { width: 100%; height: auto; border-radius: 0; aspect-ratio: 1440/600; object-fit: cover; display: block; }

/* Footer banner — full-bleed out of the centered .frp-archive container */
.frp-archive-banner--footer { margin-top: 80px; width: 100vw; max-width: 100vw; position: relative; left: 50%; right: 50%; margin-left: -50vw; margin-right: -50vw; }

/* Title + Description section */
.frp-archive .frp-archive-title { font-size: 28px; margin-top: 70px; margin-bottom: 0; font-family: FKGroteskNeue, sans-serif; font-weight: 700; line-height: normal !important; text-transform: uppercase; color: #000; }
.frp-archive-description { margin: 25px auto 0; line-height: 1.6; font-size: 14px; font-weight: 400; color: #000; text-align: center; max-width: 720px; font-family: FKGroteskNeue, sans-serif; }
.frp-archive-description p { margin: 0 0 14px; }
.frp-archive-description p:last-child { margin-bottom: 0; }

/* CTA Buttons */
.frp-archive-cta { display: flex; justify-content: center; gap: 10px; margin: 40px 0 0; }
.frp-archive-btn { display: inline-flex; align-items: center; justify-content: center; box-sizing: border-box; width: 150px; padding: 20px 35px; font-family: FKGroteskNeue, sans-serif; font-size: 12px; font-weight: 700; letter-spacing: 0.36px; line-height: normal; text-transform: uppercase; text-decoration: none; border-radius: 0; text-align: center; white-space: nowrap; }
.frp-archive-btn--outline { background: transparent; color: #000 !important; border: 1px solid #000; }
.frp-archive-btn--filled { background: #000; color: #fff !important; border: 1px solid #000; }

/* Price disclaimer */
.frp-archive-disclaimer { font-size: 11px; line-height: 1.6; font-weight: 400; white-space: nowrap; color: #979797; margin: 60px 0 80px; text-align: center; font-family: FKGroteskNeue, sans-serif; }

/* Archive — Product Grid overrides */
.frp-archive .frp-product-grid { grid-template-columns: repeat(4, 1fr); gap: 54px 12px; margin: 0 auto; max-width: 1140px; }
@media (max-width: 1024px) { .frp-archive .frp-product-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 768px) { .frp-archive .frp-product-grid { grid-template-columns: repeat(2, 1fr); gap: 20px 8px; } }

/* Archive — Card overrides */
.frp-archive .frp-product-card { border: none; border-radius: 0; box-shadow: none; background: transparent; padding: 0; overflow: visible; transition: none; }
.frp-archive .frp-product-card:hover { box-shadow: none; }
.frp-archive .frp-card-image img { aspect-ratio: 355/532; object-fit: cover; border-radius: 0; }
.frp-archive .frp-card-body { padding: 16px 0 0; text-align: left; }
.frp-archive .frp-card-brand { display: none; }
.frp-archive .frp-card-title { font-family: FKGroteskNeue, sans-serif; font-size: 14px; font-weight: 700; color: #000; text-transform: none; text-align: left; line-height: 18px; margin: 0 0 5px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.frp-archive .frp-card-price { text-align: left; font-family: FKGroteskNeue, sans-serif; font-size: 14px; font-weight: 400; line-height: 20px; letter-spacing: 0.42px; text-transform: uppercase; color: #000; }
.frp-archive .frp-card-price .frp-price-original { display: block; color: #979797; text-decoration: line-through; }
.frp-archive .frp-card-price .frp-price-sale { display: block; color: #000; font-weight: 400; }
.frp-archive .frp-card-price .frp-price-current { color: #000; font-weight: 400; }

/* Pagination using paginate_links() output */
.frp-pagination { display: flex; gap: 30px; justify-content: center; align-items: center; padding-top: 10px; margin-top: 48px; flex-wrap: wrap; font-family: FKGroteskNeue, sans-serif; }
.frp-pagination .page-numbers { display: inline-flex; justify-content: center; align-items: center; padding: 0; border: none; border-radius: 0; background: none; text-decoration: none; color: #afafaf; font-size: 20px; font-weight: 700; line-height: normal; text-transform: uppercase; }
.frp-pagination .page-numbers.current { color: #000; text-decoration: underline; }
.frp-pagination .page-numbers:hover:not(.current):not(.dots) { color: #000; }
.frp-pagination .page-numbers.dots { color: #afafaf; }
.frp-pagination .page-numbers.prev,
.frp-pagination .page-numbers.next { color: #000; font-weight: 700; }
.frp-pagination .frp-pagination-chevron { display: inline-block; width: 4px; height: 8px; border-right: 1px solid currentColor; border-bottom: 1px solid currentColor; box-sizing: border-box; }
.frp-pagination .frp-pagination-chevron--prev { transform: rotate(135deg); }
.frp-pagination .frp-pagination-chevron--next { transform: rotate(-45deg); }

/* Internal links */
.frp-internal-links { margin-top: 40px; padding-top: 24px; border-top: 1px solid #eee; }
.frp-internal-links h2 { font-size: 18px; font-weight: 600; margin-bottom: 12px; }
.frp-internal-links ul { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; justify-content: center; }
.frp-internal-links li a { display: inline-block; padding: 6px 16px; background: #f5f5f5; border-radius: 20px; color: #333; text-decoration: none; font-size: 14px; transition: background 0.2s; }
.frp-internal-links li a:hover { background: #e0e0e0; }

/* Archive — Mobile overrides */
@media (max-width: 768px) {
    .frp-archive { padding: 0 15px; }
    .frp-archive .frp-archive-title { font-size: 22px; margin-top: 40px; white-space: normal; }
    .frp-archive-description { font-size: 13px; }
    .frp-archive .frp-card-title { font-size: 13px; line-height: 15px; }
    .frp-archive .frp-card-price { font-size: 13px; line-height: 16px; letter-spacing: 0.39px; }
    .frp-archive-banner img { aspect-ratio: 4/5; }
    .frp-archive-btn { width: auto; flex: 1 1 0; min-width: 0; padding: 20px 12px; }
    .frp-archive-disclaimer { margin-bottom: 48px; white-space: normal; }
    .frp-pagination { gap: 22px; margin-top: 32px; }
    .frp-pagination .page-numbers { font-size: 16px; }
}
