/*
 * Schoolwali final product/discovery layer.
 * Loaded after the consolidated stylesheet to make the current UX system stable.
 */

@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&family=Playfair+Display:wght@600;700&display=swap");

:root {
    --sw-ink: #111827;
    --sw-muted-ink: #667085;
    --sw-soft-line: rgba(17, 24, 39, 0.08);
    --sw-blue-soft: #eef5ff;
    --sw-violet-soft: #f5f1ff;
    --sw-green-soft: #effaf4;
    --sw-page-width: 1280px;
    --sw-wide-width: 1440px;
    --sw-page-gutter: 48px;
}

/* Larger ecommerce archive cards */
.sw-product-archive .lw-archive-main .learnoxy-grid,
.tax-product_cat .lw-archive-main .learnoxy-grid,
.tax-product_tag .lw-archive-main .learnoxy-grid,
.post-type-archive-product .lw-archive-main .learnoxy-grid {
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)) !important;
    gap: 34px 28px !important;
}

.sw-product-archive .sw-product-card,
.tax-product_cat .sw-product-card,
.tax-product_tag .sw-product-card,
.post-type-archive-product .sw-product-card {
    min-width: 0 !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    overflow: visible !important;
    transform: none !important;
}

.sw-product-archive .sw-product-card:hover,
.tax-product_cat .sw-product-card:hover,
.tax-product_tag .sw-product-card:hover,
.post-type-archive-product .sw-product-card:hover {
    border-color: transparent !important;
    box-shadow: none !important;
    transform: none !important;
}

.sw-product-archive .sw-product-card .sw-resource-thumb,
.tax-product_cat .sw-product-card .sw-resource-thumb,
.tax-product_tag .sw-product-card .sw-resource-thumb,
.post-type-archive-product .sw-product-card .sw-resource-thumb {
    aspect-ratio: 4 / 5.25 !important;
    border: 0 !important;
    background: #f6f8fb !important;
    overflow: hidden !important;
}

.sw-product-archive .sw-product-card .sw-resource-thumb img,
.tax-product_cat .sw-product-card .sw-resource-thumb img,
.tax-product_tag .sw-product-card .sw-resource-thumb img,
.post-type-archive-product .sw-product-card .sw-resource-thumb img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    transition: transform 180ms ease;
}

.sw-product-archive .sw-product-card:hover .sw-resource-thumb img,
.tax-product_cat .sw-product-card:hover .sw-resource-thumb img,
.tax-product_tag .sw-product-card:hover .sw-resource-thumb img,
.post-type-archive-product .sw-product-card:hover .sw-resource-thumb img {
    transform: scale(1.025);
}

.sw-product-archive .sw-product-card .sw-card-type,
.tax-product_cat .sw-product-card .sw-card-type,
.tax-product_tag .sw-product-card .sw-card-type,
.post-type-archive-product .sw-product-card .sw-card-type,
.sw-product-sale-flag {
    min-height: 28px;
    display: inline-flex;
    align-items: center;
    max-width: calc(100% - 112px);
    border: 1px solid rgba(16, 24, 40, 0.07);
    border-radius: 999px;
    background: rgba(239, 246, 255, 0.94);
    color: #24548f;
    padding: 0 11px;
    font-size: 11px;
    font-weight: 850;
    line-height: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.sw-product-sale-flag {
    position: absolute;
    z-index: 3;
    right: 10px;
    top: 10px;
    max-width: 98px;
    border-color: rgba(249, 115, 22, 0.2);
    background: #fff7ed;
    color: #c2410c;
}

.sw-product-sale-flag--medium {
    border-color: rgba(236, 72, 153, 0.22);
    background: #fff1f7;
    color: #be185d;
}

.sw-product-sale-flag--high {
    border-color: rgba(220, 38, 38, 0.22);
    background: #fff1f2;
    color: #b91c1c;
}

.sw-product-archive .sw-product-card .lw-card-body,
.tax-product_cat .sw-product-card .lw-card-body,
.tax-product_tag .sw-product-card .lw-card-body,
.post-type-archive-product .sw-product-card .lw-card-body {
    padding: 13px 0 0 !important;
}

.sw-product-archive .sw-product-card .lw-card-title,
.tax-product_cat .sw-product-card .lw-card-title,
.tax-product_tag .sw-product-card .lw-card-title,
.post-type-archive-product .sw-product-card .lw-card-title {
    min-height: 0 !important;
    margin: 0 !important;
    color: #101828;
    font-size: 17px !important;
    font-weight: 850 !important;
    line-height: 1.28 !important;
}

.sw-product-archive .sw-product-card .lw-card-title a,
.tax-product_cat .sw-product-card .lw-card-title a,
.tax-product_tag .sw-product-card .lw-card-title a,
.post-type-archive-product .sw-product-card .lw-card-title a {
    color: inherit;
}

.sw-product-card-price {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 7px;
    margin-top: 8px;
    color: #101828;
    font-size: 17px;
    font-weight: 900;
    line-height: 1.2;
}

.sw-product-card-price del {
    color: #98a2b3;
    font-size: 13px;
    font-weight: 760;
}

.sw-product-card-price ins {
    text-decoration: none;
}

.sw-product-card-rating {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 7px;
    color: #667085;
    font-size: 12px;
    font-weight: 780;
}

.sw-product-card-rating .star-rating {
    margin: 0;
    transform: scale(0.82);
    transform-origin: left center;
}

.sw-product-archive .sw-product-card .sw-card-meta,
.tax-product_cat .sw-product-card .sw-card-meta,
.tax-product_tag .sw-product-card .sw-card-meta,
.post-type-archive-product .sw-product-card .sw-card-meta {
    justify-content: flex-start !important;
    margin-top: 9px !important;
}

.sw-product-archive .sw-product-card .sw-card-actions,
.tax-product_cat .sw-product-card .sw-card-actions,
.tax-product_tag .sw-product-card .sw-card-actions,
.post-type-archive-product .sw-product-card .sw-card-actions {
    justify-content: stretch !important;
    gap: 8px !important;
    margin-top: 12px !important;
    opacity: 1 !important;
    transform: none !important;
}

.sw-product-archive .sw-product-card .sw-card-actions .lw-btn,
.tax-product_cat .sw-product-card .sw-card-actions .lw-btn,
.tax-product_tag .sw-product-card .sw-card-actions .lw-btn,
.post-type-archive-product .sw-product-card .sw-card-actions .lw-btn {
    flex: 1 1 0 !important;
    min-height: 42px !important;
    border-radius: 0 !important;
    font-size: 13px !important;
    font-weight: 850 !important;
}

.sw-product-archive .sw-product-card .sw-card-actions .lw-btn-download,
.tax-product_cat .sw-product-card .sw-card-actions .lw-btn-download,
.tax-product_tag .sw-product-card .sw-card-actions .lw-btn-download,
.post-type-archive-product .sw-product-card .sw-card-actions .lw-btn-download {
    border-color: #111827 !important;
    background: #111827 !important;
    color: #ffffff !important;
}

@media (max-width: 1040px) {
    .sw-product-archive .lw-archive-main .learnoxy-grid,
    .tax-product_cat .lw-archive-main .learnoxy-grid,
    .tax-product_tag .lw-archive-main .learnoxy-grid,
    .post-type-archive-product .lw-archive-main .learnoxy-grid {
        grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)) !important;
    }
}

@media (max-width: 640px) {
    .sw-product-archive .lw-archive-main .learnoxy-grid,
    .tax-product_cat .lw-archive-main .learnoxy-grid,
    .tax-product_tag .lw-archive-main .learnoxy-grid,
    .post-type-archive-product .lw-archive-main .learnoxy-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 26px 14px !important;
    }

    .sw-product-archive .sw-product-card .lw-card-title,
    .tax-product_cat .sw-product-card .lw-card-title,
    .tax-product_tag .sw-product-card .lw-card-title,
    .post-type-archive-product .sw-product-card .lw-card-title {
        font-size: 14px !important;
    }

    .sw-product-card-price {
        font-size: 15px;
    }

    .sw-product-archive .sw-product-card .sw-card-actions,
    .tax-product_cat .sw-product-card .sw-card-actions,
    .tax-product_tag .sw-product-card .sw-card-actions,
    .post-type-archive-product .sw-product-card .sw-card-actions {
        display: grid !important;
        grid-template-columns: 1fr !important;
    }
}

/* Universal product card polish across homepage, archives, and related grids */
.sw-product-card {
    display: flex !important;
    flex-direction: column !important;
    min-width: 0 !important;
    height: 100% !important;
}

.sw-product-card .sw-resource-thumb {
    position: relative !important;
    aspect-ratio: 4 / 5.15 !important;
    border: 1px solid rgba(16, 24, 40, 0.06) !important;
    border-radius: 0 !important;
    background: linear-gradient(145deg, rgba(255, 248, 234, 0.92), rgba(246, 248, 251, 0.96)) !important;
    overflow: hidden !important;
}

.sw-product-card .sw-resource-thumb img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
}

.sw-product-card .lw-card-body {
    display: flex !important;
    flex-direction: column !important;
    flex: 1 1 auto !important;
}

.sw-product-card .lw-card-title {
    min-height: 44px !important;
    color: #101828 !important;
    font-size: 17px !important;
    font-weight: 850 !important;
    line-height: 1.3 !important;
}

.sw-product-card .sw-product-card-price {
    min-height: 24px !important;
    margin-top: 7px !important;
}

.sw-product-card .sw-product-card-chips {
    min-height: 25px;
    margin-bottom: 0 !important;
}

.sw-product-card .lw-card-body {
    padding-bottom: 0 !important;
}

.sw-product-card .sw-card-actions {
    width: 100% !important;
    display: grid !important;
    grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr) !important;
    gap: 8px !important;
    margin: auto 0 0 !important;
    padding-top: 14px !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
}

.sw-product-card .sw-card-actions .lw-btn,
.sw-product-card .sw-card-actions .button,
.sw-product-card .sw-card-actions .add_to_cart_button {
    width: 100% !important;
    min-width: 0 !important;
    min-height: 44px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 0 !important;
    padding: 0 12px !important;
    font-size: 13px !important;
    font-weight: 850 !important;
    line-height: 1.1 !important;
    text-align: center !important;
    white-space: nowrap !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.sw-product-card .sw-card-actions .lw-btn-preview {
    border-color: rgba(74, 57, 43, 0.22) !important;
    background: #fffdf9 !important;
    color: #2b2118 !important;
}

.sw-product-card .sw-card-actions .lw-btn-download,
.sw-product-card .sw-card-actions .add_to_cart_button {
    border-color: #8f6844 !important;
    background: #a67c52 !important;
    background-image: none !important;
    color: #fffdf9 !important;
}

.sw-product-card .sw-card-actions .added_to_cart {
    grid-column: 1 / -1;
    min-height: 40px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border: 1px solid rgba(22, 163, 74, 0.18) !important;
    background: #f0fdf4 !important;
    color: #15803d !important;
    font-size: 12px !important;
    font-weight: 850 !important;
}

.sw-homepage .learnoxy-section > .learnoxy-grid,
.sw-related-section > .learnoxy-grid,
.sw-product-reco-grid {
    align-items: stretch !important;
}

@media (max-width: 640px) {
    .sw-product-card .lw-card-title {
        min-height: 38px !important;
        font-size: 14px !important;
    }

    .sw-product-card .sw-card-actions {
        grid-template-columns: 1fr !important;
        padding-top: 12px !important;
    }

    .sw-product-card .sw-card-actions .lw-btn,
    .sw-product-card .sw-card-actions .button,
    .sw-product-card .sw-card-actions .add_to_cart_button {
        min-height: 40px !important;
        font-size: 12px !important;
    }
}

html,
body {
    max-width: 100%;
    overflow-x: clip;
}

.lw-single-wrap,
.sw-archive-page,
.sw-tax-page {
    color: var(--sw-ink);
}

.lw-single-wrap {
    padding-block: 28px 0;
    background: #fbfcff !important;
}

.lw-single-wrap > .grid-container,
.lw-single-wrap .grid-container {
    width: min(100% - var(--sw-page-gutter), var(--sw-page-width)) !important;
    max-width: var(--sw-page-width) !important;
    margin-inline: auto !important;
}

.sw-single-product.lw-single-hero {
    display: grid !important;
    grid-template-columns: minmax(280px, 390px) minmax(0, 1fr) !important;
    gap: clamp(28px, 4vw, 54px) !important;
    align-items: start !important;
    padding: 28px 0 58px !important;
    width: 100% !important;
    max-width: var(--sw-page-width) !important;
    margin-inline: auto !important;
}

.sw-single-media.lw-single-main,
.sw-single-summary.lw-download-panel {
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

.sw-single-product .lw-single-preview {
    order: initial !important;
    width: min(100%, 390px) !important;
    max-width: 390px !important;
    overflow: visible !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: #fff !important;
    box-shadow: none !important;
}

.sw-single-product .lw-single-preview img {
    display: block !important;
    width: auto !important;
    max-width: 100% !important;
    height: auto !important;
    max-height: 525px !important;
    margin: 0 auto !important;
    aspect-ratio: auto !important;
    object-fit: contain !important;
    border-radius: 0 !important;
}

.sw-single-product .lw-single-preview iframe {
    display: block;
    width: 100%;
    height: min(72vh, 525px);
    min-height: 420px;
    border: 0;
    background: #fff;
}

.sw-product-single .sw-product-gallery .woocommerce-product-gallery {
    float: none !important;
    width: 100% !important;
    max-width: 390px !important;
    margin: 0 auto !important;
}

.sw-product-single .sw-product-gallery .flex-viewport {
    width: 100% !important;
    height: auto !important;
    overflow: hidden !important;
}

.sw-product-single .sw-product-gallery .woocommerce-product-gallery__wrapper {
    width: 100% !important;
    height: auto !important;
}

.sw-product-single .sw-product-gallery .woocommerce-product-gallery__image {
    float: none !important;
    width: 100% !important;
    height: auto !important;
}

.sw-product-single .sw-product-gallery .woocommerce-product-gallery__image img {
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: 525px !important;
    object-fit: contain !important;
}

.sw-product-single .sw-product-gallery .flex-viewport .woocommerce-product-gallery__image:not(.flex-active-slide) {
    display: none !important;
}

.sw-product-single .sw-product-gallery .flex-control-thumbs {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 10px !important;
    height: auto !important;
    margin: 12px 0 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

.sw-product-single .sw-product-gallery .flex-control-thumbs li {
    width: 58px !important;
    margin: 0 !important;
}

.sw-product-single .sw-product-gallery .flex-control-thumbs img {
    display: block !important;
    width: 58px !important;
    height: 58px !important;
    min-height: 0 !important;
    max-height: none !important;
    object-fit: cover !important;
}

.sw-product-single .sw-product-cart-actions form.cart {
    width: 100% !important;
    max-width: 520px !important;
    margin: 0 !important;
}

.sw-product-single .sw-product-cart-actions table.variations {
    display: block !important;
    width: 100% !important;
    max-width: 520px !important;
    margin: 0 0 14px !important;
    border: 0 !important;
}

.sw-product-single .sw-product-cart-actions table.variations tbody,
.sw-product-single .sw-product-cart-actions table.variations tr,
.sw-product-single .sw-product-cart-actions table.variations th,
.sw-product-single .sw-product-cart-actions table.variations td {
    display: block !important;
    width: 100% !important;
    border: 0 !important;
    padding: 0 !important;
    text-align: left !important;
}

.sw-product-single .sw-product-cart-actions table.variations tr {
    display: grid !important;
    grid-template-columns: 88px minmax(0, 1fr) !important;
    gap: 12px !important;
    align-items: center !important;
    margin-bottom: 12px !important;
}

.sw-product-single .sw-product-cart-actions table.variations label {
    color: var(--sw-ink) !important;
    font-weight: 780 !important;
}

.sw-product-single .sw-product-cart-actions table.variations select {
    width: 100% !important;
    min-height: 52px !important;
    border: 1px solid var(--sw-soft-line) !important;
    border-radius: 0 !important;
    background: #fff !important;
    color: var(--sw-ink) !important;
    padding: 0 14px !important;
}

.sw-product-single .sw-product-cart-actions .reset_variations {
    display: inline-block !important;
    margin-top: 8px !important;
    color: var(--sw-ink) !important;
    font-size: 13px !important;
    font-weight: 760 !important;
}

.sw-product-single .sw-product-cart-actions .single_variation_wrap {
    width: 100% !important;
    max-width: 520px !important;
}

.sw-product-single .sw-product-cart-actions .woocommerce-variation-add-to-cart {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    gap: 10px !important;
    margin-top: 12px !important;
}

.sw-product-single .sw-product-cart-actions .quantity {
    float: none !important;
    width: auto !important;
    margin: 0 !important;
}

.sw-product-single .sw-product-cart-actions .quantity input.qty {
    width: 58px !important;
    min-height: 48px !important;
    border: 1px solid var(--sw-soft-line) !important;
    border-radius: 0 !important;
    text-align: center !important;
}

.sw-product-single .sw-product-cart-actions .single_add_to_cart_button {
    float: none !important;
    min-height: 48px !important;
    border-radius: 0 !important;
    border-color: #111827 !important;
    background: #111827 !important;
    color: #fff !important;
    padding: 0 22px !important;
    font-weight: 780 !important;
}

.sw-product-single .sw-product-cart-actions .woocommerce-variation-availability {
    width: 100% !important;
    margin: 0 0 2px !important;
}

@media (max-width: 640px) {
    .sw-product-single .sw-product-cart-actions table.variations tr {
        grid-template-columns: 1fr !important;
        gap: 8px !important;
    }

    .sw-product-single .sw-product-cart-actions .woocommerce-variation-add-to-cart {
        align-items: stretch !important;
    }

    .sw-product-single .sw-product-cart-actions .single_add_to_cart_button {
        flex: 1 1 180px !important;
    }
}

.sw-single-summary.lw-download-panel {
    width: 100% !important;
    max-width: none;
    padding: 4px 0 0 !important;
}

.sw-single-summary .lw-card-chips,
.sw-single-summary .lw-card-meta,
.sw-single-summary .lw-card-actions,
.sw-card-meta,
.sw-card-actions {
    display: flex !important;
    flex-wrap: wrap !important;
    opacity: 1 !important;
    transform: none !important;
}

.sw-single-summary .lw-card-chips {
    gap: 8px;
    margin-bottom: 16px;
}

.sw-single-summary .lw-chip,
.sw-single-summary .lw-taxonomy-chip {
    border: 0;
    border-radius: 999px;
    background: #eef2ff;
    color: #3246a8;
    padding: 7px 11px;
    font-size: 12px;
    font-weight: 760;
}

.sw-single-summary .lw-single-title {
    margin-top: 0 !important;
    max-width: 760px;
    color: var(--sw-ink);
    font-size: clamp(34px, 4vw, 56px) !important;
    line-height: 1.04 !important;
    letter-spacing: 0 !important;
}

.sw-single-summary .lw-single-desc {
    max-width: 680px;
    margin-top: 16px;
    color: var(--sw-muted-ink);
    font-size: 17px;
    line-height: 1.68;
}

.sw-single-summary .lw-section-title {
    margin-top: 30px;
    color: var(--sw-ink);
    font-size: 18px;
    font-weight: 820;
    letter-spacing: 0;
}

.sw-single-summary .lw-card-desc {
    max-width: 600px;
    margin-top: 8px;
    color: var(--sw-muted-ink);
    font-size: 14px;
    line-height: 1.6;
}

.sw-product-facts,
.sw-single-summary .lw-card-meta {
    gap: 8px;
    margin-top: 16px;
}

.sw-product-facts span,
.sw-single-summary .lw-card-meta span {
    border: 0;
    border-radius: 999px;
    background: #f1f5f9;
    color: #475569;
    padding: 8px 12px;
    font-size: 12px;
    font-weight: 720;
}

.sw-single-summary .lw-card-actions {
    gap: 12px;
    max-width: none !important;
    margin-top: 22px;
    padding-top: 0;
}

.sw-single-summary .lw-btn,
.sw-card-actions .lw-btn,
.lw-filter-form button,
.sw-archive-quicklinks a,
.sw-tax-pills a {
    border-radius: 0 !important;
}

.sw-single-summary .lw-btn {
    min-height: 48px;
    padding: 0 24px;
    font-size: 14px;
    font-weight: 780;
}

.sw-single-summary .lw-btn-download,
.sw-card-actions .lw-btn-download {
    background: #111827;
    border-color: #111827;
    color: #fff;
}

.sw-single-summary .lw-btn-preview,
.sw-card-actions .lw-btn-preview {
    border: 1px solid #d8dee8;
    background: #fff;
    color: var(--sw-ink);
}

.sw-single-summary .lw-resource-info,
.sw-single-summary .lw-sidebar-section {
    margin-top: 26px;
    padding-top: 22px;
    border: 0 !important;
    border-top: 1px solid var(--sw-soft-line) !important;
    background: transparent !important;
    box-shadow: none !important;
}

.sw-learning-panel,
.lw-single-wrap .learnoxy-section > .lw-single-content,
.lw-single-wrap .learnoxy-section > .lw-pdf-preview-wrap,
.lw-single-wrap .sw-related-section > .lw-section-header,
.lw-single-wrap .sw-related-section > .learnoxy-grid {
    width: min(100% - var(--sw-page-gutter), var(--sw-page-width)) !important;
    max-width: var(--sw-page-width) !important;
    margin-inline: auto !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

.lw-single-wrap .learnoxy-section {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
    padding: 52px 0;
    background: var(--sw-violet-soft);
}

.lw-single-wrap .learnoxy-section:nth-of-type(even) {
    background: var(--sw-blue-soft);
}

.sw-learning-intro {
    max-width: 720px;
}

.sw-learning-intro p {
    margin-top: 12px;
    color: var(--sw-muted-ink);
    font-size: 17px;
    line-height: 1.7;
}

.sw-learning-grid {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 14px !important;
    margin-top: 26px;
}

.sw-learning-card,
.sw-skill-strip {
    border: 1px solid var(--sw-soft-line);
    background: rgba(255, 255, 255, 0.75);
}

.sw-learning-card {
    min-height: 128px;
    padding: 22px;
}

.sw-learning-card span,
.sw-skill-strip span {
    display: block;
    color: #7c8491;
    font-size: 12px;
    font-weight: 760;
    text-transform: uppercase;
}

.sw-learning-card strong {
    display: block;
    margin-top: 10px;
    color: var(--sw-ink);
    font-size: 17px;
    line-height: 1.38;
}

.sw-skill-strip {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-top: 14px;
    padding: 18px 22px;
}

.sw-skill-strip strong {
    color: #344054;
    font-size: 15px;
    text-align: right;
}

.learnoxy-grid.sw-cover-grid,
.lw-archive-main .learnoxy-grid,
.sw-tax-results .learnoxy-grid,
.lw-single-wrap .sw-related-section .learnoxy-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)) !important;
    gap: 32px 22px !important;
    align-items: start !important;
}

.lw-single-wrap .sw-related-section {
    width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    overflow-x: clip;
}

.lw-single-wrap .sw-related-section .lw-section-header {
    margin-bottom: 24px;
}

.lw-single-wrap .sw-related-section .learnoxy-grid {
    max-width: var(--sw-page-width) !important;
}

.lw-single-wrap .sw-related-section .sw-resource-card {
    min-width: 0;
}

.sw-resource-card.lw-card {
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

.sw-resource-thumb.lw-card-thumb {
    position: relative !important;
    display: block !important;
    aspect-ratio: 4 / 5.05 !important;
    border: 1px solid rgba(17, 24, 39, 0.06) !important;
    border-radius: 0 !important;
    background: #f4f7fb !important;
    box-shadow: none !important;
}

.sw-resource-thumb img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    border-radius: 0 !important;
}

.sw-card-type {
    position: absolute;
    z-index: 2;
    left: 10px;
    top: 10px;
    max-width: calc(100% - 20px);
    padding: 6px 9px;
    background: rgba(255, 255, 255, 0.9);
    color: #344054;
    font-size: 11px;
    font-weight: 780;
    line-height: 1;
}

.sw-product-card .sw-card-type,
.sw-product-card .sw-product-sale-flag {
    min-height: 28px !important;
    display: inline-flex !important;
    align-items: center !important;
    max-width: calc(100% - 112px) !important;
    border: 1px solid rgba(184, 135, 58, 0.26) !important;
    border-radius: 999px !important;
    padding: 0 11px !important;
    font-size: 11px !important;
    font-weight: 850 !important;
    line-height: 1 !important;
    box-shadow: none !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
}

.sw-product-card .sw-card-type {
    left: 10px !important;
    top: 10px !important;
    background: rgba(255, 248, 234, 0.96) !important;
    color: #7a531f !important;
}

.sw-product-card .sw-product-sale-flag {
    right: 10px !important;
    top: 10px !important;
    max-width: 98px !important;
    border-color: rgba(249, 115, 22, 0.2) !important;
    background: #fff7ed !important;
    color: #c2410c !important;
}

.sw-product-card .sw-product-sale-flag--medium {
    border-color: rgba(236, 72, 153, 0.22) !important;
    background: #fff1f7 !important;
    color: #be185d !important;
}

.sw-product-card .sw-product-sale-flag--high {
    border-color: rgba(220, 38, 38, 0.22) !important;
    background: #fff1f2 !important;
    color: #b91c1c !important;
}

.sw-resource-card .lw-card-body {
    padding: 12px 0 0 !important;
}

.sw-resource-card .lw-card-title {
    min-height: 42px !important;
    color: var(--sw-ink);
    font-size: 15px !important;
    font-weight: 760 !important;
    line-height: 1.38 !important;
}

.sw-card-meta {
    gap: 6px !important;
    margin-top: 8px !important;
}

.sw-card-meta span {
    display: inline-flex !important;
    min-height: 24px !important;
    padding: 4px 8px !important;
    background: #f2f4f7 !important;
    color: #667085 !important;
    font-size: 11px !important;
    font-weight: 720 !important;
}

.sw-card-actions {
    gap: 8px !important;
    margin-top: 10px !important;
    padding-top: 0 !important;
}

.sw-card-actions .lw-btn {
    min-height: 34px;
    padding: 0 12px;
    font-size: 12px;
    font-weight: 760;
}

.sw-tax-hero,
.lw-archive-hero {
    background: linear-gradient(135deg, var(--sw-blue-soft), var(--sw-violet-soft));
    border: 0;
}

.sw-homepage {
    overflow-x: clip;
}

.sw-homepage > section,
.sw-homepage .learnoxy-section,
.sw-homepage .sw-curriculum-explorer,
.sw-homepage .sw-section-latest,
.sw-homepage .sw-section-trending,
.sw-homepage .sw-section-featured {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    overflow-x: clip;
}

.sw-homepage > section > .grid-container,
.sw-homepage .learnoxy-section > .grid-container,
.sw-homepage .learnoxy-section > .lw-section-header,
.sw-homepage .learnoxy-section > .learnoxy-grid,
.sw-homepage .learnoxy-section > .lw-discovery-strip,
.sw-homepage .learnoxy-section > .lw-subject-hubs,
.sw-homepage .learnoxy-section > .lw-grade-hubs,
.sw-homepage .learnoxy-section > .lw-activity-hubs,
.sw-homepage .sw-curriculum-explorer > .grid-container {
    width: min(100% - var(--sw-page-gutter), var(--sw-page-width)) !important;
    max-width: var(--sw-page-width) !important;
    margin-inline: auto !important;
}

.sw-curriculum-explorer {
    padding: clamp(52px, 7vw, 86px) 0 !important;
    background: #f7f4ff;
}

.sw-explorer-panel {
    display: grid !important;
    grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1.2fr);
    gap: clamp(28px, 5vw, 68px);
    align-items: start;
    padding: clamp(28px, 5vw, 58px) !important;
    border: 1px solid rgba(17, 24, 39, 0.06) !important;
    border-radius: 0 !important;
    background: rgba(255, 255, 255, 0.76) !important;
    box-shadow: none !important;
}

.sw-explorer-copy {
    max-width: 440px;
}

.sw-explorer-copy h2 {
    margin: 10px 0 0;
    color: var(--sw-ink);
    font-size: clamp(32px, 4vw, 54px);
    line-height: 1.05;
    letter-spacing: 0;
}

.sw-explorer-copy p {
    margin-top: 18px;
    color: var(--sw-muted-ink);
    font-size: 17px;
    line-height: 1.72;
}

.sw-pathway-columns {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.sw-pathway-column {
    min-width: 0;
    padding: 22px !important;
    border: 1px solid rgba(17, 24, 39, 0.07) !important;
    border-radius: 0 !important;
    background: #fff !important;
    box-shadow: none !important;
}

.sw-pathway-column h3 {
    margin: 0 0 14px;
    color: var(--sw-ink);
    font-size: 15px;
    font-weight: 820;
}

.sw-pathway-column a {
    display: flex;
    align-items: center;
    min-height: 38px;
    border-top: 1px solid rgba(17, 24, 39, 0.06);
    color: #344054;
    font-size: 14px;
    font-weight: 700;
}

.sw-archive-quicklinks,
.sw-tax-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

.sw-archive-quicklinks span {
    color: var(--sw-muted-ink);
    font-size: 13px;
    font-weight: 760;
}

.sw-archive-quicklinks a,
.sw-tax-pills a {
    min-height: 36px;
    display: inline-flex;
    align-items: center;
    border: 1px solid var(--sw-soft-line);
    background: rgba(255, 255, 255, 0.76);
    color: #344054;
    padding: 0 13px;
    font-size: 13px;
    font-weight: 760;
}

.learnoxy-container,
.sw-tax-layout,
.lw-archive-layout {
    width: min(100% - var(--sw-page-gutter), var(--sw-wide-width));
    max-width: var(--sw-wide-width);
    margin-inline: auto;
}

.sw-tax-layout,
.lw-archive-layout {
    display: grid !important;
    grid-template-columns: minmax(220px, 280px) minmax(0, 1fr) !important;
    gap: 34px !important;
    padding: 42px 0 72px;
}

.sw-tax-aside,
.lw-filters {
    position: sticky;
    top: 92px;
    align-self: start;
}

.sw-filter-panel,
.sw-topic-panel,
.lw-filter-form,
.lw-results-bar {
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

.sw-filter-panel,
.sw-topic-panel {
    padding-bottom: 28px !important;
    border-bottom: 1px solid var(--sw-soft-line) !important;
}

.sw-topic-panel {
    margin-top: 28px;
}

.sw-filter-heading {
    margin-bottom: 16px;
}

.sw-filter-heading strong,
.sw-filter-panel h2,
.sw-topic-panel h2 {
    display: block;
    color: var(--sw-ink);
    font-size: 15px;
    font-weight: 820;
}

.sw-filter-heading span,
.sw-results-heading p,
.lw-results-count {
    color: #7c8491;
    font-size: 13px;
}

.lw-filter-form {
    display: grid;
    gap: 14px;
    padding: 0 !important;
}

.lw-filter-form label {
    display: grid;
    gap: 6px;
}

.lw-filter-form label > span {
    color: var(--sw-muted-ink);
    font-size: 12px;
    font-weight: 760;
}

.lw-filter-form select,
.lw-filter-form input[type="search"],
.lw-filter-form input[type="text"] {
    width: 100%;
    min-height: 42px;
    border: 1px solid #d8dee8;
    border-radius: 0;
    background: #fff;
    color: var(--sw-ink);
    font-size: 14px;
}

.sw-results-heading,
.lw-results-bar {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 24px;
    padding: 0 0 16px !important;
    border: 0 !important;
    border-bottom: 1px solid var(--sw-soft-line) !important;
    background: transparent !important;
}

.sw-results-heading h2,
.lw-results-bar strong {
    color: var(--sw-ink);
    font-size: clamp(22px, 2.4vw, 32px);
    font-weight: 820;
    line-height: 1.12;
}

.sw-sort-note {
    white-space: nowrap;
    color: var(--sw-muted-ink);
    font-size: 13px;
    font-weight: 760;
}

@media (min-width: 1280px) {
    .learnoxy-grid.sw-cover-grid,
    .lw-archive-main .learnoxy-grid,
    .sw-tax-results .learnoxy-grid,
    .lw-single-wrap .sw-related-section .learnoxy-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    }
}

@media (min-width: 1540px) {
    .learnoxy-grid.sw-cover-grid,
    .lw-archive-main .learnoxy-grid,
    .sw-tax-results .learnoxy-grid {
        grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 980px) {
    .sw-single-product.lw-single-hero,
    .sw-tax-layout,
    .lw-archive-layout,
    .sw-explorer-panel {
        grid-template-columns: 1fr !important;
    }

    .sw-tax-aside,
    .lw-filters,
    .sw-single-summary.lw-download-panel {
        position: static;
    }

    .sw-learning-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

    .sw-pathway-columns {
        grid-template-columns: 1fr !important;
    }
}

@media (max-width: 720px) {
    :root {
        --sw-page-gutter: 24px;
    }

    .lw-single-wrap > .grid-container,
    .lw-single-wrap .grid-container,
    .learnoxy-container,
    .sw-tax-layout,
    .lw-archive-layout,
    .sw-learning-panel,
    .lw-single-wrap .learnoxy-section > .lw-single-content,
    .lw-single-wrap .learnoxy-section > .lw-pdf-preview-wrap,
    .lw-single-wrap .sw-related-section > .lw-section-header,
    .lw-single-wrap .sw-related-section > .learnoxy-grid,
    .sw-homepage > section > .grid-container,
    .sw-homepage .learnoxy-section > .grid-container,
    .sw-homepage .learnoxy-section > .lw-section-header,
    .sw-homepage .learnoxy-section > .learnoxy-grid,
    .sw-homepage .learnoxy-section > .lw-discovery-strip,
    .sw-homepage .learnoxy-section > .lw-subject-hubs,
    .sw-homepage .learnoxy-section > .lw-grade-hubs,
    .sw-homepage .learnoxy-section > .lw-activity-hubs,
    .sw-homepage .sw-curriculum-explorer > .grid-container {
        width: min(100% - 24px, 1440px) !important;
    }

    .sw-single-product .lw-single-preview {
        width: 100% !important;
        max-width: 100% !important;
    }

    .sw-learning-grid {
        grid-template-columns: 1fr !important;
    }

    .sw-skill-strip,
    .sw-results-heading,
    .lw-results-bar {
        display: grid;
        justify-content: stretch;
    }

    .sw-skill-strip strong {
        text-align: left;
    }

    .learnoxy-grid.sw-cover-grid,
    .lw-archive-main .learnoxy-grid,
    .sw-tax-results .learnoxy-grid,
    .lw-single-wrap .sw-related-section .learnoxy-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 26px 14px !important;
    }

    .sw-explorer-panel {
        padding: 24px !important;
    }
}

/* Unified polished hero system for archives, activities, resources, search, collections */
.sw-tax-hero,
.lw-archive-hero,
.lw-hub-hero,
.learnoxy-hero,
.sw-page-hero,
.learnoxy-collections-archive .learnoxy-hero {
    background:
        radial-gradient(circle at 82% 18%, rgba(36, 183, 232, 0.16), transparent 28rem),
        radial-gradient(circle at 14% 22%, rgba(157, 85, 244, 0.12), transparent 26rem),
        linear-gradient(135deg, #fff8f5 0%, #f7f0ff 48%, #eefaff 100%) !important;
    border: 0 !important;
    padding: clamp(54px, 7vw, 88px) 0 clamp(42px, 6vw, 70px) !important;
}

.sw-tax-hero > .grid-container,
.lw-archive-hero > .grid-container,
.lw-hub-hero > .grid-container,
.learnoxy-hero > .grid-container,
.sw-page-hero > .grid-container,
.sw-page-content-section > .grid-container {
    width: min(100% - var(--sw-page-gutter), var(--sw-page-width)) !important;
    max-width: var(--sw-page-width) !important;
    margin-inline: auto !important;
}

.sw-tax-hero-inner {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 460px) !important;
    gap: clamp(28px, 4vw, 58px) !important;
    align-items: end !important;
}

.sw-eyebrow,
.lw-hub-badge,
.lw-hub-hero .lw-chip,
.learnoxy-hero .lw-chip,
.lw-archive-hero .sw-eyebrow {
    display: inline-flex !important;
    min-height: 32px;
    align-items: center;
    border: 1px solid rgba(245, 74, 32, 0.16);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.72);
    color: #e04824 !important;
    padding: 0 12px;
    font-size: 12px !important;
    font-weight: 850 !important;
    letter-spacing: 0 !important;
    text-transform: uppercase;
}

