/* CITRA_SHOP_VISIBILITY_PACK_V1
   Scope: storefront header search + product cards; journal styles are unchanged.
   Keep layout dimensions in header-stable-search.css intact to prevent wrapping.
*/

/* Accessible, high-contrast search against the navy Citra header */
.site-header .header-search .search-box input {
    background: #e9f9fa;
    color: #043e59;
    border: 2px solid #40c1c8;
    border-radius: 24px;
    font-weight: 700;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, .14),
                0 3px 12px rgba(0, 0, 0, .14);
    padding-right: 42px;
    text-overflow: ellipsis;
    /* Width remains controlled by header-stable-search.css */
    transition: background-color .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.site-header .header-search .search-box input::placeholder {
    color: #28576b;
    opacity: 1;
    font-weight: 700;
}
.site-header .header-search .search-box input:focus {
    background: #fff;
    color: #043e59;
    border-color: #00bdca;
    outline: none;
    box-shadow: 0 0 0 3px rgba(74, 222, 229, .26),
                0 3px 12px rgba(0, 0, 0, .12);
}
.site-header .header-search .search-box .search-submit-btn {
    color: #fff;
    background: #087f91;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    right: 4px;
    top: 50%;
    transform: translateY(-50%);
    transition: background-color .2s ease, box-shadow .2s ease;
}
.site-header .header-search .search-box .search-submit-btn:hover,
.site-header .header-search .search-box .search-submit-btn:focus-visible {
    background: #056176;
    box-shadow: 0 0 0 3px rgba(5, 97, 118, .2);
}
.site-header .header-search .search-box input:focus + .search-submit-btn {
    color: #fff;
}

/* Actual base size is read from product variant/attribute data, never guessed. */
.products-grid .product-base-pack {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 5px 7px;
    margin: 0 15px 12px;
    padding: 7px 10px;
    border: 1px solid #b8dce2;
    border-radius: 8px;
    background: #eef9fa;
    color: #04445b;
    font-size: .81rem;
    line-height: 1.6;
}
.products-grid .product-base-pack i {
    color: #087f91;
    font-size: .87rem;
}
.products-grid .product-base-pack strong {
    color: #043e59;
    font-weight: 800;
    unicode-bidi: plaintext;
    overflow-wrap: anywhere;
}
@media (max-width: 1024px) {
    .site-header .header-search .search-box input { width: 100%; }
}
