/* Print Mart UK — small tweaks on top of Molla theme */

/* Shop product: WooCommerce / imported HTML description */
.product-description-html {
    line-height: 1.65;
    color: #333;
}

.product-description-html img {
    max-width: 100%;
    height: auto;
}

.product-description-html .details {
    margin-bottom: 0.75rem;
}

.main {
    min-height: 40vh;
}

.pm-product-gallery {
    margin-bottom: 1rem;
}

/* Shop: category sidebar (Molla filter-items look, link-based single select) */
.sidebar-shop.shop-category-sidebar .filter-item > a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 0.5rem 0;
    color: #333;
    text-decoration: none;
    border-bottom: 1px solid #ebebeb;
}

.sidebar-shop.shop-category-sidebar .filter-item:last-child > a {
    border-bottom: none;
}

.sidebar-shop.shop-category-sidebar .filter-item > a:hover,
.sidebar-shop.shop-category-sidebar .filter-item > a:focus {
    color: #c96;
}

.sidebar-shop.shop-category-sidebar .filter-item.active > a {
    color: #c96;
    font-weight: 500;
}

.sidebar-shop.shop-category-sidebar .item-count {
    flex-shrink: 0;
    margin-left: 0.75rem;
}

/* Shop: list rows (Molla category-list) */
.pm-shop-list-item + .pm-shop-list-item {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 0.1rem solid #ebebeb;
}

.shop-toolbox-search {
    max-width: 28rem;
    min-width: 14rem;
}

/* Full-width search row under Molla toolbox (category.html has no in-toolbox search) */
.page-content .shop-toolbox-search.mb-3 {
    max-width: 100%;
}

/* Shop grid: keep search + sort row from crushing the search field */
.toolbox .toolbox-search-form {
    flex: 1 1 220px;
    min-width: 0;
}

.toolbox .toolbox-search-form .input-group {
    width: 100%;
    min-width: 0;
}

.toolbox .toolbox-search-form .form-control {
    min-width: 0;
}

@media (max-width: 991.98px) {
    .shop-toolbox-search {
        max-width: none;
        width: 100%;
    }
}

/* Shop category page: align product grid behavior with Molla category.html */
.pm-shop-grid .row > [class*="col-"] {
    margin-bottom: 2rem;
}

