/* Final header arrangement: menu on the far left, utilities on the far right. */
.velloro-header__inner {
    position: relative;
}

.velloro-header-search {
    right: 151px !important;
    left: auto !important;
    z-index: 15;
}

.velloro-header-search__form {
    order: -1;
}

.velloro-wishlist-link {
    right: 108px !important;
    left: auto !important;
    z-index: 16;
}

.velloro-bag {
    right: 48px !important;
    left: auto !important;
    z-index: 16;
}

/* Notes search belongs directly underneath its menu trigger. */
.velloro-note-finder {
    width: 100%;
}

.velloro-note-finder form {
    display: none;
    width: min(100%, 320px);
    margin: 13px 0 0;
    padding: 0;
    border-bottom: 1px solid rgba(214, 192, 141, .55);
    background: transparent;
}

.velloro-note-finder form.is-open {
    display: flex;
    align-items: center;
    gap: 8px;
}

.velloro-note-finder form input[type="search"] {
    min-width: 0;
    flex: 1;
    padding: 9px 0;
    border: 0;
    outline: 0;
    color: #fff4de;
    background: transparent;
    font: 500 11px/1.3 'Josefin Sans', sans-serif;
    letter-spacing: .09em;
}

.velloro-note-finder form input[type="search"]::placeholder {
    color: #d6c08d;
    opacity: .78;
}

.velloro-note-finder form button[type="submit"] {
    flex: 0 0 auto;
    padding: 0;
    border: 0;
    color: #d6c08d;
    background: transparent;
    font: 600 10px/1 'Josefin Sans', sans-serif;
    letter-spacing: .13em;
    cursor: pointer;
}

