/* ============================================================
   LavSelvSmykker.dk
   smykkefremstilling-guide.css
============================================================ */

/* ---------- Guide page ---------- */

.ls-guide-page {
    padding-bottom: 70px;
}

.ls-guide-page .ls-guide-container {
    max-width: 1040px;
    margin: 0 auto;
}

/* ---------- Breadcrumb ---------- */

.ls-guide-page .ls-guide-breadcrumbs {
    padding-top: 24px;
    margin-bottom: 30px;
    color: var(--ls-muted);
    font-size: 14px;
    line-height: 1.5;
}

.ls-guide-page .ls-guide-breadcrumbs a {
    color: var(--ls-muted);
    text-decoration: none;
}

.ls-guide-page .ls-guide-breadcrumbs a:hover {
    color: var(--ls-accent);
}

.ls-guide-page .ls-guide-breadcrumbs .separator {
    margin: 0 7px;
    color: var(--ls-line-dark);
}

/* ---------- Article header ---------- */

.ls-guide-page .ls-guide-header {
    max-width: 860px;
    margin: 0 auto 42px;
}

.ls-guide-page .ls-guide-header .eyebrow {
    margin-bottom: 9px;
}

.ls-guide-page .ls-guide-header h1 {
    margin: 0 0 17px;
    max-width: 900px;
    font-size: clamp(32px, 4vw, 40px);
    line-height: 1.08;
    letter-spacing: -1.3px;
}

.ls-guide-page .ls-guide-intro {
    max-width: 820px;
    margin: 0;
    color: var(--ls-muted);
    font-size: 19px;
    line-height: 1.65;
}

/* ---------- Short answer ---------- */
.ls-guide-page .ls-guide-answer {
    max-width: 860px;
    margin: 0 auto 46px;
    padding: 24px 26px;
    border-left: 4px solid var(--ls-accent);
    background: #FAF5EF;
    border-radius: 0 12px 12px 0;
}