.sw-tax-title,
.lw-archive-title,
.lw-hub-title,
.learnoxy-hero-title,
.sw-page-title {
    max-width: 760px !important;
    margin: 16px 0 0 !important;
    color: #101828 !important;
    font-size: clamp(40px, 5vw, 72px) !important;
    font-weight: 900 !important;
    line-height: 1.04 !important;
    letter-spacing: 0 !important;
}

.sw-tax-desc,
.lw-archive-desc,
.lw-hub-desc,
.learnoxy-hero-desc,
.sw-page-desc {
    max-width: 680px !important;
    margin-top: 18px !important;
    color: #536071 !important;
    font-size: clamp(16px, 1.3vw, 19px) !important;
    line-height: 1.72 !important;
}

.sw-tax-search,
.lw-hub-hero .lw-search-form,
.lw-archive-hero .lw-search-form,
.learnoxy-hero .lw-search-form {
    width: 100%;
}

.sw-tax-search .lw-search-form,
.lw-hub-hero .lw-search-form,
.lw-archive-hero .lw-search-form,
.learnoxy-hero .lw-search-form,
.lw-hero-search-form {
    max-width: 680px !important;
    margin-top: 22px !important;
    padding: 6px;
    border: 1px solid rgba(16, 24, 40, 0.08);
    background: rgba(255, 255, 255, 0.82);
}

.sw-tax-search .lw-search-input,
.lw-hub-hero .lw-search-input,
.lw-archive-hero .lw-search-input,
.learnoxy-hero .lw-search-input,
.lw-hero-search-form .lw-search-input {
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

.sw-tax-search .lw-search-button,
.lw-hub-hero .lw-search-button,
.lw-archive-hero .lw-search-button,
.learnoxy-hero .lw-search-button,
.lw-hero-search-form .lw-search-button {
    border: 0 !important;
    background: linear-gradient(135deg, var(--sw-brand-coral), var(--sw-brand-purple)) !important;
    color: #fff !important;
    box-shadow: 0 16px 36px rgba(157, 85, 244, 0.2) !important;
}

.sw-tax-pills,
.sw-archive-quicklinks {
    margin-top: 26px !important;
}

.sw-tax-pills a,
.sw-archive-quicklinks a {
    border-color: rgba(16, 24, 40, 0.08) !important;
    background: rgba(255, 255, 255, 0.74) !important;
}

.sw-archive-discovery-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    max-width: 820px;
    margin-top: 18px;
}

