/* Anastella site design overrides.
   Loaded by the Anastella Site plugin after the theme and plugin styles. Edit here (source in the wiki), not in Customizer → Additional CSS. */

.entry-content a,
.wp-block-post-content a {
    color: #315d85;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.entry-content a:hover,
.wp-block-post-content a:hover {
    opacity: 0.65;
}

/* Anastella header fix (2026-10-11): keep desktop menu labels on one line, tighten spacing on narrower desktops */
@media (min-width: 1200px) {
    .main-menu .nav-link,
    .main-menu .nav-link span {
        white-space: nowrap;
    }
    .main-menu .navbar-nav {
        flex-wrap: nowrap;
    }
    .header-actions {
        flex-shrink: 0;
        white-space: nowrap;
    }
}
@media (min-width: 1200px) and (max-width: 1599px) {
    .site-header .container-fluid {
        gap: 16px;
    }
    .site-logo img {
        height: 54px;
    }
    .main-menu .nav-link {
        font-size: 13px;
        letter-spacing: 0.05em;
    }
    .main-menu .nav-item + .nav-item {
        margin-left: 20px;
    }
    .header-actions {
        gap: 14px;
    }
}


/* ===== Anastella design polish (2026-10-12) ===== */

/* A. Product cards: one type scale, even inset, nothing hidden under the chat tab */
.products .product-card-info,
.shop-products-grid .product-card-info {
    padding: 16px 20px 0;
    gap: 20px;
    align-items: flex-start;
}
.products .product-card-title,
.shop-products-grid .product-card-title {
    font-size: 18px;
    line-height: 1.3;
    letter-spacing: 0.01em;
}
.products .product-card-price,
.shop-products-grid .product-card-price {
    font-size: 18px;
    line-height: 1.3;
}
.product-card-action { gap: 10px; }
.shop-products-grid .product-card-cart-icon,
.product-card-cart-icon { width: 20px; height: 20px; }
@media (max-width: 767.98px) {
    .products .product-card-info,
    .shop-products-grid .product-card-info { padding: 12px 12px 0; gap: 12px; }
    .products .product-card-title,
    .shop-products-grid .product-card-title,
    .products .product-card-price,
    .shop-products-grid .product-card-price { font-size: 16px; }
}

/* B. Product page: labelled attribute rows, tidy size selector, equal-height buttons */
.single-product .product_title {
    font-size: clamp(26px, 2.4vw, 34px);
    line-height: 1.2;
}
.single-product .summary .price { margin: 0 0 24px; }
.product-attributes-list {
    margin: 0 0 28px;
    border-top: 1px solid var(--site-border);
}
.product-attributes-list li.product-attributes-list__item {
    display: grid;
    grid-template-columns: 130px 1fr;
    gap: 16px;
    align-items: baseline;
    margin: 0;
    padding: 12px 0;
    border-bottom: 1px solid var(--site-border);
    line-height: 1.4;
}
.product-attributes-list__label {
    font-size: 12px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #5b6b7b;
}
.product-attributes-list__value { font-size: 16px; color: var(--site-text); }
.single-product-variation-option {
    flex-direction: column;
    align-items: stretch;
    gap: 8px !important;
}
.single-product-variation-option__label {
    font-size: 12px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #5b6b7b;
}
.single-product-variation-option__field select { width: 100%; max-width: 420px; }
.single-product-buy-row { gap: 12px 16px !important; }
.single-product-buy-row .quantity-square,
.single-product-buy-row .btn { min-height: 52px; }
.single-product-buy-row .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 28px;
}

