/* Gulwadi Discovery Builder v2 — six simple dropdowns inside the add-to-cart form. */

.gwdb-choose {
    background: #F7F3EA;
    border-radius: 14px;
    padding: 20px 22px 16px;
    margin: 0 0 18px;
    width: 100%;
    box-sizing: border-box;
}
.gwdb-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}
.gwdb-title {
    font-weight: 700;
    font-size: 16px;
    letter-spacing: 0.04em;
    color: #14100B;
}
.gwdb-count {
    font-size: 13px;
    font-weight: 600;
    color: #8A6D1F;
    white-space: nowrap;
}
.gwdb-sub {
    margin: 6px 0 14px;
    font-size: 14px;
    line-height: 1.45;
    color: #6B6257;
}
.gwdb-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0 0 10px;
}
.gwdb-lab {
    flex: 0 0 96px;
    font-size: 14.5px;
    color: #1F1B14;
    margin: 0;
}
.gwdb-select {
    flex: 1 1 auto;
    min-width: 0;
    width: 100%;
    padding: 11px 38px 11px 12px;
    font-size: 15px;
    font-family: inherit;
    color: #1F1B14;
    background-color: #FFFFFF;
    background-image: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5 11 1.5' fill='none' stroke='%238A6D1F' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 13px center;
    background-size: 12px 8px;
    border: 1.5px solid #C9C2B2;
    border-radius: 8px;
    box-sizing: border-box;
    cursor: pointer;
    -webkit-appearance: none;
    appearance: none;
}
.gwdb-select:focus {
    outline: none;
    border-color: #D4AF37;
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.18);
}
/* Custom dropdown (v2.1): the native select stays in the form as the data
   field but is visually hidden once JS builds the custom UI, whose list
   always opens downward under the field. */
.gwdb-native-hidden {
    position: absolute !important;
    width: 1px; height: 1px;
    margin: -1px; padding: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    white-space: nowrap;
    border: 0;
}
.gwdb-dd {
    position: relative;
    flex: 1 1 auto;
    min-width: 0;
}
.gwdb-dd-btn {
    width: 100%;
    padding: 11px 38px 11px 12px;
    font-size: 15px;
    font-family: inherit;
    text-align: left;
    color: #1F1B14;
    background-color: #FFFFFF;
    background-image: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5 11 1.5' fill='none' stroke='%238A6D1F' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 13px center;
    background-size: 12px 8px;
    border: 1.5px solid #C9C2B2;
    border-radius: 8px;
    box-sizing: border-box;
    cursor: pointer;
}
.gwdb-dd-btn:focus {
    outline: none;
    border-color: #D4AF37;
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.18);
}
.gwdb-dd-list {
    position: absolute;
    left: 0; right: 0;
    top: calc(100% + 4px);
    z-index: 60;
    max-height: 264px;
    overflow-y: auto;
    margin: 0;
    padding: 6px;
    list-style: none;
    background: #FFFFFF;
    border: 1.5px solid #C9C2B2;
    border-radius: 10px;
    box-shadow: 0 14px 34px rgba(20, 16, 11, 0.18);
}
.gwdb-dd-item {
    padding: 10px 12px;
    font-size: 15px;
    line-height: 1.3;
    color: #1F1B14;
    border-radius: 6px;
    cursor: pointer;
}
.gwdb-dd-item:hover { background: #F7F3EA; }
.gwdb-dd-item.is-selected { background: #F7F3EA; font-weight: 600; }
.gwdb-dd-item.is-disabled { color: #B9B2A2; cursor: default; background: transparent; }
.gwdb-dd-item.is-placeholder { color: #6B6257; }

.gwdb-status {
    margin: 12px 0 2px;
    font-size: 13.5px;
    color: #6B6257;
}
.gwdb-status.is-done {
    color: #8A6D1F;
    font-weight: 600;
}

/* Highlights box (summary, below the accordions) — kept from v1. */
.gwdb-highlights {
    background: #F7F3EA;
    border-radius: 12px;
    padding: 16px 20px;
    margin-top: 20px;
}
.gwdb-highlights ul {
    margin: 0;
    padding-left: 18px;
}
.gwdb-highlights li {
    font-size: 14.5px;
    line-height: 1.55;
    color: #1F1B14;
}

/* Page structure fix (this stylesheet loads on the Discovery Pack page only):
   Card Tools prints this product's description below the floated gallery /
   summary columns. The old full-width builder used to clear those floats;
   without it the description wrapped up beside the summary column. Clear
   the floats so the description starts full-width under the buy area. */
.single-product .gw-pdesc {
    clear: both;
    padding-top: 16px;
}

@media (max-width: 480px) {
    .gwdb-choose { padding: 16px 14px 12px; }
    .gwdb-lab { flex-basis: 84px; font-size: 13.5px; }
    .gwdb-select { font-size: 14.5px; padding: 10px; }
}

/* Preset button (B-15): one tap fills the six most-loved scents. */
.gwdb-preset{display:inline-block;margin:2px 0 14px;padding:11px 22px;border:1.5px solid #14100B;border-radius:999px;background:#fff;color:#14100B;font-family:Jost,sans-serif;font-weight:700;font-size:14px;cursor:pointer}
.gwdb-preset:hover{background:#F7F3EA}