.sw-archive-discovery-chips a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 8px 15px;
    border: 1px solid rgba(16, 24, 40, 0.08);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.74);
    color: var(--sw-ink, #18212f);
    font-size: 0.9rem;
    font-weight: 800;
    line-height: 1.2;
    text-decoration: none;
    transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.sw-archive-discovery-chips a:hover,
.sw-archive-discovery-chips a:focus-visible {
    border-color: rgba(249, 115, 22, 0.26);
    background: #ffffff;
    color: var(--sw-primary, #f97316);
    transform: translateY(-1px);
}

.lw-hub-hero .lw-card-chips,
.learnoxy-hero .lw-card-chips {
    display: flex !important;
    margin: 0 !important;
}

.lw-hub-stats {
    border: 1px solid rgba(16, 24, 40, 0.08) !important;
    background: #ffffff !important;
    box-shadow: none !important;
}

@media (max-width: 980px) {
    .sw-tax-hero-inner {
        grid-template-columns: 1fr !important;
        align-items: start !important;
    }
}

@media (max-width: 720px) {
    .sw-tax-hero,
    .lw-archive-hero,
    .lw-hub-hero,
    .learnoxy-hero,
    .sw-page-hero {
        padding-block: 44px !important;
    }

    .sw-tax-title,
    .lw-archive-title,
    .lw-hub-title,
    .learnoxy-hero-title,
    .sw-page-title {
        font-size: clamp(34px, 10vw, 48px) !important;
    }

    .sw-tax-search .lw-search-form,
    .lw-hub-hero .lw-search-form,
    .lw-archive-hero .lw-search-form,
    .learnoxy-hero .lw-search-form,
    .lw-hero-search-form {
        display: grid !important;
        padding: 8px;
    }

    .sw-tax-search .lw-search-button,
    .lw-hub-hero .lw-search-button,
    .lw-archive-hero .lw-search-button,
    .learnoxy-hero .lw-search-button,
    .lw-hero-search-form .lw-search-button {
        width: 100%;
        min-height: 46px;
    }
}

@media (max-width: 420px) {
    .learnoxy-grid.sw-cover-grid,
    .lw-archive-main .learnoxy-grid,
    .sw-tax-results .learnoxy-grid,
    .lw-single-wrap .sw-related-section .learnoxy-grid {
        grid-template-columns: 1fr !important;
    }
}

/* White background system across the full frontend */
html,
body,
#page,
.site,
.site-content,
.content-area,
.site-main,
.inside-article,
.sw-homepage,
.sw-archive-page,
.sw-tax-page,
.lw-single-wrap,
.learnoxy-resource-single,
.learnoxy-section,
.sw-homepage > section,
.sw-homepage .learnoxy-section,
.sw-homepage .sw-curriculum-explorer,
.lw-single-wrap .learnoxy-section,
.lw-single-wrap .sw-related-section,
.sw-tax-hero,
.lw-archive-hero {
    background: #ffffff !important;
    background-image: none !important;
}

.sw-explorer-panel,
.sw-learning-card,
.sw-skill-strip,
.sw-resource-thumb.lw-card-thumb,
.sw-filter-panel,
.sw-topic-panel,
.lw-filter-form,
.lw-results-bar,
.lw-empty-state {
    background: #ffffff !important;
}

/* Ad placements */
.sw-ad-slot {
    width: min(100% - var(--sw-page-gutter), var(--sw-page-width));
    max-width: var(--sw-page-width);
    margin: 28px auto;
    padding: 12px;
    border: 1px solid rgba(17, 24, 39, 0.08);
    background: #ffffff;
    text-align: center;
    overflow: hidden;
}

.sw-ad-label {
    display: block;
    margin-bottom: 8px;
    color: #98a2b3;
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
    text-transform: uppercase;
}

.sw-ad-code {
    display: grid;
    place-items: center;
    min-height: 90px;
}

.sw-ad-code ins,
.sw-ad-code iframe,
.sw-ad-code img {
    max-width: 100%;
}

.sw-ad-wide {
    min-height: 118px;
}

.sw-ad-grid {
    grid-column: 1 / -1;
    width: 100%;
    max-width: none;
    margin: 6px 0 8px;
}

.sw-ad-footer {
    margin-top: 0;
    margin-bottom: 34px;
}

@media (max-width: 720px) {
    .sw-ad-slot {
        width: min(100% - 24px, var(--sw-page-width));
        margin-block: 22px;
        padding: 10px;
    }

    .sw-ad-code {
        min-height: 72px;
    }
}

/* Full-width theme shell: stop GeneratePress containers from boxing pages */
body,
#page,
.site,
.site-content,
.content-area,
.site-main,
.inside-article,
.separate-containers .site-main,
.separate-containers .inside-article,
.separate-containers .comments-area,
.separate-containers .page-header,
.contained-content .inside-article {
    width: 100% !important;
    max-width: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

.separate-containers .inside-article,
.separate-containers .site-main {
    padding: 0 !important;
}

.site-content {
    display: block !important;
}

.site-content .content-area {
    float: none !important;
}

.sw-homepage,
.sw-archive-page,
.sw-tax-page,
.lw-single-wrap,
.learnoxy-resource-single,
.site-content,
.inside-article {
    overflow-x: clip;
}

/* Keep real content readable while the outer shell stays full width */
.sw-homepage > section > .grid-container,
.sw-homepage .learnoxy-section > .grid-container,
.sw-homepage .learnoxy-section > .lw-section-header,
.sw-homepage .learnoxy-section > .learnoxy-grid,
.sw-homepage .learnoxy-section > .lw-discovery-strip,
.sw-homepage .learnoxy-section > .lw-subject-hubs,
.sw-homepage .learnoxy-section > .lw-grade-hubs,
.sw-homepage .learnoxy-section > .lw-activity-hubs,
.sw-homepage .sw-curriculum-explorer > .grid-container,
.lw-single-wrap > .grid-container,
.lw-single-wrap .grid-container,
.lw-single-wrap .learnoxy-section > .lw-single-content,
.lw-single-wrap .learnoxy-section > .lw-pdf-preview-wrap,
.lw-single-wrap .sw-related-section > .lw-section-header,
.lw-single-wrap .sw-related-section > .learnoxy-grid {
    width: min(100% - var(--sw-page-gutter), var(--sw-page-width)) !important;
    max-width: var(--sw-page-width) !important;
    margin-inline: auto !important;
}

.learnoxy-container,
.sw-tax-layout,
.lw-archive-layout {
    width: min(100% - var(--sw-page-gutter), var(--sw-wide-width)) !important;
    max-width: var(--sw-wide-width) !important;
    margin-inline: auto !important;
}

.sw-homepage > section,
.sw-homepage .learnoxy-section,
.sw-homepage .sw-curriculum-explorer,
.lw-single-wrap .learnoxy-section,
.lw-single-wrap .sw-related-section,
.sw-tax-hero,
.lw-archive-hero {
    width: 100% !important;
    max-width: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

/* Brand polish from SchoolWali palette */
:root {
    --sw-brand-orange: #f54a20;
    --sw-brand-coral: #ff6b63;
    --sw-brand-purple: #9d55f4;
    --sw-brand-sky: #24b7e8;
    --sw-brand-green: #13c982;
    --sw-brand-orange-soft: #fff1ec;
    --sw-brand-coral-soft: #fff2f0;
    --sw-brand-purple-soft: #f5edff;
    --sw-brand-sky-soft: #edf9ff;
    --sw-brand-green-soft: #edfff7;
}

.lw-site-logo-mark {
    background: linear-gradient(
        135deg,
        var(--sw-brand-orange),
        var(--sw-brand-coral) 28%,
        var(--sw-brand-purple) 54%,
        var(--sw-brand-sky) 78%,
        var(--sw-brand-green)
    ) !important;
}

.sw-homepage .sw-hero {
    background:
        radial-gradient(circle at 78% 18%, rgba(36, 183, 232, 0.18), transparent 30rem),
        radial-gradient(circle at 18% 28%, rgba(157, 85, 244, 0.13), transparent 28rem),
        linear-gradient(135deg, #fff8f5 0%, #f7f0ff 47%, #eefaff 100%) !important;
    padding: clamp(58px, 7vw, 94px) 0 clamp(48px, 6vw, 76px) !important;
}

.sw-hero .grid-container {
    width: min(100% - var(--sw-page-gutter), var(--sw-page-width)) !important;
    max-width: var(--sw-page-width) !important;
    margin-inline: auto !important;
}

.lw-hero-grid {
    display: grid !important;
    grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.82fr) !important;
    gap: clamp(34px, 5vw, 72px) !important;
    align-items: center !important;
}

.lw-hero-badge {
    display: inline-flex;
    min-height: 34px;
    align-items: center;
    border: 1px solid rgba(245, 74, 32, 0.18);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.72);
    color: #e04824 !important;
    padding: 0 13px;
    font-size: 12px;
    font-weight: 850;
    text-transform: uppercase;
}

.lw-hero-title {
    max-width: 760px !important;
    margin-top: 18px !important;
    color: #101828 !important;
    font-size: clamp(42px, 5.4vw, 76px) !important;
    line-height: 1.02 !important;
    letter-spacing: 0 !important;
}

.lw-hero-description {
    max-width: 680px !important;
    margin-top: 20px !important;
    color: #536071 !important;
    font-size: clamp(17px, 1.45vw, 20px) !important;
    line-height: 1.72 !important;
}

.sw-hero-search {
    max-width: 680px !important;
    margin-top: 28px !important;
    padding: 6px;
    border: 1px solid rgba(16, 24, 40, 0.08);
    background: rgba(255, 255, 255, 0.82);
}

.sw-hero-search .lw-search-input {
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

.sw-hero-search .lw-search-button {
    border: 0 !important;
    background: linear-gradient(135deg, var(--sw-brand-coral), var(--sw-brand-purple)) !important;
    color: #fff !important;
    box-shadow: 0 16px 36px rgba(157, 85, 244, 0.22) !important;
}

.lw-search-trending a {
    border: 1px solid rgba(16, 24, 40, 0.08);
    background: rgba(255, 255, 255, 0.72);
    color: #344054;
}

.sw-hero-preview {
    position: relative;
    min-height: 420px;
}

.sw-hero-preview::before {
    content: "";
    position: absolute;
    inset: 28px 0 12px 24px;
    background: linear-gradient(135deg, rgba(255, 107, 99, 0.13), rgba(36, 183, 232, 0.16));
    border: 1px solid rgba(16, 24, 40, 0.06);
}

.lw-hero-card {
    border-radius: 0 !important;
    border: 1px solid rgba(16, 24, 40, 0.08) !important;
    background: #fff !important;
    box-shadow: 0 24px 70px rgba(16, 24, 40, 0.12) !important;
}

.lw-hero-card-main {
    position: relative;
    z-index: 2;
    width: min(100%, 360px) !important;
    margin-left: auto;
}

.lw-hero-card-float {
    z-index: 3;
    width: min(52%, 220px) !important;
    transform: translate(-34px, -34px) !important;
    opacity: 0.9;
}

.lw-hero-card img {
    border-radius: 0 !important;
    object-fit: cover;
}

.lw-subject-hubs,
.lw-activity-hubs {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)) !important;
    gap: 14px !important;
}

.lw-subject-hub-card,
.lw-activity-card {
    min-height: 132px !important;
    padding: 18px !important;
    border: 1px solid rgba(16, 24, 40, 0.07) !important;
    border-radius: 0 !important;
    background: #ffffff !important;
    box-shadow: none !important;
    transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.lw-subject-hub-card:hover,
.lw-activity-card:hover {
    transform: translateY(-3px);
    border-color: rgba(157, 85, 244, 0.22) !important;
    background: linear-gradient(180deg, #ffffff, #fbf8ff) !important;
}

.lw-subject-hub-icon,
.lw-activity-icon {
    display: grid !important;
    place-items: center;
    width: 42px !important;
    height: 42px !important;
    border-radius: 12px !important;
    color: #fff !important;
    font-size: 16px !important;
    font-weight: 900 !important;
    box-shadow: none !important;
}

.lw-subject-hub-card:nth-child(5n+1) .lw-subject-hub-icon,
.lw-activity-card:nth-child(5n+1) .lw-activity-icon {
    background: linear-gradient(135deg, var(--sw-brand-orange), var(--sw-brand-coral)) !important;
}

.lw-subject-hub-card:nth-child(5n+2) .lw-subject-hub-icon,
.lw-activity-card:nth-child(5n+2) .lw-activity-icon {
    background: linear-gradient(135deg, var(--sw-brand-purple), #bb87ff) !important;
}

.lw-subject-hub-card:nth-child(5n+3) .lw-subject-hub-icon,
.lw-activity-card:nth-child(5n+3) .lw-activity-icon {
    background: linear-gradient(135deg, var(--sw-brand-sky), #68d7f6) !important;
}

.lw-subject-hub-card:nth-child(5n+4) .lw-subject-hub-icon,
.lw-activity-card:nth-child(5n+4) .lw-activity-icon {
    background: linear-gradient(135deg, var(--sw-brand-green), #74e5b9) !important;
}

.lw-subject-hub-card:nth-child(5n+5) .lw-subject-hub-icon,
.lw-activity-card:nth-child(5n+5) .lw-activity-icon {
    background: linear-gradient(135deg, var(--sw-brand-coral), var(--sw-brand-purple)) !important;
}

.lw-subject-hub-card h3,
.lw-activity-card h3 {
    margin-top: 14px !important;
    margin-bottom: 5px !important;
    color: #101828 !important;
    font-size: 17px !important;
    font-weight: 820 !important;
    line-height: 1.25 !important;
}

.lw-subject-hub-card span,
.lw-activity-card span {
    color: #667085 !important;
    font-size: 13px !important;
    font-weight: 680 !important;
}

.lw-section-header {
    margin-bottom: 24px !important;
}

.lw-section-title {
    letter-spacing: 0 !important;
}

.lw-btn-download,
.lw-filter-form button {
    background: linear-gradient(135deg, var(--sw-brand-coral), var(--sw-brand-purple)) !important;
    border-color: transparent !important;
}

@media (max-width: 980px) {
    .lw-hero-grid {
        grid-template-columns: 1fr !important;
    }

    .sw-hero-preview {
        min-height: 320px;
    }

    .lw-hero-card-main {
        margin-right: auto;
    }
}

@media (max-width: 720px) {
    .sw-homepage .sw-hero {
        padding-block: 44px !important;
    }

    .lw-hero-title {
        font-size: clamp(36px, 11vw, 52px) !important;
    }

    .sw-hero-search {
        display: grid !important;
        padding: 8px;
    }

    .sw-hero-search .lw-search-button {
        width: 100%;
        min-height: 46px;
    }

    .sw-hero-preview {
        display: none;
    }

    .lw-subject-hubs,
    .lw-activity-hubs {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

    .lw-subject-hub-card,
    .lw-activity-card {
        min-height: 120px !important;
        padding: 15px !important;
    }
}

/* Distinct pastel hero moods by archive/page type */
.sw-generic-tax-page .sw-tax-hero {
    background:
        radial-gradient(circle at 82% 18%, rgba(36, 183, 232, 0.14), transparent 28rem),
        radial-gradient(circle at 16% 22%, rgba(245, 74, 32, 0.11), transparent 26rem),
        linear-gradient(135deg, #f0fbff 0%, #fff5ef 100%) !important;
}

body.post-type-archive-collections .learnoxy-hero,
body.post-type-archive-collection .learnoxy-hero,
.learnoxy-collections-archive .learnoxy-hero {
    background:
        radial-gradient(circle at 82% 18%, rgba(245, 74, 32, 0.13), transparent 28rem),
        radial-gradient(circle at 16% 22%, rgba(157, 85, 244, 0.14), transparent 26rem),
        linear-gradient(135deg, #fff3ec 0%, #f6efff 100%) !important;
}

body.search .lw-hub-hero {
    background:
        radial-gradient(circle at 82% 18%, rgba(36, 183, 232, 0.16), transparent 28rem),
        radial-gradient(circle at 16% 22%, rgba(255, 107, 99, 0.11), transparent 26rem),
        linear-gradient(135deg, #f0fbff 0%, #fff5f2 100%) !important;
}

.sw-default-page .sw-page-hero {
    background:
        radial-gradient(circle at 82% 18%, rgba(157, 85, 244, 0.13), transparent 28rem),
        radial-gradient(circle at 16% 22%, rgba(19, 201, 130, 0.11), transparent 26rem),
        linear-gradient(135deg, #f7f1ff 0%, #effff7 100%) !important;
}

.sw-page-content-section {
    padding: 54px 0 76px;
    background: #ffffff;
}

.sw-page-content {
    max-width: 920px;
    color: #344054;
    font-size: 17px;
    line-height: 1.78;
}

.sw-page-content > * + * {
    margin-top: 18px;
}

/* User accounts and saved product UX */
.lw-header-inner {
    grid-template-columns: auto minmax(0, 1fr) minmax(220px, 340px) auto !important;
}

.sw-account-nav {
    display: flex;
    align-items: center;
    gap: 8px;
    justify-content: flex-end;
}

.sw-account-link {
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(16, 24, 40, 0.08);
    background: #ffffff;
    color: #344054;
    padding: 0 13px;
    font-size: 13px;
    font-weight: 780;
    white-space: nowrap;
}

.sw-account-primary,
.sw-account-dashboard {
    border-color: transparent;
    background: linear-gradient(135deg, var(--sw-brand-coral), var(--sw-brand-purple));
    color: #ffffff !important;
}

.sw-account-menu {
    position: relative;
}

.sw-account-dropdown {
    position: absolute;
    z-index: 50;
    top: calc(100% + 10px);
    right: 0;
    width: 230px;
    display: grid;
    gap: 4px;
    border: 1px solid rgba(16, 24, 40, 0.1);
    background: #ffffff;
    padding: 10px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(6px);
    transition: opacity 160ms ease, transform 160ms ease, visibility 160ms ease;
}

.sw-account-menu:hover .sw-account-dropdown,
.sw-account-menu:focus-within .sw-account-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.sw-account-dropdown strong {
    display: block;
    margin-bottom: 6px;
    padding: 8px 10px 10px;
    border-bottom: 1px solid rgba(16, 24, 40, 0.08);
    color: #101828;
    font-size: 13px;
    overflow-wrap: anywhere;
}

.sw-account-dropdown a {
    min-height: 38px;
    display: flex;
    align-items: center;
    color: #344054;
    padding: 0 10px;
    font-size: 13px;
    font-weight: 760;
}

.sw-account-dropdown a:hover {
    background: #f7f1ff;
    color: #6d28d9;
}

.sw-save-button {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 6px;
    border: 1px solid rgba(16, 24, 40, 0.1);
    background: #ffffff;
    color: #344054;
    cursor: pointer;
    font-weight: 780;
}

.sw-save-button.active {
    border-color: rgba(255, 107, 99, 0.28) !important;
    background: #fff2f0 !important;
    color: #d83a2f !important;
}

.sw-save-button:disabled {
    opacity: 0.65;
    cursor: wait;
}

.sw-card-save {
    min-height: 34px !important;
    padding: 0 12px !important;
    font-size: 12px !important;
    border-radius: 0 !important;
}

.sw-single-save {
    min-height: 48px !important;
    padding: 0 22px !important;
    border-radius: 0 !important;
}

.lw-auth-section {
    min-height: calc(100vh - 90px);
    padding: clamp(52px, 7vw, 88px) 0;
    background:
        radial-gradient(circle at 80% 18%, rgba(157, 85, 244, 0.13), transparent 28rem),
        radial-gradient(circle at 16% 22%, rgba(36, 183, 232, 0.12), transparent 26rem),
        linear-gradient(135deg, #fff8f5 0%, #f7f0ff 50%, #eefaff 100%) !important;
}

.lw-auth-container {
    width: min(100% - var(--sw-page-gutter), 520px);
    margin-inline: auto;
}

.lw-auth-card {
    border: 1px solid rgba(16, 24, 40, 0.08) !important;
    border-radius: 0 !important;
    background: rgba(255, 255, 255, 0.86) !important;
    box-shadow: none !important;
    padding: clamp(26px, 5vw, 42px) !important;
}

.lw-auth-header h1 {
    margin: 0;
    color: #101828;
    font-size: clamp(34px, 4vw, 48px);
    line-height: 1.08;
    letter-spacing: 0;
}

.lw-auth-header p {
    margin-top: 12px;
    color: #667085;
    font-size: 16px;
    line-height: 1.65;
}

.lw-auth-form,
#loginform {
    display: grid;
    gap: 14px;
    margin-top: 24px;
}

.lw-auth-form label {
    display: grid;
    gap: 7px;
    color: #344054;
    font-size: 13px;
    font-weight: 760;
}

.lw-auth-form input,
.lw-auth-form textarea,
#loginform input[type="text"],
#loginform input[type="password"] {
    width: 100%;
    min-height: 48px;
    border: 1px solid rgba(16, 24, 40, 0.12);
    border-radius: 0;
    background: #ffffff;
    padding: 0 14px;
}

.lw-auth-form textarea {
    min-height: 112px;
    padding: 13px 14px;
    resize: vertical;
}

.sw-auth-check {
    display: flex !important;
    grid-template-columns: none !important;
    align-items: center;
    gap: 9px !important;
    color: #667085 !important;
    font-size: 14px !important;
    font-weight: 680 !important;
}

.sw-auth-check input {
    width: 16px !important;
    height: 16px !important;
    min-height: 0 !important;
    padding: 0 !important;
}

.lw-auth-error {
    margin-top: 18px;
    border: 1px solid rgba(255, 107, 99, 0.25);
    background: #fff2f0;
    color: #b42318;
    padding: 12px 14px;
    font-size: 14px;
    font-weight: 720;
}

.lw-auth-success {
    margin-top: 18px;
    border: 1px solid rgba(19, 201, 130, 0.24);
    background: #edfff8;
    color: #047857;
    padding: 12px 14px;
    font-size: 14px;
    font-weight: 720;
}

.sw-auth-small-link {
    margin: -2px 0 0;
    text-align: right;
    font-size: 13px;
    font-weight: 760;
}

.sw-auth-small-link a {
    color: #7c3aed;
}

.lw-auth-form button,
#wp-submit {
    min-height: 48px;
    border: 0;
    border-radius: 0;
    background: linear-gradient(135deg, var(--sw-brand-coral), var(--sw-brand-purple));
    color: #ffffff;
    font-weight: 820;
}

.lw-auth-footer {
    margin-top: 20px;
    color: #667085;
}

.lw-auth-footer a {
    color: #7c3aed;
    font-weight: 820;
}

.sw-dashboard-hero {
    margin-bottom: 32px;
    padding: clamp(38px, 6vw, 64px) !important;
    border: 1px solid rgba(16, 24, 40, 0.08);
    background:
        radial-gradient(circle at 82% 18%, rgba(19, 201, 130, 0.12), transparent 28rem),
        linear-gradient(135deg, #f7f1ff 0%, #effff7 100%) !important;
}

.lw-dashboard {
    padding: 40px 0 80px;
    background: #ffffff;
}

.lw-dashboard-layout {
    align-items: start;
}

.lw-dashboard-sidebar,
.lw-dashboard-content {
    border-radius: 0 !important;
    box-shadow: none !important;
}

.lw-dashboard-content .sw-cover-grid {
    grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)) !important;
}

@media (max-width: 1120px) {
    .lw-header-inner {
        grid-template-columns: auto auto !important;
    }

    .lw-nav,
    .lw-header-search,
    .sw-account-nav {
        grid-column: 1 / -1;
    }

    .sw-account-nav {
        justify-content: flex-start;
    }
}

.sw-price-filter-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.sw-price-filter-row input[type="number"] {
    width: 100%;
    min-height: 42px;
    border: 1px solid rgba(24, 33, 47, 0.1);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.92);
    padding: 9px 11px;
    font: inherit;
    color: inherit;
}

@media (max-width: 420px) {
    .sw-price-filter-row {
        grid-template-columns: 1fr;
    }
}

.sw-commerce-trust-strip {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin: 0 0 22px;
}

.sw-purchase-steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin: 0 0 18px;
}

.sw-purchase-steps span {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 54px;
    padding: 12px 14px;
    border: 1px solid rgba(24, 33, 47, 0.08);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.72);
    color: var(--sw-muted, #687385);
}

.sw-purchase-steps small {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 999px;
    background: rgba(24, 33, 47, 0.06);
    color: inherit;
    font-size: 0.8rem;
    font-weight: 900;
}

.sw-purchase-steps strong {
    color: inherit;
    font-size: 0.92rem;
}

.sw-purchase-steps span.is-done,
.sw-purchase-steps span.is-active {
    border-color: rgba(249, 115, 22, 0.2);
    background: #fff7ed;
    color: var(--sw-primary, #f97316);
}

.sw-purchase-steps span.is-active strong {
    color: var(--sw-ink, #18212f);
}

.sw-commerce-trust-strip span {
    display: grid;
    gap: 4px;
    min-height: 82px;
    align-content: center;
    padding: 16px;
    border: 1px solid rgba(24, 33, 47, 0.08);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.86);
}

.sw-commerce-trust-strip strong {
    color: var(--sw-ink, #18212f);
    font-size: 0.95rem;
    line-height: 1.25;
}

.sw-commerce-trust-strip small {
    color: var(--sw-muted, #687385);
    font-size: 0.82rem;
    line-height: 1.35;
}

.sw-checkout-guidance {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin: -8px 0 22px;
}

.sw-checkout-guidance article {
    display: grid;
    gap: 6px;
    padding: 16px;
    border: 1px solid rgba(24, 33, 47, 0.08);
    border-radius: 18px;
    background: rgba(248, 250, 252, 0.8);
}

.sw-checkout-guidance strong {
    color: var(--sw-ink, #18212f);
    font-size: 0.94rem;
}

.sw-checkout-guidance p {
    margin: 0;
    color: var(--sw-muted, #687385);
    font-size: 0.84rem;
    line-height: 1.45;
}

.sw-checkout-readiness,
.sw-empty-commerce-panel,
.sw-order-success-layer {
    display: grid;
    gap: 16px;
    margin: 0 0 22px;
    padding: 20px;
    border: 1px solid rgba(24, 33, 47, 0.08);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.9);
}

.sw-checkout-readiness > div,
.sw-order-success-hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.sw-checkout-readiness > div span,
.sw-empty-commerce-panel > span,
.sw-order-success-hero span,
.sw-order-success-summary span {
    color: var(--sw-muted, #687385);
    font-size: 0.76rem;
    font-weight: 850;
    letter-spacing: 0;
    text-transform: uppercase;
}

.sw-checkout-readiness > div strong,
.sw-order-success-hero h2,
.sw-empty-commerce-panel h2 {
    margin: 0;
    color: var(--sw-ink, #18212f);
    font-weight: 950;
}

.sw-checkout-readiness ul,
.sw-order-success-summary {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.sw-checkout-readiness li,
.sw-order-success-summary article {
    display: grid;
    gap: 5px;
    padding: 14px;
    border: 1px solid rgba(24, 33, 47, 0.08);
    border-radius: 16px;
    background: rgba(248, 250, 252, 0.76);
}

.sw-checkout-readiness li.is-ready {
    border-color: rgba(22, 163, 74, 0.18);
    background: #f0fdf4;
}

.sw-checkout-readiness li.needs-attention {
    border-color: rgba(249, 115, 22, 0.22);
    background: #fff7ed;
}

.sw-checkout-readiness li strong,
.sw-order-success-summary strong {
    color: var(--sw-ink, #18212f);
    font-size: 0.94rem;
}

.sw-checkout-readiness li span,
.sw-empty-commerce-panel p,
.sw-order-success-hero p {
    margin: 0;
    color: var(--sw-muted, #687385);
    font-size: 0.86rem;
    line-height: 1.45;
    text-transform: none;
}

.sw-empty-commerce-panel {
    align-items: start;
    background: #fff7ed;
}

.sw-empty-commerce-panel div,
.sw-order-success-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.sw-empty-commerce-panel a,
.sw-order-success-actions a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 10px 16px;
    border-radius: 999px;
    font-weight: 900;
    text-decoration: none;
}

.sw-empty-commerce-panel a:first-child,
.sw-order-success-actions a:first-child {
    background: var(--sw-accent, #f97316);
    color: #ffffff;
}

.sw-empty-commerce-panel a:last-child,
.sw-order-success-actions a:last-child {
    border: 1px solid rgba(24, 33, 47, 0.1);
    background: #ffffff;
    color: var(--sw-ink, #18212f);
}

.sw-order-success-layer {
    margin-top: 12px;
}

.sw-order-success-hero {
    align-items: flex-start;
}

.sw-order-success-hero > strong {
    flex: 0 0 auto;
    padding: 10px 14px;
    border-radius: 999px;
    background: #fff7ed;
    color: var(--sw-primary, #f97316);
    font-size: 0.95rem;
}

.sw-order-success-summary {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.sw-woocommerce-page.woocommerce-cart .entry-content > .woocommerce,
.sw-woocommerce-page.woocommerce-checkout .entry-content > .woocommerce {
    display: grid;
    gap: 20px;
}

.sw-woocommerce-page .woocommerce-cart-form,
.sw-woocommerce-page .cart-collaterals,
.sw-woocommerce-page form.checkout,
.sw-woocommerce-page #order_review,
.sw-woocommerce-page .woocommerce-checkout-review-order {
    min-width: 0;
}

.sw-woocommerce-page table.shop_table {
    overflow: hidden;
    border: 1px solid rgba(24, 33, 47, 0.08) !important;
    border-radius: 18px !important;
    background: #ffffff;
}

.sw-woocommerce-page table.shop_table th {
    color: var(--sw-ink, #18212f);
    font-size: 0.82rem;
    font-weight: 900;
    letter-spacing: 0;
    text-transform: uppercase;
}

.sw-woocommerce-page table.shop_table td,
.sw-woocommerce-page table.shop_table th {
    border-color: rgba(24, 33, 47, 0.08) !important;
    padding: 14px !important;
}

.sw-woocommerce-page .cart_totals,
.sw-woocommerce-page .cross-sells,
.sw-woocommerce-page .woocommerce-billing-fields,
.sw-woocommerce-page .woocommerce-shipping-fields,
.sw-woocommerce-page .woocommerce-additional-fields,
.sw-woocommerce-page #order_review {
    padding: 20px;
    border: 1px solid rgba(24, 33, 47, 0.08);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.9);
}

.sw-woocommerce-page .cart_totals h2,
.sw-woocommerce-page .cross-sells h2,
.sw-woocommerce-page .woocommerce-billing-fields h3,
.sw-woocommerce-page .woocommerce-additional-fields h3,
.sw-woocommerce-page #order_review_heading {
    color: var(--sw-ink, #18212f);
    font-size: clamp(1.1rem, 1.4vw, 1.35rem);
    font-weight: 900;
}

.sw-woocommerce-page .coupon {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.sw-woocommerce-page .input-text,
.sw-woocommerce-page select,
.sw-woocommerce-page textarea {
    min-height: 44px;
    border: 1px solid rgba(24, 33, 47, 0.1) !important;
    border-radius: 14px !important;
    background: #ffffff !important;
    color: var(--sw-ink, #18212f) !important;
}

.sw-woocommerce-page .button,
.sw-woocommerce-page button.button,
.sw-woocommerce-page input.button,
.sw-woocommerce-page #place_order {
    min-height: 44px;
    border-radius: 999px !important;
    font-weight: 900 !important;
}

.sw-woocommerce-page .wc-proceed-to-checkout .checkout-button,
.sw-woocommerce-page #place_order {
    width: 100%;
    background: var(--sw-accent, #f97316) !important;
    color: #ffffff !important;
}

.sw-woocommerce-page .woocommerce-info,
.sw-woocommerce-page .woocommerce-message,
.sw-woocommerce-page .woocommerce-error {
    border-radius: 16px;
    border-top: 0;
    background: rgba(248, 250, 252, 0.92);
    color: var(--sw-ink, #18212f);
}

.sw-woocommerce-page .wp-block-woocommerce-cart,
.sw-woocommerce-page .wp-block-woocommerce-checkout {
    max-width: 100% !important;
}

.sw-woocommerce-page .wc-block-components-sidebar-layout {
    gap: 0;
    align-items: flex-start;
}

.sw-woocommerce-page .wc-block-components-main,
.sw-woocommerce-page .wc-block-components-sidebar {
    min-width: 0;
    box-sizing: border-box;
}

.sw-woocommerce-page .wc-block-components-main {
    padding-right: 24px;
}

.sw-woocommerce-page .wc-block-components-sidebar {
    padding-left: 24px;
}

.sw-woocommerce-page .wc-block-cart-items,
.sw-woocommerce-page .wc-block-components-sidebar .wc-block-components-totals-wrapper,
.sw-woocommerce-page .wc-block-components-checkout-step,
.sw-woocommerce-page .wc-block-components-order-summary,
.sw-woocommerce-page .wc-block-components-panel,
.sw-woocommerce-page .wc-block-checkout__actions {
    border-color: rgba(24, 33, 47, 0.08) !important;
}

.sw-woocommerce-page .wc-block-cart-items,
.sw-woocommerce-page .wc-block-components-sidebar,
.sw-woocommerce-page .wc-block-components-checkout-step,
.sw-woocommerce-page .wc-block-components-order-summary {
    overflow: hidden;
    border: 1px solid rgba(24, 33, 47, 0.08);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.92);
}

.sw-woocommerce-page .wc-block-components-sidebar {
    padding: 18px;
    top: 24px;
    box-shadow: 0 18px 42px rgba(24, 33, 47, 0.06);
}

.sw-woocommerce-page .wc-block-components-sidebar .wc-block-components-totals-wrapper:first-child {
    border-top: 0 !important;
}

.sw-woocommerce-page .wc-block-components-sidebar .wc-block-components-totals-wrapper:last-child {
    border-bottom: 0 !important;
}

.sw-woocommerce-page .wc-block-cart-items__header,
.sw-woocommerce-page .wc-block-components-checkout-step__heading,
.sw-woocommerce-page .wc-block-components-title {
    color: var(--sw-ink, #18212f);
    font-weight: 900;
}

.sw-woocommerce-page .wc-block-cart-items__row,
.sw-woocommerce-page .wc-block-components-totals-wrapper,
.sw-woocommerce-page .wc-block-components-checkout-step {
    padding: 16px !important;
}

.sw-woocommerce-page .wc-block-components-product-name,
.sw-woocommerce-page .wc-block-components-order-summary-item__description a {
    color: var(--sw-ink, #18212f);
    font-weight: 850;
    line-height: 1.35;
    text-decoration: none;
}

.sw-woocommerce-page .wc-block-components-product-metadata,
.sw-woocommerce-page .wc-block-components-product-price,
.sw-woocommerce-page .wc-block-components-totals-item__description {
    color: var(--sw-muted, #687385);
    font-size: 0.86rem;
}

.sw-woocommerce-page .wc-block-components-totals-footer-item,
.sw-woocommerce-page .wc-block-components-totals-item {
    color: var(--sw-ink, #18212f);
    font-weight: 800;
}

.sw-woocommerce-page .wc-block-cart-item__image img,
.sw-woocommerce-page .wc-block-components-order-summary-item__image img {
    border-radius: 14px;
    background: #f6f8fb;
}

.sw-woocommerce-page .wc-block-components-quantity-selector {
    border-color: rgba(24, 33, 47, 0.12);
    border-radius: 999px;
    min-height: 38px;
}

.sw-woocommerce-page .wc-block-components-quantity-selector input {
    font-weight: 850;
}

.sw-woocommerce-page .wc-block-components-text-input input,
.sw-woocommerce-page .wc-block-components-combobox .wc-block-components-combobox-control input.components-combobox-control__input,
.sw-woocommerce-page .wc-block-components-form .wc-block-components-text-input input[type="email"],
.sw-woocommerce-page .wc-block-components-form .wc-block-components-text-input input[type="tel"],
.sw-woocommerce-page .wc-block-components-form .wc-block-components-text-input input[type="text"] {
    min-height: 48px;
    border-color: rgba(24, 33, 47, 0.1) !important;
    border-radius: 14px !important;
    background: #ffffff !important;
}

.sw-woocommerce-page .wc-block-components-button,
.sw-woocommerce-page .wc-block-cart__submit-button,
.sw-woocommerce-page .wc-block-components-checkout-place-order-button {
    min-height: 48px;
    border-radius: 999px !important;
    font-weight: 900 !important;
}

.sw-woocommerce-page .wc-block-cart__submit-button,
.sw-woocommerce-page .wc-block-components-checkout-place-order-button {
    background: var(--sw-accent, #f97316) !important;
    color: #ffffff !important;
}

.sw-woocommerce-page .wc-block-components-totals-coupon__button {
    border: 1px solid rgba(249, 115, 22, 0.24) !important;
    background: #fff7ed !important;
    color: var(--sw-primary, #f97316) !important;
}

.sw-woocommerce-page .wc-block-components-notice-banner {
    border-radius: 16px;
}

.sw-woocommerce-page .wc-block-components-checkout-step__container,
.sw-woocommerce-page .wc-block-components-checkout-step__content {
    display: grid;
    gap: 12px;
}

@media (max-width: 980px) {
    .sw-woocommerce-page .wc-block-components-main,
    .sw-woocommerce-page .wc-block-components-sidebar {
        padding-left: 0;
        padding-right: 0;
    }

    .sw-woocommerce-page .wc-block-components-sidebar {
        position: static !important;
        width: 100% !important;
        margin-top: 18px;
        box-shadow: none;
    }

    .sw-purchase-steps,
    .sw-checkout-guidance,
    .sw-checkout-readiness ul,
    .sw-order-success-summary,
    .sw-commerce-trust-strip {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 560px) {
    .sw-purchase-steps,
    .sw-checkout-guidance,
    .sw-checkout-readiness ul,
    .sw-order-success-summary,
    .sw-commerce-trust-strip {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .sw-checkout-readiness > div,
    .sw-order-success-hero {
        display: grid;
    }

    .sw-commerce-trust-strip span {
        min-height: auto;
        padding: 14px;
    }
}

body.sw-mini-cart-open,
body.sw-filter-drawer-open {
    overflow: hidden;
}

.sw-mini-cart-drawer {
    position: fixed;
    inset: 0;
    z-index: 9999;
    pointer-events: none;
}

.sw-mini-cart-overlay {
    position: absolute;
    inset: 0;
    background: rgba(24, 33, 47, 0.28);
    opacity: 0;
    transition: opacity 180ms ease;
}

.sw-mini-cart-panel {
    position: absolute;
    top: 0;
    right: 0;
    display: grid;
    grid-template-rows: auto 1fr auto;
    width: min(420px, 100vw);
    height: 100%;
    background: #fff;
    box-shadow: -18px 0 40px rgba(24, 33, 47, 0.16);
    transform: translateX(100%);
    transition: transform 220ms ease;
}

.sw-mini-cart-drawer.is-open {
    pointer-events: auto;
}

.sw-mini-cart-drawer.is-open .sw-mini-cart-overlay {
    opacity: 1;
}

.sw-mini-cart-drawer.is-open .sw-mini-cart-panel {
    transform: translateX(0);
}

.sw-mini-cart-head,
.sw-mini-cart-foot {
    padding: 20px;
    border-color: rgba(24, 33, 47, 0.08);
}

.sw-mini-cart-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid rgba(24, 33, 47, 0.08);
}

.sw-mini-cart-head span,
.sw-checkout-payment-clarity span {
    display: block;
    color: var(--sw-muted, #687385);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
}

.sw-mini-cart-head strong {
    color: var(--sw-ink, #18212f);
}

.sw-mini-cart-close,
.sw-mobile-filter-close {
    width: 38px;
    height: 38px;
    border: 1px solid rgba(24, 33, 47, 0.08);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.9);
    color: var(--sw-ink, #18212f);
    font-size: 1.35rem;
    line-height: 1;
    cursor: pointer;
}

.sw-mini-cart-body {
    overflow: auto;
    padding: 8px 20px 20px;
}

.sw-mini-cart-items {
    display: grid;
    gap: 14px;
}

.sw-mini-cart-item {
    display: grid;
    grid-template-columns: 78px 1fr auto;
    gap: 12px;
    align-items: start;
    padding: 14px 0;
    border-bottom: 1px solid rgba(24, 33, 47, 0.08);
}

.sw-mini-cart-item.is-updating {
    opacity: 0.62;
    pointer-events: none;
}

.sw-mini-cart-thumb {
    display: block;
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: 14px;
    background: rgba(248, 250, 252, 0.9);
}

.sw-mini-cart-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sw-mini-cart-info {
    display: grid;
    gap: 7px;
}

.sw-mini-cart-info > a {
    color: var(--sw-ink, #18212f);
    font-weight: 800;
    line-height: 1.28;
}

.sw-mini-cart-info > span,
.sw-mini-cart-line-total {
    color: var(--sw-muted, #687385);
    font-size: 0.9rem;
}

.sw-mini-cart-controls {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: center;
}

.sw-mini-cart-controls button,
.sw-mini-cart-controls input {
    min-height: 32px;
    border: 1px solid rgba(24, 33, 47, 0.1);
    border-radius: 999px;
    background: #fff;
    color: var(--sw-ink, #18212f);
}

.sw-mini-cart-controls button {
    padding: 4px 10px;
    cursor: pointer;
}

.sw-mini-cart-controls input {
    width: 56px;
    padding: 4px 8px;
    text-align: center;
}

.sw-mini-cart-remove {
    color: #b42318 !important;
    font-weight: 700;
}

.sw-mini-cart-save {
    color: var(--sw-primary, #f97316) !important;
    font-weight: 800;
}

.sw-mini-cart-upsells {
    display: grid;
    gap: 12px;
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid rgba(24, 33, 47, 0.08);
}

.sw-mini-cart-upsells-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 12px;
}

.sw-mini-cart-upsells-head span {
    color: var(--sw-muted, #687385);
    font-size: 0.76rem;
    font-weight: 850;
    letter-spacing: 0;
    text-transform: uppercase;
}

.sw-mini-cart-upsells-head strong {
    color: var(--sw-ink, #18212f);
    font-size: 0.92rem;
}

.sw-mini-cart-upsell-list {
    display: grid;
    gap: 10px;
}

.sw-mini-cart-upsell {
    display: grid;
    grid-template-columns: 54px 1fr auto;
    gap: 10px;
    align-items: center;
    padding: 10px;
    border: 1px solid rgba(24, 33, 47, 0.08);
    border-radius: 16px;
    background: rgba(248, 250, 252, 0.72);
}

.sw-mini-cart-upsell-thumb {
    display: block;
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: 12px;
    background: #fff;
}

.sw-mini-cart-upsell-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sw-mini-cart-upsell div {
    display: grid;
    gap: 3px;
    min-width: 0;
}

.sw-mini-cart-upsell div > a {
    color: var(--sw-ink, #18212f);
    font-size: 0.86rem;
    font-weight: 850;
    line-height: 1.25;
    overflow: hidden;
    text-decoration: none;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.sw-mini-cart-upsell div > span {
    color: var(--sw-muted, #687385);
    font-size: 0.82rem;
    font-weight: 750;
}

.sw-mini-cart-upsell button,
.sw-mini-cart-upsell-view {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 7px 12px;
    border: 1px solid rgba(249, 115, 22, 0.22);
    border-radius: 999px;
    background: #fff7ed;
    color: var(--sw-primary, #f97316);
    font-size: 0.82rem;
    font-weight: 850;
    line-height: 1;
    text-decoration: none;
    cursor: pointer;
}

.sw-mini-cart-upsell button.is-loading {
    opacity: 0.72;
    pointer-events: none;
}

.sw-mini-cart-foot {
    display: grid;
    gap: 12px;
    border-top: 1px solid rgba(24, 33, 47, 0.08);
}

.sw-mini-cart-subtotal,
.sw-mini-cart-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.sw-mini-cart-foot p {
    margin: 0;
    color: var(--sw-muted, #687385);
    font-size: 0.88rem;
}

.sw-mini-cart-actions a,
.sw-mini-cart-empty a,
.sw-mobile-filter-toggle,
.sw-filter-clear {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 10px 16px;
    border-radius: 999px;
    font-weight: 800;
}

.sw-mini-cart-actions a:first-child,
.sw-filter-clear {
    border: 1px solid rgba(24, 33, 47, 0.1);
    color: var(--sw-ink, #18212f);
    background: #fff;
}

.sw-mini-cart-actions a:last-child,
.sw-mini-cart-empty a,
.sw-mobile-filter-toggle {
    color: #fff;
    background: var(--sw-accent, #f97316);
}

.sw-mini-cart-empty {
    display: grid;
    gap: 10px;
    place-items: start;
    padding: 42px 0;
}

.sw-mobile-filter-toggle,
.sw-mobile-filter-close {
    display: none;
}

.sw-filter-actions {
    display: flex;
    gap: 10px;
    align-items: center;
}

.sw-filter-actions .lw-btn {
    flex: 1;
}

.sw-checkout-payment-clarity {
    display: grid;
    gap: 8px;
    margin: -8px 0 22px;
    padding: 18px;
    border: 1px solid rgba(24, 33, 47, 0.08);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.86);
}

.sw-checkout-payment-clarity strong {
    color: var(--sw-ink, #18212f);
}

.sw-checkout-payment-clarity p {
    margin: 0;
    color: var(--sw-muted, #687385);
}

.sw-product-reviews-section .commentlist,
.sw-product-reviews-section .comment-form {
    margin: 0;
}

.sw-product-reviews-wrap {
    padding: 22px;
    border: 1px solid rgba(24, 33, 47, 0.08);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.88);
}

.sw-review-summary-panel {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 18px;
    align-items: center;
    margin-bottom: 18px;
    padding: 18px 20px;
    border: 1px solid rgba(24, 33, 47, 0.08);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.9);
}

.sw-review-score {
    display: grid;
    align-items: center;
    justify-content: center;
    min-width: 64px;
    min-height: 64px;
    border-radius: 18px;
    background: rgba(255, 247, 237, 0.95);
    color: var(--sw-primary, #f97316);
    padding: 10px 14px;
    text-align: center;
}

.sw-review-score > span {
    color: var(--sw-primary, #f97316);
    font-size: 1.25rem;
    font-weight: 950;
    line-height: 1;
}

.sw-review-score > strong,
.sw-review-score > small {
    color: var(--sw-muted, #687385);
    font-size: 0.72rem;
    font-weight: 850;
    line-height: 1.25;
}

.sw-review-proof {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
}

.sw-review-proof article {
    display: grid;
    gap: 3px;
    min-height: 64px;
    border-radius: 999px;
    background: rgba(248, 250, 252, 0.95);
    padding: 9px 13px;
}

.sw-review-proof span {
    color: var(--sw-ink, #18212f);
    font-size: 0.95rem;
    font-weight: 950;
    line-height: 1;
}

.sw-review-proof strong {
    color: var(--sw-muted, #687385);
    font-size: 0.72rem;
    font-weight: 820;
    line-height: 1.1;
}

.sw-review-summary-panel .star-rating {
    margin: 4px auto 0;
}

.sw-review-summary-panel p {
    margin: 0;
    color: var(--sw-muted, #687385);
    font-size: 0.9rem;
    line-height: 1.55;
}

.sw-review-summary-panel .lw-btn {
    white-space: nowrap;
}

.sw-review-write-link {
    justify-self: end;
    min-height: 42px;
    padding-inline: 18px;
}

@media (max-width: 980px) {
    .sw-mobile-filter-toggle {
        display: inline-flex;
        margin: 0 0 16px;
    }

    .sw-mobile-filter-close {
        display: inline-flex;
        position: absolute;
        top: 14px;
        right: 14px;
        align-items: center;
        justify-content: center;
    }

    .lw-archive-layout > .lw-filters {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        top: auto;
        z-index: 9998;
        max-height: min(82vh, 720px);
        overflow: auto;
        padding: 56px 18px 18px;
        border-radius: 22px 22px 0 0;
        box-shadow: 0 -18px 42px rgba(24, 33, 47, 0.18);
        transform: translateY(105%);
        transition: transform 220ms ease;
    }

    body.sw-filter-drawer-open .lw-archive-layout > .lw-filters {
        transform: translateY(0);
    }
}

@media (max-width: 560px) {
    .sw-review-summary-panel {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .sw-review-score {
        min-width: 54px;
        min-height: 54px;
        justify-self: start;
    }

    .sw-review-proof {
        grid-template-columns: 1fr;
    }

    .sw-review-summary-panel .lw-btn {
        width: 100%;
    }

    .sw-mini-cart-item {
        grid-template-columns: 68px 1fr;
    }

    .sw-mini-cart-line-total {
        grid-column: 2;
    }

    .sw-mini-cart-actions {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 760px) {
    body:not(.single-product) {
        padding-bottom: 72px;
    }

    .sw-mobile-bottom-nav {
        position: fixed;
        z-index: 79;
        right: 12px;
        bottom: 10px;
        left: 12px;
        display: grid;
        grid-template-columns: repeat(5, minmax(0, 1fr));
        gap: 4px;
        align-items: center;
        border: 1px solid rgba(24, 33, 47, 0.08);
        border-radius: 20px;
        background: rgba(255, 255, 255, 0.96);
        padding: 7px;
        box-shadow: 0 18px 46px rgba(24, 33, 47, 0.16);
        backdrop-filter: blur(16px);
    }

    .sw-mobile-bottom-nav a {
        position: relative;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-width: 0;
        min-height: 44px;
        border-radius: 14px;
        color: var(--sw-muted, #687385);
        font-size: 0.72rem;
        font-weight: 900;
        line-height: 1;
        text-align: center;
    }

    .sw-mobile-bottom-nav a.is-active,
    .sw-mobile-bottom-nav a:hover,
    .sw-mobile-bottom-nav a:focus-visible {
        background: rgba(255, 247, 237, 0.96);
        color: var(--sw-primary, #f97316);
    }

    .sw-mobile-bottom-nav span {
        display: block;
        overflow: hidden;
        max-width: 100%;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .sw-mobile-bottom-nav small {
        position: absolute;
        top: 4px;
        right: 8px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-width: 17px;
        height: 17px;
        border-radius: 999px;
        background: var(--sw-primary, #f97316);
        color: #fff;
        padding: 0 5px;
        font-size: 0.66rem;
        font-weight: 950;
        line-height: 1;
    }

    body.single-product .sw-mobile-bottom-nav,
    body.sw-mini-cart-open .sw-mobile-bottom-nav,
    body.sw-filter-drawer-open .sw-mobile-bottom-nav {
        transform: translateY(130%);
        pointer-events: none;
    }
}

.sw-dashboard-order-list {
    display: grid;
    gap: 12px;
}

.sw-dashboard-order-card {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr auto;
    gap: 14px;
    align-items: center;
    padding: 16px;
    border: 1px solid rgba(24, 33, 47, 0.08);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.9);
}

.sw-dashboard-order-card div {
    display: grid;
    gap: 4px;
}

.sw-dashboard-order-card span {
    color: var(--sw-muted, #687385);
    font-size: 0.78rem;
    font-weight: 800;
    line-height: 1.25;
    text-transform: uppercase;
}

.sw-dashboard-order-card strong {
    color: var(--sw-ink, #18212f);
    font-size: 0.95rem;
    line-height: 1.3;
}

.sw-dashboard-order-card > a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 8px 14px;
    border: 1px solid rgba(24, 33, 47, 0.1);
    border-radius: 999px;
    background: #fff;
    color: var(--sw-ink, #18212f);
    font-weight: 800;
}

@media (max-width: 820px) {
    .sw-dashboard-order-card {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 520px) {
    .sw-dashboard-order-card {
        grid-template-columns: 1fr;
    }
}

.sw-view-order-page {
    display: grid;
    gap: 24px;
}

.sw-view-order-hero,
.sw-view-order-summary-grid,
.sw-view-order-panel,
.sw-order-progress,
.sw-view-order-actions {
    border: 1px solid rgba(24, 33, 47, 0.08);
    background: rgba(255, 255, 255, 0.9);
}

.sw-view-order-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(220px, 300px);
    gap: 22px;
    align-items: center;
    padding: clamp(22px, 4vw, 34px);
    border-radius: 24px;
}

.sw-view-order-back {
    display: inline-flex;
    margin-bottom: 12px;
    color: var(--sw-muted, #687385);
    font-weight: 800;
}

.sw-view-order-hero h1 {
    margin: 8px 0 8px;
    color: var(--sw-ink, #18212f);
    font-size: clamp(2rem, 4vw, 3.1rem);
    line-height: 1.06;
}

.sw-view-order-hero p {
    max-width: 680px;
    margin: 0;
    color: var(--sw-muted, #687385);
}

.sw-view-order-status-card {
    display: grid;
    gap: 8px;
    padding: 20px;
    border: 1px solid rgba(24, 33, 47, 0.08);
    border-radius: 18px;
    background: rgba(248, 250, 252, 0.92);
}

.sw-view-order-status-card span,
.sw-view-order-summary-grid span,
.sw-view-order-totals span,
.sw-view-order-addresses span,
.sw-view-order-item-info span,
.sw-view-order-updates span {
    color: var(--sw-muted, #687385);
    font-size: 0.78rem;
    font-weight: 800;
    line-height: 1.25;
    text-transform: uppercase;
}

.sw-view-order-status-card strong {
    color: var(--sw-ink, #18212f);
    font-size: 1.35rem;
}

.sw-view-order-status-card small {
    color: var(--sw-primary, #f97316);
    font-weight: 900;
}

.sw-view-order-summary-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1px;
    overflow: hidden;
    border-radius: 18px;
}

.sw-view-order-summary-grid > div {
    display: grid;
    gap: 6px;
    padding: 18px;
    background: rgba(255, 255, 255, 0.84);
}

.sw-view-order-summary-grid strong {
    color: var(--sw-ink, #18212f);
    line-height: 1.3;
}

.sw-order-progress {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    padding: 14px;
    border-radius: 18px;
}

.sw-order-progress span {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    border-radius: 999px;
    background: rgba(248, 250, 252, 0.95);
    color: var(--sw-muted, #687385);
    font-size: 0.86rem;
    font-weight: 800;
    text-align: center;
}

.sw-order-progress span.is-active {
    background: rgba(249, 115, 22, 0.12);
    color: var(--sw-ink, #18212f);
}

.sw-view-order-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 14px;
    border-radius: 18px;
}

.sw-view-order-actions .button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 9px 16px;
    border-radius: 999px;
    font-weight: 800;
}

.sw-view-order-panel {
    display: grid;
    gap: 18px;
    padding: clamp(18px, 3vw, 24px);
    border-radius: 22px;
}

.sw-view-order-panel-head {
    display: flex;
    justify-content: space-between;
    gap: 16px;
}

.sw-view-order-panel-head h2 {
    margin: 0 0 6px;
    color: var(--sw-ink, #18212f);
    font-size: clamp(1.3rem, 2.4vw, 1.8rem);
}

.sw-view-order-panel-head p {
    margin: 0;
    color: var(--sw-muted, #687385);
}

.sw-view-order-items {
    display: grid;
    gap: 14px;
}

.sw-view-order-item {
    display: grid;
    grid-template-columns: 90px minmax(0, 1fr) auto;
    gap: 14px;
    align-items: center;
    padding: 14px;
    border: 1px solid rgba(24, 33, 47, 0.08);
    border-radius: 18px;
    background: rgba(248, 250, 252, 0.82);
}

.sw-view-order-thumb {
    display: block;
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: 14px;
    background: #fff;
}

.sw-view-order-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sw-view-order-item-info {
    display: grid;
    gap: 7px;
}

.sw-view-order-item-info h3 {
    margin: 0;
    font-size: 1rem;
    line-height: 1.32;
}

.sw-view-order-item-info a {
    color: var(--sw-ink, #18212f);
}

.sw-view-order-item > strong {
    color: var(--sw-ink, #18212f);
    white-space: nowrap;
}

.sw-view-order-lower-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 18px;
}

.sw-view-order-totals,
.sw-view-order-addresses {
    display: grid;
    gap: 10px;
}

.sw-view-order-totals > div,
.sw-view-order-addresses > div {
    display: grid;
    gap: 5px;
    padding: 13px 0;
    border-top: 1px solid rgba(24, 33, 47, 0.08);
}

.sw-view-order-addresses address {
    margin: 0;
    color: var(--sw-ink, #18212f);
    font-style: normal;
    line-height: 1.55;
}

.sw-view-order-updates {
    display: grid;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.sw-view-order-updates li {
    display: grid;
    gap: 6px;
    padding: 14px;
    border: 1px solid rgba(24, 33, 47, 0.08);
    border-radius: 16px;
    background: rgba(248, 250, 252, 0.82);
}

.sw-view-order-updates p {
    margin: 0;
}

@media (max-width: 900px) {
    .sw-view-order-hero,
    .sw-view-order-lower-grid {
        grid-template-columns: 1fr;
    }

    .sw-view-order-summary-grid,
    .sw-order-progress {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 560px) {
    .sw-view-order-summary-grid,
    .sw-order-progress,
    .sw-view-order-item {
        grid-template-columns: 1fr;
    }

    .sw-view-order-item > strong {
        white-space: normal;
    }
}

.sw-woo-account-shell {
    display: grid;
    gap: 22px;
}

.sw-woo-account-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 18px;
    align-items: center;
    padding: clamp(20px, 4vw, 32px);
    border: 1px solid rgba(24, 33, 47, 0.08);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.9);
}

.sw-woo-account-hero h2 {
    margin: 8px 0 8px;
    color: var(--sw-ink, #18212f);
    font-size: clamp(1.8rem, 3.4vw, 2.8rem);
    line-height: 1.08;
}

.sw-woo-account-hero p {
    max-width: 720px;
    margin: 0;
    color: var(--sw-muted, #687385);
}

.sw-woo-account-quick {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: flex-end;
}

.sw-woo-account-quick a,
.sw-woo-account-nav a,
.sw-woo-account-content .button,
.sw-woo-account-content button.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 9px 14px;
    border: 1px solid rgba(24, 33, 47, 0.1);
    border-radius: 999px;
    background: #fff;
    color: var(--sw-ink, #18212f);
    font-weight: 800;
    line-height: 1.2;
}

.sw-woo-account-layout {
    display: grid;
    grid-template-columns: minmax(220px, 280px) minmax(0, 1fr);
    gap: 22px;
    align-items: start;
}

.sw-woo-account-nav {
    position: sticky;
    top: 92px;
    display: grid;
    gap: 14px;
    width: auto;
    float: none;
    padding: 18px;
    border: 1px solid rgba(24, 33, 47, 0.08);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.9);
}

.sw-woo-account-nav-title {
    display: grid;
    gap: 4px;
}

.sw-woo-account-nav-title span {
    color: var(--sw-muted, #687385);
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
}

.sw-woo-account-nav-title strong {
    color: var(--sw-ink, #18212f);
}

.sw-woo-account-nav ul {
    display: grid;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.sw-woo-account-nav li {
    margin: 0;
}

.sw-woo-account-nav a {
    width: 100%;
    justify-content: flex-start;
    border-radius: 14px;
}

.sw-woo-account-nav .is-active a,
.sw-woo-account-nav a[aria-current="page"] {
    border-color: rgba(249, 115, 22, 0.24);
    background: rgba(249, 115, 22, 0.1);
    color: var(--sw-ink, #18212f);
}

.sw-woo-account-content {
    float: none;
    width: auto;
    min-width: 0;
    padding: 0;
}

.sw-woo-account-content > .woocommerce-notices-wrapper {
    margin-bottom: 14px;
}

.sw-woo-account-content .woocommerce-orders-table,
.sw-woo-account-content .woocommerce-table,
.sw-woo-account-content table.shop_table {
    overflow: hidden;
    border: 1px solid rgba(24, 33, 47, 0.08);
    border-radius: 18px;
    background: #fff;
}

.sw-woo-account-content table.shop_table th,
.sw-woo-account-content table.shop_table td {
    padding: 14px;
    border-color: rgba(24, 33, 47, 0.08);
}

.woocommerce-account .sw-page-content {
    max-width: none;
}

@media (max-width: 900px) {
    .sw-woo-account-hero,
    .sw-woo-account-layout {
        grid-template-columns: 1fr;
    }

    .sw-woo-account-nav {
        position: static;
    }
}

@media (max-width: 560px) {
    .sw-woo-account-quick {
        justify-content: flex-start;
    }
}

.sw-clean-order-account .sw-page-content-section {
    padding-top: clamp(24px, 4vw, 42px);
}

.sw-clean-order-layout {
    display: grid;
    grid-template-columns: minmax(220px, 280px) minmax(0, 1fr);
    gap: 22px;
    align-items: start;
}

.sw-clean-order-sidebar {
    position: sticky;
    top: 92px;
    display: grid;
    gap: 16px;
    padding: 18px;
    border: 1px solid rgba(24, 33, 47, 0.08);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.9);
}

.sw-clean-order-sidebar .sw-dashboard-nav {
    display: grid;
    gap: 8px;
}

.sw-clean-order-sidebar .sw-dashboard-nav a {
    display: flex;
    align-items: center;
    min-height: 40px;
    padding: 9px 14px;
    border: 1px solid rgba(24, 33, 47, 0.08);
    border-radius: 14px;
    background: #fff;
    color: var(--sw-ink, #18212f);
    font-weight: 800;
}

.sw-clean-order-sidebar .sw-dashboard-nav a.active {
    border-color: rgba(249, 115, 22, 0.24);
    background: rgba(249, 115, 22, 0.1);
}

.sw-clean-order-content {
    min-width: 0;
}

@media (max-width: 900px) {
    .sw-clean-order-layout {
        grid-template-columns: 1fr;
    }

    .sw-clean-order-sidebar {
        position: static;
    }
}

.lw-live-search-results {
    min-width: min(420px, calc(100vw - 32px));
    padding: 10px;
}

.lw-live-search-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 8px 10px 10px;
    border-bottom: 1px solid rgba(24, 33, 47, 0.08);
}

.lw-live-search-head strong {
    color: var(--sw-ink, #18212f);
    font-size: 0.92rem;
}

.lw-live-search-head span {
    color: var(--sw-muted, #687385);
    font-size: 0.78rem;
    font-weight: 700;
}

.lw-live-popular {
    display: grid;
    gap: 8px;
    padding: 10px 4px 2px;
}

.lw-live-popular a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 42px;
    border-radius: 999px;
    background: rgba(248, 250, 252, 0.9);
    color: var(--sw-ink, #18212f);
    padding: 9px 14px;
    font-size: 0.9rem;
    font-weight: 850;
}

.lw-live-popular a::after {
    content: "Shop";
    color: var(--sw-primary, #f97316);
    font-size: 0.72rem;
    font-weight: 900;
    text-transform: uppercase;
}

.lw-live-popular a:hover,
.lw-live-popular a:focus-visible {
    background: rgba(255, 247, 237, 0.96);
    color: var(--sw-primary, #f97316);
}

.lw-live-search-item {
    gap: 12px;
    padding: 10px;
    border-radius: 14px;
}

.lw-live-search-item:hover,
.lw-live-search-item:focus-visible {
    background: rgba(248, 250, 252, 0.92);
}

.lw-live-search-thumb {
    width: 58px;
    height: 58px;
    border-radius: 12px;
}

.lw-live-search-content {
    display: grid;
    gap: 5px;
    min-width: 0;
}

.lw-live-search-content h4 {
    margin: 0;
    color: var(--sw-ink, #18212f);
    font-size: 0.94rem;
    line-height: 1.25;
}

.lw-live-search-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: center;
    color: var(--sw-muted, #687385);
    font-size: 0.78rem;
}

.lw-live-search-meta strong {
    color: var(--sw-primary, #f97316);
    font-size: 0.82rem;
}

.lw-live-search-status {
    justify-self: start;
    padding: 3px 8px;
    border-radius: 999px;
    background: rgba(34, 197, 94, 0.1);
    color: #166534;
    font-size: 0.72rem;
    font-weight: 800;
}

.lw-live-search-view-all {
    display: flex;
    justify-content: center;
    margin: 8px 4px 2px;
    padding: 10px 12px;
    border-radius: 999px;
    background: var(--sw-accent, #f97316);
    color: #fff;
    font-weight: 900;
}

.lw-live-empty {
    display: grid;
    gap: 4px;
    padding: 14px;
}

.lw-live-empty strong {
    color: var(--sw-ink, #18212f);
}

.lw-live-empty span {
    color: var(--sw-muted, #687385);
    font-size: 0.86rem;
}

.sw-mobile-bottom-nav {
    display: none;
}

.sw-resource-card {
    position: relative;
}

.sw-card-wishlist-button {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 4;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border: 1px solid rgba(24, 33, 47, 0.08);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
    color: var(--sw-ink, #18212f);
    font-size: 1.1rem;
    line-height: 1;
    box-shadow: 0 10px 24px rgba(24, 33, 47, 0.08);
    cursor: pointer;
    transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.sw-card-wishlist-button--with-sale {
    top: 56px;
}

.sw-card-wishlist-button:hover,
.sw-card-wishlist-button:focus-visible,
.sw-card-wishlist-button.is-active {
    border-color: rgba(249, 115, 22, 0.28);
    background: #fff;
    color: var(--sw-primary, #f97316);
    transform: translateY(-1px);
}

.sw-card-wishlist-button.is-loading {
    opacity: 0.72;
    pointer-events: none;
}

@media (max-width: 720px) {
    .sw-account-nav {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .sw-account-menu,
    .sw-account-link {
        width: 100%;
    }

    .sw-account-dropdown {
        left: 0;
        right: auto;
        width: min(100vw - 32px, 260px);
    }

    .sw-card-actions {
        grid-template-columns: 1fr !important;
    }
}

/* Polished user dashboard */
.sw-user-dashboard {
    padding: 38px 0 86px;
    background: #ffffff;
}

.sw-user-dashboard > .grid-container {
    width: min(100% - var(--sw-page-gutter), var(--sw-page-width)) !important;
    max-width: var(--sw-page-width) !important;
    margin-inline: auto !important;
}

.sw-dashboard-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(220px, 300px);
    gap: 28px;
    align-items: end;
    margin-bottom: 18px;
    padding: clamp(34px, 5vw, 58px) !important;
    border: 1px solid rgba(16, 24, 40, 0.08);
    background:
        radial-gradient(circle at 82% 18%, rgba(19, 201, 130, 0.12), transparent 28rem),
        radial-gradient(circle at 16% 22%, rgba(157, 85, 244, 0.12), transparent 26rem),
        linear-gradient(135deg, #f7f1ff 0%, #effff7 100%) !important;
}

.sw-dashboard-hero .sw-page-title {
    margin-top: 14px !important;
}

.sw-dashboard-hero-card,
.sw-dashboard-stat,
.sw-dashboard-sidebar,
.sw-dashboard-main,
.sw-dashboard-panel,
.sw-dashboard-tip,
.sw-dashboard-mini-card {
    border: 1px solid rgba(16, 24, 40, 0.08) !important;
    border-radius: 0 !important;
    background: #ffffff !important;
    box-shadow: none !important;
}

.sw-dashboard-hero-card {
    padding: 22px;
}

.sw-dashboard-hero-card span,
.sw-dashboard-stat span {
    display: block;
    color: #667085;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
}

.sw-dashboard-hero-card strong {
    display: block;
    margin-top: 8px;
    color: #101828;
    font-size: 54px;
    line-height: 1;
}

.sw-dashboard-hero-card a {
    display: inline-flex;
    margin-top: 16px;
    color: #7c3aed;
    font-size: 13px;
    font-weight: 820;
}

.sw-dashboard-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 22px;
}

.sw-dashboard-stat {
    padding: 18px;
}

.sw-dashboard-stat strong {
    display: block;
    margin-top: 8px;
    color: #101828;
    font-size: 24px;
    line-height: 1.1;
}

.sw-dashboard-stat small {
    display: block;
    margin-top: 6px;
    color: #667085;
    font-size: 13px;
    overflow-wrap: anywhere;
}

.sw-dashboard-layout {
    display: grid !important;
    grid-template-columns: minmax(220px, 280px) minmax(0, 1fr) !important;
    gap: 22px !important;
    align-items: start;
}

.sw-dashboard-sidebar {
    position: sticky;
    top: 92px;
    padding: 22px !important;
}

.lw-dashboard-user {
    text-align: left;
}

.lw-dashboard-avatar {
    width: 56px !important;
    height: 56px !important;
    border-radius: 16px !important;
    background: linear-gradient(135deg, var(--sw-brand-coral), var(--sw-brand-purple)) !important;
}

.sw-dashboard-nav {
    display: grid;
    gap: 8px;
    margin-top: 22px;
}

.sw-dashboard-nav a,
.sw-dashboard-tabs a {
    min-height: 40px;
    display: flex;
    align-items: center;
    border: 1px solid rgba(16, 24, 40, 0.08);
    color: #344054;
    background: #ffffff;
    padding: 0 12px;
    font-size: 13px;
    font-weight: 780;
}

.sw-dashboard-nav a.active,
.sw-dashboard-tabs a.active {
    border-color: rgba(157, 85, 244, 0.18);
    background: #f7f1ff;
    color: #6d28d9;
}

.sw-dashboard-tip {
    margin-top: 18px;
    padding: 16px;
}

.sw-dashboard-tip strong {
    color: #101828;
    font-size: 14px;
}

.sw-dashboard-tip p {
    margin: 6px 0 0;
    color: #667085;
    font-size: 13px;
    line-height: 1.55;
}

.sw-dashboard-main {
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
}

.sw-dashboard-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 14px;
}

.sw-dashboard-panel {
    padding: clamp(18px, 3vw, 28px);
}

.sw-dashboard-panel + .sw-dashboard-panel {
    margin-top: 18px;
}

.sw-dashboard-panel-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 22px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(16, 24, 40, 0.08);
}

.sw-dashboard-panel-head h2 {
    margin: 0;
    color: #101828;
    font-size: clamp(24px, 2.5vw, 34px);
    line-height: 1.12;
    letter-spacing: 0;
}

.sw-dashboard-panel-head p {
    margin: 6px 0 0;
    color: #667085;
    font-size: 14px;
}

.sw-dashboard-panel-head > a {
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    border: 1px solid rgba(16, 24, 40, 0.08);
    color: #344054;
    padding: 0 13px;
    font-size: 13px;
    font-weight: 780;
}

.sw-dashboard-empty {
    text-align: left;
}

.sw-dashboard-empty .lw-btn {
    margin-top: 14px;
}

.sw-dashboard-mini-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.sw-dashboard-mini-card {
    display: grid;
    gap: 8px;
    padding: 16px;
}

.sw-dashboard-mini-card span {
    color: #7c3aed;
    font-size: 12px;
    font-weight: 820;
}

.sw-dashboard-mini-card strong {
    color: #101828;
    font-size: 15px;
    line-height: 1.35;
}

.sw-dashboard-main .sw-cover-grid {
    grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)) !important;
    gap: 26px 18px !important;
}

/* Account settings pages */
.sw-account-page .sw-dashboard-hero {
    background:
        radial-gradient(circle at 82% 18%, rgba(36, 183, 232, 0.13), transparent 28rem),
        radial-gradient(circle at 16% 24%, rgba(255, 107, 99, 0.1), transparent 26rem),
        linear-gradient(135deg, #fff8f5 0%, #effaff 100%) !important;
}

.sw-account-layout {
    grid-template-columns: minmax(220px, 280px) minmax(0, 760px) !important;
}

.sw-account-panel {
    background: #ffffff !important;
}

.sw-account-form {
    margin-top: 0;
}

.sw-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.sw-account-email {
    margin-top: 10px !important;
    font-size: 18px !important;
    line-height: 1.35 !important;
    overflow-wrap: anywhere;
}

@media (max-width: 980px) {
    .sw-dashboard-hero,
    .sw-dashboard-layout,
    .sw-account-layout {
        grid-template-columns: 1fr !important;
    }

    .sw-dashboard-sidebar {
        position: static;
    }

    .sw-dashboard-stats {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 720px) {
    .sw-dashboard-hero {
        padding: 24px !important;
    }

    .sw-dashboard-panel-head {
        display: grid;
        align-items: start;
    }

    .sw-dashboard-mini-grid {
        grid-template-columns: 1fr;
    }

    .sw-dashboard-main .sw-cover-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

    .sw-form-grid {
        grid-template-columns: 1fr;
    }
}

/* Modern subtle chips and card actions */
.lw-chip,
.lw-discovery-chip,
.lw-taxonomy-chip,
.lw-hero-tag,
.sw-tax-pills a,
.lw-card-meta span,
.sw-card-meta span,
.lw-download-panel .lw-card-meta span {
    border: 1px solid rgba(16, 24, 40, 0.08) !important;
    border-radius: 999px !important;
    background: rgba(255, 255, 255, 0.82) !important;
    color: #475467 !important;
    box-shadow: none !important;
    transition:
        background-color 180ms ease,
        border-color 180ms ease,
        color 180ms ease,
        transform 180ms ease;
}

.lw-chip:hover,
.lw-discovery-chip:hover,
.lw-taxonomy-chip:hover,
.lw-hero-tag:hover,
.sw-tax-pills a:hover {
    border-color: rgba(124, 58, 237, 0.2) !important;
    background: #f7f1ff !important;
    color: #6d28d9 !important;
    transform: translateY(-1px);
}

.lw-card-meta,
.sw-card-meta {
    gap: 7px !important;
}

.lw-card-meta span,
.sw-card-meta span,
.lw-download-panel .lw-card-meta span {
    min-height: 26px;
    display: inline-flex;
    align-items: center;
    padding: 0 10px !important;
    font-size: 11px !important;
    font-weight: 760 !important;
    line-height: 1 !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
}

.sw-card-actions {
    gap: 8px !important;
}

.sw-card-actions .lw-btn,
.sw-save-button.sw-card-save {
    min-height: 34px !important;
    border: 1px solid rgba(16, 24, 40, 0.1) !important;
    border-radius: 999px !important;
    background: #ffffff !important;
    color: #344054 !important;
    box-shadow: none !important;
    padding: 0 13px !important;
    font-size: 12px !important;
    font-weight: 820 !important;
    line-height: 1 !important;
    transition:
        background-color 180ms ease,
        border-color 180ms ease,
        color 180ms ease,
        transform 180ms ease;
}

.sw-card-actions .lw-btn:hover,
.sw-save-button.sw-card-save:hover {
    border-color: rgba(124, 58, 237, 0.22) !important;
    background: #f7f1ff !important;
    color: #6d28d9 !important;
    transform: translateY(-1px);
}

.sw-card-actions .lw-btn-preview {
    background: #f9fafb !important;
}

.sw-card-actions .lw-btn-download {
    border-color: rgba(19, 201, 130, 0.2) !important;
    background: #edfff8 !important;
    color: #047857 !important;
}

.sw-card-actions .lw-btn-download:hover {
    border-color: rgba(19, 201, 130, 0.3) !important;
    background: #dcfce7 !important;
    color: #047857 !important;
}

.sw-save-button .sw-save-icon {
    font-size: 13px;
    line-height: 1;
}

.sw-save-button.active,
.sw-save-button.sw-card-save.active {
    border-color: rgba(255, 107, 99, 0.24) !important;
    background: #fff2f0 !important;
    color: #d83a2f !important;
}

.sw-single-save,
.sw-single-summary .lw-btn,
.lw-download-panel .lw-card-actions .lw-btn-download,
.lw-download-panel .lw-card-actions .lw-btn-preview {
    border-radius: 999px !important;
    box-shadow: none !important;
    transition:
        background-color 180ms ease,
        border-color 180ms ease,
        color 180ms ease,
        transform 180ms ease;
}

.sw-single-save:hover,
.sw-single-summary .lw-btn:hover,
.lw-download-panel .lw-card-actions .lw-btn-download:hover,
.lw-download-panel .lw-card-actions .lw-btn-preview:hover {
    transform: translateY(-1px);
}

@media (max-width: 720px) {
    .sw-card-actions .lw-btn,
    .sw-save-button.sw-card-save {
        width: 100%;
    }
}

/* Single explore buttons and unified card boundary */
.sw-single-summary .lw-sidebar-links {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 9px !important;
}

.sw-single-summary .lw-sidebar-links a {
    min-height: 36px !important;
    display: inline-flex !important;
    align-items: center !important;
    border: 1px solid rgba(16, 24, 40, 0.09) !important;
    border-radius: 999px !important;
    background: rgba(255, 255, 255, 0.78) !important;
    color: #475467 !important;
    padding: 0 13px !important;
    font-size: 12px !important;
    font-weight: 800 !important;
    line-height: 1 !important;
    box-shadow: none !important;
    transition:
        background-color 180ms ease,
        border-color 180ms ease,
        color 180ms ease,
        transform 180ms ease;
}

.sw-single-summary .lw-sidebar-links a:hover {
    border-color: rgba(124, 58, 237, 0.22) !important;
    background: #f7f1ff !important;
    color: #6d28d9 !important;
    transform: translateY(-1px);
}

.sw-resource-card.lw-card,
.lw-collection-card.lw-card {
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
    border: 1px solid rgba(16, 24, 40, 0.09) !important;
    border-radius: 0 !important;
    background: #ffffff !important;
    box-shadow: none !important;
    overflow: hidden !important;
    transition:
        border-color 180ms ease,
        transform 180ms ease,
        box-shadow 180ms ease;
}

.sw-resource-card.lw-card:hover,
.lw-collection-card.lw-card:hover {
    border-color: rgba(124, 58, 237, 0.18) !important;
    transform: translateY(-2px);
    box-shadow: 0 16px 36px rgba(16, 24, 40, 0.06) !important;
}

.sw-resource-thumb.lw-card-thumb,
.lw-collection-card .lw-card-thumb {
    border: 0 !important;
    border-bottom: 1px solid rgba(16, 24, 40, 0.07) !important;
    background: #f6f8fb !important;
}

.sw-resource-card .lw-card-body,
.lw-collection-card .lw-card-body {
    display: flex !important;
    flex-direction: column !important;
    flex: 1 1 auto !important;
    padding: 13px 13px 14px !important;
}

.sw-resource-card .lw-card-title,
.lw-collection-card .lw-card-title {
    margin-top: 0 !important;
}

.sw-resource-card .sw-card-actions,
.lw-collection-card .lw-card-actions {
    margin-top: auto !important;
    padding-top: 12px !important;
}

/* Compact centered card metadata/actions */
.sw-resource-card .sw-card-meta,
.lw-resource-card .lw-card-meta,
.lw-card .lw-card-meta,
.sw-card-meta {
    width: 100% !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 5px !important;
    margin: 7px auto 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

.sw-resource-card .sw-card-meta span,
.lw-card .lw-card-meta span,
.sw-card-meta span {
    min-height: 23px !important;
    padding: 0 8px !important;
    border: 1px solid rgba(16, 24, 40, 0.075) !important;
    border-radius: 999px !important;
    background: #ffffff !important;
    color: #667085 !important;
    font-size: 10.5px !important;
    font-weight: 780 !important;
    line-height: 1 !important;
}

.sw-resource-card .sw-card-actions,
.lw-card .sw-card-actions,
.lw-card-actions {
    width: 100% !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 6px !important;
    margin: 8px auto 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

.sw-card-stats {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 5px;
    margin: 7px auto 0;
}

.sw-card-stats span {
    min-height: 22px;
    display: inline-flex;
    align-items: center;
    border: 1px solid rgba(16, 24, 40, 0.07);
    border-radius: 999px;
    background: #f8fafc;
    color: #667085;
    padding: 0 8px;
    font-size: 10.5px;
    font-weight: 760;
    line-height: 1;
}

.sw-card-stats span:first-child {
    border-color: rgba(157, 85, 244, 0.18);
    background: #f7f1ff;
    color: #6d28d9;
}

.sw-resource-card .sw-card-actions .lw-btn,
.lw-card .lw-card-actions .lw-btn,
.sw-save-button.sw-card-save {
    min-height: 30px !important;
    padding: 0 10px !important;
    border: 1px solid rgba(16, 24, 40, 0.1) !important;
    border-radius: 999px !important;
    background: #ffffff !important;
    color: #475467 !important;
    font-size: 11px !important;
    font-weight: 820 !important;
    line-height: 1 !important;
}

.sw-resource-card .sw-card-actions .lw-btn:hover,
.lw-card .lw-card-actions .lw-btn:hover,
.sw-save-button.sw-card-save:hover,
.sw-resource-card .sw-card-meta span:hover,
.lw-card .lw-card-meta span:hover {
    border-color: rgba(124, 58, 237, 0.22) !important;
    background: #f7f1ff !important;
    color: #6d28d9 !important;
    transform: translateY(-1px);
}

.sw-resource-card .sw-card-actions .lw-btn-download,
.lw-card .lw-card-actions .lw-btn-download {
    border-color: rgba(19, 201, 130, 0.18) !important;
    background: #f2fff9 !important;
    color: #047857 !important;
}

.sw-save-button.sw-card-save.active {
    border-color: rgba(255, 107, 99, 0.24) !important;
    background: #fff2f0 !important;
    color: #d83a2f !important;
}

.sw-save-button.sw-card-save .sw-save-icon {
    font-size: 12px !important;
}

@media (max-width: 720px) {
    .sw-resource-card .sw-card-actions,
    .lw-card .sw-card-actions,
    .lw-card-actions {
        justify-content: center !important;
    }

.sw-resource-card .sw-card-actions .lw-btn,
.lw-card .sw-card-actions .lw-btn,
.sw-save-button.sw-card-save {
        width: auto !important;
        flex: 0 0 auto !important;
    }
}

.lw-filter-form select[name="access"] {
    border-color: rgba(157, 85, 244, 0.18) !important;
    background-color: #fbf8ff !important;
}

.lw-filter-form select[name="sort"] {
    border-color: rgba(19, 201, 130, 0.16) !important;
    background-color: #f2fff9 !important;
}

/* Premium membership commerce layer */
.sw-premium-chip,
.sw-premium-cta,
.sw-card-actions .sw-premium-chip {
    border-color: rgba(157, 85, 244, 0.22) !important;
    background: #f7f1ff !important;
    color: #6d28d9 !important;
}

.sw-premium-chip:hover,
.sw-premium-cta:hover {
    border-color: rgba(157, 85, 244, 0.32) !important;
    background: #efe7ff !important;
    color: #5b21b6 !important;
}

.sw-premium-note {
    margin-top: 22px;
    border: 1px solid rgba(157, 85, 244, 0.16);
    background: #fbf8ff;
    padding: 16px;
}

.sw-premium-note strong {
    display: block;
    color: #101828;
    font-size: 14px;
    font-weight: 840;
}

.sw-premium-note p {
    margin: 7px 0 0;
    color: #667085;
    font-size: 13px;
    line-height: 1.55;
}

.sw-premium-note-active {
    border-color: rgba(19, 201, 130, 0.2);
    background: #f2fff9;
}

.sw-premium-lock-panel {
    border: 1px solid rgba(16, 24, 40, 0.08);
    background:
        radial-gradient(circle at 88% 18%, rgba(157, 85, 244, 0.12), transparent 24rem),
        linear-gradient(135deg, #fff8f5 0%, #f7f1ff 100%);
    padding: clamp(24px, 5vw, 44px);
}

.sw-premium-lock-panel h2 {
    margin: 10px 0 0;
    color: #101828;
    font-size: clamp(28px, 3.5vw, 44px);
    line-height: 1.08;
}

.sw-premium-lock-panel p {
    max-width: 660px;
    margin: 14px 0 0;
    color: #667085;
    font-size: 16px;
    line-height: 1.7;
}

.sw-premium-lock-panel .lw-btn {
    margin-top: 22px;
}

.sw-membership-page {
    padding: 36px 0 86px;
    background: #ffffff;
}

.sw-membership-page > .grid-container {
    width: min(100% - var(--sw-page-gutter), var(--sw-page-width)) !important;
    max-width: var(--sw-page-width) !important;
    margin-inline: auto !important;
}

.sw-membership-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(240px, 340px);
    gap: clamp(24px, 4vw, 56px);
    align-items: end;
    border: 1px solid rgba(16, 24, 40, 0.08);
    background:
        radial-gradient(circle at 82% 18%, rgba(19, 201, 130, 0.12), transparent 28rem),
        radial-gradient(circle at 14% 22%, rgba(157, 85, 244, 0.12), transparent 26rem),
        linear-gradient(135deg, #fff8f5 0%, #f7f1ff 52%, #effaff 100%);
    padding: clamp(34px, 6vw, 72px);
}

.sw-membership-status,
.sw-membership-benefits > div,
.sw-membership-card {
    border: 1px solid rgba(16, 24, 40, 0.08);
    background: #ffffff;
    box-shadow: none;
}

.sw-membership-status {
    padding: 22px;
}

.sw-membership-status span,
.sw-membership-benefits span,
.sw-membership-card-kicker {
    display: block;
    color: #667085;
    font-size: 12px;
    font-weight: 820;
    text-transform: uppercase;
}

.sw-membership-status strong {
    display: block;
    margin-top: 10px;
    color: #101828;
    font-size: 24px;
    line-height: 1.2;
}

.sw-membership-status a {
    display: inline-flex;
    margin-top: 14px;
    color: #6d28d9;
    font-size: 13px;
    font-weight: 840;
}

.sw-membership-benefits {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-top: 18px;
}

.sw-membership-benefits > div {
    padding: 18px;
}

.sw-membership-benefits strong {
    display: block;
    margin-top: 8px;
    color: #101828;
    font-size: 16px;
    line-height: 1.35;
}

.sw-membership-plans {
    margin-top: 40px;
}

.sw-membership-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 18px;
}

.sw-membership-card {
    padding: 22px;
}

.sw-membership-card h3 {
    margin: 10px 0 0;
    color: #101828;
    font-size: 24px;
    line-height: 1.16;
}

.sw-membership-price {
    margin-top: 14px;
    color: #101828;
    font-size: 24px;
    font-weight: 880;
}

.sw-membership-card p {
    margin: 12px 0 0;
    color: #667085;
    font-size: 14px;
    line-height: 1.65;
}

.sw-membership-card .lw-btn {
    width: 100%;
    justify-content: center;
    margin-top: 18px;
}

@media (max-width: 860px) {
    .sw-membership-hero,
    .sw-membership-benefits {
        grid-template-columns: 1fr;
    }
}

.sw-premium-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 24px;
}

.sw-premium-value,
.sw-premium-compare,
.sw-premium-faq {
    margin-top: clamp(34px, 5vw, 58px);
}

.sw-premium-value {
    display: grid;
    grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1.2fr);
    gap: clamp(24px, 5vw, 62px);
    align-items: start;
    border: 1px solid rgba(16, 24, 40, 0.08);
    background: #f8fafc;
    padding: clamp(24px, 5vw, 46px);
}

.sw-premium-value-copy h2 {
    margin: 10px 0 0;
    color: #101828;
    font-size: clamp(30px, 4vw, 48px);
    line-height: 1.08;
}

.sw-premium-value-copy p {
    margin-top: 14px;
    color: #667085;
    font-size: 15px;
    line-height: 1.72;
}

.sw-premium-value-grid,
.sw-premium-compare-grid,
.sw-premium-faq-grid {
    display: grid;
    gap: 14px;
}

.sw-premium-value-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.sw-premium-value-grid > div,
.sw-premium-compare-grid > div,
.sw-premium-faq details {
    border: 1px solid rgba(16, 24, 40, 0.08);
    background: #ffffff;
    box-shadow: none;
}

.sw-premium-value-grid > div {
    padding: 18px;
}

.sw-premium-value-grid strong {
    display: block;
    color: #101828;
    font-size: 15px;
    line-height: 1.3;
}

.sw-premium-value-grid span {
    display: block;
    margin-top: 7px;
    color: #667085;
    font-size: 13px;
    line-height: 1.55;
}

.sw-premium-popular {
    width: fit-content;
    min-height: 28px;
    display: inline-flex;
    align-items: center;
    border: 1px solid rgba(255, 107, 99, 0.22);
    border-radius: 999px;
    background: #fff2f0;
    color: #d83a2f;
    padding: 0 10px;
    font-size: 12px;
    font-weight: 840;
}

.sw-membership-card ul {
    display: grid;
    gap: 8px;
    margin: 16px 0 0;
    padding: 0;
    list-style: none;
}

.sw-membership-card li {
    position: relative;
    padding-left: 18px;
    color: #475467;
    font-size: 13px;
    line-height: 1.45;
}

.sw-membership-card li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.48em;
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: #13c982;
}

.sw-premium-compare-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.sw-premium-compare-grid > div {
    padding: 22px;
}

.sw-premium-compare-grid .is-premium {
    border-color: rgba(157, 85, 244, 0.18);
    background: #fbf8ff;
}

.sw-premium-compare h3 {
    margin: 0;
    color: #101828;
    font-size: 24px;
}

.sw-premium-compare p {
    margin: 8px 0 16px;
    color: #667085;
    font-size: 14px;
    line-height: 1.55;
}

.sw-premium-compare span {
    min-height: 32px;
    display: flex;
    align-items: center;
    border-top: 1px solid rgba(16, 24, 40, 0.07);
    color: #344054;
    font-size: 13px;
    font-weight: 760;
}

.sw-premium-faq-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.sw-premium-faq details {
    padding: 18px;
}

.sw-premium-faq summary {
    cursor: pointer;
    color: #101828;
    font-size: 15px;
    font-weight: 840;
}

.sw-premium-faq p {
    margin: 10px 0 0;
    color: #667085;
    font-size: 13px;
    line-height: 1.6;
}

.sw-premium-note-actions {
    display: grid;
    gap: 6px;
    margin-top: 12px;
}

.sw-premium-note-actions a {
    color: #6d28d9;
    font-size: 13px;
    font-weight: 840;
}

.sw-premium-note-actions span {
    color: #667085;
    font-size: 12px;
}

.sw-premium-lock-benefits {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 18px;
}

.sw-premium-lock-benefits span {
    min-height: 30px;
    display: inline-flex;
    align-items: center;
    border: 1px solid rgba(157, 85, 244, 0.16);
    border-radius: 999px;
    background: #ffffff;
    color: #6d28d9;
    padding: 0 11px;
    font-size: 12px;
    font-weight: 780;
}

@media (max-width: 860px) {
    .sw-premium-value,
    .sw-premium-compare-grid,
    .sw-premium-faq-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 720px) {
    .sw-premium-value-grid {
        grid-template-columns: 1fr;
    }
}

/* Figma-inspired clean product header */
.lw-header {
    position: sticky !important;
    top: 0 !important;
    z-index: 90 !important;
    border-bottom: 1px solid rgba(16, 24, 40, 0.07) !important;
    background: rgba(255, 255, 255, 0.92) !important;
    backdrop-filter: blur(18px);
    box-shadow: none !important;
}

.lw-header .learnoxy-container {
    width: min(100% - 40px, 1440px) !important;
    max-width: 1440px !important;
    margin-inline: auto !important;
}

.lw-header-inner {
    min-height: 72px !important;
    display: grid !important;
    grid-template-columns: auto minmax(0, 1fr) auto !important;
    gap: 28px !important;
    align-items: center !important;
}

.lw-logo {
    display: inline-flex !important;
    align-items: center !important;
    gap: 9px !important;
    color: #101828 !important;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
    font-size: 20px !important;
    font-weight: 800 !important;
    letter-spacing: 0 !important;
    white-space: nowrap !important;
}

.lw-logo::before {
    width: 28px !important;
    height: 28px !important;
    border-radius: 8px !important;
    background: linear-gradient(135deg, var(--sw-brand-coral), var(--sw-brand-purple)) !important;
    box-shadow: none !important;
}

.lw-nav {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 2px !important;
}

.lw-nav a,
.sw-nav-trigger,
.sw-account-link {
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
    font-size: 15px !important;
    line-height: 20px !important;
    letter-spacing: 0 !important;
}

.sw-nav-group {
    position: relative;
}

.sw-nav-trigger,
.sw-nav-direct {
    min-height: 40px !important;
    display: inline-flex !important;
    align-items: center !important;
    border: 1px solid transparent !important;
    border-radius: 999px !important;
    background: transparent !important;
    color: #344054 !important;
    padding: 0 12px !important;
    font-weight: 520 !important;
    cursor: pointer;
    transition:
        background-color 160ms ease,
        border-color 160ms ease,
        color 160ms ease;
}

.sw-nav-trigger::after {
    content: "⌄";
    width: auto;
    height: auto;
    margin-left: 6px;
    border: 0;
    transform: translateY(-1px);
    color: currentColor;
    font-size: 15px;
    line-height: 1;
    opacity: 0.75;
}

.sw-nav-trigger:hover,
.sw-nav-trigger:focus-visible,
.sw-nav-direct:hover,
.sw-nav-direct:focus-visible {
    border-color: rgba(16, 24, 40, 0.08) !important;
    background: #f7f8fb !important;
    color: #101828 !important;
}

.sw-nav-premium {
    margin-left: 2px;
    border-color: transparent !important;
    background: transparent !important;
    color: #344054 !important;
    font-weight: 520 !important;
}

.sw-nav-dropdown {
    position: absolute;
    z-index: 70;
    top: calc(100% + 12px);
    left: 50%;
    width: 360px;
    display: grid;
    gap: 2px;
    border: 1px solid rgba(16, 24, 40, 0.09);
    border-radius: 18px;
    background: #ffffff;
    padding: 10px;
    box-shadow: 0 24px 70px rgba(16, 24, 40, 0.14);
    opacity: 0;
    visibility: hidden;
    transform: translate(-50%, 6px);
    transition:
        opacity 160ms ease,
        transform 160ms ease,
        visibility 160ms ease;
}

.sw-nav-group:hover .sw-nav-dropdown,
.sw-nav-group:focus-within .sw-nav-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 0);
}

.sw-nav-dropdown::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: -12px;
    height: 12px;
}

.sw-nav-dropdown a {
    display: grid !important;
    gap: 4px !important;
    border-radius: 12px !important;
    border: 1px solid transparent !important;
    background: transparent !important;
    color: #101828 !important;
    padding: 12px 14px !important;
    font-weight: 520 !important;
}

.sw-nav-dropdown a:hover,
.sw-nav-dropdown a:focus-visible {
    border-color: rgba(16, 24, 40, 0.06) !important;
    background: #f8f9fc !important;
    color: #101828 !important;
}

.sw-nav-dropdown span {
    font-size: 15px;
    font-weight: 620;
    line-height: 20px;
}

.sw-nav-dropdown small {
    color: #667085;
    font-size: 13px;
    font-weight: 460;
    line-height: 18px;
}

.sw-account-nav {
    gap: 10px !important;
}

.sw-account-link {
    min-height: 42px !important;
    border-radius: 999px !important;
    border-color: transparent !important;
    background: transparent !important;
    color: #101828 !important;
    padding: 0 12px !important;
    font-weight: 520 !important;
}

.sw-account-primary,
.sw-account-dashboard {
    background: #101828 !important;
    color: #ffffff !important;
    padding: 0 18px !important;
    font-weight: 560 !important;
}

.sw-account-dropdown {
    top: calc(100% + 12px) !important;
    border-radius: 18px !important;
    box-shadow: 0 22px 60px rgba(16, 24, 40, 0.12) !important;
}

@media (max-width: 1120px) {
    .lw-header-inner {
        grid-template-columns: auto auto !important;
        gap: 14px !important;
        padding-block: 12px !important;
    }

    .lw-menu-toggle {
        justify-self: end;
    }

    .lw-nav,
    .sw-account-nav {
        grid-column: 1 / -1;
    }

    .lw-nav {
        display: none !important;
        align-items: stretch !important;
        justify-content: stretch !important;
        flex-direction: column !important;
        gap: 8px !important;
        border: 1px solid rgba(16, 24, 40, 0.08);
        border-radius: 18px;
        background: #ffffff;
        padding: 10px !important;
    }

    .lw-nav.is-open {
        display: flex !important;
    }

    .sw-nav-trigger,
    .sw-nav-direct {
        width: 100% !important;
        justify-content: space-between !important;
        border-color: rgba(16, 24, 40, 0.08) !important;
        background: #ffffff !important;
    }

    .sw-nav-dropdown {
        position: static !important;
        width: 100% !important;
        margin-top: 7px !important;
        border-radius: 14px !important;
        box-shadow: none !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
    }

    .sw-nav-dropdown::before {
        display: none;
    }
}

@media (max-width: 720px) {
    .lw-header .learnoxy-container {
        width: min(100% - 28px, var(--sw-wide-width)) !important;
    }

    .lw-logo {
        font-size: 16px !important;
    }

    .sw-account-nav {
        grid-template-columns: 1fr !important;
    }
}

.lw-collection-card .lw-card-chips {
    justify-content: center;
    gap: 6px;
    margin-bottom: 8px;
}

.lw-collection-card .lw-card-desc {
    color: #667085;
    font-size: 13px;
    line-height: 1.55;
    text-align: center;
}

/* Newsletter capture */
.sw-newsletter-block {
    width: min(100% - var(--sw-page-gutter), var(--sw-page-width));
    max-width: var(--sw-page-width);
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 440px);
    gap: clamp(22px, 4vw, 56px);
    align-items: center;
    margin: clamp(28px, 5vw, 56px) auto;
    border: 1px solid rgba(16, 24, 40, 0.08);
    background:
        radial-gradient(circle at 88% 16%, rgba(19, 201, 130, 0.12), transparent 28rem),
        radial-gradient(circle at 16% 28%, rgba(157, 85, 244, 0.12), transparent 26rem),
        linear-gradient(135deg, #fff8f5 0%, #f7f1ff 52%, #effaff 100%);
    padding: clamp(24px, 5vw, 46px);
}

.sw-newsletter-block h2 {
    max-width: 620px;
    margin: 10px 0 0;
    color: #101828;
    font-size: clamp(28px, 3.2vw, 44px);
    line-height: 1.08;
    letter-spacing: 0;
}

.sw-newsletter-block p {
    max-width: 620px;
    margin: 12px 0 0;
    color: #667085;
    font-size: 15px;
    line-height: 1.68;
}

.sw-newsletter-form {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    align-items: end;
    border: 1px solid rgba(16, 24, 40, 0.08);
    background: rgba(255, 255, 255, 0.84);
    padding: 12px;
}

.sw-newsletter-form label {
    display: grid;
    gap: 6px;
}

.sw-newsletter-form label span {
    color: #667085;
    font-size: 12px;
    font-weight: 800;
}

.sw-newsletter-form input {
    width: 100%;
    min-height: 42px;
    border: 1px solid rgba(16, 24, 40, 0.1);
    border-radius: 999px;
    background: #ffffff;
    color: #101828;
    padding: 0 14px;
    font-size: 14px;
}

.sw-newsletter-form button {
    min-height: 42px;
    border: 0;
    border-radius: 999px;
    background: #101828;
    color: #ffffff;
    padding: 0 18px;
    font-size: 13px;
    font-weight: 820;
    cursor: pointer;
}

.sw-newsletter-form button:disabled {
    opacity: 0.62;
    cursor: wait;
}

.sw-newsletter-message {
    grid-column: 1 / -1;
    min-height: 18px;
    margin: 0 !important;
    font-size: 12px !important;
    font-weight: 760;
}

.sw-newsletter-message.is-success {
    color: #047857;
}

.sw-newsletter-message.is-error {
    color: #b42318;
}

.lw-single-wrap .sw-newsletter-block {
    width: min(100% - var(--sw-page-gutter), var(--sw-page-width));
}

.sw-newsletter-archive {
    margin-top: 34px;
    margin-bottom: 0;
}

.sw-newsletter-home {
    width: min(100% - var(--sw-page-gutter), 780px);
    grid-template-columns: 1fr;
    gap: 18px;
    max-width: 780px;
    margin-top: clamp(28px, 4vw, 44px);
    margin-bottom: clamp(28px, 4vw, 44px);
    padding: clamp(20px, 3vw, 30px);
    text-align: center;
}

.sw-newsletter-home h2 {
    max-width: 560px;
    margin-inline: auto;
    font-size: clamp(24px, 2.5vw, 34px);
}

.sw-newsletter-home p {
    max-width: 560px;
    margin-inline: auto;
    font-size: 14px;
    line-height: 1.6;
}

.sw-newsletter-home .sw-newsletter-form {
    width: min(100%, 460px);
    max-width: 460px;
    justify-self: center;
    grid-template-columns: 1fr auto;
    padding: 10px;
}

.sw-newsletter-home .sw-newsletter-form input {
    min-height: 40px;
}

.sw-newsletter-home .sw-newsletter-form button {
    min-height: 40px;
    padding: 0 15px;
}

@media (max-width: 860px) {
    .sw-newsletter-block,
    .sw-newsletter-form {
        grid-template-columns: 1fr;
    }

    .sw-newsletter-form button {
        width: 100%;
    }

    .sw-newsletter-home .sw-newsletter-form {
        max-width: none;
        justify-self: stretch;
    }
}

@media (max-width: 720px) {
    .sw-newsletter-block {
        width: min(100% - 28px, var(--sw-page-width));
    }
}

/* Expanded discovery filters */
.sw-discovery-groups {
    display: grid;
    gap: 18px;
    margin: 0 0 22px;
    padding-bottom: 22px;
    border-bottom: 1px solid rgba(16, 24, 40, 0.08);
}

.sw-discovery-group {
    display: grid;
    gap: 10px;
}

.sw-discovery-group strong {
    color: #101828;
    font-size: 13px;
    font-weight: 860;
}

.sw-discovery-group div {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.sw-discovery-group a {
    min-height: 29px;
    display: inline-flex;
    align-items: center;
    border: 1px solid rgba(16, 24, 40, 0.08);
    border-radius: 999px;
    background: #ffffff;
    color: #475467;
    padding: 0 10px;
    font-size: 12px;
    font-weight: 760;
    line-height: 1;
    transition:
        border-color 180ms ease,
        background-color 180ms ease,
        color 180ms ease,
        transform 180ms ease;
}

.sw-discovery-group a:hover {
    border-color: rgba(124, 58, 237, 0.2);
    background: #f7f1ff;
    color: #6d28d9;
    transform: translateY(-1px);
}

.lw-filter-form select[name="resource_type"] {
    border-color: rgba(36, 183, 232, 0.2) !important;
    background-color: #effaff !important;
}

.lw-filter-form select[name="occasion"] {
    border-color: rgba(255, 107, 99, 0.18) !important;
    background-color: #fff8f5 !important;
}

.lw-filter-form select[name="creative"] {
    border-color: rgba(157, 85, 244, 0.18) !important;
    background-color: #fbf8ff !important;
}

/* Homepage browse by grade cards */
.sw-homepage .lw-grade-hubs {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)) !important;
    gap: 16px !important;
}

.sw-homepage .lw-grade-card {
    position: relative;
    min-height: 190px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    justify-content: flex-start !important;
    gap: 12px !important;
    border: 1px solid rgba(16, 24, 40, 0.08) !important;
    border-radius: 0 !important;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.92), #ffffff),
        #ffffff !important;
    box-shadow: none !important;
    padding: 18px !important;
    overflow: hidden;
    transition:
        border-color 180ms ease,
        transform 180ms ease,
        box-shadow 180ms ease,
        background-color 180ms ease;
}

.sw-homepage .lw-grade-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 5px;
    background: linear-gradient(90deg, var(--sw-brand-coral), var(--sw-brand-purple), var(--sw-brand-blue));
}

.sw-homepage .lw-grade-card:hover {
    border-color: rgba(124, 58, 237, 0.18) !important;
    transform: translateY(-3px);
    box-shadow: 0 18px 42px rgba(16, 24, 40, 0.07) !important;
}

.sw-grade-card-kicker {
    display: block;
    margin-top: 5px;
    color: #667085 !important;
    font-size: 11px !important;
    font-weight: 840 !important;
    line-height: 1 !important;
    text-transform: uppercase;
}

.sw-homepage .lw-grade-badge {
    width: auto !important;
    min-height: 0 !important;
    display: block !important;
    border: 0 !important;
    background: transparent !important;
    color: #101828 !important;
    padding: 0 !important;
    font-size: clamp(25px, 2.6vw, 36px) !important;
    font-weight: 880 !important;
    line-height: 1.05 !important;
    letter-spacing: 0 !important;
}

.sw-grade-card-count {
    width: fit-content;
    min-height: 28px;
    display: inline-flex !important;
    align-items: center;
    border: 1px solid rgba(16, 24, 40, 0.08);
    border-radius: 999px;
    background: #f8fafc;
    color: #475467 !important;
    padding: 0 10px;
    font-size: 12px !important;
    font-weight: 800 !important;
    line-height: 1 !important;
}

.sw-grade-card-subjects {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 2px;
}

.sw-grade-card-subjects span {
    min-height: 24px;
    display: inline-flex;
    align-items: center;
    border: 1px solid rgba(124, 58, 237, 0.12);
    border-radius: 999px;
    background: #fbf8ff;
    color: #6d28d9;
    padding: 0 8px;
    font-size: 11px;
    font-weight: 760;
}

.sw-grade-card-cta {
    margin-top: auto;
    color: #101828;
    font-size: 13px;
    font-weight: 840;
}

.sw-homepage .lw-grade-card:hover .sw-grade-card-cta {
    color: #6d28d9;
}

@media (max-width: 720px) {
    .sw-homepage .lw-grade-hubs {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 12px !important;
    }

    .sw-homepage .lw-grade-card {
        min-height: 170px !important;
        padding: 15px !important;
    }

    .sw-homepage .lw-grade-badge {
        font-size: 24px !important;
    }
}

/* Homepage resource type hubs */
.sw-resource-types-section {
    background: #f7faff !important;
}

.sw-resource-type-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 16px;
}

.sw-resource-type-card {
    min-height: 190px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    border: 1px solid rgba(16, 24, 40, 0.08);
    background: #ffffff;
    color: #101828;
    padding: 18px;
    transition:
        border-color 180ms ease,
        transform 180ms ease,
        box-shadow 180ms ease,
        background-color 180ms ease;
}

.sw-resource-type-card:hover {
    border-color: rgba(36, 183, 232, 0.24);
    background: #fbfdff;
    transform: translateY(-3px);
    box-shadow: 0 18px 42px rgba(16, 24, 40, 0.07);
}

.sw-resource-type-icon {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(36, 183, 232, 0.18);
    border-radius: 14px;
    background: #effaff;
    color: #087ea4;
    font-size: 15px;
    font-weight: 900;
}

.sw-resource-type-card strong {
    display: block;
    color: #101828;
    font-size: 18px;
    line-height: 1.2;
}

.sw-resource-type-card small {
    color: #667085;
    font-size: 13px;
    line-height: 1.55;
}

.sw-resource-type-card em {
    width: fit-content;
    min-height: 27px;
    display: inline-flex;
    align-items: center;
    margin-top: auto;
    border: 1px solid rgba(16, 24, 40, 0.08);
    border-radius: 999px;
    background: #f8fafc;
    color: #475467;
    padding: 0 10px;
    font-size: 12px;
    font-style: normal;
    font-weight: 800;
}

@media (max-width: 720px) {
    .sw-resource-type-grid {
        grid-template-columns: 1fr;
    }

    .sw-resource-type-card {
        min-height: 160px;
    }
}

/* Learnoxy brand mark */
.lw-logo {
    display: inline-flex !important;
    align-items: center !important;
    gap: 10px !important;
    text-decoration: none !important;
}

.lw-logo::before {
    display: none !important;
    content: none !important;
}

.lw-logo-mark {
    width: 28px;
    height: 28px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(3, 1fr);
    flex: 0 0 28px;
    overflow: hidden;
}

.lw-logo-dot {
    display: block;
    min-width: 0;
    min-height: 0;
}

.lw-logo-dot-orange {
    grid-column: 1;
    grid-row: 1;
    background: #ff471c;
}

.lw-logo-dot-coral {
    grid-column: 2;
    grid-row: 1;
    background: #ff7069;
}

.lw-logo-dot-purple {
    grid-column: 1;
    grid-row: 2;
    background: #a259ff;
}

.lw-logo-dot-blue {
    grid-column: 2;
    grid-row: 2;
    background: #24b7e8;
}

.lw-logo-dot-green {
    grid-column: 1;
    grid-row: 3;
    background: #13c784;
}

.lw-logo-text {
    color: #101828;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 20px;
    font-weight: 850;
    line-height: 1;
    letter-spacing: 0;
}

.lw-logo:hover .lw-logo-text {
    color: #0f172a;
}

@media (max-width: 640px) {
    .lw-logo-mark {
        width: 25px;
        height: 25px;
        flex-basis: 25px;
    }

    .lw-logo-text {
        font-size: 18px;
    }
}

/* Subject color system */
.sw-subject-theme-default {
    --sw-subject-primary: #9d55f4;
    --sw-subject-hover: #7c3aed;
    --sw-subject-soft: #fbf8ff;
    --sw-subject-tint: #f3e8ff;
    --sw-subject-chip: #f7f0ff;
    --sw-subject-chip-text: #6d28d9;
    --sw-subject-border: rgba(157, 85, 244, 0.22);
    --sw-subject-shadow: rgba(157, 85, 244, 0.14);
    --sw-subject-gradient: linear-gradient(135deg, #9d55f4, #24b7e8);
    --sw-subject-hero: radial-gradient(circle at 82% 18%, rgba(157, 85, 244, 0.16), transparent 26rem), linear-gradient(135deg, #ffffff 0%, #fbf8ff 48%, #eefaff 100%);
}

.sw-subject-theme-math {
    --sw-subject-primary: #3157d5;
    --sw-subject-hover: #243fb4;
    --sw-subject-soft: #f3f7ff;
    --sw-subject-tint: #e8efff;
    --sw-subject-chip: #edf3ff;
    --sw-subject-chip-text: #2746b8;
    --sw-subject-border: rgba(49, 87, 213, 0.22);
    --sw-subject-shadow: rgba(49, 87, 213, 0.14);
    --sw-subject-gradient: linear-gradient(135deg, #3157d5, #7c3aed);
    --sw-subject-hero: radial-gradient(circle at 82% 18%, rgba(49, 87, 213, 0.17), transparent 26rem), radial-gradient(circle at 12% 18%, rgba(124, 58, 237, 0.11), transparent 24rem), linear-gradient(135deg, #ffffff 0%, #f3f7ff 50%, #eef2ff 100%);
}

.sw-subject-theme-science {
    --sw-subject-primary: #079455;
    --sw-subject-hover: #067647;
    --sw-subject-soft: #f0fdf4;
    --sw-subject-tint: #dcfae6;
    --sw-subject-chip: #ecfdf3;
    --sw-subject-chip-text: #067647;
    --sw-subject-border: rgba(7, 148, 85, 0.22);
    --sw-subject-shadow: rgba(7, 148, 85, 0.14);
    --sw-subject-gradient: linear-gradient(135deg, #079455, #12b76a);
    --sw-subject-hero: radial-gradient(circle at 82% 18%, rgba(7, 148, 85, 0.16), transparent 26rem), radial-gradient(circle at 12% 18%, rgba(18, 183, 106, 0.12), transparent 24rem), linear-gradient(135deg, #ffffff 0%, #f0fdf4 52%, #ecfdf3 100%);
}

.sw-subject-theme-english {
    --sw-subject-primary: #8b5cf6;
    --sw-subject-hover: #6d28d9;
    --sw-subject-soft: #fbf8ff;
    --sw-subject-tint: #f3e8ff;
    --sw-subject-chip: #f5f0ff;
    --sw-subject-chip-text: #6d28d9;
    --sw-subject-border: rgba(139, 92, 246, 0.24);
    --sw-subject-shadow: rgba(139, 92, 246, 0.14);
    --sw-subject-gradient: linear-gradient(135deg, #8b5cf6, #c084fc);
    --sw-subject-hero: radial-gradient(circle at 82% 18%, rgba(139, 92, 246, 0.17), transparent 26rem), radial-gradient(circle at 12% 18%, rgba(192, 132, 252, 0.12), transparent 24rem), linear-gradient(135deg, #ffffff 0%, #fbf8ff 52%, #f5f0ff 100%);
}

.sw-subject-theme-hindi {
    --sw-subject-primary: #f97316;
    --sw-subject-hover: #c2410c;
    --sw-subject-soft: #fff8ed;
    --sw-subject-tint: #ffedd5;
    --sw-subject-chip: #fff4e5;
    --sw-subject-chip-text: #c2410c;
    --sw-subject-border: rgba(249, 115, 22, 0.24);
    --sw-subject-shadow: rgba(249, 115, 22, 0.14);
    --sw-subject-gradient: linear-gradient(135deg, #f97316, #fbbf24);
    --sw-subject-hero: radial-gradient(circle at 82% 18%, rgba(249, 115, 22, 0.16), transparent 26rem), radial-gradient(circle at 12% 18%, rgba(251, 191, 36, 0.14), transparent 24rem), linear-gradient(135deg, #ffffff 0%, #fff8ed 52%, #fffbeb 100%);
}

.sw-subject-theme-evs {
    --sw-subject-primary: #0d9488;
    --sw-subject-hover: #0f766e;
    --sw-subject-soft: #effdf9;
    --sw-subject-tint: #ccfbef;
    --sw-subject-chip: #e8fff8;
    --sw-subject-chip-text: #0f766e;
    --sw-subject-border: rgba(13, 148, 136, 0.23);
    --sw-subject-shadow: rgba(13, 148, 136, 0.14);
    --sw-subject-gradient: linear-gradient(135deg, #0d9488, #2dd4bf);
    --sw-subject-hero: radial-gradient(circle at 82% 18%, rgba(13, 148, 136, 0.16), transparent 26rem), radial-gradient(circle at 12% 18%, rgba(45, 212, 191, 0.13), transparent 24rem), linear-gradient(135deg, #ffffff 0%, #effdf9 52%, #ecfeff 100%);
}

.sw-subject-theme-computer {
    --sw-subject-primary: #0284c7;
    --sw-subject-hover: #0369a1;
    --sw-subject-soft: #f0f9ff;
    --sw-subject-tint: #e0f2fe;
    --sw-subject-chip: #eaf8ff;
    --sw-subject-chip-text: #0369a1;
    --sw-subject-border: rgba(2, 132, 199, 0.24);
    --sw-subject-shadow: rgba(2, 132, 199, 0.14);
    --sw-subject-gradient: linear-gradient(135deg, #0284c7, #22d3ee);
    --sw-subject-hero: radial-gradient(circle at 82% 18%, rgba(2, 132, 199, 0.16), transparent 26rem), radial-gradient(circle at 12% 18%, rgba(34, 211, 238, 0.13), transparent 24rem), linear-gradient(135deg, #ffffff 0%, #f0f9ff 52%, #ecfeff 100%);
}

.sw-subject-theme-gk {
    --sw-subject-primary: #d69e00;
    --sw-subject-hover: #a16207;
    --sw-subject-soft: #fffbea;
    --sw-subject-tint: #fef3c7;
    --sw-subject-chip: #fffae6;
    --sw-subject-chip-text: #92400e;
    --sw-subject-border: rgba(214, 158, 0, 0.25);
    --sw-subject-shadow: rgba(214, 158, 0, 0.14);
    --sw-subject-gradient: linear-gradient(135deg, #d69e00, #facc15);
    --sw-subject-hero: radial-gradient(circle at 82% 18%, rgba(214, 158, 0, 0.16), transparent 26rem), radial-gradient(circle at 12% 18%, rgba(250, 204, 21, 0.14), transparent 24rem), linear-gradient(135deg, #ffffff 0%, #fffbea 52%, #fffbeb 100%);
}

.sw-subject-theme-arts {
    --sw-subject-primary: #ec4899;
    --sw-subject-hover: #be185d;
    --sw-subject-soft: #fff5f8;
    --sw-subject-tint: #fce7f3;
    --sw-subject-chip: #fff0f6;
    --sw-subject-chip-text: #be185d;
    --sw-subject-border: rgba(236, 72, 153, 0.24);
    --sw-subject-shadow: rgba(236, 72, 153, 0.14);
    --sw-subject-gradient: linear-gradient(135deg, #ec4899, #fb7185);
    --sw-subject-hero: radial-gradient(circle at 82% 18%, rgba(236, 72, 153, 0.16), transparent 26rem), radial-gradient(circle at 12% 18%, rgba(251, 113, 133, 0.13), transparent 24rem), linear-gradient(135deg, #ffffff 0%, #fff5f8 52%, #fff1f2 100%);
}

.sw-has-subject-theme .sw-tax-hero,
.sw-subject-page.sw-tax-page .sw-tax-hero {
    background: var(--sw-subject-hero) !important;
}

.sw-has-subject-theme .sw-eyebrow,
.sw-has-subject-theme .lw-hub-badge,
.sw-subject-page .sw-eyebrow {
    border-color: var(--sw-subject-border) !important;
    background: color-mix(in srgb, var(--sw-subject-soft) 82%, #ffffff 18%) !important;
    color: var(--sw-subject-hover) !important;
}

.sw-has-subject-theme .sw-tax-search .lw-search-button,
.sw-has-subject-theme .lw-btn-download,
.sw-subject-page .sw-tax-search .lw-search-button {
    background: var(--sw-subject-gradient) !important;
    box-shadow: 0 16px 34px var(--sw-subject-shadow) !important;
}

.sw-has-subject-theme .sw-tax-pills a,
.sw-has-subject-theme .sw-topic-panel a,
.sw-has-subject-theme .lw-taxonomy-chip,
.sw-has-subject-theme .lw-filter-chip,
.sw-has-subject-theme .lw-chip,
.sw-has-subject-theme .lw-discovery-chip,
.sw-subject-page .sw-tax-pills a,
.sw-subject-page .sw-topic-panel a {
    min-height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--sw-subject-border) !important;
    border-radius: 999px !important;
    background: var(--sw-subject-chip) !important;
    color: var(--sw-subject-chip-text) !important;
    box-shadow: 0 8px 20px rgba(16, 24, 40, 0.04) !important;
    font-weight: 780 !important;
    line-height: 1 !important;
    transition:
        transform 160ms ease,
        border-color 160ms ease,
        background-color 160ms ease,
        color 160ms ease,
        box-shadow 160ms ease !important;
}

.sw-has-subject-theme .sw-tax-pills a:hover,
.sw-has-subject-theme .sw-topic-panel a:hover,
.sw-has-subject-theme .lw-taxonomy-chip:hover,
.sw-has-subject-theme .lw-filter-chip:hover,
.sw-has-subject-theme .lw-chip:hover,
.sw-has-subject-theme .lw-discovery-chip:hover,
.sw-subject-page .sw-tax-pills a:hover,
.sw-subject-page .sw-topic-panel a:hover {
    transform: translateY(-1px);
    border-color: color-mix(in srgb, var(--sw-subject-primary) 46%, transparent) !important;
    background: #ffffff !important;
    color: var(--sw-subject-hover) !important;
    box-shadow: 0 12px 28px var(--sw-subject-shadow) !important;
}

.lw-taxonomy-chip[class*="sw-subject-theme-"],
.lw-subject-hub-card[class*="sw-subject-theme-"],
.lw-subject-card[class*="sw-subject-theme-"],
.sw-resource-card[class*="sw-subject-theme-"] {
    --sw-card-theme-primary: var(--sw-subject-primary);
    --sw-card-theme-soft: var(--sw-subject-soft);
    --sw-card-theme-border: var(--sw-subject-border);
    --sw-card-theme-gradient: var(--sw-subject-gradient);
}

.lw-taxonomy-chip[class*="sw-subject-theme-"] {
    border-color: var(--sw-subject-border) !important;
    background: var(--sw-subject-chip) !important;
    color: var(--sw-subject-chip-text) !important;
}

.sw-resource-card[class*="sw-subject-theme-"] {
    border-color: rgba(16, 24, 40, 0.08) !important;
}

.sw-resource-card[class*="sw-subject-theme-"] .sw-card-type {
    border: 1px solid var(--sw-subject-border) !important;
    background: var(--sw-subject-chip) !important;
    color: var(--sw-subject-chip-text) !important;
}

.sw-resource-card[class*="sw-subject-theme-"]:hover {
    border-color: var(--sw-subject-border) !important;
    box-shadow: 0 18px 46px var(--sw-subject-shadow) !important;
}

.sw-resource-card[class*="sw-subject-theme-"] .lw-btn-preview:hover,
.sw-resource-card[class*="sw-subject-theme-"] .sw-card-save:hover {
    border-color: var(--sw-subject-border) !important;
    background: var(--sw-subject-soft) !important;
    color: var(--sw-subject-hover) !important;
}

.lw-subject-hub-card[class*="sw-subject-theme-"],
.lw-subject-card[class*="sw-subject-theme-"] {
    border-color: rgba(16, 24, 40, 0.07) !important;
    background: #ffffff !important;
}

.lw-subject-hub-card[class*="sw-subject-theme-"] .lw-subject-hub-icon,
.lw-subject-card[class*="sw-subject-theme-"] .lw-subject-icon {
    background: var(--sw-subject-gradient) !important;
}

.lw-subject-hub-card[class*="sw-subject-theme-"]:hover,
.lw-subject-card[class*="sw-subject-theme-"]:hover {
    border-color: var(--sw-subject-border) !important;
    background: linear-gradient(180deg, #ffffff, var(--sw-subject-soft)) !important;
    box-shadow: 0 18px 42px var(--sw-subject-shadow) !important;
}

@media (max-width: 720px) {
    .sw-has-subject-theme .sw-tax-pills,
    .sw-subject-page .sw-tax-pills,
    .sw-has-subject-theme .sw-topic-panel > div,
    .sw-subject-page .sw-topic-panel > div,
    .sw-has-subject-theme .lw-taxonomy-group {
        display: flex !important;
        flex-wrap: nowrap !important;
        gap: 10px !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x proximity;
        padding-bottom: 8px;
    }

    .sw-has-subject-theme .sw-tax-pills a,
    .sw-subject-page .sw-tax-pills a,
    .sw-has-subject-theme .sw-topic-panel a,
    .sw-subject-page .sw-topic-panel a,
    .sw-has-subject-theme .lw-taxonomy-chip {
        flex: 0 0 auto;
        min-height: 40px;
        padding-inline: 14px !important;
        scroll-snap-align: start;
        touch-action: manipulation;
    }

    .sw-subject-page .sw-tax-layout {
        gap: 20px !important;
    }

    .sw-subject-page .sw-cover-grid,
    .sw-subject-page .learnoxy-grid {
        gap: 18px !important;
    }
}

/* Premium homepage storytelling redesign */
.sw-homepage {
    --sw-home-ink: #101828;
    --sw-home-muted: #5f6b7a;
    --sw-home-line: rgba(16, 24, 40, 0.08);
    --sw-home-panel: rgba(255, 255, 255, 0.82);
    background:
        linear-gradient(180deg, #ffffff 0%, #fbfdff 32%, #ffffff 64%, #fffafa 100%) !important;
}

.sw-homepage > section,
.sw-homepage .learnoxy-section,
.sw-homepage .sw-curriculum-explorer {
    position: relative;
}

.sw-homepage > section + section::before,
.sw-homepage .learnoxy-section + .learnoxy-section::before,
.sw-homepage .learnoxy-section + .sw-curriculum-explorer::before,
.sw-homepage .sw-curriculum-explorer + .learnoxy-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    width: min(100% - 48px, 1180px);
    height: 1px;
    transform: translateX(-50%);
    background: linear-gradient(90deg, transparent, rgba(16, 24, 40, 0.08), transparent);
}

.sw-homepage .sw-hero {
    overflow: hidden;
    padding-block: clamp(74px, 9vw, 126px) clamp(58px, 8vw, 96px) !important;
    background:
        linear-gradient(90deg, rgba(255, 71, 28, 0.07) 1px, transparent 1px),
        linear-gradient(180deg, rgba(36, 183, 232, 0.07) 1px, transparent 1px),
        radial-gradient(circle at 82% 20%, rgba(36, 183, 232, 0.18), transparent 27rem),
        radial-gradient(circle at 15% 18%, rgba(162, 89, 255, 0.14), transparent 24rem),
        linear-gradient(135deg, #ffffff 0%, #fbf7ff 46%, #eefaff 100%) !important;
    background-size:
        48px 48px,
        48px 48px,
        auto,
        auto,
        auto !important;
}

.sw-homepage .lw-hero-grid {
    grid-template-columns: minmax(0, 1.02fr) minmax(360px, 0.82fr) !important;
    gap: clamp(36px, 6vw, 90px) !important;
    align-items: center !important;
}

.sw-homepage .lw-hero-badge {
    border: 1px solid rgba(162, 89, 255, 0.18) !important;
    background: rgba(255, 255, 255, 0.74) !important;
    color: #6d28d9 !important;
    box-shadow: 0 12px 30px rgba(162, 89, 255, 0.08) !important;
}

.sw-homepage .lw-hero-title {
    max-width: 860px !important;
    margin-top: 18px !important;
    color: var(--sw-home-ink) !important;
    font-size: clamp(48px, 6vw, 86px) !important;
    line-height: 0.98 !important;
    letter-spacing: 0 !important;
}

.sw-homepage .lw-hero-description {
    max-width: 710px !important;
    color: var(--sw-home-muted) !important;
    font-size: clamp(17px, 1.5vw, 21px) !important;
    line-height: 1.7 !important;
}

.sw-hero-proof {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    max-width: 650px;
    margin-top: 24px;
}

.sw-hero-proof span {
    min-height: 76px;
    display: grid;
    gap: 4px;
    align-content: center;
    border: 1px solid rgba(16, 24, 40, 0.07);
    background: rgba(255, 255, 255, 0.68);
    padding: 14px 16px;
    box-shadow: 0 14px 34px rgba(16, 24, 40, 0.05);
}

.sw-hero-proof strong {
    color: #101828;
    font-size: 14px;
    font-weight: 900;
}

.sw-hero-proof small {
    color: #667085;
    font-size: 12px;
    line-height: 1.35;
}

.sw-homepage .sw-hero-preview {
    min-height: 520px !important;
    display: grid;
    align-items: center;
}

.sw-hero-map-card {
    position: absolute;
    right: clamp(10px, 4vw, 46px);
    bottom: clamp(12px, 4vw, 48px);
    width: min(270px, 72%);
    display: grid;
    gap: 8px;
    border: 1px solid rgba(16, 24, 40, 0.08);
    background: rgba(255, 255, 255, 0.86);
    padding: 16px;
    box-shadow: 0 24px 70px rgba(16, 24, 40, 0.12);
    backdrop-filter: blur(18px);
}

.sw-hero-map-card span {
    color: #6d28d9;
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
}

.sw-hero-map-card strong {
    color: #101828;
    font-size: 20px;
    font-weight: 920;
}

.sw-hero-map-card em {
    width: fit-content;
    border: 1px solid rgba(16, 24, 40, 0.08);
    border-radius: 999px;
    background: #f8fafc;
    color: #475467;
    padding: 6px 10px;
    font-size: 12px;
    font-style: normal;
    font-weight: 800;
}

.sw-home-story {
    padding: clamp(48px, 7vw, 92px) 0 !important;
    background: #ffffff;
}

.sw-story-intro {
    max-width: 780px;
    margin-bottom: 28px;
}

.sw-story-intro h2 {
    margin: 16px 0 0;
    color: #101828;
    font-size: clamp(34px, 4vw, 56px);
    line-height: 1.05;
    font-weight: 920;
    letter-spacing: 0;
}

.sw-story-intro p {
    max-width: 720px;
    margin: 16px 0 0;
    color: #667085;
    font-size: 17px;
    line-height: 1.72;
}

.sw-story-steps {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.sw-story-steps a {
    min-height: 210px;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(16, 24, 40, 0.07);
    background:
        linear-gradient(180deg, #ffffff, #fbfdff);
    color: #101828;
    padding: 20px;
    text-decoration: none;
    box-shadow: 0 16px 40px rgba(16, 24, 40, 0.045);
    transition:
        transform 180ms ease,
        border-color 180ms ease,
        background-color 180ms ease,
        box-shadow 180ms ease;
}

.sw-story-steps a:hover {
    transform: translateY(-4px);
    border-color: rgba(36, 183, 232, 0.2);
    background: linear-gradient(180deg, #ffffff, #f3fbff);
    box-shadow: 0 22px 56px rgba(16, 24, 40, 0.08);
}

.sw-story-steps span {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    background: #fbf8ff;
    color: #6d28d9;
    font-size: 12px;
    font-weight: 920;
}

.sw-story-steps strong {
    margin-top: auto;
    color: #101828;
    font-size: 20px;
    line-height: 1.2;
    font-weight: 900;
}

.sw-story-steps small {
    margin-top: 8px;
    color: #667085;
    font-size: 13px;
    line-height: 1.55;
}

.sw-homepage .lw-section-header {
    margin-bottom: 26px !important;
}

.sw-homepage .lw-section-title,
.sw-homepage .sw-explorer-copy h2 {
    color: #101828 !important;
    font-size: clamp(30px, 3.6vw, 52px) !important;
    line-height: 1.08 !important;
    font-weight: 920 !important;
    letter-spacing: 0 !important;
}

.sw-homepage .lw-section-desc,
.sw-homepage .sw-explorer-copy p {
    max-width: 680px !important;
    color: #667085 !important;
    font-size: 16px !important;
    line-height: 1.72 !important;
}

.sw-homepage .sw-curriculum-explorer {
    background:
        linear-gradient(90deg, rgba(19, 199, 132, 0.06) 1px, transparent 1px),
        linear-gradient(180deg, rgba(162, 89, 255, 0.06) 1px, transparent 1px),
        linear-gradient(135deg, #f7fffb 0%, #fbf8ff 48%, #effaff 100%) !important;
    background-size: 44px 44px, 44px 44px, auto !important;
}

.sw-homepage .sw-explorer-panel {
    border: 1px solid rgba(16, 24, 40, 0.07) !important;
    background: rgba(255, 255, 255, 0.78) !important;
    box-shadow: 0 28px 80px rgba(16, 24, 40, 0.07) !important;
    backdrop-filter: blur(18px);
}

.sw-explorer-cta {
    min-height: 42px;
    width: fit-content;
    display: inline-flex;
    align-items: center;
    margin-top: 18px;
    border-radius: 999px;
    background: #101828;
    color: #ffffff;
    padding: 0 16px;
    font-size: 13px;
    font-weight: 860;
    text-decoration: none;
}

.sw-homepage .sw-pathway-column {
    border: 1px solid rgba(16, 24, 40, 0.07);
    background: rgba(255, 255, 255, 0.72);
    padding: 16px;
}

.sw-homepage .sw-pathway-column a,
.sw-homepage .lw-search-trending a {
    border-radius: 999px !important;
}

.sw-newsletter-home {
    width: 100%;
    max-width: none !important;
    margin: 0 !important;
    padding: clamp(64px, 9vw, 112px) var(--sw-page-gutter, 24px) !important;
    background:
        linear-gradient(90deg, rgba(255, 112, 105, 0.08) 1px, transparent 1px),
        linear-gradient(180deg, rgba(36, 183, 232, 0.08) 1px, transparent 1px),
        radial-gradient(circle at 80% 18%, rgba(19, 199, 132, 0.16), transparent 24rem),
        radial-gradient(circle at 18% 24%, rgba(162, 89, 255, 0.15), transparent 25rem),
        linear-gradient(135deg, #fff8f5 0%, #f7f0ff 46%, #eefaff 100%) !important;
    background-size: 42px 42px, 42px 42px, auto, auto, auto !important;
}

.sw-newsletter-shell {
    position: relative;
    width: min(100%, 1180px);
    min-height: 420px;
    display: grid;
    place-items: center;
    margin-inline: auto;
}

.sw-newsletter-pattern {
    position: absolute;
    width: 260px;
    height: 180px;
    border: 1px solid rgba(255, 255, 255, 0.62);
    background:
        linear-gradient(90deg, rgba(255, 255, 255, 0.42) 1px, transparent 1px),
        linear-gradient(180deg, rgba(255, 255, 255, 0.42) 1px, transparent 1px);
    background-size: 18px 18px;
    opacity: 0.75;
    pointer-events: none;
}

.sw-newsletter-pattern-one {
    top: 20px;
    left: 0;
    transform: rotate(-4deg);
}

.sw-newsletter-pattern-two {
    right: 0;
    bottom: 18px;
    transform: rotate(4deg);
}

.sw-newsletter-card {
    position: relative;
    z-index: 1;
    width: min(100%, 620px);
    display: grid;
    justify-items: center;
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.86);
    padding: clamp(28px, 5vw, 48px);
    text-align: center;
    box-shadow: 0 30px 90px rgba(16, 24, 40, 0.14);
    backdrop-filter: blur(20px);
}

.sw-newsletter-card h2 {
    max-width: 540px;
    margin: 16px 0 0;
    color: #101828;
    font-size: clamp(30px, 4vw, 48px);
    line-height: 1.08;
    font-weight: 920;
    letter-spacing: 0;
}

.sw-newsletter-card > p {
    max-width: 500px;
    margin: 14px 0 0;
    color: #667085;
    font-size: 16px;
    line-height: 1.68;
}

.sw-newsletter-card .sw-newsletter-form {
    width: min(100%, 470px);
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    margin-top: 24px;
}

.sw-newsletter-card .sw-newsletter-form label {
    display: block;
    margin: 0;
}

.sw-newsletter-card .sw-newsletter-form label span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
}

.sw-newsletter-card .sw-newsletter-form input {
    width: 100%;
    min-height: 52px;
    border: 1px solid rgba(16, 24, 40, 0.1);
    border-radius: 999px;
    background: #ffffff;
    color: #101828;
    padding: 0 18px;
    font-size: 15px;
    box-shadow: inset 0 1px 0 rgba(16, 24, 40, 0.03);
}

.sw-newsletter-card .sw-newsletter-form input:focus {
    outline: none;
    border-color: rgba(162, 89, 255, 0.34);
    box-shadow: 0 0 0 4px rgba(162, 89, 255, 0.1);
}

.sw-newsletter-card .sw-newsletter-form button {
    min-height: 52px;
    border: 0;
    border-radius: 999px;
    background: linear-gradient(135deg, #ff7069, #a259ff);
    color: #ffffff;
    padding: 0 22px;
    font-size: 14px;
    font-weight: 900;
    cursor: pointer;
    box-shadow: 0 16px 34px rgba(162, 89, 255, 0.2);
}

.sw-newsletter-card .sw-newsletter-message {
    grid-column: 1 / -1;
    min-height: 20px;
    margin: 0;
    color: #475467;
    font-size: 13px;
}

.sw-newsletter-note {
    display: flex;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 14px;
}

.sw-newsletter-note span {
    border: 1px solid rgba(16, 24, 40, 0.08);
    border-radius: 999px;
    background: #ffffff;
    color: #475467;
    padding: 7px 10px;
    font-size: 12px;
    font-weight: 800;
}

@media (max-width: 980px) {
    .sw-homepage .lw-hero-grid {
        grid-template-columns: 1fr !important;
    }

    .sw-homepage .sw-hero-preview {
        min-height: 420px !important;
    }

    .sw-story-steps {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 720px) {
    .sw-homepage .sw-hero {
        padding-block: 52px 42px !important;
        background-size: 34px 34px, 34px 34px, auto, auto, auto !important;
    }

    .sw-homepage .lw-hero-title {
        font-size: clamp(38px, 12vw, 52px) !important;
    }

    .sw-hero-proof {
        grid-template-columns: 1fr;
    }

    .sw-hero-proof span {
        min-height: 64px;
    }

    .sw-homepage .sw-hero-preview {
        min-height: 330px !important;
    }

    .sw-hero-map-card {
        position: relative;
        right: auto;
        bottom: auto;
        width: 100%;
        margin-top: 14px;
    }

    .sw-home-story {
        padding-block: 44px !important;
    }

    .sw-story-steps {
        display: flex;
        gap: 12px;
        overflow-x: auto;
        padding-bottom: 8px;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x proximity;
    }

    .sw-story-steps a {
        flex: 0 0 78%;
        min-height: 190px;
        scroll-snap-align: start;
    }

    .sw-homepage .lw-subject-hubs,
    .sw-homepage .lw-activity-hubs,
    .sw-resource-type-grid {
        display: flex !important;
        gap: 12px !important;
        overflow-x: auto !important;
        padding-bottom: 8px;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x proximity;
    }

    .sw-homepage .lw-subject-hub-card,
    .sw-homepage .lw-activity-card,
    .sw-resource-type-card {
        flex: 0 0 76%;
        min-height: 165px !important;
        scroll-snap-align: start;
    }

    .sw-newsletter-home {
        padding-block: 48px !important;
    }

    .sw-newsletter-shell {
        min-height: 0;
    }

    .sw-newsletter-pattern {
        display: none;
    }

    .sw-newsletter-card {
        border-radius: 22px;
        padding: 26px 18px;
    }

    .sw-newsletter-card .sw-newsletter-form {
        grid-template-columns: 1fr;
        width: 100%;
    }

    .sw-newsletter-card .sw-newsletter-form button {
        width: 100%;
    }
}

/* Compact footer newsletter placement */
.sw-newsletter-footer {
    min-height: 0 !important;
    padding: clamp(42px, 6vw, 72px) var(--sw-page-gutter, 24px) !important;
}

.sw-newsletter-footer .sw-newsletter-shell {
    min-height: 0 !important;
}

.sw-newsletter-footer .sw-newsletter-card {
    width: min(100%, 720px);
    padding: clamp(24px, 4vw, 38px);
}

.sw-newsletter-footer .sw-newsletter-card h2 {
    max-width: 620px;
    font-size: clamp(28px, 3.5vw, 42px);
}

.sw-newsletter-footer .sw-newsletter-card > p {
    max-width: 560px;
    margin-top: 10px;
}

.sw-newsletter-footer .sw-newsletter-form {
    margin-top: 20px !important;
}

.sw-newsletter-footer .sw-newsletter-pattern {
    width: 210px;
    height: 130px;
}

.sw-newsletter-footer .sw-newsletter-note {
    margin-top: 12px;
}

@media (max-width: 720px) {
    .sw-newsletter-footer {
        padding-block: 36px !important;
    }
}

/* Global pre-footer newsletter: full-width learning canvas, centered minimal box */
.sw-newsletter-global {
    position: relative !important;
    width: 100% !important;
    max-width: none !important;
    min-height: 132px !important;
    display: grid !important;
    place-items: center !important;
    margin: 0 !important;
    overflow: hidden !important;
    padding: 18px var(--sw-page-gutter, 24px) !important;
    background:
        radial-gradient(circle at 14% 46%, rgba(255, 112, 105, 0.14), transparent 18rem),
        radial-gradient(circle at 84% 50%, rgba(36, 183, 232, 0.17), transparent 19rem),
        linear-gradient(135deg, #fffaf7 0%, #fbf7ff 48%, #effbff 100%) !important;
    isolation: isolate;
}

.sw-newsletter-global::before,
.sw-newsletter-global::after {
    content: "" !important;
    position: absolute !important;
    z-index: -1 !important;
    pointer-events: none !important;
}

.sw-newsletter-global::before {
    inset: 0 !important;
    background:
        linear-gradient(90deg, rgba(255, 255, 255, 0.42) 1px, transparent 1px),
        linear-gradient(180deg, rgba(255, 255, 255, 0.36) 1px, transparent 1px) !important;
    background-size: 30px 30px !important;
    opacity: 0.68 !important;
}

.sw-newsletter-global::after {
    width: min(84%, 980px) !important;
    height: 1px !important;
    left: 50% !important;
    bottom: 0 !important;
    transform: translateX(-50%) !important;
    background: linear-gradient(90deg, transparent, rgba(16, 24, 40, 0.1), transparent) !important;
}

.sw-newsletter-global .sw-newsletter-shell {
    position: relative !important;
    width: 100% !important;
    min-height: 0 !important;
    display: grid !important;
    place-items: center !important;
    margin-inline: auto !important;
}

.sw-newsletter-global .sw-newsletter-note,
.sw-newsletter-global .sw-eyebrow,
.sw-newsletter-global .sw-newsletter-card > p {
    display: none !important;
}

.sw-newsletter-global .sw-newsletter-pattern {
    position: absolute !important;
    display: block !important;
    z-index: -1 !important;
    width: 190px !important;
    height: 86px !important;
    border: 1px solid rgba(255, 255, 255, 0.7) !important;
    border-radius: 22px !important;
    background:
        linear-gradient(90deg, rgba(255, 255, 255, 0.48) 1px, transparent 1px),
        linear-gradient(180deg, rgba(255, 255, 255, 0.48) 1px, transparent 1px),
        rgba(255, 255, 255, 0.22) !important;
    background-size: 18px 18px !important;
    box-shadow: 0 18px 44px rgba(16, 24, 40, 0.06) !important;
    pointer-events: none !important;
}

.sw-newsletter-global .sw-newsletter-pattern-one {
    left: clamp(18px, 8vw, 130px) !important;
    top: 50% !important;
    transform: translateY(-50%) rotate(-6deg) !important;
}

.sw-newsletter-global .sw-newsletter-pattern-two {
    right: clamp(18px, 8vw, 130px) !important;
    top: 50% !important;
    transform: translateY(-50%) rotate(6deg) !important;
}

.sw-newsletter-global .sw-newsletter-shell::before,
.sw-newsletter-global .sw-newsletter-shell::after {
    content: "" !important;
    position: absolute !important;
    z-index: -1 !important;
    width: 44px !important;
    height: 44px !important;
    border-radius: 16px !important;
    opacity: 0.74 !important;
    pointer-events: none !important;
}

.sw-newsletter-global .sw-newsletter-shell::before {
    left: clamp(42px, 16vw, 280px) !important;
    bottom: 6px !important;
    background: linear-gradient(135deg, rgba(19, 199, 132, 0.18), rgba(36, 183, 232, 0.16)) !important;
}

.sw-newsletter-global .sw-newsletter-shell::after {
    right: clamp(42px, 15vw, 270px) !important;
    top: 6px !important;
    background: linear-gradient(135deg, rgba(255, 112, 105, 0.18), rgba(162, 89, 255, 0.16)) !important;
}

.sw-newsletter-global .sw-newsletter-card {
    position: relative !important;
    width: min(100%, 760px) !important;
    min-height: 78px !important;
    display: grid !important;
    grid-template-columns: minmax(230px, 300px) minmax(280px, 390px) !important;
    align-items: center !important;
    justify-content: center !important;
    justify-items: center !important;
    gap: clamp(14px, 3vw, 34px) !important;
    border: 1px solid rgba(255, 255, 255, 0.78) !important;
    border-radius: 26px !important;
    background: rgba(255, 255, 255, 0.86) !important;
    margin-inline: auto !important;
    padding: 14px clamp(16px, 3vw, 24px) !important;
    text-align: center !important;
    box-shadow: 0 24px 70px rgba(16, 24, 40, 0.12) !important;
    backdrop-filter: blur(18px);
}

.sw-newsletter-global .sw-newsletter-card::before {
    content: "";
    position: absolute;
    inset: 6px;
    z-index: -1;
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: 20px;
    pointer-events: none;
}

.sw-newsletter-global .sw-newsletter-card h2 {
    width: 100% !important;
    max-width: 300px !important;
    margin: 0 !important;
    color: #101828 !important;
    font-size: clamp(19px, 2vw, 27px) !important;
    line-height: 1.08 !important;
    font-weight: 920 !important;
    letter-spacing: 0 !important;
    text-align: center !important;
}

.sw-newsletter-global .sw-newsletter-form {
    width: 100% !important;
    max-width: 390px !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    gap: 8px !important;
    margin: 0 !important;
    justify-self: center !important;
}

.sw-newsletter-global .sw-newsletter-card > *,
.sw-newsletter-global .sw-newsletter-form > * {
    min-width: 0 !important;
}

.sw-newsletter-global .sw-newsletter-form label {
    display: block !important;
    margin: 0 !important;
}

.sw-newsletter-global .sw-newsletter-form label span {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    clip: rect(0 0 0 0) !important;
}

.sw-newsletter-global .sw-newsletter-form input {
    width: 100% !important;
    min-height: 40px !important;
    border: 1px solid rgba(16, 24, 40, 0.1) !important;
    border-radius: 999px !important;
    background: #ffffff !important;
    padding: 0 14px !important;
    font-size: 14px !important;
}

.sw-newsletter-global .sw-newsletter-form button {
    min-height: 40px !important;
    border: 0 !important;
    border-radius: 999px !important;
    background: linear-gradient(135deg, #ff7069, #a259ff) !important;
    color: #ffffff !important;
    padding: 0 16px !important;
    font-size: 13px !important;
    font-weight: 900 !important;
    white-space: nowrap !important;
    cursor: pointer !important;
}

.sw-newsletter-global .sw-newsletter-message {
    grid-column: 1 / -1 !important;
    min-height: 0 !important;
    margin: -2px 0 0 !important;
    font-size: 11px !important;
    line-height: 1.2 !important;
    text-align: center !important;
}

@media (max-width: 820px) {
    .sw-newsletter-global {
        min-height: 150px !important;
        padding-block: 16px !important;
    }

    .sw-newsletter-global .sw-newsletter-pattern {
        opacity: 0.32 !important;
    }

    .sw-newsletter-global .sw-newsletter-card {
        min-height: 104px !important;
        grid-template-columns: 1fr !important;
        gap: 9px !important;
        padding: 14px !important;
    }

    .sw-newsletter-global .sw-newsletter-card h2 {
        max-width: 520px !important;
        font-size: 19px !important;
    }

    .sw-newsletter-global .sw-newsletter-form {
        max-width: 520px !important;
    }
}

@media (max-width: 520px) {
    .sw-newsletter-global .sw-newsletter-pattern,
    .sw-newsletter-global .sw-newsletter-shell::before,
    .sw-newsletter-global .sw-newsletter-shell::after {
        display: none !important;
    }

    .sw-newsletter-global .sw-newsletter-card h2 {
        font-size: 17px !important;
    }

    .sw-newsletter-global .sw-newsletter-form {
        grid-template-columns: 1fr auto !important;
    }

    .sw-newsletter-global .sw-newsletter-form input,
    .sw-newsletter-global .sw-newsletter-form button {
        min-height: 38px !important;
        font-size: 12px !important;
    }
}

/* Archive infinite scroll and load more */
.sw-load-more-wrap {
    display: grid;
    place-items: center;
    gap: 10px;
    width: 100%;
    margin: clamp(24px, 4vw, 42px) auto 0;
}

.sw-load-more-button {
    min-height: 48px;
    min-width: min(100%, 240px);
    border: 1px solid rgba(16, 24, 40, 0.1);
    border-radius: 999px;
    background: #ffffff;
    color: #101828;
    padding: 0 22px;
    font-size: 14px;
    font-weight: 900;
    cursor: pointer;
    box-shadow: 0 14px 36px rgba(16, 24, 40, 0.08);
    transition:
        transform 160ms ease,
        border-color 160ms ease,
        background-color 160ms ease,
        color 160ms ease,
        box-shadow 160ms ease;
}

.sw-load-more-button:hover {
    transform: translateY(-2px);
    border-color: rgba(162, 89, 255, 0.24);
    background: #fbf8ff;
    color: #6d28d9;
    box-shadow: 0 18px 48px rgba(162, 89, 255, 0.14);
}

.sw-load-more-button:disabled {
    cursor: default;
    opacity: 0.72;
    transform: none;
}

.sw-load-more-wrap.is-loading .sw-load-more-button {
    background:
        linear-gradient(90deg, #ffffff, #fbf8ff, #ffffff);
    background-size: 220% 100%;
    animation: swLoadPulse 1.25s linear infinite;
}

.sw-load-more-status {
    min-height: 18px;
    margin: 0;
    color: #667085;
    font-size: 13px;
    text-align: center;
}

.sw-load-more-wrap.is-complete .sw-load-more-button {
    border-color: rgba(16, 24, 40, 0.08);
    background: #f8fafc;
    color: #667085;
    box-shadow: none;
}

@keyframes swLoadPulse {
    0% {
        background-position: 0 0;
    }

    100% {
        background-position: -220% 0;
    }
}

@media (max-width: 720px) {
    .sw-load-more-button {
        width: 100%;
    }
}

/* Professional WooCommerce single product structure */
.sw-product-page-pro {
    padding-bottom: 92px;
}

.sw-product-page-pro .grid-container {
    width: min(100% - var(--sw-page-gutter), var(--sw-page-width)) !important;
    max-width: var(--sw-page-width) !important;
}

.sw-product-overview {
    display: grid;
    grid-template-columns: minmax(0, 1.04fr) minmax(360px, 0.72fr);
    gap: clamp(28px, 4.6vw, 64px);
    align-items: start;
    padding: clamp(18px, 3vw, 34px) 0 clamp(42px, 6vw, 78px);
}

.sw-product-gallery-column {
    min-width: 0;
}

.sw-product-gallery-shell {
    position: sticky;
    top: 92px;
}

.sw-product-gallery-shell .onsale {
    position: absolute;
    z-index: 2;
    top: 14px;
    left: 14px;
    min-height: 32px;
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    background: #fff5f0;
    color: #c2410c;
    padding: 0 12px;
    font-size: 12px;
    font-weight: 850;
    line-height: 1;
}

.sw-product-page-pro .sw-product-gallery {
    width: 100% !important;
    max-width: none !important;
    border: 1px solid rgba(16, 24, 40, 0.08) !important;
    border-radius: 8px !important;
    background:
        radial-gradient(circle at 12% 10%, rgba(36, 183, 232, 0.08), transparent 22rem),
        #ffffff !important;
    padding: clamp(12px, 2vw, 20px) !important;
}

.sw-product-single .sw-product-gallery .woocommerce-product-gallery {
    width: 100% !important;
    max-width: 620px !important;
}

.sw-product-single .sw-product-gallery .flex-viewport {
    border-radius: 8px;
    background: #fff;
}

.sw-product-single .sw-product-gallery .woocommerce-product-gallery__image img {
    max-height: 640px !important;
    border-radius: 8px !important;
}

.sw-product-single .sw-product-gallery .flex-control-thumbs {
    justify-content: flex-start !important;
    gap: 12px !important;
    margin-top: 14px !important;
    overflow-x: auto;
    scrollbar-width: thin;
}

.sw-product-single .sw-product-gallery .flex-control-thumbs li {
    flex: 0 0 68px;
    width: 68px !important;
}

.sw-product-single .sw-product-gallery .flex-control-thumbs img {
    width: 68px !important;
    height: 68px !important;
    border: 1px solid rgba(16, 24, 40, 0.08);
    border-radius: 8px !important;
    opacity: 0.72;
    transition:
        opacity 160ms ease,
        border-color 160ms ease,
        transform 160ms ease;
}

.sw-product-single .sw-product-gallery .flex-control-thumbs img.flex-active,
.sw-product-single .sw-product-gallery .flex-control-thumbs img:hover {
    border-color: rgba(17, 24, 39, 0.28);
    opacity: 1;
    transform: translateY(-1px);
}

.sw-product-buybox {
    min-width: 0;
    border: 1px solid rgba(16, 24, 40, 0.08);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.92);
    padding: clamp(20px, 3vw, 30px);
    box-shadow: 0 20px 54px rgba(16, 24, 40, 0.06);
}

.sw-product-kickers {
    margin-bottom: 14px;
}

.sw-product-page-pro .lw-single-title {
    max-width: 680px;
    margin: 0;
    font-size: clamp(30px, 4vw, 48px);
    line-height: 1.05;
    letter-spacing: 0;
}

.sw-product-subtitle {
    margin: 12px 0 0;
    color: #667085;
    font-size: 15px;
    line-height: 1.65;
}

.sw-product-rating-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 16px;
    color: #475467;
    font-size: 13px;
    font-weight: 760;
}

.sw-product-rating-row .star-rating {
    float: none;
    margin: 0;
    color: #f59e0b;
}

.sw-product-rating-row a {
    color: #344054;
    font-weight: 780;
    text-decoration: none;
}

.sw-rating-empty {
    display: inline-flex;
    min-height: 32px;
    align-items: center;
    border: 1px solid rgba(16, 24, 40, 0.08);
    border-radius: 999px;
    background: #f8fafc;
    padding: 0 12px;
}

.sw-product-price-block {
    display: grid;
    gap: 8px;
    margin-top: 18px;
    padding: 18px 0;
    border-top: 1px solid rgba(16, 24, 40, 0.08);
    border-bottom: 1px solid rgba(16, 24, 40, 0.08);
}

.sw-product-price {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    color: #111827;
    font-size: 26px;
    font-weight: 850;
    line-height: 1.15;
}

.sw-product-price del {
    color: #98a2b3;
    font-size: 16px;
    font-weight: 650;
}

.sw-product-price ins {
    color: #111827;
    text-decoration: none;
}

.sw-discount-pill {
    width: fit-content;
    min-height: 30px;
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    background: #ecfdf3;
    color: #027a48;
    padding: 0 11px;
    font-size: 12px;
    font-weight: 850;
}

.sw-product-price-block p {
    margin: 0;
    color: #667085;
    font-size: 13px;
    line-height: 1.55;
}

.sw-product-purchase-panel {
    display: grid;
    gap: 14px;
    margin-top: 20px;
}

.sw-purchase-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    color: #667085;
    font-size: 13px;
}

.sw-purchase-heading strong {
    color: #101828;
    font-size: 13px;
}

.sw-product-single .sw-product-cart-actions form.cart {
    max-width: none !important;
}

.sw-product-single .sw-product-cart-actions form.cart:not(.variations_form) {
    display: flex !important;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.sw-product-single .sw-product-cart-actions .quantity input.qty {
    width: 72px !important;
    min-height: 52px !important;
    border-radius: 8px !important;
}

.sw-product-single .sw-product-cart-actions .single_add_to_cart_button {
    flex: 1 1 210px;
    min-height: 52px !important;
    border-radius: 8px !important;
}

.sw-wishlist-button {
    min-height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 1px solid rgba(16, 24, 40, 0.1);
    border-radius: 8px;
    background: #ffffff;
    color: #344054;
    padding: 0 16px;
    font-size: 14px;
    font-weight: 820;
    cursor: pointer;
    transition:
        border-color 160ms ease,
        background-color 160ms ease,
        color 160ms ease,
        transform 160ms ease;
}

.sw-wishlist-button:hover,
.sw-wishlist-button.is-active {
    transform: translateY(-1px);
    border-color: rgba(245, 74, 32, 0.24);
    background: #fff7f3;
    color: #c2410c;
}

.sw-delivery-card,
.sw-product-highlights {
    margin-top: 18px;
    border: 1px solid rgba(16, 24, 40, 0.08);
    border-radius: 8px;
    background: #f8fafc;
    padding: 16px;
}

.sw-delivery-card strong,
.sw-product-highlights strong {
    display: block;
    color: #101828;
    font-size: 14px;
    font-weight: 850;
}

.sw-delivery-card p,
.sw-delivery-card small {
    display: block;
    margin: 6px 0 0;
    color: #667085;
    font-size: 13px;
    line-height: 1.55;
}

.sw-delivery-mini-form {
    display: flex;
    gap: 8px;
    margin-top: 12px;
}

.sw-delivery-mini-form input {
    min-width: 0;
    flex: 1;
    min-height: 42px;
    border: 1px solid rgba(16, 24, 40, 0.1);
    border-radius: 8px;
    background: #ffffff;
    padding: 0 12px;
}

.sw-delivery-mini-form button {
    min-height: 42px;
    border: 0;
    border-radius: 8px;
    background: #111827;
    color: #ffffff;
    padding: 0 14px;
    font-size: 13px;
    font-weight: 820;
}

.sw-product-highlights ul {
    display: grid;
    gap: 8px;
    margin: 12px 0 0;
    padding-left: 18px;
    color: #475467;
    font-size: 13px;
    line-height: 1.5;
}

.sw-product-buybox .product_meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 12px;
    margin-top: 16px;
    color: #667085;
    font-size: 12px;
}

.sw-product-detail-accordions,
.sw-product-trust-section,
.sw-product-page-pro .sw-related-section {
    padding: clamp(34px, 5vw, 62px) 0;
    border-top: 1px solid rgba(16, 24, 40, 0.07);
}

.sw-accordion-list {
    display: grid;
    gap: 10px;
    max-width: 980px;
}

.sw-product-accordion {
    border: 1px solid rgba(16, 24, 40, 0.08);
    border-radius: 8px;
    background: #ffffff;
    overflow: hidden;
}

.sw-product-accordion summary {
    min-height: 58px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 0 18px;
    color: #101828;
    font-size: 15px;
    font-weight: 850;
    cursor: pointer;
    list-style: none;
}

.sw-product-accordion summary::-webkit-details-marker {
    display: none;
}

.sw-product-accordion summary::after {
    content: "+";
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: #f2f4f7;
    color: #475467;
    font-weight: 850;
}

.sw-product-accordion[open] summary::after {
    content: "-";
}

.sw-accordion-content {
    padding: 0 18px 18px;
    color: #475467;
    font-size: 14px;
    line-height: 1.72;
}

.sw-accordion-content > *:first-child {
    margin-top: 0;
}

.sw-specification-table table {
    width: 100%;
    margin: 0;
    border: 0;
}

.sw-specification-table th,
.sw-specification-table td {
    border: 0;
    border-bottom: 1px solid rgba(16, 24, 40, 0.07);
    padding: 10px 0;
    text-align: left;
}

.sw-specification-table th {
    width: 34%;
    color: #667085;
    font-weight: 780;
}

.sw-product-trust-section {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.sw-trust-card {
    border: 1px solid rgba(16, 24, 40, 0.08);
    border-radius: 8px;
    background:
        radial-gradient(circle at 88% 10%, rgba(19, 201, 130, 0.08), transparent 12rem),
        #ffffff;
    padding: 18px;
}

.sw-trust-card span {
    display: block;
    color: #667085;
    font-size: 11px;
    font-weight: 850;
    text-transform: uppercase;
}

.sw-trust-card strong {
    display: block;
    margin-top: 8px;
    color: #101828;
    font-size: 17px;
    line-height: 1.22;
}

.sw-trust-card p {
    margin: 8px 0 0;
    color: #667085;
    font-size: 13px;
    line-height: 1.6;
}

.sw-product-reco-grid {
    margin-top: 20px;
}

.sw-mobile-cart-bar {
    position: fixed;
    z-index: 80;
    right: 14px;
    bottom: 14px;
    left: 14px;
    display: none;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    border: 1px solid rgba(16, 24, 40, 0.08);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.96);
    padding: 10px;
    box-shadow: 0 18px 48px rgba(16, 24, 40, 0.16);
    backdrop-filter: blur(16px);
}

.sw-mobile-cart-bar div {
    min-width: 0;
}

.sw-mobile-cart-bar span {
    display: block;
    overflow: hidden;
    color: #475467;
    font-size: 12px;
    font-weight: 760;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.sw-mobile-cart-bar strong {
    display: block;
    color: #101828;
    font-size: 14px;
    line-height: 1.2;
}

.sw-mobile-cart-bar .lw-btn {
    flex: 0 0 auto;
    min-height: 44px;
    border-radius: 8px !important;
    padding-inline: 16px;
}

@media (max-width: 1040px) {
    .sw-product-overview {
        grid-template-columns: 1fr;
    }

    .sw-product-gallery-shell {
        position: relative;
        top: auto;
    }

    .sw-product-buybox {
        padding: 22px;
    }

    .sw-product-trust-section {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 720px) {
    .sw-product-page-pro .grid-container {
        width: min(100% - 28px, var(--sw-page-width)) !important;
    }

    .sw-product-overview {
        gap: 22px;
        padding-top: 14px;
    }

    .sw-product-page-pro .sw-product-gallery {
        padding: 10px !important;
    }

    .sw-product-single .sw-product-gallery .woocommerce-product-gallery__image img {
        max-height: 500px !important;
    }

    .sw-product-buybox {
        border-radius: 8px;
        padding: 18px;
    }

    .sw-product-page-pro .lw-single-title {
        font-size: clamp(28px, 10vw, 38px);
    }

    .sw-product-single .sw-product-cart-actions form.cart:not(.variations_form),
    .sw-product-single .sw-product-cart-actions .woocommerce-variation-add-to-cart {
        align-items: stretch !important;
        display: grid !important;
        grid-template-columns: 78px minmax(0, 1fr);
    }

    .sw-product-single .sw-product-cart-actions .single_add_to_cart_button {
        width: 100%;
    }

    .sw-delivery-mini-form {
        display: grid;
        grid-template-columns: 1fr auto;
    }

    .sw-product-trust-section {
        grid-template-columns: 1fr;
    }

    .sw-mobile-cart-bar {
        display: flex;
    }

    body.single-product {
        padding-bottom: 76px;
    }
}

@media (max-width: 420px) {
    .sw-product-single .sw-product-cart-actions form.cart:not(.variations_form),
    .sw-product-single .sw-product-cart-actions .woocommerce-variation-add-to-cart {
        grid-template-columns: 1fr;
    }

    .sw-product-single .sw-product-cart-actions .quantity input.qty {
        width: 100% !important;
    }
}

/* Flat, image-led single product correction */
body.single-product {
    background: #ffffff;
}

.sw-product-single-page,
.sw-product-page-pro,
.sw-product-page-pro.lw-single-wrap {
    background: #ffffff !important;
}

.sw-product-page-pro {
    padding-bottom: 72px;
}

.sw-product-page-pro .grid-container {
    width: min(100% - var(--sw-page-gutter), var(--sw-wide-width)) !important;
    max-width: var(--sw-wide-width) !important;
}

.sw-product-overview {
    grid-template-columns: minmax(0, 64fr) minmax(320px, 36fr) !important;
    gap: clamp(30px, 4.2vw, 62px) !important;
    align-items: start;
    padding: clamp(18px, 3vw, 34px) 0 clamp(38px, 5vw, 64px) !important;
}

.sw-product-gallery-shell {
    position: sticky;
    top: 84px;
}

.sw-product-page-pro .sw-product-gallery,
.sw-single-product .lw-single-preview,
.sw-product-single .sw-product-gallery .woocommerce-product-gallery,
.sw-product-single .sw-product-gallery .flex-viewport,
.sw-product-single .sw-product-gallery .woocommerce-product-gallery__wrapper,
.sw-product-single .sw-product-gallery .woocommerce-product-gallery__image {
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

.sw-product-page-pro .sw-product-gallery {
    width: 100% !important;
    max-width: none !important;
    padding: 0 !important;
    overflow: visible !important;
}

.sw-product-single .sw-product-gallery .woocommerce-product-gallery {
    display: grid !important;
    grid-template-columns: 82px minmax(0, 1fr);
    gap: 18px;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
}

.sw-product-single .sw-product-gallery .woocommerce-product-gallery:not(:has(.flex-control-thumbs)) {
    display: block !important;
}

.sw-product-single .sw-product-gallery .flex-viewport,
.sw-product-single .sw-product-gallery .woocommerce-product-gallery__wrapper {
    grid-column: 2;
    grid-row: 1;
    width: 100% !important;
    min-width: 0;
}

.sw-product-single .sw-product-gallery .flex-viewport .woocommerce-product-gallery__wrapper {
    transform: none !important;
}

.sw-product-single .sw-product-gallery .flex-viewport .woocommerce-product-gallery__image.flex-active-slide {
    display: block !important;
    position: relative !important;
    left: auto !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.sw-product-single .sw-product-gallery .flex-control-thumbs {
    grid-column: 1;
    grid-row: 1;
    display: flex !important;
    flex-direction: column;
    flex-wrap: nowrap !important;
    gap: 12px !important;
    align-self: start;
    max-height: calc(100vh - 128px);
    margin: 0 !important;
    overflow: auto;
    padding: 0 !important;
}

.sw-product-single .sw-product-gallery .flex-control-thumbs li {
    flex: 0 0 auto;
    width: 82px !important;
    margin: 0 !important;
}

.sw-product-single .sw-product-gallery .flex-control-thumbs img {
    width: 82px !important;
    height: 104px !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: #f8fafc;
    object-fit: cover !important;
    opacity: 0.68;
}

.sw-product-single .sw-product-gallery .flex-control-thumbs img.flex-active,
.sw-product-single .sw-product-gallery .flex-control-thumbs img:hover {
    opacity: 1;
    transform: none;
    outline: 2px solid #111827;
    outline-offset: -2px;
}

.sw-product-single .sw-product-gallery .woocommerce-product-gallery__image img:not(.zoomImg):not(.emoji),
.sw-single-product .lw-single-preview img:not(.zoomImg):not(.emoji) {
    width: 100% !important;
    max-width: none !important;
    height: auto !important;
    max-height: none !important;
    min-height: clamp(620px, 72vw, 920px) !important;
    border-radius: 0 !important;
    object-fit: cover !important;
    object-position: center top;
}

.sw-product-single .sw-product-gallery .woocommerce-product-gallery__trigger {
    z-index: 5;
}

.sw-product-single .sw-product-gallery .woocommerce-product-gallery__trigger img {
    display: inline !important;
    width: 1em !important;
    min-width: 0 !important;
    max-width: 1em !important;
    height: 1em !important;
    min-height: 0 !important;
    max-height: 1em !important;
    margin: 0 !important;
    object-fit: contain !important;
}

.sw-product-single .sw-product-gallery .zoomImg {
    display: none !important;
    opacity: 0 !important;
    pointer-events: none !important;
    visibility: hidden !important;
}

.sw-product-gallery-shell .onsale {
    top: 12px !important;
    left: 112px !important;
    width: auto !important;
    min-width: 0 !important;
    min-height: 32px !important;
    height: 32px !important;
    line-height: 1 !important;
    padding: 0 12px !important;
    border-radius: 0 !important;
    background: #ffffff !important;
    color: #c2410c !important;
    box-shadow: none !important;
    transform: none !important;
}

.sw-product-gallery-shell:has(.woocommerce-product-gallery:not(:has(.flex-control-thumbs))) .onsale {
    left: 12px !important;
}

.sw-product-buybox {
    position: sticky;
    top: 84px;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    padding: 4px 0 0 !important;
}

.sw-product-kickers {
    gap: 8px !important;
    margin-bottom: 12px;
}

.sw-product-kickers .lw-chip {
    min-height: 28px;
    border-radius: 0;
    background: #f8fafc;
}

.sw-product-page-pro .lw-single-title {
    font-size: clamp(24px, 2.4vw, 34px) !important;
    line-height: 1.16;
}

.sw-product-subtitle {
    max-width: 500px;
    margin-top: 8px;
}

.sw-product-rating-row {
    width: fit-content;
    min-height: 34px;
    border: 1px solid rgba(16, 24, 40, 0.1);
    padding: 0 10px;
}

.sw-product-price-block {
    margin-top: 18px;
    padding: 18px 0;
    border-top: 1px solid rgba(16, 24, 40, 0.1);
    border-bottom: 1px solid rgba(16, 24, 40, 0.1);
}

.sw-product-price {
    font-size: 24px;
}

.sw-discount-pill {
    border-radius: 0;
}

.sw-product-availability {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 14px;
    color: #475467;
    font-size: 13px;
}

.sw-product-availability strong {
    color: #15803d;
    font-size: 13px;
    font-weight: 850;
}

.sw-product-purchase-panel {
    margin-top: 18px;
    padding-top: 2px;
}

.sw-product-single .sw-product-cart-actions {
    display: block !important;
    width: 100% !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    transition: none !important;
    padding-top: 0 !important;
}

.sw-product-single .sw-product-cart-actions *,
.sw-product-single .sw-product-purchase-panel .sw-wishlist-button,
.sw-product-single .sw-product-purchase-panel .sw-purchase-assurance {
    visibility: visible;
}

.sw-product-single .sw-product-cart-actions form.cart:not(.variations_form),
.sw-product-single .sw-product-cart-actions .woocommerce-variation-add-to-cart {
    display: grid !important;
    grid-template-columns: 72px minmax(0, 1fr) minmax(0, 1fr);
    gap: 10px !important;
    width: 100%;
}

.sw-product-single .sw-product-cart-actions .quantity input.qty,
.sw-product-single .sw-product-cart-actions .single_add_to_cart_button,
.sw-product-single .sw-product-cart-actions .sw-buy-now-button,
.sw-wishlist-button,
.sw-delivery-mini-form input,
.sw-delivery-mini-form button {
    border-radius: 0 !important;
}

.sw-product-single .sw-product-cart-actions .single_add_to_cart_button,
.sw-product-single .sw-product-cart-actions button.single_add_to_cart_button.button.alt,
.sw-product-single .sw-product-cart-actions .sw-buy-now-button {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    min-height: 56px !important;
    border: 0 !important;
    background: linear-gradient(135deg, #c59a4a, #9f6b25) !important;
    color: #ffffff !important;
    font-size: 15px !important;
    font-weight: 850 !important;
    text-transform: none !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.sw-product-single .sw-product-cart-actions .sw-buy-now-button {
    border: 1px solid #111827 !important;
    background: #ffffff !important;
    color: #111827 !important;
    width: 100%;
}

.sw-product-single .sw-product-cart-actions .sw-buy-now-button:hover,
.sw-product-single .sw-product-cart-actions .sw-buy-now-button.is-loading {
    background: #f8fafc !important;
    color: #111827 !important;
}

.sw-product-single .sw-product-cart-actions .single_add_to_cart_button.disabled,
.sw-product-single .sw-product-cart-actions .single_add_to_cart_button:disabled,
.sw-product-single .sw-product-cart-actions .sw-buy-now-button:disabled {
    opacity: 0.72 !important;
}

.sw-product-single .sw-product-cart-actions .single_add_to_cart_button,
.sw-product-single .sw-product-cart-actions .sw-buy-now-button {
    min-width: 0 !important;
    font-size: 15px !important;
    line-height: 1.2 !important;
    white-space: nowrap !important;
}

.sw-product-single .sw-product-cart-actions .single_add_to_cart_button::before {
    content: none !important;
}

.sw-product-single .sw-product-cart-actions table.variations {
    margin-bottom: 12px !important;
}

.sw-product-single .sw-product-cart-actions table.variations label::after {
    content: "";
}

.sw-product-single .sw-product-cart-actions table.variations select {
    min-height: 48px !important;
    border-color: rgba(16, 24, 40, 0.16) !important;
}

.sw-product-single .sw-product-cart-actions .woocommerce-variation-availability {
    display: none !important;
}

.sw-product-single .sw-product-cart-actions form.cart:not(.variations_form) > input[type="hidden"],
.sw-product-single .sw-product-cart-actions .woocommerce-variation-add-to-cart > input[type="hidden"] {
    display: none !important;
}

.sw-product-single .sw-product-cart-actions form.cart:not(.variations_form) > .quantity,
.sw-product-single .sw-product-cart-actions .woocommerce-variation-add-to-cart > .quantity {
    grid-column: 1 !important;
    grid-row: 1 !important;
    width: 72px !important;
    min-width: 72px !important;
}

.sw-product-single .sw-product-cart-actions form.cart:not(.variations_form) > .quantity input.qty,
.sw-product-single .sw-product-cart-actions .woocommerce-variation-add-to-cart > .quantity input.qty {
    width: 72px !important;
    min-width: 72px !important;
}

.sw-product-single .sw-product-cart-actions form.cart:not(.variations_form) > .single_add_to_cart_button,
.sw-product-single .sw-product-cart-actions .woocommerce-variation-add-to-cart > .single_add_to_cart_button {
    grid-column: 2 !important;
    grid-row: 1 !important;
    width: 100% !important;
    flex: none !important;
}

.sw-product-single .sw-product-cart-actions form.cart:not(.variations_form) > .sw-buy-now-button,
.sw-product-single .sw-product-cart-actions .woocommerce-variation-add-to-cart > .sw-buy-now-button {
    grid-column: 3 !important;
    grid-row: 1 !important;
    width: 100% !important;
    flex: none !important;
}

.sw-wishlist-button {
    width: 100%;
    border-color: rgba(16, 24, 40, 0.14);
    font-size: 14px;
    font-weight: 850;
}

.sw-purchase-assurance {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 12px;
    margin-top: 12px;
    color: #667085;
    font-size: 12px;
    font-weight: 760;
}

.sw-purchase-assurance span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.sw-purchase-assurance span::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: #16a34a;
}

.sw-delivery-card,
.sw-product-highlights {
    border: 0;
    border-top: 1px solid rgba(16, 24, 40, 0.1);
    border-radius: 0;
    background: transparent;
    padding: 18px 0 0;
}

.sw-product-highlights ul {
    gap: 7px;
}

.sw-product-buybox .product_meta {
    border-top: 1px solid rgba(16, 24, 40, 0.1);
    padding-top: 14px;
}

.sw-product-detail-accordions,
.sw-product-trust-section,
.sw-product-page-pro .sw-related-section {
    border-top: 1px solid rgba(16, 24, 40, 0.08);
    padding: clamp(34px, 5vw, 58px) 0;
}

.sw-accordion-list {
    max-width: 100%;
}

.sw-product-accordion {
    border: 0;
    border-bottom: 1px solid rgba(16, 24, 40, 0.1);
    border-radius: 0;
}

.sw-product-accordion summary {
    padding: 0;
}

.sw-product-accordion summary::after {
    border-radius: 0;
    background: transparent;
}

.sw-accordion-content {
    padding: 0 0 18px;
}

.sw-product-trust-section {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.sw-trust-card {
    border: 0;
    border-radius: 0;
    background: transparent;
    padding: 0;
}

.sw-product-page-pro .sw-related-section {
    background: #ffffff !important;
}

.sw-mobile-cart-bar {
    border-radius: 0;
}

.sw-mobile-cart-actions {
    display: flex;
    flex: 0 0 auto;
    gap: 8px;
}

.sw-mobile-cart-actions .lw-btn,
.sw-mobile-cart-actions .sw-mobile-buy-now {
    min-height: 44px;
    border-radius: 0 !important;
    white-space: nowrap;
}

.sw-mobile-cart-actions .sw-mobile-buy-now {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #111827;
    background: #ffffff;
    color: #111827;
    padding-inline: 14px;
    font-size: 14px;
    font-weight: 850;
}

@media (max-width: 1040px) {
    .sw-product-overview {
        grid-template-columns: 1fr !important;
    }

    .sw-product-gallery-shell,
    .sw-product-buybox {
        position: relative;
        top: auto;
    }

    .sw-product-single .sw-product-gallery .woocommerce-product-gallery__image img:not(.zoomImg):not(.emoji),
    .sw-single-product .lw-single-preview img:not(.zoomImg):not(.emoji) {
        min-height: clamp(520px, 92vw, 760px) !important;
    }
}

@media (max-width: 720px) {
    .sw-product-page-pro .grid-container {
        width: min(100% - 28px, var(--sw-wide-width)) !important;
    }

    .sw-product-single .sw-product-gallery .woocommerce-product-gallery {
        display: block !important;
    }

    .sw-product-single .sw-product-gallery .flex-control-thumbs {
        flex-direction: row;
        gap: 8px !important;
        margin-top: 10px !important;
        max-height: none;
        overflow-x: auto;
    }

    .sw-product-single .sw-product-gallery .flex-control-thumbs li {
        width: 64px !important;
    }

    .sw-product-single .sw-product-gallery .flex-control-thumbs img {
        width: 64px !important;
        height: 78px !important;
    }

    .sw-product-single .sw-product-gallery .woocommerce-product-gallery__image img:not(.zoomImg):not(.emoji),
    .sw-single-product .lw-single-preview img:not(.zoomImg):not(.emoji) {
        min-height: min(124vw, 620px) !important;
    }

    .sw-product-gallery-shell .onsale {
        left: 12px !important;
    }

    .sw-product-buybox {
        padding-top: 2px !important;
    }

    .sw-product-single .sw-product-cart-actions form.cart:not(.variations_form),
    .sw-product-single .sw-product-cart-actions .woocommerce-variation-add-to-cart {
        grid-template-columns: 78px minmax(0, 1fr) minmax(0, 1fr);
    }

    .sw-product-trust-section {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 22px 18px;
    }
}

@media (max-width: 560px) {
    .sw-product-single .sw-product-cart-actions form.cart:not(.variations_form),
    .sw-product-single .sw-product-cart-actions .woocommerce-variation-add-to-cart {
        grid-template-columns: 1fr;
    }

    .sw-product-single .sw-product-cart-actions .single_add_to_cart_button,
    .sw-product-single .sw-product-cart-actions .sw-buy-now-button {
        width: 100%;
        min-width: 0 !important;
    }

    .sw-product-single .sw-product-cart-actions form.cart:not(.variations_form) > .quantity,
    .sw-product-single .sw-product-cart-actions .woocommerce-variation-add-to-cart > .quantity,
    .sw-product-single .sw-product-cart-actions form.cart:not(.variations_form) > .single_add_to_cart_button,
    .sw-product-single .sw-product-cart-actions .woocommerce-variation-add-to-cart > .single_add_to_cart_button,
    .sw-product-single .sw-product-cart-actions form.cart:not(.variations_form) > .sw-buy-now-button,
    .sw-product-single .sw-product-cart-actions .woocommerce-variation-add-to-cart > .sw-buy-now-button {
        grid-column: 1 !important;
        grid-row: auto !important;
        width: 100% !important;
    }

    .sw-product-single .sw-product-cart-actions form.cart:not(.variations_form) > .quantity,
    .sw-product-single .sw-product-cart-actions .woocommerce-variation-add-to-cart > .quantity,
    .sw-product-single .sw-product-cart-actions form.cart:not(.variations_form) > .quantity input.qty,
    .sw-product-single .sw-product-cart-actions .woocommerce-variation-add-to-cart > .quantity input.qty {
        min-width: 0 !important;
        width: 100% !important;
    }

    .sw-mobile-cart-bar {
        align-items: stretch;
        gap: 10px;
    }

    .sw-mobile-cart-actions {
        flex: 1 0 auto;
    }

    .sw-mobile-cart-actions .lw-btn,
    .sw-mobile-cart-actions .sw-mobile-buy-now {
        flex: 1 1 0;
        padding-inline: 10px;
    }

    .sw-product-trust-section {
        grid-template-columns: 1fr;
    }
}

/* Product card cascade lock: all WooCommerce card contexts */
.sw-product-card .sw-card-actions {
    width: 100% !important;
    display: grid !important;
    grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr) !important;
    gap: 8px !important;
    margin: auto 0 0 !important;
    padding-top: 14px !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
}

.sw-product-card .sw-card-actions .lw-btn,
.sw-product-card .sw-card-actions .button,
.sw-product-card .sw-card-actions .add_to_cart_button {
    width: 100% !important;
    min-width: 0 !important;
    min-height: 44px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 0 !important;
    padding: 0 12px !important;
    font-size: 13px !important;
    font-weight: 850 !important;
    line-height: 1.1 !important;
    text-align: center !important;
    white-space: nowrap !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.sw-product-card .sw-card-actions .lw-btn-preview {
    border-color: rgba(74, 57, 43, 0.22) !important;
    background: #fffdf9 !important;
    color: #2b2118 !important;
}

.sw-product-card .sw-card-actions .lw-btn-download,
.sw-product-card .sw-card-actions .add_to_cart_button {
    border-color: #8f6844 !important;
    background: #a67c52 !important;
    background-image: none !important;
    color: #fffdf9 !important;
}

.sw-product-card .lw-card-title {
    min-height: 44px !important;
    color: #101828 !important;
    font-size: 17px !important;
    font-weight: 850 !important;
    line-height: 1.3 !important;
}

.sw-product-card .sw-product-card-price {
    color: #101828 !important;
    font-size: 18px !important;
    font-weight: 900 !important;
}

.sw-product-card .sw-resource-thumb {
    aspect-ratio: 4 / 5.15 !important;
    border-color: rgba(16, 24, 40, 0.06) !important;
    background: linear-gradient(145deg, rgba(255, 248, 234, 0.92), rgba(246, 248, 251, 0.96)) !important;
}

@media (max-width: 640px) {
    .sw-product-card .sw-card-actions {
        grid-template-columns: 1fr !important;
    }

    .sw-product-card .lw-card-title {
        min-height: 38px !important;
        font-size: 14px !important;
    }
}

/* PeetalKart terminal brand lock: must remain after archive/card locks */
html,
body,
.site,
.site-content,
.inside-article,
.sw-product-page-pro,
.sw-woocommerce-page,
.lw-archive-wrap {
    background-color: #faf7f2 !important;
    color: #2b2118 !important;
}

body,
button,
input,
select,
textarea {
    font-family: Manrope, Inter, "Plus Jakarta Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
}

h1,
h2,
h3,
.lw-hero-title,
.lw-section-title,
.lw-single-title,
.sw-product-single .product_title,
.woocommerce-products-header__title,
.sw-dashboard-hero h1,
.sw-clean-order-title {
    color: #2b2118 !important;
    font-family: "Playfair Display", Georgia, "Times New Roman", serif !important;
    font-weight: 700 !important;
    letter-spacing: 0 !important;
}

.lw-card-title,
.sw-product-card .lw-card-title,
.sw-product-archive .sw-product-card .lw-card-title,
.tax-product_cat .sw-product-card .lw-card-title,
.tax-product_tag .sw-product-card .lw-card-title,
.post-type-archive-product .sw-product-card .lw-card-title {
    color: #2b2118 !important;
    font-family: Manrope, Inter, "Plus Jakarta Sans", system-ui, sans-serif !important;
    font-weight: 780 !important;
    letter-spacing: 0 !important;
}

.lw-section-desc,
.lw-card-desc,
.sw-card-meta,
.sw-product-card-chips,
.sw-breadcrumb-item a,
.sw-mini-cart-head span,
.sw-review-summary-panel p,
.sw-checkout-payment-clarity p {
    color: #6f6258 !important;
}

.site-header,
.main-navigation,
.lw-header,
.sw-breadcrumb-shell,
.site-footer,
.lw-footer {
    border-color: rgba(74, 57, 43, 0.11) !important;
    background: rgba(255, 253, 249, 0.94) !important;
}

.lw-nav a,
.main-navigation a,
.sw-mobile-commerce-links > div a,
.sw-account-link,
.sw-cart-link {
    color: #3a2d21 !important;
}

a:hover,
.lw-nav a:hover,
.main-navigation a:hover,
.sw-breadcrumb-item a:hover {
    color: #8f6844 !important;
}

.lw-search-form,
.lw-search-form input[type="search"],
.sw-mobile-search,
.woocommerce-product-search input[type="search"] {
    border-color: rgba(74, 57, 43, 0.11) !important;
    background: #fffdf9 !important;
    color: #2b2118 !important;
}

.lw-search-form:focus-within,
.woocommerce-product-search input[type="search"]:focus {
    border-color: rgba(176, 141, 87, 0.42) !important;
    box-shadow: 0 0 0 3px rgba(176, 141, 87, 0.09) !important;
}

.sw-product-card,
.sw-product-archive .sw-product-card,
.tax-product_cat .sw-product-card,
.tax-product_tag .sw-product-card,
.post-type-archive-product .sw-product-card {
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

.sw-product-card .sw-resource-thumb,
.sw-product-archive .sw-product-card .sw-resource-thumb,
.tax-product_cat .sw-product-card .sw-resource-thumb,
.tax-product_tag .sw-product-card .sw-resource-thumb,
.post-type-archive-product .sw-product-card .sw-resource-thumb {
    border-color: rgba(74, 57, 43, 0.08) !important;
    background: #f4eee4 !important;
    box-shadow: none !important;
}

.sw-product-card:hover .sw-resource-thumb img,
.sw-product-archive .sw-product-card:hover .sw-resource-thumb img,
.tax-product_cat .sw-product-card:hover .sw-resource-thumb img,
.tax-product_tag .sw-product-card:hover .sw-resource-thumb img,
.post-type-archive-product .sw-product-card:hover .sw-resource-thumb img {
    filter: saturate(1.02) contrast(1.01) !important;
    transform: scale(1.018) !important;
}

.sw-product-card .sw-card-type,
.sw-product-archive .sw-product-card .sw-card-type,
.tax-product_cat .sw-product-card .sw-card-type,
.tax-product_tag .sw-product-card .sw-card-type,
.post-type-archive-product .sw-product-card .sw-card-type,
.lw-section-eyebrow,
.lw-eyebrow {
    border-color: rgba(176, 141, 87, 0.24) !important;
    background: #f7efe1 !important;
    color: #8f6844 !important;
}

.sw-product-sale-flag,
.sw-product-card .sw-product-sale-flag {
    border-color: rgba(168, 107, 76, 0.24) !important;
    background: #fbefe7 !important;
    color: #a86b4c !important;
}

.sw-product-sale-flag--medium,
.sw-product-card .sw-product-sale-flag--medium {
    border-color: rgba(176, 141, 87, 0.26) !important;
    background: #f8eedb !important;
    color: #806039 !important;
}

.sw-product-sale-flag--high,
.sw-product-card .sw-product-sale-flag--high {
    border-color: rgba(137, 67, 49, 0.22) !important;
    background: #faece6 !important;
    color: #8a3e2e !important;
}

.sw-product-card .sw-product-card-price,
.sw-product-card-price,
.sw-product-single .price,
.sw-product-buybox .price {
    color: #2b2118 !important;
}

.lw-btn,
.button,
button,
input[type="submit"],
.wc-block-components-button,
.sw-product-card .sw-card-actions .lw-btn,
.sw-product-card .sw-card-actions .button,
.sw-product-card .sw-card-actions .add_to_cart_button,
.sw-product-single .sw-product-cart-actions .single_add_to_cart_button,
.sw-product-single .sw-product-cart-actions button.single_add_to_cart_button.button.alt,
.sw-product-single .sw-product-cart-actions .sw-buy-now-button,
.sw-woocommerce-page .wc-block-cart__submit-button,
.sw-woocommerce-page .wc-block-components-checkout-place-order-button {
    border-radius: 8px !important;
    box-shadow: none !important;
    text-transform: none !important;
    transition: background-color 170ms ease, border-color 170ms ease, color 170ms ease, transform 170ms ease, opacity 170ms ease !important;
}

.lw-btn-download,
.sw-product-card .sw-card-actions .lw-btn-download,
.sw-product-card .sw-card-actions .add_to_cart_button,
.sw-product-single .sw-product-cart-actions .single_add_to_cart_button,
.sw-product-single .sw-product-cart-actions button.single_add_to_cart_button.button.alt,
.sw-woocommerce-page .wc-block-cart__submit-button,
.sw-woocommerce-page .wc-block-components-checkout-place-order-button {
    border: 1px solid #8f6844 !important;
    background: #a67c52 !important;
    background-image: none !important;
    color: #fffdf9 !important;
}

.lw-btn-download:hover,
.sw-product-card .sw-card-actions .lw-btn-download:hover,
.sw-product-card .sw-card-actions .add_to_cart_button:hover,
.sw-product-single .sw-product-cart-actions .single_add_to_cart_button:hover,
.sw-product-single .sw-product-cart-actions button.single_add_to_cart_button.button.alt:hover,
.sw-woocommerce-page .wc-block-cart__submit-button:hover,
.sw-woocommerce-page .wc-block-components-checkout-place-order-button:hover {
    background: #8f6844 !important;
    background-image: none !important;
    transform: translateY(-1px) !important;
}

.lw-btn-preview,
.sw-product-card .sw-card-actions .lw-btn-preview,
.sw-product-single .sw-product-cart-actions .sw-buy-now-button,
.sw-mobile-buy-now,
.sw-wishlist-button {
    border: 1px solid rgba(74, 57, 43, 0.22) !important;
    background: #fffdf9 !important;
    background-image: none !important;
    color: #2b2118 !important;
}

.lw-btn-preview:hover,
.sw-product-card .sw-card-actions .lw-btn-preview:hover,
.sw-product-single .sw-product-cart-actions .sw-buy-now-button:hover,
.sw-mobile-buy-now:hover,
.sw-wishlist-button:hover {
    border-color: rgba(176, 141, 87, 0.42) !important;
    background: #f7efe1 !important;
    color: #8f6844 !important;
    transform: translateY(-1px) !important;
}

.sw-product-gallery-shell,
.sw-product-gallery,
.sw-product-gallery-main,
.sw-product-main-image {
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

.sw-product-trust-section,
.sw-review-summary-panel,
.sw-cart-guidance,
.sw-checkout-readiness,
.sw-checkout-payment-clarity,
.sw-commerce-trust-strip,
.sw-empty-commerce-panel,
.sw-mini-cart-panel,
.woocommerce-MyAccount-navigation,
.woocommerce-MyAccount-content,
.sw-dashboard-card,
.sw-clean-order-card,
.sw-woocommerce-page .wc-block-components-sidebar,
.sw-woocommerce-page .wc-block-components-main,
.sw-woocommerce-page .wc-block-components-checkout-step,
.sw-woocommerce-page .wc-block-cart-items,
.sw-woocommerce-page .wc-block-components-totals-wrapper {
    border-color: rgba(74, 57, 43, 0.11) !important;
    background: rgba(255, 253, 249, 0.88) !important;
    box-shadow: 0 10px 30px rgba(74, 57, 43, 0.05) !important;
}

.sw-trust-card,
.sw-review-proof article,
.sw-review-score,
.sw-mini-cart-item,
.sw-upsell-card,
.sw-mobile-bottom-nav {
    border-color: rgba(74, 57, 43, 0.11) !important;
    background: #fffdf9 !important;
}

.sw-mini-cart-overlay {
    background: rgba(43, 33, 24, 0.28) !important;
}

.sw-mini-cart-close,
.sw-mobile-filter-close,
.quantity input.qty,
.sw-product-single .sw-product-cart-actions .quantity input.qty,
.sw-delivery-mini-form input,
.sw-delivery-mini-form button,
.wc-block-components-text-input input,
.wc-block-components-form .wc-block-components-text-input input,
.wc-block-components-combobox .wc-block-components-combobox-control input.components-combobox-control__input {
    border-color: rgba(74, 57, 43, 0.17) !important;
    background: #fffdf9 !important;
    color: #2b2118 !important;
}

.sw-mini-cart-close:hover,
.sw-mobile-filter-close:hover,
.sw-mobile-bottom-nav a.is-active,
.sw-mobile-bottom-nav a:hover,
.sw-mobile-bottom-nav a:focus-visible,
.lw-live-popular a:hover,
.lw-live-popular a:focus-visible {
    background: #f7efe1 !important;
    color: #8f6844 !important;
}

.sw-cart-count,
.sw-mobile-bottom-nav small {
    background: #8f6844 !important;
    color: #fffdf9 !important;
}

.site-footer a,
.lw-footer a {
    color: #3a2d21 !important;
}

.site-footer a:hover,
.lw-footer a:hover {
    color: #8f6844 !important;
}

@media (max-width: 760px) {
    .sw-mobile-cart-bar {
        border-color: rgba(74, 57, 43, 0.11) !important;
        background: rgba(255, 253, 249, 0.96) !important;
        box-shadow: 0 14px 36px rgba(74, 57, 43, 0.13) !important;
    }

    .sw-product-single .sw-product-cart-actions .single_add_to_cart_button,
    .sw-product-single .sw-product-cart-actions .sw-buy-now-button,
    .sw-mobile-cart-bar .lw-btn {
        min-height: 46px !important;
    }
}

/* PeetalKart final brand refinement: handcrafted brass D2C */
:root {
    --sw-ivory: #fffdf9;
    --sw-cream: #faf7f2;
    --sw-warm-surface: #f6f1e8;
    --sw-warm-line: rgba(74, 57, 43, 0.11);
    --sw-warm-line-strong: rgba(74, 57, 43, 0.17);
    --sw-earth: #2b2118;
    --sw-earth-2: #3a2d21;
    --sw-earth-muted: #6f6258;
    --sw-brass: #b08d57;
    --sw-brass-deep: #8f6844;
    --sw-brass-soft: #f7efe1;
    --sw-copper: #a86b4c;
    --sw-primary: #a67c52;
    --sw-accent: #a67c52;
    --lw-orange: #a67c52;
    --lw-text: #2b2118;
    --lw-text-light: #6f6258;
    --lw-bg: #faf7f2;
    --lw-border: rgba(74, 57, 43, 0.11);
}

html,
body,
.site,
.site-content,
.inside-article {
    background-color: var(--sw-cream) !important;
    color: var(--sw-earth) !important;
}

body,
button,
input,
select,
textarea {
    color: var(--sw-earth);
    font-family: Manrope, Inter, "Plus Jakarta Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

h1,
h2,
h3,
.lw-hero-title,
.lw-section-title,
.lw-single-title,
.sw-product-single .product_title,
.woocommerce-products-header__title,
.sw-clean-order-title,
.sw-dashboard-hero h1 {
    color: var(--sw-earth) !important;
    font-family: "Playfair Display", Georgia, "Times New Roman", serif;
    font-weight: 700 !important;
    letter-spacing: 0 !important;
}

h4,
h5,
h6,
.lw-card-title,
.sw-product-card .lw-card-title,
.sw-mini-cart-title,
.sw-checkout-payment-clarity strong,
.sw-trust-card strong {
    color: var(--sw-earth-2) !important;
    letter-spacing: 0 !important;
}

p,
.lw-section-desc,
.lw-card-desc,
.sw-card-meta,
.sw-product-card-chips,
.sw-mini-cart-head span,
.sw-checkout-payment-clarity p,
.sw-review-summary-panel p,
.sw-breadcrumb-item a {
    color: var(--sw-earth-muted) !important;
}

a {
    transition: color 160ms ease, background-color 160ms ease, border-color 160ms ease, transform 160ms ease, opacity 160ms ease;
}

a:hover,
.lw-nav a:hover,
.main-navigation a:hover,
.sw-breadcrumb-item a:hover,
.lw-live-search-meta strong,
.lw-live-popular a::after {
    color: var(--sw-brass-deep) !important;
}

.site-header,
.main-navigation,
.lw-header,
.sw-breadcrumb-shell,
.site-footer,
.lw-footer {
    background: rgba(255, 253, 249, 0.94) !important;
    border-color: var(--sw-warm-line) !important;
}

.lw-nav a,
.main-navigation a,
.sw-mobile-commerce-links > div a,
.sw-account-link,
.sw-cart-link {
    color: var(--sw-earth-2) !important;
}

.lw-nav a:hover,
.lw-nav .current-menu-item > a,
.main-navigation .current-menu-item > a {
    color: var(--sw-brass-deep) !important;
}

.lw-search-form,
.lw-search-form input[type="search"],
.sw-mobile-search,
.woocommerce-product-search input[type="search"] {
    border-color: var(--sw-warm-line) !important;
    background: var(--sw-ivory) !important;
    color: var(--sw-earth) !important;
}

.lw-search-form:focus-within,
.woocommerce-product-search input[type="search"]:focus {
    border-color: rgba(176, 141, 87, 0.42) !important;
    box-shadow: 0 0 0 3px rgba(176, 141, 87, 0.09) !important;
}

.learnoxy-section,
.lw-archive-wrap,
.sw-product-page-pro,
.sw-woocommerce-page,
.woocommerce-account .site-content {
    background: transparent !important;
}

.lw-section-eyebrow,
.lw-eyebrow,
.sw-product-meta-chip,
.sw-product-card .sw-card-type,
.sw-product-archive .sw-product-card .sw-card-type,
.tax-product_cat .sw-product-card .sw-card-type,
.tax-product_tag .sw-product-card .sw-card-type,
.post-type-archive-product .sw-product-card .sw-card-type {
    border-color: rgba(176, 141, 87, 0.24) !important;
    background: var(--sw-brass-soft) !important;
    color: var(--sw-brass-deep) !important;
}

.sw-product-sale-flag,
.sw-product-card .sw-product-sale-flag {
    border-color: rgba(168, 107, 76, 0.24) !important;
    background: #fbefe7 !important;
    color: var(--sw-copper) !important;
}

.sw-product-sale-flag--medium,
.sw-product-card .sw-product-sale-flag--medium {
    border-color: rgba(176, 141, 87, 0.26) !important;
    background: #f8eedb !important;
    color: #806039 !important;
}

.sw-product-sale-flag--high,
.sw-product-card .sw-product-sale-flag--high {
    border-color: rgba(137, 67, 49, 0.22) !important;
    background: #faece6 !important;
    color: #8a3e2e !important;
}

.sw-product-card,
.sw-product-archive .sw-product-card,
.tax-product_cat .sw-product-card,
.tax-product_tag .sw-product-card,
.post-type-archive-product .sw-product-card {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}

.sw-product-card .sw-resource-thumb,
.sw-product-archive .sw-product-card .sw-resource-thumb,
.tax-product_cat .sw-product-card .sw-resource-thumb,
.tax-product_tag .sw-product-card .sw-resource-thumb,
.post-type-archive-product .sw-product-card .sw-resource-thumb {
    border-color: rgba(74, 57, 43, 0.08) !important;
    background: #f4eee4 !important;
    box-shadow: none !important;
}

.sw-product-card .sw-resource-thumb img,
.sw-product-archive .sw-product-card .sw-resource-thumb img,
.tax-product_cat .sw-product-card .sw-resource-thumb img,
.tax-product_tag .sw-product-card .sw-resource-thumb img,
.post-type-archive-product .sw-product-card .sw-resource-thumb img {
    transition: transform 190ms ease, filter 190ms ease !important;
}

.sw-product-card:hover .sw-resource-thumb img,
.sw-product-archive .sw-product-card:hover .sw-resource-thumb img,
.tax-product_cat .sw-product-card:hover .sw-resource-thumb img,
.tax-product_tag .sw-product-card:hover .sw-resource-thumb img,
.post-type-archive-product .sw-product-card:hover .sw-resource-thumb img {
    filter: saturate(1.02) contrast(1.01) !important;
    transform: scale(1.018) !important;
}

.sw-product-card .lw-card-title,
.sw-product-archive .sw-product-card .lw-card-title,
.tax-product_cat .sw-product-card .lw-card-title,
.tax-product_tag .sw-product-card .lw-card-title,
.post-type-archive-product .sw-product-card .lw-card-title {
    color: var(--sw-earth) !important;
    font-family: Manrope, Inter, "Plus Jakarta Sans", system-ui, sans-serif !important;
    font-weight: 780 !important;
}

.sw-product-card .sw-product-card-price,
.sw-product-card-price,
.sw-product-single .price,
.sw-product-buybox .price {
    color: var(--sw-earth) !important;
    font-weight: 860 !important;
}

.sw-product-card-price del,
.price del {
    color: #9b8d81 !important;
}

.sw-product-card-price ins,
.price ins {
    color: var(--sw-earth) !important;
    text-decoration: none !important;
}

.lw-btn,
.button,
button,
input[type="submit"],
.wc-block-components-button,
.sw-product-card .sw-card-actions .lw-btn,
.sw-product-card .sw-card-actions .button,
.sw-product-card .sw-card-actions .add_to_cart_button,
.sw-product-single .sw-product-cart-actions .single_add_to_cart_button,
.sw-product-single .sw-product-cart-actions button.single_add_to_cart_button.button.alt,
.sw-product-single .sw-product-cart-actions .sw-buy-now-button,
.sw-woocommerce-page .wc-block-cart__submit-button,
.sw-woocommerce-page .wc-block-components-checkout-place-order-button {
    border-radius: 8px !important;
    box-shadow: none !important;
    text-transform: none !important;
    transition: background-color 170ms ease, border-color 170ms ease, color 170ms ease, transform 170ms ease, opacity 170ms ease !important;
}

.lw-btn-download,
.sw-product-card .sw-card-actions .lw-btn-download,
.sw-product-card .sw-card-actions .add_to_cart_button,
.sw-product-single .sw-product-cart-actions .single_add_to_cart_button,
.sw-product-single .sw-product-cart-actions button.single_add_to_cart_button.button.alt,
.sw-woocommerce-page .wc-block-cart__submit-button,
.sw-woocommerce-page .wc-block-components-checkout-place-order-button {
    border: 1px solid var(--sw-brass-deep) !important;
    background: #a67c52 !important;
    background-image: none !important;
    color: #fffdf9 !important;
}

.lw-btn-download:hover,
.sw-product-card .sw-card-actions .lw-btn-download:hover,
.sw-product-card .sw-card-actions .add_to_cart_button:hover,
.sw-product-single .sw-product-cart-actions .single_add_to_cart_button:hover,
.sw-product-single .sw-product-cart-actions button.single_add_to_cart_button.button.alt:hover,
.sw-woocommerce-page .wc-block-cart__submit-button:hover,
.sw-woocommerce-page .wc-block-components-checkout-place-order-button:hover {
    background: #8f6844 !important;
    background-image: none !important;
    transform: translateY(-1px) !important;
}

.lw-btn-preview,
.sw-product-card .sw-card-actions .lw-btn-preview,
.sw-product-single .sw-product-cart-actions .sw-buy-now-button,
.sw-mobile-buy-now,
.sw-wishlist-button {
    border: 1px solid rgba(74, 57, 43, 0.22) !important;
    background: var(--sw-ivory) !important;
    background-image: none !important;
    color: var(--sw-earth) !important;
}

.lw-btn-preview:hover,
.sw-product-card .sw-card-actions .lw-btn-preview:hover,
.sw-product-single .sw-product-cart-actions .sw-buy-now-button:hover,
.sw-mobile-buy-now:hover,
.sw-wishlist-button:hover {
    border-color: rgba(176, 141, 87, 0.42) !important;
    background: var(--sw-brass-soft) !important;
    color: var(--sw-brass-deep) !important;
    transform: translateY(-1px) !important;
}

.sw-product-overview {
    background: transparent !important;
}

.sw-product-gallery-shell,
.sw-product-gallery,
.sw-product-gallery-main,
.sw-product-main-image {
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

.sw-product-single .lw-single-title,
.sw-product-single .product_title {
    color: var(--sw-earth) !important;
}

.sw-product-buybox,
.sw-product-summary,
.sw-product-details-section,
.sw-product-reviews-section,
.sw-product-trust-section,
.sw-review-summary-panel {
    color: var(--sw-earth) !important;
}

.sw-product-trust-section,
.sw-review-summary-panel,
.sw-cart-guidance,
.sw-checkout-readiness,
.sw-checkout-payment-clarity,
.sw-commerce-trust-strip,
.sw-empty-commerce-panel,
.sw-mini-cart-panel,
.woocommerce-MyAccount-navigation,
.woocommerce-MyAccount-content,
.sw-dashboard-card,
.sw-clean-order-card,
.sw-woocommerce-page .wc-block-components-sidebar,
.sw-woocommerce-page .wc-block-components-main,
.sw-woocommerce-page .wc-block-components-checkout-step,
.sw-woocommerce-page .wc-block-cart-items,
.sw-woocommerce-page .wc-block-components-totals-wrapper {
    border-color: var(--sw-warm-line) !important;
    background: rgba(255, 253, 249, 0.88) !important;
    box-shadow: 0 10px 30px rgba(74, 57, 43, 0.05) !important;
}

.sw-trust-card,
.sw-review-proof article,
.sw-review-score,
.sw-mini-cart-item,
.sw-upsell-card,
.sw-mobile-bottom-nav {
    border-color: var(--sw-warm-line) !important;
    background: var(--sw-ivory) !important;
}

.sw-mini-cart-overlay {
    background: rgba(43, 33, 24, 0.28) !important;
}

.sw-mini-cart-close,
.sw-mobile-filter-close,
.quantity input.qty,
.sw-product-single .sw-product-cart-actions .quantity input.qty,
.sw-delivery-mini-form input,
.sw-delivery-mini-form button,
.wc-block-components-text-input input,
.wc-block-components-form .wc-block-components-text-input input,
.wc-block-components-combobox .wc-block-components-combobox-control input.components-combobox-control__input {
    border-color: var(--sw-warm-line-strong) !important;
    background: var(--sw-ivory) !important;
    color: var(--sw-earth) !important;
}

.sw-mini-cart-close:hover,
.sw-mobile-filter-close:hover,
.sw-mobile-bottom-nav a.is-active,
.sw-mobile-bottom-nav a:hover,
.sw-mobile-bottom-nav a:focus-visible,
.lw-live-popular a:hover,
.lw-live-popular a:focus-visible {
    background: var(--sw-brass-soft) !important;
    color: var(--sw-brass-deep) !important;
}

.sw-cart-count,
.sw-mobile-bottom-nav small {
    background: var(--sw-brass-deep) !important;
    color: #fffdf9 !important;
}

.sw-footer,
.site-footer,
.lw-footer {
    color: var(--sw-earth-muted) !important;
}

.site-footer a,
.lw-footer a {
    color: var(--sw-earth-2) !important;
}

.site-footer a:hover,
.lw-footer a:hover {
    color: var(--sw-brass-deep) !important;
}

@media (max-width: 760px) {
    body {
        background-color: var(--sw-cream) !important;
    }

    .sw-mobile-cart-bar {
        border-color: var(--sw-warm-line) !important;
        background: rgba(255, 253, 249, 0.96) !important;
        box-shadow: 0 14px 36px rgba(74, 57, 43, 0.13) !important;
    }

    .sw-product-single .sw-product-cart-actions .single_add_to_cart_button,
    .sw-product-single .sw-product-cart-actions .sw-buy-now-button,
    .sw-mobile-cart-bar .lw-btn {
        min-height: 46px !important;
    }

    .sw-product-card .lw-card-title,
    .sw-product-archive .sw-product-card .lw-card-title,
    .tax-product_cat .sw-product-card .lw-card-title,
    .tax-product_tag .sw-product-card .lw-card-title,
    .post-type-archive-product .sw-product-card .lw-card-title {
        font-size: 14px !important;
    }
}

/* PeetalKart final brass cascade lock */
.sw-product-card .sw-resource-thumb,
.sw-product-archive .sw-product-card .sw-resource-thumb,
.tax-product_cat .sw-product-card .sw-resource-thumb,
.tax-product_tag .sw-product-card .sw-resource-thumb,
.post-type-archive-product .sw-product-card .sw-resource-thumb {
    background:
        linear-gradient(145deg, rgba(255, 248, 234, 0.92), rgba(246, 248, 251, 0.96)) !important;
}

.sw-product-card .sw-card-type,
.sw-product-archive .sw-product-card .sw-card-type,
.tax-product_cat .sw-product-card .sw-card-type,
.tax-product_tag .sw-product-card .sw-card-type,
.post-type-archive-product .sw-product-card .sw-card-type {
    border-color: rgba(184, 135, 58, 0.26) !important;
    background: rgba(255, 248, 234, 0.96) !important;
    color: #7a531f !important;
}

.sw-product-card .sw-product-sale-flag,
.sw-product-sale-flag {
    border-color: rgba(184, 92, 56, 0.22) !important;
    background: #fff3ea !important;
    color: #b85c38 !important;
}

.sw-product-card .sw-product-sale-flag--medium,
.sw-product-sale-flag--medium {
    border-color: rgba(184, 135, 58, 0.26) !important;
    background: #fff8df !important;
    color: #8a5d1f !important;
}

.sw-product-card .sw-product-sale-flag--high,
.sw-product-sale-flag--high {
    border-color: rgba(168, 50, 50, 0.2) !important;
    background: #fff1ec !important;
    color: #9f3727 !important;
}

.sw-product-card .sw-card-actions .lw-btn-download,
.sw-product-card .sw-card-actions .add_to_cart_button,
.sw-product-single .single_add_to_cart_button,
.sw-product-single .sw-buy-now-button,
.sw-woocommerce-page .wc-block-components-checkout-place-order-button,
.lw-btn-download {
    border-color: rgba(122, 83, 31, 0.38) !important;
    background: linear-gradient(135deg, #c59a4a, #9f6b25) !important;
    color: #ffffff !important;
}

/* PeetalKart final brass cascade lock */
.sw-product-card .sw-resource-thumb,
.sw-product-archive .sw-product-card .sw-resource-thumb,
.tax-product_cat .sw-product-card .sw-resource-thumb,
.tax-product_tag .sw-product-card .sw-resource-thumb,
.post-type-archive-product .sw-product-card .sw-resource-thumb {
    background:
        linear-gradient(145deg, rgba(255, 248, 234, 0.92), rgba(246, 248, 251, 0.96)) !important;
}

.sw-product-card .sw-card-type,
.sw-product-archive .sw-product-card .sw-card-type,
.tax-product_cat .sw-product-card .sw-card-type,
.tax-product_tag .sw-product-card .sw-card-type,
.post-type-archive-product .sw-product-card .sw-card-type {
    border-color: rgba(184, 135, 58, 0.26) !important;
    background: rgba(255, 248, 234, 0.96) !important;
    color: #7a531f !important;
}

.sw-product-card .sw-product-sale-flag,
.sw-product-sale-flag {
    border-color: rgba(184, 92, 56, 0.22) !important;
    background: #fff3ea !important;
    color: #b85c38 !important;
}

.sw-product-card .sw-product-sale-flag--medium,
.sw-product-sale-flag--medium {
    border-color: rgba(184, 135, 58, 0.26) !important;
    background: #fff8df !important;
    color: #8a5d1f !important;
}

.sw-product-card .sw-product-sale-flag--high,
.sw-product-sale-flag--high {
    border-color: rgba(168, 50, 50, 0.2) !important;
    background: #fff1ec !important;
    color: #9f3727 !important;
}

.sw-product-card .sw-card-actions .lw-btn-download,
.sw-product-card .sw-card-actions .add_to_cart_button,
.sw-product-single .single_add_to_cart_button,
.sw-product-single .sw-buy-now-button,
.sw-woocommerce-page .wc-block-components-checkout-place-order-button,
.lw-btn-download {
    border-color: rgba(122, 83, 31, 0.38) !important;
    background: linear-gradient(135deg, #c59a4a, #9f6b25) !important;
    color: #ffffff !important;
}

/* PeetalKart brass-metal visual refinement */
:root {
    --sw-brass: #b8873a;
    --sw-brass-deep: #7a531f;
    --sw-brass-soft: #fff8ea;
    --sw-brass-line: rgba(184, 135, 58, 0.2);
    --sw-copper: #b85c38;
    --sw-patina: #426b5a;
    --sw-primary: var(--sw-brass);
    --sw-accent: var(--sw-brass);
    --lw-orange: var(--sw-brass);
}

body {
    background-color: #fbfaf7;
}

.sw-product-card .sw-resource-thumb,
.sw-product-archive .sw-product-card .sw-resource-thumb,
.tax-product_cat .sw-product-card .sw-resource-thumb,
.tax-product_tag .sw-product-card .sw-resource-thumb,
.post-type-archive-product .sw-product-card .sw-resource-thumb {
    background:
        linear-gradient(145deg, rgba(255, 248, 234, 0.92), rgba(246, 248, 251, 0.96)) !important;
}

.sw-product-card .sw-card-type,
.sw-product-archive .sw-product-card .sw-card-type,
.tax-product_cat .sw-product-card .sw-card-type,
.tax-product_tag .sw-product-card .sw-card-type,
.post-type-archive-product .sw-product-card .sw-card-type {
    border-color: rgba(184, 135, 58, 0.26) !important;
    background: rgba(255, 248, 234, 0.95) !important;
    color: var(--sw-brass-deep) !important;
}

.sw-product-card .sw-product-sale-flag,
.sw-product-sale-flag {
    border-color: rgba(184, 92, 56, 0.22) !important;
    background: #fff3ea !important;
    color: var(--sw-copper) !important;
}

.sw-product-card .sw-product-sale-flag--medium,
.sw-product-sale-flag--medium {
    border-color: rgba(184, 135, 58, 0.26) !important;
    background: #fff8df !important;
    color: #8a5d1f !important;
}

.sw-product-card .sw-product-sale-flag--high,
.sw-product-sale-flag--high {
    border-color: rgba(168, 50, 50, 0.2) !important;
    background: #fff1ec !important;
    color: #9f3727 !important;
}

.sw-product-card-price,
.sw-product-card .sw-product-card-price,
.sw-product-single .price,
.sw-product-buybox .price {
    color: #1f2933 !important;
}

.sw-product-card .sw-card-actions .lw-btn-download,
.sw-product-card .sw-card-actions .add_to_cart_button,
.sw-product-single .single_add_to_cart_button,
.sw-product-single .sw-buy-now-button,
.sw-woocommerce-page .wc-block-components-checkout-place-order-button,
.lw-btn-download {
    background: linear-gradient(135deg, #c59a4a, #9f6b25) !important;
    border-color: rgba(122, 83, 31, 0.38) !important;
    color: #ffffff !important;
}

.sw-product-card .sw-card-actions .lw-btn-download:hover,
.sw-product-card .sw-card-actions .add_to_cart_button:hover,
.sw-product-single .single_add_to_cart_button:hover,
.sw-product-single .sw-buy-now-button:hover,
.lw-btn-download:hover {
    filter: saturate(1.04) brightness(0.99);
}

.sw-product-trust-section,
.sw-cart-guidance,
.sw-checkout-readiness,
.sw-checkout-payment-clarity,
.sw-review-summary-panel {
    border-color: var(--sw-brass-line) !important;
    background:
        linear-gradient(135deg, rgba(255, 248, 234, 0.66), rgba(255, 255, 255, 0.92)) !important;
}

.sw-trust-card strong,
.sw-review-score > span,
.sw-mini-cart-save,
.sw-breadcrumb-item.is-current {
    color: var(--sw-brass-deep) !important;
}

.sw-review-score,
.sw-review-proof article,
.sw-mobile-bottom-nav a.is-active,
.sw-mobile-bottom-nav a:hover,
.sw-mobile-bottom-nav a:focus-visible,
.lw-live-popular a:hover,
.lw-live-popular a:focus-visible {
    background: var(--sw-brass-soft) !important;
}

.sw-mobile-bottom-nav small,
.sw-cart-count {
    background: var(--sw-brass) !important;
}

.sw-breadcrumb-shell {
    background: linear-gradient(180deg, rgba(255, 248, 234, 0.42), rgba(255, 255, 255, 0.92));
}

.sw-breadcrumb-item a:hover,
.lw-live-search-meta strong,
.lw-live-popular a::after {
    color: var(--sw-brass-deep) !important;
}

.sw-product-card:hover .sw-resource-thumb img,
.sw-product-archive .sw-product-card:hover .sw-resource-thumb img,
.tax-product_cat .sw-product-card:hover .sw-resource-thumb img,
.tax-product_tag .sw-product-card:hover .sw-resource-thumb img,
.post-type-archive-product .sw-product-card:hover .sw-resource-thumb img {
    filter: saturate(1.04) contrast(1.01);
}

/* Premium visible breadcrumbs */
.sw-breadcrumb-shell {
    position: relative;
    z-index: 3;
    border-top: 1px solid rgba(16, 24, 40, 0.04);
    border-bottom: 1px solid rgba(16, 24, 40, 0.06);
    background: linear-gradient(180deg, rgba(255, 248, 234, 0.42), rgba(255, 255, 255, 0.92));
}

.sw-breadcrumb-shell .grid-container {
    width: min(100% - var(--sw-page-gutter), var(--sw-wide-width)) !important;
    max-width: var(--sw-wide-width) !important;
}

.sw-breadcrumbs {
    display: flex;
    align-items: center;
    gap: 0;
    min-height: 46px;
    margin: 0;
    padding: 0;
    overflow-x: auto;
    list-style: none;
    scrollbar-width: none;
}

.sw-breadcrumbs::-webkit-scrollbar {
    display: none;
}

.sw-breadcrumb-item {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    max-width: min(42vw, 360px);
    color: #667085;
    font-size: 12px;
    font-weight: 820;
    line-height: 1;
    white-space: nowrap;
}

.sw-breadcrumb-item + .sw-breadcrumb-item::before {
    content: "/";
    margin: 0 10px;
    color: rgba(102, 112, 133, 0.52);
    font-weight: 760;
}

.sw-breadcrumb-item a,
.sw-breadcrumb-item span {
    overflow: hidden;
    text-overflow: ellipsis;
}

.sw-breadcrumb-item a {
    color: #475467;
    text-decoration: none;
    transition: color 160ms ease;
}

.sw-breadcrumb-item a:hover {
    color: #101828;
}

.sw-breadcrumb-item.is-current {
    color: #101828;
    font-weight: 900;
}

body.home .sw-breadcrumb-shell {
    display: block;
}

.sw-mobile-commerce-links {
    display: none;
}

@media (max-width: 1120px) {
    .lw-nav.is-open .sw-mobile-commerce-links {
        display: grid;
        gap: 12px;
        width: 100%;
        padding-top: 8px;
        border-top: 1px solid rgba(24, 33, 47, 0.08);
    }

    .sw-mobile-commerce-links .sw-mobile-search {
        display: flex;
        width: 100%;
        margin: 0;
    }

    .sw-mobile-commerce-links .sw-mobile-search input[type="search"] {
        width: 100%;
    }

    .sw-mobile-commerce-links > div {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
    }

    .sw-mobile-commerce-links > div a {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 6px;
        min-height: 40px;
        padding: 9px 14px;
        border: 1px solid rgba(24, 33, 47, 0.08);
        border-radius: 999px;
        background: rgba(255, 255, 255, 0.86);
        font-weight: 700;
    }
}

@media (max-width: 720px) {
    .sw-breadcrumb-shell .grid-container {
        width: min(100% - 28px, var(--sw-wide-width)) !important;
    }

    .sw-breadcrumbs {
        min-height: 42px;
    }

    .sw-breadcrumb-item {
        max-width: 58vw;
        font-size: 11px;
    }
}

/* Final product archive card polish */
.sw-product-archive .lw-archive-main .learnoxy-grid,
.tax-product_cat .lw-archive-main .learnoxy-grid,
.tax-product_tag .lw-archive-main .learnoxy-grid,
.post-type-archive-product .lw-archive-main .learnoxy-grid {
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)) !important;
    gap: 38px 30px !important;
}

.sw-product-archive .sw-product-card,
.tax-product_cat .sw-product-card,
.tax-product_tag .sw-product-card,
.post-type-archive-product .sw-product-card {
    display: flex !important;
    flex-direction: column !important;
    min-width: 0 !important;
    height: 100% !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    overflow: visible !important;
}

.sw-product-archive .sw-product-card:hover,
.tax-product_cat .sw-product-card:hover,
.tax-product_tag .sw-product-card:hover,
.post-type-archive-product .sw-product-card:hover {
    border-color: transparent !important;
    box-shadow: none !important;
    transform: none !important;
}

.sw-product-archive .sw-product-card .sw-resource-thumb,
.tax-product_cat .sw-product-card .sw-resource-thumb,
.tax-product_tag .sw-product-card .sw-resource-thumb,
.post-type-archive-product .sw-product-card .sw-resource-thumb {
    position: relative !important;
    aspect-ratio: 4 / 5.35 !important;
    border: 1px solid rgba(16, 24, 40, 0.06) !important;
    border-radius: 0 !important;
    background: linear-gradient(145deg, rgba(255, 248, 234, 0.92), rgba(246, 248, 251, 0.96)) !important;
    overflow: hidden !important;
}

.sw-product-archive .sw-product-card .sw-resource-thumb img,
.tax-product_cat .sw-product-card .sw-resource-thumb img,
.tax-product_tag .sw-product-card .sw-resource-thumb img,
.post-type-archive-product .sw-product-card .sw-resource-thumb img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    transform: scale(1);
    transition: transform 180ms ease, filter 180ms ease;
}

.sw-product-archive .sw-product-card:hover .sw-resource-thumb img,
.tax-product_cat .sw-product-card:hover .sw-resource-thumb img,
.tax-product_tag .sw-product-card:hover .sw-resource-thumb img,
.post-type-archive-product .sw-product-card:hover .sw-resource-thumb img {
    transform: scale(1.025);
    filter: saturate(1.03);
}

.sw-product-archive .sw-product-card .sw-card-type,
.tax-product_cat .sw-product-card .sw-card-type,
.tax-product_tag .sw-product-card .sw-card-type,
.post-type-archive-product .sw-product-card .sw-card-type,
.sw-product-sale-flag {
    min-height: 28px !important;
    display: inline-flex !important;
    align-items: center !important;
    border: 1px solid rgba(184, 135, 58, 0.26) !important;
    border-radius: 999px !important;
    background: rgba(255, 248, 234, 0.96) !important;
    color: #7a531f !important;
    max-width: calc(100% - 112px) !important;
    padding: 0 11px !important;
    font-size: 11px !important;
    font-weight: 850 !important;
    line-height: 1 !important;
    box-shadow: none !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
}

.sw-product-archive .sw-product-card .sw-card-type,
.tax-product_cat .sw-product-card .sw-card-type,
.tax-product_tag .sw-product-card .sw-card-type,
.post-type-archive-product .sw-product-card .sw-card-type {
    left: 10px !important;
    top: 10px !important;
}

.sw-product-sale-flag {
    position: absolute;
    z-index: 3;
    right: 10px;
    top: 10px;
    max-width: 98px !important;
    border-color: rgba(184, 92, 56, 0.22) !important;
    background: #fff3ea !important;
    color: #b85c38 !important;
}

.sw-product-sale-flag--medium {
    border-color: rgba(184, 135, 58, 0.26) !important;
    background: #fff8df !important;
    color: #8a5d1f !important;
}

.sw-product-sale-flag--high {
    border-color: rgba(168, 50, 50, 0.2) !important;
    background: #fff1ec !important;
    color: #9f3727 !important;
}

.sw-product-archive .sw-product-card .lw-card-body,
.tax-product_cat .sw-product-card .lw-card-body,
.tax-product_tag .sw-product-card .lw-card-body,
.post-type-archive-product .sw-product-card .lw-card-body {
    display: flex !important;
    flex-direction: column !important;
    flex: 1 1 auto !important;
    padding: 14px 0 0 !important;
}

.sw-product-archive .sw-product-card .lw-card-title,
.tax-product_cat .sw-product-card .lw-card-title,
.tax-product_tag .sw-product-card .lw-card-title,
.post-type-archive-product .sw-product-card .lw-card-title {
    min-height: 44px !important;
    margin: 0 !important;
    color: #101828 !important;
    font-size: 17px !important;
    font-weight: 850 !important;
    line-height: 1.3 !important;
}

.sw-product-archive .sw-product-card .lw-card-title a,
.tax-product_cat .sw-product-card .lw-card-title a,
.tax-product_tag .sw-product-card .lw-card-title a,
.post-type-archive-product .sw-product-card .lw-card-title a {
    color: inherit !important;
    text-decoration: none !important;
}

.sw-product-card-price {
    min-height: 24px;
    display: flex !important;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 7px;
    margin-top: 7px !important;
    color: #101828 !important;
    font-size: 18px !important;
    font-weight: 900 !important;
    line-height: 1.2;
}

.sw-product-card-price del {
    color: #98a2b3 !important;
    font-size: 13px !important;
    font-weight: 760 !important;
}

.sw-product-card-price ins {
    color: #101828 !important;
    text-decoration: none !important;
}

.sw-product-card-chips {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    margin-top: 9px;
}

.sw-product-card-chips span,
.sw-product-archive .sw-product-card .sw-card-meta span,
.tax-product_cat .sw-product-card .sw-card-meta span,
.tax-product_tag .sw-product-card .sw-card-meta span,
.post-type-archive-product .sw-product-card .sw-card-meta span {
    min-height: 25px !important;
    display: inline-flex !important;
    align-items: center !important;
    border: 1px solid rgba(16, 24, 40, 0.075) !important;
    border-radius: 0 !important;
    background: #ffffff !important;
    color: #667085 !important;
    padding: 0 9px !important;
    font-size: 11px !important;
    font-weight: 800 !important;
    line-height: 1 !important;
}

.sw-product-card-chips .is-available {
    border-color: rgba(22, 163, 74, 0.16) !important;
    background: #f0fdf4 !important;
    color: #15803d !important;
}

.sw-product-card-chips .is-unavailable {
    border-color: rgba(220, 38, 38, 0.16) !important;
    background: #fff5f5 !important;
    color: #b42318 !important;
}

.sw-product-archive .sw-product-card .sw-card-meta,
.tax-product_cat .sw-product-card .sw-card-meta,
.tax-product_tag .sw-product-card .sw-card-meta,
.post-type-archive-product .sw-product-card .sw-card-meta {
    justify-content: flex-start !important;
    margin: 8px 0 0 !important;
}

.sw-product-archive .sw-product-card .sw-card-stats,
.tax-product_cat .sw-product-card .sw-card-stats,
.tax-product_tag .sw-product-card .sw-card-stats,
.post-type-archive-product .sw-product-card .sw-card-stats {
    display: none !important;
}

.sw-product-archive .sw-product-card .sw-card-actions,
.tax-product_cat .sw-product-card .sw-card-actions,
.tax-product_tag .sw-product-card .sw-card-actions,
.post-type-archive-product .sw-product-card .sw-card-actions {
    width: 100% !important;
    display: grid !important;
    grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr) !important;
    gap: 8px !important;
    margin: auto 0 0 !important;
    padding-top: 14px !important;
    opacity: 1 !important;
    transform: none !important;
}

.sw-product-archive .sw-product-card .sw-card-actions .lw-btn,
.tax-product_cat .sw-product-card .sw-card-actions .lw-btn,
.tax-product_tag .sw-product-card .sw-card-actions .lw-btn,
.post-type-archive-product .sw-product-card .sw-card-actions .lw-btn {
    width: 100% !important;
    min-height: 44px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 0 !important;
    padding: 0 12px !important;
    font-size: 13px !important;
    font-weight: 850 !important;
    text-align: center !important;
    white-space: nowrap !important;
}

.sw-product-archive .sw-product-card .sw-card-actions .lw-btn-preview,
.tax-product_cat .sw-product-card .sw-card-actions .lw-btn-preview,
.tax-product_tag .sw-product-card .sw-card-actions .lw-btn-preview,
.post-type-archive-product .sw-product-card .sw-card-actions .lw-btn-preview {
    border-color: rgba(74, 57, 43, 0.22) !important;
    background: #fffdf9 !important;
    color: #2b2118 !important;
}

.sw-product-archive .sw-product-card .sw-card-actions .lw-btn-download,
.tax-product_cat .sw-product-card .sw-card-actions .lw-btn-download,
.tax-product_tag .sw-product-card .sw-card-actions .lw-btn-download,
.post-type-archive-product .sw-product-card .sw-card-actions .lw-btn-download {
    border-color: #8f6844 !important;
    background: #a67c52 !important;
    color: #fffdf9 !important;
}

.sw-product-archive .sw-product-card .sw-card-actions .lw-btn:hover,
.tax-product_cat .sw-product-card .sw-card-actions .lw-btn:hover,
.tax-product_tag .sw-product-card .sw-card-actions .lw-btn:hover,
.post-type-archive-product .sw-product-card .sw-card-actions .lw-btn:hover {
    transform: none !important;
}

@media (max-width: 1040px) {
    .sw-product-archive .lw-archive-main .learnoxy-grid,
    .tax-product_cat .lw-archive-main .learnoxy-grid,
    .tax-product_tag .lw-archive-main .learnoxy-grid,
    .post-type-archive-product .lw-archive-main .learnoxy-grid {
        grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)) !important;
        gap: 32px 22px !important;
    }
}

@media (max-width: 640px) {
    .sw-product-archive .lw-archive-main .learnoxy-grid,
    .tax-product_cat .lw-archive-main .learnoxy-grid,
    .tax-product_tag .lw-archive-main .learnoxy-grid,
    .post-type-archive-product .lw-archive-main .learnoxy-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 28px 14px !important;
    }

    .sw-product-archive .sw-product-card .lw-card-title,
    .tax-product_cat .sw-product-card .lw-card-title,
    .tax-product_tag .sw-product-card .lw-card-title,
    .post-type-archive-product .sw-product-card .lw-card-title {
        min-height: 38px !important;
        font-size: 14px !important;
        line-height: 1.34 !important;
    }

    .sw-product-card-price {
        font-size: 15px !important;
    }

    .sw-product-card-chips span,
    .sw-product-archive .sw-product-card .sw-card-meta span,
    .tax-product_cat .sw-product-card .sw-card-meta span,
    .tax-product_tag .sw-product-card .sw-card-meta span,
    .post-type-archive-product .sw-product-card .sw-card-meta span {
        min-height: 23px !important;
        padding-inline: 7px !important;
        font-size: 10px !important;
    }

    .sw-product-archive .sw-product-card .sw-card-actions,
    .tax-product_cat .sw-product-card .sw-card-actions,
    .tax-product_tag .sw-product-card .sw-card-actions,
    .post-type-archive-product .sw-product-card .sw-card-actions {
        grid-template-columns: 1fr !important;
        padding-top: 12px !important;
    }

    .sw-product-archive .sw-product-card .sw-card-actions .lw-btn,
    .tax-product_cat .sw-product-card .sw-card-actions .lw-btn,
    .tax-product_tag .sw-product-card .sw-card-actions .lw-btn,
    .post-type-archive-product .sw-product-card .sw-card-actions .lw-btn {
        min-height: 40px !important;
        font-size: 12px !important;
    }
}

/* Product card cascade lock: all WooCommerce card contexts */
.sw-product-card .sw-card-actions {
    width: 100% !important;
    display: grid !important;
    grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr) !important;
    gap: 8px !important;
    margin: auto 0 0 !important;
    padding-top: 14px !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
}

.sw-product-card .sw-card-actions .lw-btn,
.sw-product-card .sw-card-actions .button,
.sw-product-card .sw-card-actions .add_to_cart_button {
    width: 100% !important;
    min-width: 0 !important;
    min-height: 44px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 0 !important;
    padding: 0 12px !important;
    font-size: 13px !important;
    font-weight: 850 !important;
    line-height: 1.1 !important;
    text-align: center !important;
    white-space: nowrap !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.sw-product-card .sw-card-actions .lw-btn-preview {
    border-color: rgba(16, 24, 40, 0.12) !important;
    background: #ffffff !important;
    color: #344054 !important;
}

.sw-product-card .sw-card-actions .lw-btn-download,
.sw-product-card .sw-card-actions .add_to_cart_button {
    border-color: rgba(122, 83, 31, 0.38) !important;
    background: linear-gradient(135deg, #c59a4a, #9f6b25) !important;
    color: #ffffff !important;
}

.sw-product-card .lw-card-title {
    min-height: 44px !important;
    color: #2b2118 !important;
    font-family: Manrope, Inter, "Plus Jakarta Sans", system-ui, sans-serif !important;
    font-size: 17px !important;
    font-weight: 780 !important;
    line-height: 1.3 !important;
}

.sw-product-card .sw-product-card-price {
    color: #2b2118 !important;
    font-size: 18px !important;
    font-weight: 860 !important;
}

.sw-product-card .sw-resource-thumb {
    aspect-ratio: 4 / 5.15 !important;
    border-color: rgba(74, 57, 43, 0.08) !important;
    background: #f4eee4 !important;
}

@media (max-width: 640px) {
    .sw-product-card .sw-card-actions {
        grid-template-columns: 1fr !important;
    }

    .sw-product-card .lw-card-title {
        min-height: 38px !important;
        font-size: 14px !important;
    }
}

/* PeetalKart physical EOF brand lock */
html,
body,
.site,
.site-content,
.inside-article,
.sw-product-page-pro,
.sw-woocommerce-page,
.lw-archive-wrap {
    background-color: #faf7f2 !important;
    color: #2b2118 !important;
}

body,
button,
input,
select,
textarea {
    font-family: Manrope, Inter, "Plus Jakarta Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
}

h1,
h2,
h3,
.lw-hero-title,
.lw-section-title,
.lw-single-title,
.sw-product-single .product_title,
.woocommerce-products-header__title,
.sw-dashboard-hero h1,
.sw-clean-order-title {
    color: #2b2118 !important;
    font-family: "Playfair Display", Georgia, "Times New Roman", serif !important;
    font-weight: 700 !important;
    letter-spacing: 0 !important;
}

.sw-product-card .lw-card-title,
.sw-product-archive .sw-product-card .lw-card-title,
.tax-product_cat .sw-product-card .lw-card-title,
.tax-product_tag .sw-product-card .lw-card-title,
.post-type-archive-product .sw-product-card .lw-card-title {
    color: #2b2118 !important;
    font-family: Manrope, Inter, "Plus Jakarta Sans", system-ui, sans-serif !important;
    font-weight: 780 !important;
    letter-spacing: 0 !important;
}

.lw-section-desc,
.lw-card-desc,
.sw-card-meta,
.sw-product-card-chips,
.sw-breadcrumb-item a,
.sw-mini-cart-head span,
.sw-review-summary-panel p,
.sw-checkout-payment-clarity p {
    color: #6f6258 !important;
}

.site-header,
.main-navigation,
.lw-header,
.sw-breadcrumb-shell,
.site-footer,
.lw-footer {
    border-color: rgba(74, 57, 43, 0.11) !important;
    background: rgba(255, 253, 249, 0.94) !important;
}

.lw-nav a,
.main-navigation a,
.sw-mobile-commerce-links > div a,
.sw-account-link,
.sw-cart-link {
    color: #3a2d21 !important;
}

a:hover,
.lw-nav a:hover,
.main-navigation a:hover,
.sw-breadcrumb-item a:hover {
    color: #8f6844 !important;
}

.lw-search-form,
.lw-search-form input[type="search"],
.sw-mobile-search,
.woocommerce-product-search input[type="search"] {
    border-color: rgba(74, 57, 43, 0.11) !important;
    background: #fffdf9 !important;
    color: #2b2118 !important;
}

.sw-product-card,
.sw-product-archive .sw-product-card,
.tax-product_cat .sw-product-card,
.tax-product_tag .sw-product-card,
.post-type-archive-product .sw-product-card {
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

.sw-product-card .sw-resource-thumb,
.sw-product-archive .sw-product-card .sw-resource-thumb,
.tax-product_cat .sw-product-card .sw-resource-thumb,
.tax-product_tag .sw-product-card .sw-resource-thumb,
.post-type-archive-product .sw-product-card .sw-resource-thumb {
    border-color: rgba(74, 57, 43, 0.08) !important;
    background: #f4eee4 !important;
    box-shadow: none !important;
}

.sw-product-card:hover .sw-resource-thumb img,
.sw-product-archive .sw-product-card:hover .sw-resource-thumb img,
.tax-product_cat .sw-product-card:hover .sw-resource-thumb img,
.tax-product_tag .sw-product-card:hover .sw-resource-thumb img,
.post-type-archive-product .sw-product-card:hover .sw-resource-thumb img {
    filter: saturate(1.02) contrast(1.01) !important;
    transform: scale(1.018) !important;
}

.sw-product-card .sw-card-type,
.sw-product-archive .sw-product-card .sw-card-type,
.tax-product_cat .sw-product-card .sw-card-type,
.tax-product_tag .sw-product-card .sw-card-type,
.post-type-archive-product .sw-product-card .sw-card-type,
.lw-section-eyebrow,
.lw-eyebrow {
    border-color: rgba(176, 141, 87, 0.24) !important;
    background: #f7efe1 !important;
    color: #8f6844 !important;
}

.sw-product-sale-flag,
.sw-product-card .sw-product-sale-flag {
    border-color: rgba(168, 107, 76, 0.24) !important;
    background: #fbefe7 !important;
    color: #a86b4c !important;
}

.sw-product-card .sw-product-card-price,
.sw-product-card-price,
.sw-product-single .price,
.sw-product-buybox .price {
    color: #2b2118 !important;
}

.lw-btn,
.button,
button,
input[type="submit"],
.wc-block-components-button,
.sw-product-card .sw-card-actions .lw-btn,
.sw-product-card .sw-card-actions .button,
.sw-product-card .sw-card-actions .add_to_cart_button,
.sw-product-single .sw-product-cart-actions .single_add_to_cart_button,
.sw-product-single .sw-product-cart-actions button.single_add_to_cart_button.button.alt,
.sw-product-single .sw-product-cart-actions .sw-buy-now-button,
.sw-woocommerce-page .wc-block-cart__submit-button,
.sw-woocommerce-page .wc-block-components-checkout-place-order-button {
    border-radius: 8px !important;
    box-shadow: none !important;
    text-transform: none !important;
    transition: background-color 170ms ease, border-color 170ms ease, color 170ms ease, transform 170ms ease, opacity 170ms ease !important;
}

.lw-btn-download,
.sw-product-card .sw-card-actions .lw-btn-download,
.sw-product-card .sw-card-actions .add_to_cart_button,
.sw-product-single .sw-product-cart-actions .single_add_to_cart_button,
.sw-product-single .sw-product-cart-actions button.single_add_to_cart_button.button.alt,
.sw-woocommerce-page .wc-block-cart__submit-button,
.sw-woocommerce-page .wc-block-components-checkout-place-order-button {
    border: 1px solid #8f6844 !important;
    background: #a67c52 !important;
    background-image: none !important;
    color: #fffdf9 !important;
}

.lw-btn-download:hover,
.sw-product-card .sw-card-actions .lw-btn-download:hover,
.sw-product-card .sw-card-actions .add_to_cart_button:hover,
.sw-product-single .sw-product-cart-actions .single_add_to_cart_button:hover,
.sw-product-single .sw-product-cart-actions button.single_add_to_cart_button.button.alt:hover,
.sw-woocommerce-page .wc-block-cart__submit-button:hover,
.sw-woocommerce-page .wc-block-components-checkout-place-order-button:hover {
    background: #8f6844 !important;
    background-image: none !important;
    transform: translateY(-1px) !important;
}

.lw-btn-preview,
.sw-product-card .sw-card-actions .lw-btn-preview,
.sw-product-single .sw-product-cart-actions .sw-buy-now-button,
.sw-mobile-buy-now,
.sw-wishlist-button {
    border: 1px solid rgba(74, 57, 43, 0.22) !important;
    background: #fffdf9 !important;
    background-image: none !important;
    color: #2b2118 !important;
}

.lw-btn-preview:hover,
.sw-product-card .sw-card-actions .lw-btn-preview:hover,
.sw-product-single .sw-product-cart-actions .sw-buy-now-button:hover,
.sw-mobile-buy-now:hover,
.sw-wishlist-button:hover {
    border-color: rgba(176, 141, 87, 0.42) !important;
    background: #f7efe1 !important;
    color: #8f6844 !important;
    transform: translateY(-1px) !important;
}

.sw-product-gallery-shell,
.sw-product-gallery,
.sw-product-gallery-main,
.sw-product-main-image {
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

.sw-product-trust-section,
.sw-review-summary-panel,
.sw-cart-guidance,
.sw-checkout-readiness,
.sw-checkout-payment-clarity,
.sw-commerce-trust-strip,
.sw-empty-commerce-panel,
.sw-mini-cart-panel,
.woocommerce-MyAccount-navigation,
.woocommerce-MyAccount-content,
.sw-dashboard-card,
.sw-clean-order-card,
.sw-woocommerce-page .wc-block-components-sidebar,
.sw-woocommerce-page .wc-block-components-main,
.sw-woocommerce-page .wc-block-components-checkout-step,
.sw-woocommerce-page .wc-block-cart-items,
.sw-woocommerce-page .wc-block-components-totals-wrapper {
    border-color: rgba(74, 57, 43, 0.11) !important;
    background: rgba(255, 253, 249, 0.88) !important;
    box-shadow: 0 10px 30px rgba(74, 57, 43, 0.05) !important;
}

.sw-trust-card,
.sw-review-proof article,
.sw-review-score,
.sw-mini-cart-item,
.sw-upsell-card,
.sw-mobile-bottom-nav {
    border-color: rgba(74, 57, 43, 0.11) !important;
    background: #fffdf9 !important;
}

.sw-mini-cart-overlay {
    background: rgba(43, 33, 24, 0.28) !important;
}

.sw-cart-count,
.sw-mobile-bottom-nav small {
    background: #8f6844 !important;
    color: #fffdf9 !important;
}

.sw-product-story-section {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
    gap: clamp(24px, 4vw, 64px);
    align-items: start;
    margin: clamp(44px, 7vw, 84px) 0;
    padding: clamp(28px, 5vw, 56px) 0;
    border-top: 1px solid rgba(74, 57, 43, 0.11);
    border-bottom: 1px solid rgba(74, 57, 43, 0.11);
    background: transparent !important;
}

.sw-story-eyebrow {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    margin-bottom: 12px;
    border: 1px solid rgba(176, 141, 87, 0.24);
    border-radius: 999px;
    background: #f7efe1;
    color: #8f6844;
    padding: 5px 12px;
    font-size: 0.75rem;
    font-weight: 850;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.sw-product-story-copy .lw-section-title {
    max-width: 820px;
    margin: 0;
}

.sw-product-story-text {
    max-width: 760px;
    margin-top: 16px;
    color: #5f5147;
    font-size: clamp(1rem, 1.35vw, 1.12rem);
    line-height: 1.85;
}

.sw-product-story-text p {
    margin: 0 0 12px;
}

.sw-product-story-text p:last-child {
    margin-bottom: 0;
}

.sw-product-story-details {
    display: grid;
    gap: 16px;
}

.sw-product-story-video {
    position: relative;
    overflow: hidden;
    width: 100%;
    aspect-ratio: 16 / 10;
    border: 1px solid rgba(74, 57, 43, 0.11);
    border-radius: 10px;
    background: #f4eee4;
}

.sw-product-story-video iframe,
.sw-product-story-video video {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
    object-fit: cover;
}

.sw-product-story-image {
    overflow: hidden;
    margin: 0;
    border: 1px solid rgba(74, 57, 43, 0.11);
    border-radius: 10px;
    background: #f4eee4;
}

.sw-product-story-image img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    height: auto;
    object-fit: cover;
}

.sw-product-story-text img {
    max-width: 100%;
    height: auto;
    margin: 16px 0;
    border-radius: 10px;
}

.sw-product-story-text figure {
    margin: 18px 0;
}

.sw-product-story-text figcaption {
    margin-top: 8px;
    color: #6f6258;
    font-size: 0.84rem;
    line-height: 1.5;
}

.sw-product-story-details dl {
    display: grid;
    gap: 10px;
    margin: 0;
}

.sw-product-story-details dl div {
    display: grid;
    gap: 5px;
    padding: 14px 0;
    border-bottom: 1px solid rgba(74, 57, 43, 0.1);
}

.sw-product-story-details dt {
    color: #8f6844;
    font-size: 0.72rem;
    font-weight: 850;
    letter-spacing: 0.05em;
    line-height: 1;
    text-transform: uppercase;
}

.sw-product-story-details dd {
    margin: 0;
    color: #2b2118;
    font-size: 0.98rem;
    font-weight: 760;
    line-height: 1.45;
}

.sw-product-story-details ul {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 4px 0 0;
    padding: 0;
    list-style: none;
}

.sw-product-story-details li {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    border: 1px solid rgba(74, 57, 43, 0.1);
    border-radius: 999px;
    background: #fffdf9;
    color: #6f6258;
    padding: 5px 11px;
    font-size: 0.78rem;
    font-weight: 760;
}

@media (max-width: 760px) {
    .sw-mobile-cart-bar {
        border-color: rgba(74, 57, 43, 0.11) !important;
        background: rgba(255, 253, 249, 0.96) !important;
        box-shadow: 0 14px 36px rgba(74, 57, 43, 0.13) !important;
    }

    .sw-product-story-section {
        grid-template-columns: 1fr;
        gap: 22px;
        margin: 36px 0;
        padding: 28px 0;
    }

    .sw-product-story-details ul {
        display: grid;
        grid-template-columns: 1fr;
    }
}