.ls-guide-page .ls-guide-answer-label {
    margin: 0 0 7px;
    color: var(--ls-accent);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.ls-guide-page .ls-guide-answer p:last-child {
    margin-bottom: 0;
}

/* ============================================================
   PRODUCT SECTION

   Dette er den faktiske øreringe-layout:
   28px indvendig padding
   16px mellem produktkort
   3 kolonner desktop
   ============================================================ */

.ls-guide-page .ls-guide-products {
    margin: 42px 0 58px;
    padding: 26px;
    background: #fff;
    border: 1px solid var(--ls-line, #e4ddd8);
    border-radius: 16px;
    box-shadow: 0 8px 28px rgba(63,48,41,.06);
}

.ls-guide-page .ls-guide-products-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 18px;
}

.ls-guide-page .ls-guide-products-header h2 {
    margin: 0 0 7px;
    font-size: 28px;
    line-height: 1.2;
}

.ls-guide-page .ls-guide-products-header p {
    margin: 0;
    color: var(--ls-muted);
    line-height: 1.55;
}

.ls-guide-page .ls-guide-products-kicker {
    margin: 0 0 7px !important;
    color: var(--ls-accent, #8b2e32) !important;
    font-size: 12px !important;
    font-weight: 800;
    letter-spacing: .13em;
    text-transform: uppercase;
}

.ls-guide-page .ls-live-count {
    flex: 0 0 auto;
    color: var(--ls-muted);
    font-size: 13px;
    white-space: nowrap;
}

/* ---------- Product grid ---------- */

.ls-guide-page .ls-guide-products .product-grid,
.ls-guide-page .ls-guide-products .ls-product-grid,
.ls-guide-page .product-grid,
.ls-guide-page .ls-product-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

/* ============================================================
   PRODUCT CARDS

   Faktiske øreringe-klasser:
   .product-card
   .product-card-image-link
   .product-card-image
   .product-card-body
   .product-card-title
   .product-card-button

   Nye/andre guides:
   .ls-product-card
   .ls-product-image
   .ls-product-body
   .ls-product-cta
   ============================================================ */

.ls-guide-page .product-card,
.ls-guide-page .ls-product-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    background: #fff;
    border: 1px solid var(--ls-line, #e4ddd8);
    border-radius: 13px;
    overflow: hidden;
    box-shadow: 0 3px 14px rgba(63,48,41,.04);
}

/* ---------- Product image link ---------- */

.ls-guide-page .product-card-image-link,
.ls-guide-page .ls-product-image {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 190px;
    background: #faf8f5;
    text-decoration: none;
    overflow: hidden;
}

/* ---------- Product image ---------- */

.ls-guide-page .product-card-image,
.ls-guide-page .ls-product-image img {
    width: 100%;
    height: 100%;
    padding: 14px;
    border-radius: 13px;
    object-fit: contain;
    transition: transform .18s ease;
}

.ls-guide-page .product-card-image-link:hover .product-card-image,
.ls-guide-page .ls-product-image:hover img {
    transform: scale(1.025);
}

/* ---------- Placeholder ---------- */

.ls-guide-page .product-card-placeholder,
.ls-guide-page .ls-product-placeholder {
    padding: 20px;
    color: var(--ls-muted);
    font-size: 13px;
    text-align: center;
}

/* ---------- Offer badge ---------- */

.ls-guide-page .offer-badge,
.ls-guide-page .ls-product-badge {
    position: absolute;
    top: 11px;
    left: 11px;
    padding: 5px 8px;
    border-radius: 999px;
    background: var(--ls-accent);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
}

/* ---------- Product body ---------- */

.ls-guide-page .product-card-body,
.ls-guide-page .ls-product-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 15px 14px 14px;
}

/* ---------- Brand ---------- */

.ls-guide-page .product-brand,
.ls-guide-page .ls-product-brand {
    margin-bottom: 6px;
    color: var(--ls-accent, #8b2e32);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
}

/* ---------- Product title ---------- */

.ls-guide-page .product-card-title,
.ls-guide-page .ls-product-body h3 {
    margin: 0 0 7px;
    font-size: 17px;
    line-height: 1.3;
    font-weight: 600;
}

.ls-guide-page .product-card-title a,
.ls-guide-page .ls-product-body h3 a {
    color: var(--ls-ink, #3f332e);
    text-decoration: none;
}

.ls-guide-page .product-card-title a:hover,
.ls-guide-page .ls-product-body h3 a:hover {
    text-decoration: none;
}

/* ---------- Product metadata ---------- */

.ls-guide-page .product-subcategory,
.ls-guide-page .ls-product-meta {
    margin-bottom: 10px;
    color: var(--ls-muted);
    font-size: 12px;
    line-height: 1.4;
}

/* ---------- Price ---------- */

.ls-guide-page .product-price-row,
.ls-guide-page .ls-product-price {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-top: auto;
    padding-top: 4px;
}

.ls-guide-page .product-price,
.ls-guide-page .offer-price,
.ls-guide-page .ls-product-price strong {
    color: var(--ls-ink, #3f332e);
    font-size: 22px;
    line-height: 1;
}

.ls-guide-page .old-price,
.ls-guide-page .ls-product-old {
    color: var(--ls-muted);
    font-size: 13px;
    text-decoration: line-through;
}

.ls-guide-page .saving {
    margin-top: 4px;
    color: var(--ls-accent);
    font-size: 11px;
    font-weight: 700;
}

/* ---------- Store ---------- */

.ls-guide-page .ls-product-store {
    margin: 8px 0 12px;
    color: var(--ls-muted);
    font-size: 12px;
}

.ls-guide-page .ls-product-store strong {
    color: var(--ls-ink);
}

/* ---------- Product CTA ---------- */

.ls-guide-page .product-card-button,
.ls-guide-page .ls-product-cta {
    display: block;
    width: 100%;
    margin-top: 15px;
    padding: 10px 12px;
    border-radius: 8px;
    background: var(--ls-accent);
    color: #fff !important;
    text-align: center;
    text-decoration: none !important;
    font-size: 13px;
    font-weight: 700;
}

.ls-guide-page .product-card-button:hover,
.ls-guide-page .ls-product-cta:hover {
    background: var(--ls-accent-dark);
}

/* ---------- Main article content ---------- */

.ls-guide-page .ls-guide-content {
    max-width: 860px;
    margin: 0 auto;
}

.ls-guide-page .ls-guide-section {
    margin: 0 0 48px;
}

.ls-guide-page .ls-guide-section h2 {
    margin: 0 0 17px;
    font-size: 31px;
    line-height: 1.2;
    letter-spacing: -.5px;
}

.ls-guide-page .ls-guide-section h3 {
    margin: 29px 0 10px;
    font-size: 21px;
    line-height: 1.3;
}

.ls-guide-page .ls-guide-section p {
    margin: 0 0 16px;
    color: var(--ls-ink);
    font-size: 17px;
    line-height: 1.72;
}

.ls-guide-page .ls-guide-section ul,
.ls-guide-page .ls-guide-section ol {
    margin: 0 0 20px;
    padding-left: 25px;
}

.ls-guide-page .ls-guide-section li {
    margin-bottom: 8px;
    font-size: 17px;
    line-height: 1.65;
}

.ls-guide-page .ls-guide-section a,
.ls-guide-page .ls-guide-related a {
    color: var(--ls-accent);
    font-weight: 650;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 2px;
}

.ls-guide-page .ls-guide-section a:hover,
.ls-guide-page .ls-guide-related a:hover {
    color: var(--ls-accent-dark);
}

/* ---------- Numbered steps ---------- */

.ls-guide-page .ls-guide-steps {
    margin: 22px 0 28px;
    padding: 0;
    list-style: none;
    counter-reset: guide-step;
}

.ls-guide-page .ls-guide-steps li {
    position: relative;
    margin: 0 0 18px;
    padding: 0 0 0 48px;
}

.ls-guide-page .ls-guide-steps li::before {
    content: counter(guide-step);
    counter-increment: guide-step;
    position: absolute;
    top: 0;
    left: 0;
    width: 31px;
    height: 31px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--ls-accent);
    color: #fff;
    font-size: 14px;
    font-weight: 800;
}

/* ---------- Material list ---------- */

.ls-guide-page .ls-material-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 18px;
    margin: 22px 0 28px;
    padding: 0;
    list-style: none;
}

.ls-guide-page .ls-material-list li {
    margin: 0;
    padding: 13px 15px;
    background: #FAF5EF;
    border: 1px solid var(--ls-line);
    border-radius: 9px;
    font-size: 16px;
}

/* ---------- Comparison table ---------- */

.ls-guide-page .ls-guide-table-wrap {
    margin: 24px 0 28px;
    overflow-x: auto;
    border: 1px solid var(--ls-line);
    border-radius: 12px;
    background: #fff;
}

.ls-guide-page .ls-guide-table,
.ls-guide-page .ls-comparison {
    width: 100%;
    border-collapse: collapse;
}

.ls-guide-page .ls-guide-table {
    min-width: 620px;
}

.ls-guide-page .ls-guide-table th,
.ls-guide-page .ls-guide-table td,
.ls-guide-page .ls-comparison th,
.ls-guide-page .ls-comparison td {
    padding: 13px 15px;
    border-bottom: 1px solid var(--ls-line);
    text-align: left;
    vertical-align: top;
    font-size: 15px;
    line-height: 1.5;
}

.ls-guide-page .ls-guide-table th,
.ls-guide-page .ls-comparison th {
    background: #FAF5EF;
    color: var(--ls-ink);
    font-weight: 700;
}

.ls-guide-page .ls-guide-table tr:last-child td,
.ls-guide-page .ls-comparison tr:last-child td {
    border-bottom: 0;
}

/* ---------- Tip box ---------- */

.ls-guide-page .ls-tip,
.ls-guide-page .ls-guide-tip {
    margin: 26px 0;
    padding: 21px 23px;
    background: #FAF5EF;
    border-radius: 10px;
}

.ls-guide-page .ls-tip strong,
.ls-guide-page .ls-guide-tip strong {
    display: block;
    margin-bottom: 6px;
}

.ls-guide-page .ls-tip p:last-child,
.ls-guide-page .ls-guide-tip p:last-child {
    margin-bottom: 0;
}

/* ---------- Internal guide links ---------- */

.ls-guide-page .ls-guide-related {
    margin-top: 55px;
    padding-top: 32px;
    border-top: 1px solid var(--ls-line);
}

.ls-guide-page .ls-guide-related h2 {
    margin: 0 0 18px;
    font-size: 27px;
}

.ls-guide-page .ls-guide-related ul {
    margin: 0;
    padding-left: 21px;
}

.ls-guide-page .ls-guide-related li {
    margin-bottom: 9px;
}

/* ---------- Bottom CTA ---------- */

.ls-guide-page .ls-guide-cta {
    margin-top: 50px;
    padding: 28px;
    background: #FAF5EF;
    border-radius: 14px;
    text-align: center;
}

.ls-guide-page .ls-guide-cta h2 {
    margin: 0 0 10px;
    font-size: 27px;
}

.ls-guide-page .ls-guide-cta p {
    max-width: 680px;
    margin: 0 auto 20px;
    color: var(--ls-muted);
    line-height: 1.65;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 820px) {

    .ls-guide-page .ls-guide-products .product-grid,
    .ls-guide-page .ls-guide-products .ls-product-grid,
    .ls-guide-page .product-grid,
    .ls-guide-page .ls-product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .ls-guide-page .ls-material-list {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {

    .ls-guide-page .ls-guide-breadcrumbs {
        padding-top: 18px;
        margin-bottom: 23px;
        font-size: 13px;
    }

    .ls-guide-page .ls-guide-header {
        margin-bottom: 32px;
    }

    .ls-guide-page .ls-guide-header h1 {
        font-size: 36px;
        letter-spacing: -.8px;
    }

    .ls-guide-page .ls-guide-intro {
        font-size: 17px;
    }

    .ls-guide-page .ls-guide-answer {
        padding: 20px;
    }

    .ls-guide-page .ls-guide-products {
        margin-top: 36px;
        padding: 19px;
    }

    .ls-guide-page .ls-guide-products-header {
        display: block;
    }

    .ls-guide-page .ls-guide-products-header h2 {
        font-size: 25px;
    }

    .ls-guide-page .ls-live-count {
        display: block;
        margin-top: 7px;
    }

    .ls-guide-page .ls-guide-products .product-grid,
    .ls-guide-page .ls-guide-products .ls-product-grid,
    .ls-guide-page .product-grid,
    .ls-guide-page .ls-product-grid {
        grid-template-columns: 1fr;
    }

    .ls-guide-page .ls-guide-section {
        margin-bottom: 40px;
    }

    .ls-guide-page .ls-guide-section h2 {
        font-size: 27px;
    }

    .ls-guide-page .ls-guide-section p,
    .ls-guide-page .ls-guide-section li {
        font-size: 16px;
    }
}

.footer-back-to-top {
    display: inline-block;
    margin-top: 12px;
    color: var(--ls-accent);
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
}

.footer-back-to-top:hover {
    color: var(--ls-accent-dark);
    text-decoration: underline;
}