/* C. Standard pages (info, policies, wholesale, payment, about): one calm reading layout */
.page-template-default:not(.woocommerce-page) .page-content .entry-content > p,
.page-template-default:not(.woocommerce-page) .page-content .entry-content > h2,
.page-template-default:not(.woocommerce-page) .page-content .entry-content > h3,
.page-template-default:not(.woocommerce-page) .page-content .entry-content > ul,
.page-template-default:not(.woocommerce-page) .page-content .entry-content > ol { max-width: 760px; }
.page-template-default:not(.woocommerce-page) .page-content .entry-content h2 {
    font-size: clamp(24px, 2.2vw, 30px);
    line-height: 1.2;
    margin: 48px 0 16px;
}
.page-template-default:not(.woocommerce-page) .page-content .entry-content h3 {
    font-size: 22px;
    line-height: 1.25;
    margin: 32px 0 12px;
}
.page-template-default:not(.woocommerce-page) .page-content .entry-content > :first-child,
.page-template-default:not(.woocommerce-page) .page-content .entry-content .wp-block-column > :first-child { margin-top: 0; }
.page-template-default:not(.woocommerce-page) .page-content .entry-content p {
    margin: 0 0 16px;
    line-height: 1.6;
}
.page-template-default:not(.woocommerce-page) .page-content .entry-content p:empty { display: none; }
.page-template-default:not(.woocommerce-page) .page-content .entry-content ul,
.page-template-default:not(.woocommerce-page) .page-content .entry-content ol {
    margin: 0 0 20px;
    padding-left: 1.25em;
}
.page-template-default:not(.woocommerce-page) .page-content .entry-content li {
    margin-bottom: 8px;
    line-height: 1.6;
}
.page-template-default:not(.woocommerce-page) .page-content .entry-content .wp-block-columns {
    gap: 64px;
    align-items: flex-start;
}
.page-template-default:not(.woocommerce-page) .page-content .entry-content .wp-block-table th {
    font-family: var(--body-font), sans-serif;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

/* D. Links like "Get in touch" / "View collection": clear hover and focus */
.btn-link,
.footer-links-title.appointment-modal { cursor: pointer; }
.btn-link { transition: color 0.25s ease, padding 0.25s ease; }
.btn-link::after { transition: transform 0.25s ease; }
.btn-link:hover,
.btn-link:focus-visible { color: var(--site-blue); }
.btn-link:hover::after,
.btn-link:focus-visible::after { transform: translateX(8px); }
.btn-link:focus-visible { outline: 2px solid var(--site-blue); outline-offset: 4px; }

/* E. Collection / shop archive: even vertical rhythm (was 90px padding above and below the filters) */
.shop-filters-form .shop-filters-grid,
.shop-filters-form > section {
    padding-top: 32px;
    padding-bottom: 32px;
    margin-bottom: 24px;
}

/* G. Cart: calm, on-brand details (no red cross, no underlined names, matching buttons) */
html body a.remove {
    color: var(--site-text) !important;
    font-weight: 300;
}
html body a.remove:hover { background: transparent; color: var(--site-blue) !important; }
.woocommerce-cart table.cart td.product-name a { text-decoration: none; }
.woocommerce-cart .coupon .button,
.woocommerce-cart button[name="update_cart"] {
    min-height: 48px;
    font-size: 13px;
    letter-spacing: 0.08em;
}

/* M. Mobile (phones and small tablets) */
@media (max-width: 991.98px) {
    /* Header: larger tap targets, never wraps */
    .site-header .container-fluid { flex-wrap: nowrap; }
    .site-logo { flex-shrink: 1; min-width: 0; }
    .site-logo img { max-width: 100%; height: auto; max-height: 30px; }
    .header-mobile-tools { gap: 2px; }
    .header-mobile-tools .header-icon { width: 34px; height: 34px; }
    .navbar-toggler { width: 34px; height: 34px; }

    /* "Message us": compact round button instead of a tall side tab; tap opens the messengers */
    .floating-contact { top: auto; bottom: 80px; right: 16px; transform: none; }
    .floating-contact-panel { width: 48px; min-height: 0; border-radius: 24px; }
    .floating-contact-default { width: 48px; min-height: 48px; padding: 0; }
    .floating-contact-label { display: none; }
    .floating-contact-main-icon,
    .floating-contact-main-icon svg { width: 20px; height: 20px; }
    .floating-contact-overlay {
        position: static;
        display: none;
        width: 48px;
        min-height: 0;
        padding: 10px 0;
        gap: 10px;
        opacity: 1;
        visibility: visible;
        transform: none;
    }
    .floating-contact.is-open .floating-contact-panel { display: flex; flex-direction: column-reverse; }
    .floating-contact.is-open .floating-contact-overlay { display: flex; }

    /* Product gallery: full-width photo first, swipeable thumbnails below */
    .single-product-gallery-grid { display: flex; flex-direction: column; gap: 12px; }
    .single-product-gallery-main-wrap { order: -1; width: 100%; }
    .single-product-gallery-thumbs-wrap { width: 100%; }
    .single-product-gallery-thumbs-arrow { display: none; }
    .single-product-gallery-thumbs {
        height: auto !important;
        overflow-x: auto;
        overflow-y: hidden;
        scrollbar-width: none;
    }
    .single-product-gallery-thumbs::-webkit-scrollbar { display: none; }
    .single-product-gallery-thumbs-track {
        flex-direction: row;
        gap: 8px;
        height: auto !important;
        transform: none !important;
    }
    .single-product-gallery-thumb {
        flex: 0 0 64px;
        width: 64px;
        height: auto;
        aspect-ratio: 3 / 4;
        padding: 0;
    }
    .single-product-gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }

    /* Product info accordions (Size & Fit, Care, Shipping): full width */
    .floating-accordion { width: 100%; }
    .floating-accordion__panel { position: static; width: 100%; }

    /* Footer: space between the stacked groups */
    .site-footer [class*="col-"] + [class*="col-"] { margin-top: 32px; }
}
@media (max-width: 374.98px) {
    /* Very small phones: keep the logo readable and the menu button on screen */
    .site-header .container-fluid { gap: 8px; }
    .site-logo { min-width: 96px; }
    .header-mobile-tools .header-icon,
    .navbar-toggler { width: 30px; height: 30px; }
    .header-mobile-tools a[href*="logout"] { display: none; }
}

