/* DalyDesign_WelcomeDiscount — loaded as plain CSS (not LESS) */

/* Root promo widget only — never style cart/checkout totals rows with this. */
#gls-welcome-discount-root {
    --gls-wd-charcoal: #1a1a1a;
    --gls-wd-gold: #a97b50;
    --gls-wd-ivory: #faf8f5;
    --gls-wd-text: #323334;
    --gls-wd-z: 900;
    /* Keep promo UI out of document flow (avoids footer layout breakage). */
    position: fixed;
    inset: 0;
    z-index: var(--gls-wd-z);
    pointer-events: none;
    width: auto;
    height: auto;
    margin: 0;
    padding: 0;
    border: 0;
}

#gls-welcome-discount-root[hidden],
#gls-welcome-discount-root [hidden] {
    display: none !important;
}

.gls-welcome-discount__tab,
#gls-welcome-discount-root button.gls-welcome-discount__tab {
    appearance: none;
    -webkit-appearance: none;
    background: #0e0e0e !important;
    background-color: #0e0e0e !important;
    background-image: none !important;
    border: 0 !important;
    border-width: 0 !important;
    color: #ffffff !important;
    cursor: pointer;
    font-family: Mulish, Helvetica, Arial, sans-serif;
    font-size: 12px !important;
    font-weight: 600;
    letter-spacing: 0.06em;
    line-height: 1.3;
    pointer-events: auto;
    text-transform: uppercase;
    box-shadow: none !important;
    z-index: 900;
}

.gls-welcome-discount__tab:hover,
.gls-welcome-discount__tab:focus,
#gls-welcome-discount-root button.gls-welcome-discount__tab:hover,
#gls-welcome-discount-root button.gls-welcome-discount__tab:focus {
    background: #1a1a1a !important;
    background-color: #1a1a1a !important;
    color: #ffffff !important;
}

#gls-welcome-discount-root button.gls-welcome-discount__tab span {
    color: #ffffff !important;
    font-size: 12px !important;
}

.gls-welcome-discount__tab:focus-visible {
    outline: 2px solid var(--gls-wd-gold);
    outline-offset: 2px;
}

.gls-welcome-discount__tab--desktop,
#gls-welcome-discount-root .gls-welcome-discount__tab--desktop {
    display: none;
    position: fixed;
    right: 0;
    top: 42%;
    transform: translateY(-50%);
    writing-mode: vertical-rl;
    text-orientation: mixed;
    padding: 10px 6px !important;
    max-height: 70vh;
}

.gls-welcome-discount__tab-text {
    display: inline-flex;
    flex-direction: column;
    gap: 9px;
    align-items: center;
}

.gls-welcome-discount__tab-line {
    display: block;
    white-space: nowrap;
}

.gls-welcome-discount__tab--mobile,
#gls-welcome-discount-root .gls-welcome-discount__tab--mobile {
    display: none;
    position: fixed;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    max-width: calc(100vw - 2rem);
    width: max-content;
    padding: 12px 18px !important;
    border: 0 !important;
    border-radius: 4px 4px 0 0;
    font-size: 12px !important;
    z-index: 900;
}

.gls-welcome-discount__overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(26, 26, 26, 0.45);
    pointer-events: auto;
    z-index: 901;
}

#gls-welcome-discount-root.is-open .gls-welcome-discount__overlay {
    display: block;
}

.gls-welcome-discount__drawer {
    display: none;
    position: fixed;
    right: 0;
    bottom: 0;
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    max-height: 92vh;
    padding: 28px 24px;
    overflow: auto;
    background: var(--gls-wd-ivory);
    border-left: 1px solid rgba(169, 123, 80, 0.35);
    color: var(--gls-wd-text);
    flex-direction: column;
    pointer-events: auto;
    z-index: 902;
}

#gls-welcome-discount-root.is-open .gls-welcome-discount__drawer {
    display: flex;
}

.gls-welcome-discount__drawer-inner {
    margin: 0 auto;
    max-width: 100%;
    width: 100%;
}