.pm-shop-card {
    border: 1px solid #ebebeb;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.pm-shop-card:hover {
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

.pm-shop-card .product-media {
    background: #fff;
}

.pm-shop-card .product-action-vertical .btn-product-icon {
    opacity: 0;
    transform: translateX(6px);
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.pm-shop-card:hover .product-action-vertical .btn-product-icon {
    opacity: 1;
    transform: translateX(0);
}

/* Product detail: Personalize CTA (same Molla btn-product treatment as Add to cart) */
.product-details-action.pmuk-personalize-wrap {
    margin-top: 0.5rem;
    margin-bottom: 1.5rem;
}

.product-details-action .btn-product.btn-personalize {
    width: 100%;
    min-width: 0;
}

.product-details-action .btn-product.btn-personalize span {
    letter-spacing: 0.06em;
}

/* Apparel colour/size matrix on product detail (Molla layout) */
.pmuk-apparel-picker .details-filter-row {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 0.75rem 1.5rem;
    margin-bottom: 1.5rem;
}

.pmuk-apparel-picker .details-filter-row > label {
    flex: 0 0 100%;
    max-width: 100%;
    margin: 0;
    font-size: 1.4rem;
    font-weight: 500;
    color: #333;
}

.pmuk-apparel-picker .details-filter-row .select-custom {
    flex: 1 1 12rem;
    min-width: 10rem;
}

.pmuk-apparel-picker .product-nav.product-nav-thumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.pmuk-apparel-picker .pmuk-color-btn {
    width: 5.6rem;
    height: 5.6rem;
    padding: 0.2rem;
    border: 0.2rem solid #ebebeb;
    border-radius: 0.2rem;
    background: #fff;
    cursor: pointer;
}

.pmuk-apparel-picker .pmuk-color-btn:hover {
    border-color: #ccc;
}

.pmuk-apparel-picker .pmuk-color-btn.active,
.pmuk-apparel-picker .pmuk-color-btn:focus-visible {
    border-color: #c96;
    outline: none;
    box-shadow: 0 0 0 0.15rem rgba(204, 153, 102, 0.35);
}

.pmuk-apparel-picker .pmuk-color-btn img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0.1rem;
}

.pmuk-apparel-picker .pmuk-color-btn .pmuk-color-swatch {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 0.1rem;
}

.pmuk-apparel-selection-summary {
    font-size: 1.3rem;
    margin: -0.25rem 0 1rem;
    min-height: 1.5em;
    color: #777;
}

/* Cart: custom design preview thumbnail */
.pm-cart-product-media .pm-cart-design-preview {
    object-fit: contain;
    background: #f8f8f8;
    border: 0.1rem solid #ebebeb;
    border-radius: 0.2rem;
}

.pm-shop-card .product-action {
    transform: translateY(8px);
    opacity: 0;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.pm-shop-card:hover .product-action {
    transform: translateY(0);
    opacity: 1;
}

.pm-shop-card .product-image,
.pm-shop-card .product-image-hover {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

.pm-shop-card .product-title {
    min-height: 4.4rem;
}

/* Homepage: desktop-first landing page refinements */
.pm-homepage .pm-home-section {
    margin-bottom: 4rem;
}

.pm-homepage .pm-home-section:last-child {
    margin-bottom: 0;
}

.pm-homepage .pm-home-heading .title {
    font-size: 2.8rem;
    letter-spacing: -0.02em;
    margin-bottom: 0.8rem;
}

.pm-homepage .pm-home-heading .title-desc {
    margin-bottom: 0;
    color: #777;
    font-size: 1.4rem;
}

.pm-homepage .pm-home-hero .intro-slide {
    min-height: 500px;
}

.pm-homepage .pm-home-hero .intro-content {
    max-width: 560px;
}

.pm-homepage .pm-home-hero .intro-subtitle {
    font-size: 1.5rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.pm-homepage .pm-home-hero .intro-title {
    font-size: 4.4rem;
    line-height: 1.1;
}

.pm-homepage .pm-home-hero .btn {
    min-width: 170px;
    font-weight: 600;
}

.pm-home-categories-wrap {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

.pm-home-category-grid {
    margin-left: -1rem;
    margin-right: -1rem;
}

.pm-home-category-grid > [class*="col-"] {
    padding-left: 1rem;
    padding-right: 1rem;
}

.pm-home-category-tile {
    background-color: #fff;
    border: 1px solid #ebebeb;
    border-radius: 0.4rem;
    overflow: hidden;
    color: #333;
    transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.pm-home-category-tile:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
    color: #333;
    text-decoration: none;
}

.pm-home-category-tile-media {
    position: relative;
    width: 100%;
    padding-top: 75%;
    background-color: #f8f8f8;
    overflow: hidden;
}

.pm-home-category-tile-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pm-home-category-tile-placeholder {
    position: absolute;
    inset: 0;
    min-height: 100%;
}

.pm-home-category-tile-body {
    padding: 1.4rem 1rem 1.6rem;
    border-top: 1px solid #ebebeb;
}

.pm-home-category-tile-title {
    font-weight: 500;
    font-size: 1.5rem;
    line-height: 1.35;
    color: #333;
}

.pm-home-products-head {
    margin-bottom: 0.8rem;
}

.pm-home-product-tabs-nav .nav-link {
    font-size: 1.6rem;
    font-weight: 500;
    text-transform: none;
}

.pm-home-products-note {
    margin-top: 0.6rem;
}

.pm-home-products-carousel-wrap .product {
    border: 1px solid #efefef;
    border-radius: 0.6rem;
}

.pm-home-products-carousel-wrap .owl-stage-outer {
    padding-top: 0.6rem;
    padding-bottom: 0.8rem;
}

.pm-home-brands .brands-border {
    border-top: 1px solid #ededed;
    border-bottom: 1px solid #ededed;
    margin-top: 2rem;
}

.pm-home-promos .banner-group {
    margin-bottom: 0;
}

.pm-home-promos .banner {
    border-radius: 0.6rem;
    overflow: hidden;
}

.pm-home-blog .blog-posts {
    padding-top: 1rem;
}

@media (max-width: 1199.98px) {
    .pm-homepage .pm-home-hero .intro-title {
        font-size: 3.8rem;
    }
}

@media (max-width: 991.98px) {
    .pm-homepage .pm-home-section {
        margin-bottom: 3rem;
    }

    .pm-homepage .pm-home-heading .title {
        font-size: 2.4rem;
    }

    .pm-homepage .pm-home-hero .intro-slide {
        min-height: 420px;
    }
}

/* Header menu from Admin: nested lists in Browse dropdown, megamenu column, mobile */
.menu-vertical.sf-arrows ul ul,
.pm-storefront-header-menu-tree ul,
.mobile-menu ul ul,
.mobile-cats-menu ul ul {
    margin-left: 0.65rem;
    padding-left: 0.35rem;
    border-left: 1px solid rgba(0, 0, 0, 0.08);
}

.pm-storefront-header-menu-tree > li > a,
.menu-vertical.sf-arrows li > a {
    font-weight: 500;
}

.pm-menu-icon,
.pmuk-menu-icon {
    vertical-align: middle;
}

/*
 * Same content width on home, shop, and category pages (header + main).
 */
.page-wrapper .header-top .container,
.page-wrapper .header-middle .container,
.page-wrapper .page-header .container,
.page-wrapper .breadcrumb-nav .container,
.page-wrapper .page-content > .container {
    max-width: 1360px;
}

/* Wider bar so Browse Categories + main nav fit on one row */
.page-wrapper .header-bottom .container {
    max-width: 1360px;
}

/*
 * Sticky header: fixed-width Browse Categories | flexible main menu (no tagline column)
 */
.header-2 .header-bottom.sticky-header > .container > .header-right {
    display: none !important;
}

.header-2 .header-bottom.sticky-header > .container {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 1.25rem;
}

.header-2 .header-bottom.sticky-header > .container > .header-left {
    flex: 0 0 17rem;
    width: 17rem;
    max-width: 17rem;
    min-width: 17rem;
    margin-right: 0;
    padding-right: 0;
    overflow: visible;
}

.header-2 .header-bottom.sticky-header .category-dropdown {
    width: 100%;
    max-width: 100%;
}

.header-2 .header-bottom.sticky-header .category-dropdown .dropdown-toggle {
    min-width: 0 !important;
    width: 100%;
    max-width: 100%;
    padding-left: 4.25rem;
    padding-right: 0.5rem;
    font-size: 1.3rem;
    white-space: nowrap;
}

.header-2 .header-bottom.sticky-header > .container > .header-center {
    flex: 1 1 0;
    min-width: 0;
    max-width: none;
    width: auto;
    margin-left: 0;
    padding-left: 0;
}

.header-2 .header-bottom.sticky-header > .container > .header-center .main-nav {
    width: 100%;
}

@media (max-width: 1199.98px) {
    .page-wrapper .header-bottom .container {
        max-width: 100%;
    }

    .header-2 .header-bottom.sticky-header > .container > .header-left {
        flex: 0 0 15rem;
        width: 15rem;
        max-width: 15rem;
        min-width: 15rem;
    }
}

@media (max-width: 991.98px) {
    .header-2 .header-bottom.sticky-header > .container {
        flex-wrap: wrap;
        gap: 0.75rem;
    }

    .header-2 .header-bottom.sticky-header > .container > .header-left,
    .header-2 .header-bottom.sticky-header > .container > .header-center {
        flex: 1 1 100%;
        width: 100%;
        max-width: 100%;
        min-width: 0;
    }
}

/*
 * Main horizontal nav (header-bottom): long labels (e.g. "Kensington & Chelsea Gymnastics")
 * wrap to two lines — keep row height even and allow the whole bar to wrap to a second row
 * on narrow desktops instead of crushing items.
 */
.header-bottom .main-nav ul.menu.sf-arrows.pm-main-nav-menu {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    justify-content: flex-start;
    row-gap: 0.25rem;
    margin-bottom: 0;
}

.header-bottom .main-nav ul.menu.sf-arrows.pm-main-nav-menu > li {
    display: flex;
    align-items: stretch;
}

.header-bottom .main-nav ul.menu.sf-arrows.pm-main-nav-menu > li > a {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    line-height: 1.22;
    white-space: normal;
    min-height: 3.25rem;
    padding-left: 0.85rem;
    padding-right: 0.85rem;
}

.header-bottom .main-nav ul.menu.sf-arrows.pm-main-nav-menu > li > a.sf-with-ul {
    padding-right: 1.6rem;
}

/* Cart page: Molla sets .cart-product-quantity{width:100px} and .quantity-col{width:135px} — too narrow for
   bootstrap-input-spinner + Update; .table-mobile also forces display:block on cells ≤991px and stacks rows. */
.pm-cart-page-table tbody td {
    vertical-align: middle;
}

.pm-cart-page-table.table-cart .price-col {
    width: auto;
    white-space: nowrap;
}

.pm-cart-page-table.table-cart .quantity-col {
    width: auto;
    min-width: 11rem;
    max-width: 24rem;
    white-space: nowrap;
}

.pm-cart-page-table.table-cart .total-col {
    width: auto;
    white-space: nowrap;
    font-weight: 500;
}

.pm-cart-page-table .product.pm-cart-product {
    display: flex;
    align-items: flex-start;
    gap: 1.2rem;
    max-width: 36rem;
}

.pm-cart-page-table .pm-cart-product-media {
    flex-shrink: 0;
    margin-bottom: 0;
}

.pm-cart-page-table .pm-cart-product-body {
    flex: 1;
    min-width: 0;
}

.pm-cart-page-table .pm-cart-product-body .product-title {
    margin-bottom: 0.35rem;
    font-size: 1.4rem;
}

.pm-cart-page-table .cart-product-quantity.pm-cart-line-qty {
    display: inline-block;
    margin-bottom: 0;
    width: auto !important;
    max-width: none;
}

.pm-cart-page-table .cart-product-quantity.pm-cart-line-qty .input-group.input-spinner {
    max-width: 10.5rem;
}

.pm-cart-page-table .remove-col {
    text-align: center;
    white-space: nowrap;
}

.pm-cart-page-table .remove-col form {
    display: inline-block;
    margin: 0;
}

.pm-cart-page-table .remove-col .btn-remove {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* —— Legal pages (Privacy Policy, etc.) —— */
.legal-doc-page {
    background: #f7f8fa;
}

.legal-doc-page .legal-doc-container {
    max-width: 1200px;
}

.legal-doc-layout {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

@media (min-width: 992px) {
    .legal-doc-layout {
        flex-direction: row;
        align-items: flex-start;
        gap: 2.5rem;
    }

    .legal-doc-toc-wrap {
        flex: 0 0 220px;
        max-width: 220px;
    }
}

.legal-doc-toc-mobile {
    border: 1px solid #e7e7e7;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
    margin-bottom: 0.5rem;
}

.legal-doc-toc-mobile summary {
    list-style: none;
    cursor: pointer;
    padding: 0.85rem 1rem;
    font-weight: 600;
    font-size: 1.5rem;
    color: #333;
    position: relative;
    padding-right: 2.25rem;
}

.legal-doc-toc-mobile summary::-webkit-details-marker {
    display: none;
}

.legal-doc-toc-mobile summary::after {
    content: "";
    position: absolute;
    right: 1rem;
    top: 50%;
    width: 0.5rem;
    height: 0.5rem;
    border-right: 2px solid #777;
    border-bottom: 2px solid #777;
    transform: translateY(-65%) rotate(45deg);
    transition: transform 0.2s;
}

.legal-doc-toc-mobile[open] summary::after {
    transform: translateY(-35%) rotate(-135deg);
}

.legal-doc-toc-mobile .legal-doc-toc-list {
    margin: 0;
    padding: 0 1rem 1rem;
    border-top: 1px solid #eee;
}

.legal-doc-toc-sticky {
    position: sticky;
    top: 6.5rem;
    padding: 1.25rem 1.35rem;
    border: 1px solid #e7e7e7;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
}

.legal-doc-toc-heading {
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #888;
    margin: 0 0 0.85rem;
    font-weight: 700;
}

.legal-doc-toc-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.legal-doc-toc-list li {
    margin: 0;
    padding: 0;
    border-bottom: 1px solid #f0f0f0;
}

.legal-doc-toc-list li:last-child {
    border-bottom: 0;
}

.legal-doc-toc-list a {
    display: block;
    padding: 0.45rem 0;
    font-size: 1.4rem;
    line-height: 1.4;
    color: #444;
    text-decoration: none;
    border-left: 3px solid transparent;
    padding-left: 0.65rem;
    margin-left: -0.65rem;
    transition: color 0.15s, border-color 0.15s, background 0.15s;
}

.legal-doc-toc-list a:hover,
.legal-doc-toc-list a:focus {
    color: #c96;
    border-left-color: #c96;
    background: rgba(204, 153, 102, 0.06);
    outline: none;
}

.legal-doc-main {
    flex: 1;
    min-width: 0;
}

.legal-doc-card {
    background: #fff;
    border: 1px solid #e7e7e7;
    border-radius: 14px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
    padding: 2rem 2rem 2.75rem;
    max-width: none;
    width: 100%;
    font-size: 1.5rem;
    line-height: 1.7;
    color: #444;
}

@media (min-width: 992px) {
    .legal-doc-card {
        padding: 2.5rem 3rem 3.25rem;
    }
}

.legal-doc-card-header {
    padding-bottom: 1.5rem;
    margin-bottom: 1.75rem;
    border-bottom: 1px solid #eee;
}

.legal-doc-lead-block {
    margin-bottom: 0.25rem;
}

.legal-doc-card-header .legal-doc-kicker {
    display: inline-block;
    font-size: 1.2rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #c96;
    margin-bottom: 0.5rem;
}

.legal-doc-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1rem;
    align-items: center;
    font-size: 1.4rem;
    color: #666;
}

.legal-doc-meta time {
    font-variant-numeric: tabular-nums;
}

.legal-doc-card .lead {
    font-size: inherit;
    line-height: inherit;
    color: #555;
}

.legal-doc-card > p,
.legal-doc-card .legal-doc-lead-block p {
    font-size: inherit;
    line-height: inherit;
    color: inherit;
    margin-bottom: 1.15rem;
}

.legal-doc-card a:not(.legal-doc-toc-list a) {
    color: #b07a3d;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.legal-doc-card a:not(.legal-doc-toc-list a):hover {
    color: #996633;
}

.legal-doc-h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #1a1a1a;
    margin: 2.25rem 0 1rem;
    padding-top: 0.25rem;
    line-height: 1.35;
    letter-spacing: -0.01em;
    scroll-margin-top: 6.5rem;
}

.legal-doc-h2:first-of-type {
    margin-top: 0;
}

.legal-doc-h3 {
    font-size: 1.7rem;
    font-weight: 600;
    color: #333;
    margin: 1.5rem 0 0.75rem;
    scroll-margin-top: 6.5rem;
}

#legal-how-given,
#legal-how-auto {
    scroll-margin-top: 6.5rem;
}

.legal-doc-card ul:not(.legal-doc-toc-list) {
    padding-left: 1.25rem;
    margin: 0 0 1.1rem;
}

.legal-doc-card ul:not(.legal-doc-toc-list) li {
    margin-bottom: 0.5rem;
    font-size: inherit;
    line-height: inherit;
    color: inherit;
}

.legal-doc-divider {
    border: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, #ddd 15%, #ddd 85%, transparent);
    margin: 2.5rem 0;
}

.legal-definitions {
    margin: 0 0 1.25rem;
    padding: 1rem 1.15rem;
    background: #fafafa;
    border-radius: 10px;
    border: 1px solid #eee;
}

.legal-definitions dt {
    font-weight: 700;
    color: #222;
    margin-top: 0.9rem;
    font-size: inherit;
}

.legal-definitions dt:first-child {
    margin-top: 0;
}

.legal-definitions dd {
    margin: 0.25rem 0 0;
    padding: 0;
    color: inherit;
    line-height: inherit;
    font-size: inherit;
}

.legal-doc-table-wrap {
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid #e8e8e8;
    margin: 0.75rem 0 1.25rem;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
}

.legal-doc-table {
    margin-bottom: 0 !important;
    font-size: 1.4rem;
    border: none !important;
}

.legal-doc-table thead th {
    background: linear-gradient(180deg, #f8f8f8 0%, #f0f0f0 100%);
    color: #333;
    font-weight: 600;
    font-size: 1.3rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    border: none !important;
    border-bottom: 1px solid #e0e0e0 !important;
    padding: 0.75rem 1rem !important;
    vertical-align: top;
}

.legal-doc-table tbody td {
    border: none !important;
    border-bottom: 1px solid #f0f0f0 !important;
    padding: 0.85rem 1rem !important;
    vertical-align: top;
    line-height: 1.55;
    color: #444;
}

.legal-doc-table tbody tr:last-child td {
    border-bottom: none !important;
}

.legal-doc-table tbody tr:nth-child(even) {
    background: #fcfcfc;
}

@media (max-width: 575.98px) {
    .legal-doc-table-wrap {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .legal-doc-table {
        min-width: 28rem;
    }
}

#cookies-schedule {
    scroll-margin-top: 6.5rem;
}