/* H. Refinements: button hierarchy, calmer footer type, contact page rhythm, quieter side tab */
.single_add_to_cart_button.btn-secondary {
    --bs-btn-color: #fff;
    --bs-btn-bg: var(--site-blue-deep);
    --bs-btn-border-color: var(--site-blue-deep);
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: var(--site-text);
    --bs-btn-hover-border-color: var(--site-text);
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: var(--site-text);
    --bs-btn-active-border-color: var(--site-text);
    --bs-btn-disabled-color: #fff;
    --bs-btn-disabled-bg: var(--site-blue-deep);
    --bs-btn-disabled-border-color: var(--site-blue-deep);
}
.single_add_to_cart_button.disabled,
.single_add_to_cart_button:disabled { opacity: 0.45; }
.appointment-banner .btn-secondary {
    --bs-btn-color: var(--site-blue-deep);
    --bs-btn-bg: #fff;
    --bs-btn-border-color: #fff;
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: transparent;
    --bs-btn-hover-border-color: #fff;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: transparent;
    --bs-btn-active-border-color: #fff;
}
footer.site-footer .footer-links a,
footer.site-footer .footer-links .menu-item a { letter-spacing: 0.02em; }
.page-contacts .entry-content h2 {
    font-size: clamp(24px, 2.2vw, 30px);
    line-height: 1.2;
}
.page-contacts .entry-content * + h2 { margin-top: 40px; }
@media (min-width: 992px) {
    .floating-contact-panel,
    .floating-contact-default,
    .floating-contact-overlay { width: 44px; min-height: 148px; }
    .floating-contact-label { font-size: 15px; letter-spacing: 0.04em; }
}

/* I. Mobile feedback round 2 (2026-10-12): cart, load more, WhatsApp button, wishlist, product cards */

/* Cart: WooCommerce's ".woocommerce a.remove" (red, !important) outranked block G, so repeat it with more weight */
.woocommerce-cart .woocommerce a.remove,
.woocommerce-mini-cart a.remove,
.widget_shopping_cart a.remove {
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 0;
    font-size: 26px;
    font-weight: 200;
    color: var(--site-text) !important;
}
.woocommerce-cart .woocommerce a.remove:hover,
.woocommerce-mini-cart a.remove:hover,
.widget_shopping_cart a.remove:hover { background: transparent !important; color: var(--site-blue) !important; }