.gls-welcome-discount__close,
#gls-welcome-discount-root button.gls-welcome-discount__close {
    appearance: none;
    -webkit-appearance: none;
    float: right;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    width: 36px;
    height: 36px;
    min-width: 36px;
    min-height: 36px;
    margin: 0 0 12px 12px;
    padding: 0;
    border: 1px solid #323334;
    border-radius: 0;
    background: transparent;
    color: #323334;
    cursor: pointer;
    font-size: 22px;
    font-weight: 400;
    line-height: 1;
    position: relative;
    z-index: 2;
}

#gls-welcome-discount-root button.gls-welcome-discount__close span {
    display: block;
    line-height: 1;
    font-size: 22px;
}

.gls-welcome-discount__close:focus-visible {
    outline: 2px solid var(--gls-wd-gold);
    outline-offset: 2px;
}

.gls-welcome-discount__heading {
    clear: both;
    margin: 0 0 14px;
    color: #2c6578;
    font-family: Mulish, Helvetica, Arial, sans-serif;
    font-size: 22px;
    font-weight: 600;
    letter-spacing: 0.01em;
    line-height: 1.25;
}

.gls-welcome-discount__heading::after {
    content: "";
    display: block;
    width: 40px;
    height: 1px;
    margin-top: 12px;
    background: var(--gls-wd-gold);
    opacity: 0.7;
}

.gls-welcome-discount__body {
    margin: 0 0 16px;
    font-size: 15px;
    line-height: 1.5;
}

.gls-welcome-discount__requirements {
    list-style: disc;
    margin: 0 0 16px 1.2rem;
    padding: 0;
}

.gls-welcome-discount__requirements li {
    margin: 0 0 8px;
    font-size: 14px;
    line-height: 1.45;
}

.gls-welcome-discount__no-code {
    margin: 0 0 20px;
    color: #2c6578;
    font-size: 14px;
    font-weight: 600;
}

.gls-welcome-discount__actions {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 20px;
}

.gls-welcome-discount__button {
    display: inline-block;
    padding: 13px 16px;
    border: 1px solid var(--gls-wd-charcoal);
    background: var(--gls-wd-charcoal);
    color: #ffffff !important;
    font-family: Mulish, Helvetica, Arial, sans-serif;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-align: center;
    text-decoration: none !important;
    text-transform: uppercase;
}

.gls-welcome-discount__button:hover,
.gls-welcome-discount__button:focus {
    background: #111111;
    color: #ffffff !important;
    text-decoration: none !important;
}

.gls-welcome-discount__signin {
    color: #3e979a;
    font-size: 14px;
    text-align: center;
    text-decoration: underline;
}

.gls-welcome-discount__signin:hover,
.gls-welcome-discount__signin:focus {
    color: #2c6578;
}

.gls-welcome-discount__small-print {
    margin: 0;
    color: #666666;
    font-size: 12px;
    line-height: 1.5;
}

.gls-welcome-discount__eligible-message {
    display: none;
    box-sizing: border-box;
    position: fixed;
    left: 50%;
    bottom: 12px;
    transform: translateX(-50%);
    width: max-content;
    max-width: min(28rem, calc(100vw - 2rem));
    padding: 14px 18px;
    background: var(--gls-wd-ivory);
    border: 1px solid rgba(169, 123, 80, 0.4);
    border-left: 3px solid var(--gls-wd-gold);
    color: var(--gls-wd-text);
    font-size: 16px;
    line-height: 1.4;
    text-align: center;
    pointer-events: auto;
    z-index: 899;
}

.gls-welcome-discount__eligible-message:not([hidden]) {
    display: block;
}

body.gls-welcome-discount-open {
    overflow: hidden;
}

@media (max-width: 767px) {
    .gls-welcome-discount__tab--mobile:not([hidden]) {
        display: block;
    }
}

@media (min-width: 768px) {
    .gls-welcome-discount__tab--desktop:not([hidden]) {
        display: block;
    }

    .gls-welcome-discount__tab--mobile {
        display: none !important;
    }

    #gls-welcome-discount-root.is-open .gls-welcome-discount__drawer {
        top: 0;
        height: 100%;
        max-height: none;
        width: 32rem;
        max-width: min(32rem, 92vw);
        padding: 32px 28px;
    }
}
