/* Kuratedwall brand: the details Flatsome has no setting for. The colours and fonts themselves are set in Flatsome
   (Storefront page, Apply brand style), so this file only shapes buttons, prices, accordions and the footer. */

:root {
    --kw-navy: #1E2D4A;
    --kw-terra: #B5562A;
    --kw-terra-dark: #9C4822;
    --kw-cream: #F2E8D5;
    --kw-warm: #F7F2EA;
    --kw-gold: #E8C96E;
    --kw-ink: #3A4458;
    --kw-muted: #7C8598;
    --kw-line: rgba(30, 45, 74, 0.12);
}

::selection { background: var(--kw-cream); color: var(--kw-navy); }

/* Buttons: nearly square, in spaced capitals like the small lines on the prints. The call to buy is terracotta. */
.button, button, input[type="submit"], input[type="button"] {
    border-radius: 2px;
    letter-spacing: 0.08em;
    font-weight: 600;
}
.single_add_to_cart_button, .button.alt, .checkout-button, #place_order {
    background-color: var(--kw-terra) !important;
    border-color: var(--kw-terra) !important;
    color: #fff !important;
}
.single_add_to_cart_button:hover, .button.alt:hover, .checkout-button:hover, #place_order:hover {
    background-color: var(--kw-terra-dark) !important;
    border-color: var(--kw-terra-dark) !important;
}

/* Headings and menus */
.product_title { font-size: clamp(1.6rem, 1.15rem + 1.2vw, 2.2rem); line-height: 1.18; }
.header-nav-main > li > a, .nav-top > li > a, .header-nav .nav > li > a { letter-spacing: 0.08em; }
.breadcrumbs, .woocommerce-breadcrumb { font-size: 0.78em; letter-spacing: 0.08em; color: var(--kw-muted); }
.breadcrumbs a, .woocommerce-breadcrumb a { color: var(--kw-muted); }
.breadcrumbs a:hover, .woocommerce-breadcrumb a:hover { color: var(--kw-terra); }

/* Prices and badges */
.price, .price .amount, .product-page-price .amount { color: var(--kw-navy); }
.price del, .price del .amount { color: #9AA1AE; }
.badge-inner { background-color: var(--kw-terra) !important; color: #fff; }

/* Shop grid: the theme line small and spaced, the print name in navy */
.product-small .box-text .category { font-size: 0.68em; letter-spacing: 0.12em; color: var(--kw-muted); }
.product-small .product-title a, .product-small .woocommerce-loop-product__title a { color: var(--kw-navy); }
.product-small .product-title a:hover { color: var(--kw-terra); }

/* Product page accordions and tabs */
.accordion-title { font-weight: 500; color: var(--kw-navy); border-top-color: var(--kw-line) !important; }
.accordion-title.active, .accordion-title:hover { color: var(--kw-terra); }
.accordion-inner { color: var(--kw-ink); font-size: 0.95em; }
.product-tabs .tab.active > a, .tabs .active > a { color: var(--kw-navy); }

/* Form fields */
input[type="text"]:focus, input[type="email"]:focus, input[type="tel"]:focus, input[type="search"]:focus,
input[type="password"]:focus, select:focus, textarea:focus {
    border-color: var(--kw-navy);
    box-shadow: 0 0 0 2px rgba(30, 45, 74, 0.12);
}

/* Footer: the navy band of the top bar again at the bottom, on a warm white footer */
.footer-wrapper .footer-1, .footer-wrapper .footer-2 { background-color: var(--kw-warm); }
.absolute-footer { background-color: var(--kw-navy) !important; color: rgba(245, 240, 232, 0.75); }
.absolute-footer a { color: rgba(245, 240, 232, 0.92); }
.absolute-footer a:hover { color: #fff; }

/* Outline buttons meant for dark bands (Flatsome's white outline): cream on the band, filled on hover */
.button.white.is-outline { color: #F2E8D5 !important; border-color: rgba(242, 232, 213, 0.85) !important; background: transparent !important; }
.button.white.is-outline:hover { background: #F2E8D5 !important; border-color: #F2E8D5 !important; color: #1E2D4A !important; }

/* Square's "– OR –" between the wallet buttons and the checkout form, said without dashes */
#wc-square-wallet-divider { font-size: 0; }
#wc-square-wallet-divider::after { content: "or pay by card below"; font-size: 0.9rem; }