/* Cart: coupon field reads as a field, buttons as buttons */
.woocommerce-cart table.cart td.actions .coupon {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
    float: none;
    width: 100%;
    margin-bottom: 12px;
}
.woocommerce-cart table.cart td.actions .coupon .input-text {
    width: 100% !important;
    min-height: 48px;
    margin: 0 !important;
    padding: 0 16px !important;
    border: 1px solid var(--site-border, #c9cfd7) !important;
    background: #fff;
    color: var(--site-text);
    font-size: 15px;
}
.woocommerce-cart table.cart td.actions .coupon::before,
.woocommerce-cart table.cart td.actions .coupon::after { content: none; display: none; }
.woocommerce-cart table.cart td.actions .coupon .input-text:focus { border-color: var(--site-blue-deep) !important; outline: none; }
.woocommerce-cart table.cart td.actions .coupon .button {
    width: auto !important;
    float: none !important;
    min-height: 48px;
    margin: 0 !important;
    padding: 0 18px !important;
    border: 1px solid var(--site-blue-deep) !important;
    background: var(--site-blue-deep) !important;
    color: #fff !important;
    line-height: 1.2;
    white-space: nowrap;
}
.woocommerce-cart table.cart td.actions .coupon .button:hover { background: var(--site-text) !important; border-color: var(--site-text) !important; }
.woocommerce-cart table.cart td.actions button[name="update_cart"] {
    float: none;
    width: 100%;
    min-height: 48px;
    border: 1px solid var(--site-blue-deep) !important;
    background: transparent !important;
    color: var(--site-blue-deep) !important;
    opacity: 1 !important;
}
.woocommerce-cart table.cart td.actions button[name="update_cart"]:disabled {
    border-color: var(--site-border, #c9cfd7) !important;
    color: #8a97a5 !important;
    cursor: default;
}
.woocommerce-cart table.cart td.actions button[name="update_cart"]:not(:disabled):hover { background: var(--site-blue-deep) !important; color: #fff !important; }

/* Load more: theme hover kept the text dark blue on a dark blue fill, and phones keep hover after a tap */
.shop-load-more-link:hover,
.shop-load-more-link:focus-visible { color: #fff; }
@media (hover: none) {
    .shop-load-more-link:hover,
    .shop-load-more-link:focus { background: transparent; color: var(--site-blue-deep); border-color: var(--site-blue-deep); }
}

/* "Message us" goes straight to WhatsApp (the only messenger): the link covers the whole button */
.floating-contact-overlay {
    position: absolute !important;
    inset: 0;
    display: block !important;
    width: auto !important;
    min-height: 0 !important;
    padding: 0 !important;
    background: transparent;
    opacity: 1;
    visibility: visible;
    transform: none;
}
.floating-contact-messenger { position: absolute; inset: 0; width: auto; height: auto; }
.floating-contact-messenger:hover { transform: none; }
.floating-contact-messenger .mycontact-icon { display: none; }
.floating-contact-panel { background: var(--site-blue-deep); box-shadow: 0 6px 18px rgba(31, 42, 53, 0.22); }
.floating-contact-panel:hover { background: var(--site-text); }
@media (max-width: 991.98px) {
    .floating-contact.is-open .floating-contact-panel { display: block; }
}

/* Form submit buttons: deep blue, faded until the consent box is ticked (was a washed-out grey) */
.wpcf7-submit.btn-primary { background: var(--site-blue-deep) !important; border-color: var(--site-blue-deep) !important; color: #fff !important; }
.wpcf7-submit.btn-primary:disabled { opacity: 0.45 !important; }
.wpcf7-submit.btn-primary:not(:disabled):hover { background: var(--site-text) !important; border-color: var(--site-text) !important; }
.wpcf7-turnstile { margin: 4px 0 16px; }

/* Header heart: same 1.5px line as the other header icons */
.header-icon[href$="/wishlist/"] svg { display: none; }
.header-icon[href$="/wishlist/"]::before {
    content: "";
    display: block;
    width: 22px;
    height: 22px;
    background: currentColor;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5' stroke-linejoin='round'%3E%3Cpath d='M12 20s-7.2-4.4-9-9C1.8 7.8 3.8 4.5 7.2 4.5c2 0 3.6 1.1 4.8 2.9 1.2-1.8 2.8-2.9 4.8-2.9 3.4 0 5.4 3.3 4.2 6.5-1.8 4.6-9 9-9 9z'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5' stroke-linejoin='round'%3E%3Cpath d='M12 20s-7.2-4.4-9-9C1.8 7.8 3.8 4.5 7.2 4.5c2 0 3.6 1.1 4.8 2.9 1.2-1.8 2.8-2.9 4.8-2.9 3.4 0 5.4 3.3 4.2 6.5-1.8 4.6-9 9-9 9z'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* Wishlist heart on product photos: white disc so it reads on any image */
.product-card-wishlist .tinvwl_add_to_wishlist_button {
    width: 36px !important;
    height: 36px !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.92);
    color: var(--site-blue-deep) !important;
    box-shadow: 0 2px 8px rgba(31, 42, 53, 0.12);
}
.product-card-wishlist .tinvwl_add_to_wishlist_button::before {
    position: static !important;
    transform: none !important;
    width: auto !important;
    height: auto !important;
    margin: 0 !important;
    font-size: 17px !important;
    line-height: 1 !important;
    color: inherit !important;
}
.product-card-wishlist .tinvwl_add_to_wishlist_button.tinvwl-product-in-list::before { color: var(--site-blue-deep) !important; }

/* Product cards: one typeface for name and price, more air between cards */
.products .product-card-price,
.products .product-card-price .amount,
.shop-products-grid .product-card-price,
.shop-products-grid .product-card-price .amount {
    font-family: var(--body-font, "Onest"), sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: var(--site-text);
    white-space: nowrap;
}
.products .product-card-title,
.shop-products-grid .product-card-title { font-weight: 300; color: var(--site-text); }
@media (max-width: 767.98px) {
    ul.products,
    .products.columns-3,
    .shop-products-grid { row-gap: 40px !important; }
    .products .product-card-info,
    .shop-products-grid .product-card-info { padding: 14px 4px 0; }
}

/* Product page: "Size guide" link under the size selector (link added by the Anastella Site plugin) */
.anastella-size-guide {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    align-self: flex-start;
    margin-top: 2px;
    padding: 0;
    border: 0;
    background: none;
    color: var(--site-text);
    font: inherit;
    font-size: 14px;
    line-height: 1.4;
    letter-spacing: 0;
    text-transform: none;
    text-decoration: underline;
    text-decoration-color: rgba(31, 42, 53, 0.3);
    text-underline-offset: 4px;
    cursor: pointer;
}
.anastella-size-guide::before {
    content: "";
    flex: none;
    width: 18px;
    height: 18px;
    background: currentColor;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.3' stroke-linejoin='round'%3E%3Crect x='1.5' y='7.5' width='21' height='9' rx='1'/%3E%3Cpath d='M5.5 7.5v3M9.5 7.5v4.5M13.5 7.5v3M17.5 7.5v4.5'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.3' stroke-linejoin='round'%3E%3Crect x='1.5' y='7.5' width='21' height='9' rx='1'/%3E%3Cpath d='M5.5 7.5v3M9.5 7.5v4.5M13.5 7.5v3M17.5 7.5v4.5'/%3E%3C/svg%3E") center / contain no-repeat;
}
.anastella-size-guide:hover,
.anastella-size-guide:focus-visible { color: var(--site-blue-deep); text-decoration-color: currentColor; outline: none; }

/* J. Round WhatsApp button on all screens (no longer covers text), header heart same size as the other icons */
.floating-contact {
    top: auto;
    bottom: 84px;
    right: 20px;
    transform: none;
}
.floating-contact .floating-contact-panel {
    width: 52px !important;
    height: 52px;
    min-height: 0 !important;
    border-radius: 50%;
}
.floating-contact .floating-contact-default { display: none; }
.floating-contact .floating-contact-messenger {
    display: flex;
    align-items: center;
    justify-content: center;
}
.floating-contact .floating-contact-messenger .mycontact-icon { display: inline-flex; }
.floating-contact .floating-contact-messenger svg { width: 26px; height: 26px; }
.floating-contact .floating-contact-messenger svg path { fill: #fff; }
@media (max-width: 991.98px) {
    .floating-contact { bottom: 80px; right: 16px; }
    .floating-contact .floating-contact-panel { width: 48px !important; height: 48px; }
}

.header-icon[href$="/wishlist/"]::before {
    flex: none;
    width: 23px;
    height: 19px;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='1.2 3.7 21.6 17' fill='none' stroke='black' stroke-width='1.45' stroke-linejoin='round'%3E%3Cpath d='M12 20s-7.2-4.4-9-9C1.8 7.8 3.8 4.5 7.2 4.5c2 0 3.6 1.1 4.8 2.9 1.2-1.8 2.8-2.9 4.8-2.9 3.4 0 5.4 3.3 4.2 6.5-1.8 4.6-9 9-9 9z'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='1.2 3.7 21.6 17' fill='none' stroke='black' stroke-width='1.45' stroke-linejoin='round'%3E%3Cpath d='M12 20s-7.2-4.4-9-9C1.8 7.8 3.8 4.5 7.2 4.5c2 0 3.6 1.1 4.8 2.9 1.2-1.8 2.8-2.9 4.8-2.9 3.4 0 5.4 3.3 4.2 6.5-1.8 4.6-9 9-9 9z'/%3E%3C/svg%3E") center / contain no-repeat;
}


/* Size & Fit chart on phones: one line per size (ranges like 96–100 no longer break) */
@media (max-width: 575.98px) {
    .floating-accordion__panel table { width: 100%; font-size: 13px; }
    .floating-accordion__panel table th,
    .floating-accordion__panel table td { padding: 9px 6px; white-space: nowrap; }
    .floating-accordion__panel table th { font-size: 12px; line-height: 1.3; white-space: normal; vertical-align: bottom; }
}

/* Size guide popup (opened from the "Size guide" link on product pages) */
.anastella-size-dialog {
    width: min(640px, calc(100vw - 32px));
    max-height: min(85vh, 760px);
    padding: 0;
    border: 0;
    background: #fff;
    color: var(--site-text);
    box-shadow: 0 24px 64px rgba(31, 42, 53, 0.2);
    overflow: hidden;
}
.anastella-size-dialog[open] { display: flex; flex-direction: column; }
.anastella-size-dialog::backdrop { background: rgba(31, 42, 53, 0.45); }
.anastella-size-dialog__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 20px 24px;
    border-bottom: 1px solid var(--site-border, #c9cfd7);
}
.anastella-size-dialog__title { margin: 0; font-size: 24px; line-height: 1.2; }
.anastella-size-dialog__close {
    width: 40px;
    height: 40px;
    margin: -8px -8px -8px 0;
    padding: 0;
    border: 0;
    background: none;
    color: var(--site-text);
    font-size: 28px;
    font-weight: 200;
    line-height: 1;
    cursor: pointer;
}
.anastella-size-dialog__close:hover,
.anastella-size-dialog__close:focus-visible { color: var(--site-blue-deep); outline: none; }
.anastella-size-dialog__body { padding: 20px 24px 24px; overflow-y: auto; font-size: 15px; line-height: 1.6; }
.anastella-size-dialog__body > :first-child { margin-top: 0; }
.anastella-size-dialog__body > :last-child { margin-bottom: 0; }
.anastella-size-dialog__body table { width: 100%; margin: 16px 0; border-collapse: collapse; font-size: 14px; }
.anastella-size-dialog__body th,
.anastella-size-dialog__body td { padding: 10px 8px; text-align: left; white-space: nowrap; }
.anastella-size-dialog__body thead th,
.anastella-size-dialog__body tr:first-child th { font-weight: 400; color: #5b6b7b; border-bottom: 1px solid var(--site-border, #c9cfd7); }
.anastella-size-dialog__body tbody tr:nth-child(odd) { background: #f4f5f7; }
.anastella-size-dialog__body ul { margin: 8px 0 16px; padding-left: 1.25em; }
.anastella-size-dialog__body li { margin-bottom: 4px; }
/* No page scrolling behind the open popup (pure CSS, so it can never get stuck) */
html:has(.anastella-size-dialog[open]) { overflow: hidden; }
@media (max-width: 575.98px) {
    .anastella-size-dialog { width: 100vw; max-width: 100vw; max-height: 88vh; margin: auto 0 0; }
    .anastella-size-dialog__head { padding: 16px; }
    .anastella-size-dialog__title { font-size: 20px; }
    .anastella-size-dialog__body { padding: 16px; font-size: 14px; }
    .anastella-size-dialog__body table { font-size: 13px; }
    .anastella-size-dialog__body th,
    .anastella-size-dialog__body td { padding: 9px 6px; }
    .anastella-size-dialog__body th { white-space: normal; line-height: 1.3; vertical-align: bottom; }
}

/* K. One page header everywhere (pages, shop, Ready-to-Wear, journal, cart, account):
      breadcrumbs, 20px, title, 40px, content. Body text 1.6. Footer icons clear of the floating buttons. */
.page-breadcrumbs,
.woocommerce-breadcrumb {
    margin: 0 0 20px !important;
    font-size: 14px;
    line-height: 1.4;
    color: #5b6b7b;
}
.page-breadcrumbs a,
.woocommerce-breadcrumb a { color: inherit; }
.entry-header,
.shop-archive-header,
.posts-archive-header { margin-top: 0 !important; margin-bottom: 40px !important; }
h1.page-title,
h1.shop-archive-title {
    margin: 0 !important;
    font-size: clamp(40px, 2.5vw + 20px, 56px);
    line-height: 1.15;
}
.wp-block-paragraph,
.entry-content p,
.shop-archive-header p,
.woocommerce-product-details__short-description p { line-height: 1.6; }
@media (max-width: 767.98px) {
    .page-breadcrumbs,
    .woocommerce-breadcrumb { margin-bottom: 16px !important; }
    .entry-header,
    .shop-archive-header,
    .posts-archive-header { margin-bottom: 28px !important; }
}
@media (min-width: 576px) {
    .footer-bottom { padding-right: 72px; }
}

/* L. Product cards: no decorative bag icon (it only opened the product, and every gown needs a size first);
      name and price on one baseline; room between rows on desktop too */
.product-card-cart-icon { display: none !important; }
.products .product-card-info,
.shop-products-grid .product-card-info { align-items: baseline; }
@media (min-width: 768px) {
    ul.products,
    .products.columns-3,
    .shop-products-grid { row-gap: 48px !important; }
}

/* Product gallery zoom (includes/gallery-zoom.php): only photos with enough detail get the zoom cursor and badge. */
.single-product-gallery-pane.is-zoomable { position: relative; }
.single-product-gallery-pane.is-zoomable img { cursor: zoom-in; }
.single-product-gallery-pane.is-zoomable img:focus-visible { outline: 2px solid #1f2a35; outline-offset: -2px; }
.single-product-gallery-pane.is-zoomable::after {
    content: "";
    position: absolute;
    right: 14px;
    bottom: 14px;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.92) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%231f2a35' stroke-width='1.8' stroke-linecap='round'%3E%3Ccircle cx='10.5' cy='10.5' r='6.5'/%3E%3Cpath d='M15.5 15.5 21 21M10.5 7.5v6M7.5 10.5h6'/%3E%3C/svg%3E") center / 18px 18px no-repeat;
    box-shadow: 0 1px 6px rgba(31, 42, 53, 0.18);
    pointer-events: none;
}
.pswp { z-index: 100000; }