.velloro-newsletter-status {
    display: block;
    margin-top: 12px;
    color: #d6c08d;
    font: 400 10px/1.4 'Josefin Sans', sans-serif;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.velloro-spin {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 1100;
}

.velloro-spin.is-open {
    display: grid;
    place-items: center;
}

.velloro-spin__overlay {
    position: absolute;
    inset: 0;
    background: rgba(7, 13, 31, .84);
}

.velloro-spin__panel {
    display: grid;
    grid-template-columns: .92fr 1.08fr;
    width: min(900px, calc(100vw - 32px));
    min-height: 460px;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(214, 192, 141, .55);
    background: #070d1f;
}

.velloro-spin__close {
    position: absolute;
    top: 14px;
    right: 16px;
    z-index: 2;
    border: 0;
    color: #fff4de;
    background: transparent;
    font: 300 34px/1 'Cormorant Garamond', serif;
    cursor: pointer;
}

.velloro-spin__wheel {
    position: relative;
    align-self: center;
    justify-self: center;
    width: min(390px, 44vw);
    aspect-ratio: 1;
    margin-left: -58px;
    border: 10px solid #fff4de;
    border-radius: 50%;
    background: conic-gradient(#d6c08d 0 25%, #070d1f 25% 50%, #fff4de 50% 75%, #070d1f 75%);
    color: #070d1f;
    transform: rotate(-15deg);
}

.velloro-spin__wheel b {
    position: absolute;
    top: 50%;
    left: 50%;
    display: grid;
    width: 82px;
    aspect-ratio: 1;
    place-items: center;
    border-radius: 50%;
    color: #fff4de;
    background: #070d1f;
    font: 500 11px 'Josefin Sans', sans-serif;
    letter-spacing: .12em;
    transform: translate(-50%, -50%) rotate(15deg);
}

.velloro-spin__wheel span {
    position: absolute;
    color: #fff4de;
    font: 500 9px 'Josefin Sans', sans-serif;
    letter-spacing: .1em;
}

.velloro-spin__wheel span:nth-child(1) { top: 23%; right: 8%; }
.velloro-spin__wheel span:nth-child(2) { right: 12%; bottom: 22%; }
.velloro-spin__wheel span:nth-child(3) { bottom: 19%; left: 11%; }

.velloro-spin__content {
    align-self: center;
    padding: 62px 64px;
    text-align: center;
}

.velloro-spin__content p {
    margin: 0 0 16px;
    color: #d6c08d;
    font: 400 10px 'Josefin Sans', sans-serif;
    letter-spacing: .18em;
}

.velloro-spin__content h2 {
    margin: 0;
    color: #fff4de;
    font: 400 clamp(42px, 5vw, 62px)/.88 'Cormorant Garamond', serif;
}

.velloro-spin__content > span,
.velloro-spin__content small {
    display: block;
    margin-top: 20px;
    color: #d6c08d;
    font: 300 13px/1.55 'Josefin Sans', sans-serif;
}

.velloro-spin__content form {
    display: grid;
    gap: 10px;
    margin-top: 26px;
}

.velloro-spin__content input,
.velloro-spin__content button[type="submit"] {
    min-height: 48px;
    border: 1px solid #d6c08d;
    border-radius: 0;
    font: 500 10px 'Josefin Sans', sans-serif;
    letter-spacing: .13em;
}

.velloro-spin__content input {
    padding: 0 14px;
    color: #fff4de;
    background: #070d1f;
}

.velloro-spin__content button[type="submit"] {
    color: #070d1f;
    background: #fff4de;
    cursor: pointer;
}

@media (max-width: 650px) {
    .velloro-spin__panel { grid-template-columns: 1fr; min-height: 0; }
    .velloro-spin__wheel { width: 230px; margin: -74px auto 0; }
    .velloro-spin__content { padding: 28px 30px 38px; }
    .velloro-spin__content h2 { font-size: 44px; }
}

/* Collection opens into seasons, then each season opens into its three edits. */
.velloro-season-menu > div {
    display: none;
    padding: 7px 0 4px 18px;
}

.velloro-season-menu.is-open > div {
    display: grid;
    gap: 8px;
}

.velloro-season-menu > button {
    display: flex;
    width: 100%;
    justify-content: space-between;
    margin-top: 13px;
    padding: 0 !important;
    border: 0 !important;
    color: #fff4de !important;
    background: transparent !important;
    font: 400 20px/1.35 'Cormorant Garamond', serif !important;
    letter-spacing: 0 !important;
    text-align: left;
    cursor: pointer;
}

.velloro-season-menu > button b {
    font-weight: 400;
}

.velloro-season-menu.is-open > button b {
    font-size: 0;
}

.velloro-season-menu.is-open > button b::after {
    content: '−';
    font-size: 15px;
}

/* WooCommerce's default "View cart" link is replaced by the Bag drawer. */
.added_to_cart.wc-forward {
    display: none !important;
}

.vi-cart-drawer {
    position: fixed;
    inset: 0;
}

.vi-cart-drawer .woocommerce-mini-cart-item {
    min-height: 62px;
    margin: 0 0 14px !important;
    padding: 0 62px 14px 20px !important;
    position: relative;
}

.vi-cart-drawer .woocommerce-mini-cart-item a.remove {
    left: 0 !important;
    top: 0 !important;
    color: #d6c08d !important;
    font: 400 19px/1 'Josefin Sans', sans-serif !important;
}

.vi-cart-drawer .woocommerce-mini-cart-item > a:not(.remove) {
    color: #fff4de !important;
    font: 400 21px/1.1 'Cormorant Garamond', serif !important;
}

.vi-cart-drawer .woocommerce-mini-cart-item img {
    float: none !important;
    position: absolute;
    top: 0;
    right: 0;
    width: 46px !important;
    height: 58px !important;
    object-fit: cover;
}

.vi-cart-drawer .woocommerce-mini-cart-item .quantity {
    display: block;
    margin-top: 6px;
    color: #d6c08d;
    font: 400 10px/1.35 'Josefin Sans', sans-serif;
    letter-spacing: .07em;
}

.vi-cart-drawer .woocommerce-mini-cart__total {
    color: #fff4de;
    font: 400 12px/1.4 'Josefin Sans', sans-serif;
}

/* Seasonal navigation categories are for browsing; repeating them in product metadata is noisy. */
.single-product .product_meta .posted_in {
    display: none;
}

.velloro-empty-collection {
    padding: 58px 0 92px;
    text-align: center;
}

.velloro-empty-collection p {
    margin: 0 0 18px;
    color: #d6c08d;
    font: 400 10px 'Josefin Sans', sans-serif;
    letter-spacing: .18em;
}

.velloro-empty-collection h2 {
    margin: 0 0 28px;
    color: #fff4de;
    font: 400 clamp(44px, 5vw, 70px)/.88 'Cormorant Garamond', serif;
}

.velloro-empty-collection a {
    display: inline-block;
    padding-bottom: 9px;
    border-bottom: 1px solid #d6c08d;
    color: #fff4de;
    font: 400 10px 'Josefin Sans', sans-serif;
    letter-spacing: .14em;
    text-transform: uppercase;
}

body.tax-product_cat .woocommerce-products-header,
body.tax-product_cat .woocommerce-products-header__title,
body.tax-product_cat .page-title {
    display: none !important;
}

.velloro-404 .velloro-entry__content {
    max-width: 520px;
}

.velloro-404 .velloro-entry__content h2 {
    margin: 0 0 24px;
    color: #fff4de;
    font: 400 clamp(48px, 6vw, 80px)/.88 'Cormorant Garamond', serif;
}

.velloro-404 .velloro-entry__content p {
    color: #d6c08d;
    font: 300 15px/1.65 'Josefin Sans', sans-serif;
}

.velloro-404__link {
    display: inline-block;
    margin-top: 22px;
    padding-bottom: 9px;
    border-bottom: 1px solid #d6c08d;
    color: #fff4de;
    font: 400 10px 'Josefin Sans', sans-serif;
    letter-spacing: .15em;
    text-transform: uppercase;
}

/* Checkout fields use the VELLORO dark-and-gold system instead of white inputs. */
.woocommerce-checkout input.input-text,
.woocommerce-checkout select,
.woocommerce-checkout textarea,
.wc-block-checkout input,
.wc-block-checkout select,
.wc-block-checkout textarea,
.wc-block-components-text-input input,
.wc-block-components-combobox .components-combobox-control__input,
.wc-block-components-select .wc-block-components-select__select {
    color: #fff4de !important;
    background: #070d1f !important;
    border: 1px solid rgba(214, 192, 141, .68) !important;
    box-shadow: none !important;
    font-family: 'Josefin Sans', sans-serif !important;
}

.woocommerce-checkout input.input-text:focus,
.woocommerce-checkout select:focus,
.woocommerce-checkout textarea:focus,
.wc-block-checkout input:focus,
.wc-block-checkout select:focus,
.wc-block-checkout textarea:focus,
.wc-block-components-text-input input:focus,
.wc-block-components-combobox .components-combobox-control__input:focus,
.wc-block-components-select .wc-block-components-select__select:focus {
    border-color: #d6c08d !important;
    outline: 0 !important;
    box-shadow: 0 0 0 1px #d6c08d !important;
}

.woocommerce-checkout label,
.wc-block-checkout label,
.wc-block-components-text-input label,
.wc-block-components-checkbox__label,
.wc-block-components-select label {
    color: #d6c08d !important;
    font-family: 'Josefin Sans', sans-serif !important;
}

.components-popover__content,
.wc-block-components-combobox .components-form-token-field__suggestions,
.wc-block-components-combobox .components-combobox-control__suggestions-container {
    color: #fff4de !important;
    background: #070d1f !important;
    border-color: rgba(214, 192, 141, .68) !important;
}

@media (max-width: 700px) {
    .velloro-header-search {
        right: 105px !important;
    }

    .velloro-wishlist-link {
        right: 63px !important;
    }

    .velloro-bag {
        right: 18px !important;
    }
}
