/* Tooltip Container */
.hello-ticket-amount-wrapper {
    position: relative;
    cursor: pointer;
}

/* Info Icon */
.hello-ticket-amount-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    vertical-align: middle;
    margin-left: 6px;
}

.hello-ticket-amount-icon svg {
    display: block;
}

/* Desktop Tooltip */
.hello-giveaway-tooltip {
    display: none;
    /* Hidden by default in the DOM */
    width: 250px;
    background-color: #1a1a1a;
    color: #fff;
    text-align: center;
    border-radius: 8px;
    padding: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border: 1px solid #333;
    pointer-events: none;
    z-index: 100000;
}

/* Tooltip Arrow */
.hello-giveaway-tooltip::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 100%;
    margin-top: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: transparent #1a1a1a transparent transparent;
}

/* Body Appended Tooltip */
.hello-giveaway-tooltip.hello-tooltip-body {
    display: block;
    position: absolute;
    visibility: visible;
    opacity: 1;
}

.hello-giveaway-tooltip h4 {
    color: #fff;
    margin-top: 0;
    font-size: 14px;
    line-height: 1.4;
}

/* Mobile Popup */
.hello-giveaway-popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 99998;
}

.hello-giveaway-popup {
    position: fixed;
    bottom: -100%;
    left: 0;
    width: 100%;
    background: #1a1a1a;
    color: #fff;
    padding: 25px 20px;
    box-sizing: border-box;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.3);
    z-index: 99999;
    transition: bottom 0.3s ease-in-out;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
    text-align: center;
}

.hello-giveaway-popup.active {
    bottom: 0;
}

.hello-giveaway-popup-close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    color: #fff;
    opacity: 0.7;
    z-index: 100000;
}

.hello-giveaway-popup-close:hover {
    opacity: 1;
}

.hello-giveaway-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-top: 15px;
    max-height: 200px;
    object-fit: cover;
}

.hello-giveaway-content h4 {
    margin: 0px;
    font-family: 'Conthrax', sans-serif;
    font-size: 1em;
    color: #fff;
    line-height: 1.4;
    padding: 0px 10px;
}

/* Hide desktop tooltip on mobile */
@media (max-width: 768px) {
    .hello-giveaway-tooltip {
        display: none !important;
    }
}

/* Giveaway Entries Block styles are in checkout.css */

/* ==================== Custom Add to Cart Widget ==================== */
/* Using high specificity to override theme defaults */

.hello-custom-add-to-cart {
    max-width: 100%;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}

.hello-custom-add-to-cart * {
    box-sizing: border-box;
}

/* Notice message */
.hello-atc-notice {
    padding: 15px 20px;
    background: #f8f9fa;
    border-left: 4px solid #6c757d;
    color: #495057;
    border-radius: 4px;
}

/* Variant Group */
.hello-custom-add-to-cart .hello-variant-group {
    margin-bottom: 24px;
}

.hello-custom-add-to-cart .hello-variant-label {
    display: block;
    font-weight: 600;
    font-size: 13px;
    margin-bottom: 12px;
    color: #bbb !important;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.hello-custom-add-to-cart .hello-variant-selected {
    font-weight: 500;
    color: #666;
    text-transform: none;
    letter-spacing: 0;
}

/* ===== Color Swatches ===== */
.hello-custom-add-to-cart .hello-color-options {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}

.hello-custom-add-to-cart button.hello-color-option,
.hello-custom-add-to-cart .hello-color-option[type="button"] {
    width: 42px !important;
    height: 42px !important;
    min-width: 42px !important;
    border-radius: 50% !important;
    border: 2px solid rgba(0, 0, 0, 0.08) !important;
    cursor: pointer !important;
    position: relative !important;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08), inset 0 0 0 1px rgba(255, 255, 255, 0.1) !important;
    padding: 0 !important;
    background-color: #e0e0e0 !important;
    outline: none !important;
    -webkit-appearance: none !important;
    appearance: none !important;
}

.hello-custom-add-to-cart button.hello-color-option:hover,
.hello-custom-add-to-cart .hello-color-option[type="button"]:hover {
    transform: scale(1.15) !important;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15) !important;
    border-color: rgba(0, 0, 0, 0.2) !important;
}

.hello-custom-add-to-cart button.hello-color-option:focus,
.hello-custom-add-to-cart .hello-color-option[type="button"]:focus {
    outline: none !important;
}

.hello-custom-add-to-cart button.hello-color-option.active,
.hello-custom-add-to-cart .hello-color-option[type="button"].active {
    border-color: transparent !important;
    box-shadow: 0 0 0 2px #fff, 0 0 0 4px #000 !important;
    transform: scale(1.05) !important;
}

.hello-custom-add-to-cart .hello-color-checkmark {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    font-size: 16px;
    font-weight: bold;
    opacity: 0;
    transition: opacity 0.2s ease;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
    pointer-events: none;
}

.hello-custom-add-to-cart .hello-color-option.active .hello-color-checkmark {
    opacity: 1;
}

/* ===== Size / Attribute Options ===== */
.hello-custom-add-to-cart .hello-size-options {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.hello-custom-add-to-cart button.hello-size-option,
.hello-custom-add-to-cart .hello-size-option[type="button"] {
    min-width: 52px !important;
    padding: 12px 18px !important;
    border: 2px solid #e0e0e0 !important;
    background-color: #fff !important;
    color: #333 !important;
    cursor: pointer !important;
    font-weight: 600 !important;
    font-size: 13px !important;
    text-transform: uppercase !important;
    border-radius: 6px !important;
    transition: all 0.2s ease !important;
    letter-spacing: 0.5px !important;
    outline: none !important;
    -webkit-appearance: none !important;
    appearance: none !important;
    line-height: 1.2 !important;
}

.hello-custom-add-to-cart button.hello-size-option:hover,
.hello-custom-add-to-cart .hello-size-option[type="button"]:hover {
    border-color: #333 !important;
    background-color: #fafafa !important;
    color: #000 !important;
}

.hello-custom-add-to-cart button.hello-size-option:focus,
.hello-custom-add-to-cart .hello-size-option[type="button"]:focus {
    outline: none !important;
}

.hello-custom-add-to-cart button.hello-size-option.active,
.hello-custom-add-to-cart .hello-size-option[type="button"].active {
    background-color: #000 !important;
    border-color: #000 !important;
    color: #fff !important;
}

.hello-custom-add-to-cart button.hello-size-option.disabled,
.hello-custom-add-to-cart .hello-size-option[type="button"].disabled {
    opacity: 0.35 !important;
    cursor: not-allowed !important;
    pointer-events: none !important;
}

/* ===== Price Display ===== */
.hello-custom-add-to-cart .hello-price-wrapper {
    margin: 20px 0;
    padding: 16px 0;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

.hello-custom-add-to-cart .hello-price {
    font-size: 26px;
    font-weight: 700;
    color: #000;
    line-height: 1.2;
}

.hello-custom-add-to-cart .hello-price del {
    opacity: 0.5;
    font-size: 20px;
    margin-right: 10px;
    font-weight: 400;
}

.hello-custom-add-to-cart .hello-price ins {
    text-decoration: none;
    color: #c0392b;
}

.hello-custom-add-to-cart .hello-price .woocommerce-Price-amount {
    font-size: inherit;
    font-weight: inherit;
    color: inherit;
}

/* ===== Quantity Selector ===== */
.hello-custom-add-to-cart .hello-quantity-wrapper {
    margin-bottom: 20px;
}

.hello-custom-add-to-cart .hello-quantity-selector {
    display: inline-flex;
    align-items: center;
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    overflow: hidden;
    background: #fff;
}

.hello-custom-add-to-cart button.hello-qty-btn,
.hello-custom-add-to-cart .hello-qty-btn[type="button"] {
    width: 44px !important;
    height: 44px !important;
    min-width: 44px !important;
    border: none !important;
    background: #f5f5f5 !important;
    cursor: pointer !important;
    font-size: 20px !important;
    font-weight: 500 !important;
    color: #333 !important;
    transition: all 0.2s ease !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
    outline: none !important;
    -webkit-appearance: none !important;
    appearance: none !important;
    border-radius: 0 !important;
    line-height: 1 !important;
}

.hello-custom-add-to-cart button.hello-qty-btn:hover,
.hello-custom-add-to-cart .hello-qty-btn[type="button"]:hover {
    background: #e8e8e8 !important;
    color: #000 !important;
}

.hello-custom-add-to-cart button.hello-qty-btn:active,
.hello-custom-add-to-cart .hello-qty-btn[type="button"]:active {
    background: #ddd !important;
}

.hello-custom-add-to-cart input.hello-qty-input,
.hello-custom-add-to-cart input[type="number"].hello-qty-input {
    width: 55px !important;
    height: 44px !important;
    border: none !important;
    border-left: 1px solid #e0e0e0 !important;
    border-right: 1px solid #e0e0e0 !important;
    text-align: center !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    color: #333 !important;
    -moz-appearance: textfield !important;
    appearance: textfield !important;
    background: #fff !important;
    padding: 0 !important;
    border-radius: 0 !important;
}

.hello-custom-add-to-cart input.hello-qty-input::-webkit-outer-spin-button,
.hello-custom-add-to-cart input.hello-qty-input::-webkit-inner-spin-button {
    -webkit-appearance: none !important;
    margin: 0 !important;
}

.hello-custom-add-to-cart input.hello-qty-input:focus {
    outline: none !important;
    box-shadow: none !important;
}

/* Hidden quantity input */
.hello-custom-add-to-cart input[type="hidden"].hello-qty-input {
    display: none !important;
}

/* ===== Add to Cart Button ===== */
.hello-custom-add-to-cart button.hello-add-to-cart-button,
.hello-custom-add-to-cart .hello-add-to-cart-button[type="button"] {
    width: 100% !important;
    padding: 18px 32px !important;
    background-color: #000 !important;
    color: #fff !important;
    border: none !important;
    border-radius: 6px !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 1.5px !important;
    cursor: pointer !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    margin-top: 8px !important;
    outline: none !important;
    -webkit-appearance: none !important;
    appearance: none !important;
    position: relative !important;
    overflow: hidden !important;
    line-height: 1.2 !important;
}

.hello-custom-add-to-cart button.hello-add-to-cart-button:hover,
.hello-custom-add-to-cart .hello-add-to-cart-button[type="button"]:hover {
    background-color: #222 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25) !important;
    color: #fff !important;
}

.hello-custom-add-to-cart button.hello-add-to-cart-button:focus,
.hello-custom-add-to-cart .hello-add-to-cart-button[type="button"]:focus {
    outline: none !important;
}

.hello-custom-add-to-cart button.hello-add-to-cart-button:active,
.hello-custom-add-to-cart .hello-add-to-cart-button[type="button"]:active {
    transform: translateY(0) !important;
}

.hello-custom-add-to-cart button.hello-add-to-cart-button:disabled,
.hello-custom-add-to-cart .hello-add-to-cart-button[type="button"]:disabled {
    background-color: #bbb !important;
    color: #fff !important;
    cursor: not-allowed !important;
    transform: none !important;
    box-shadow: none !important;
}

.hello-custom-add-to-cart button.hello-add-to-cart-button.loading,
.hello-custom-add-to-cart .hello-add-to-cart-button[type="button"].loading {
    color: transparent !important;
    pointer-events: none !important;
}

.hello-custom-add-to-cart button.hello-add-to-cart-button.loading::after,
.hello-custom-add-to-cart .hello-add-to-cart-button[type="button"].loading::after {
    content: "" !important;
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    width: 22px !important;
    height: 22px !important;
    margin: -11px 0 0 -11px !important;
    border: 3px solid rgba(255, 255, 255, 0.3) !important;
    border-top-color: #fff !important;
    border-radius: 50% !important;
    animation: helloSpin 0.8s linear infinite !important;
}

@keyframes helloSpin {
    to {
        transform: rotate(360deg);
    }
}

.hello-custom-add-to-cart button.hello-add-to-cart-button.success,
.hello-custom-add-to-cart .hello-add-to-cart-button[type="button"].success {
    background-color: #27ae60 !important;
}

/* ===== Responsive Design ===== */
@media (max-width: 768px) {

    .hello-custom-add-to-cart button.hello-color-option,
    .hello-custom-add-to-cart .hello-color-option[type="button"] {
        width: 38px !important;
        height: 38px !important;
        min-width: 38px !important;
    }

    .hello-custom-add-to-cart button.hello-size-option,
    .hello-custom-add-to-cart .hello-size-option[type="button"] {
        min-width: 46px !important;
        padding: 10px 14px !important;
        font-size: 12px !important;
    }

    .hello-custom-add-to-cart .hello-price {
        font-size: 22px;
    }

    .hello-custom-add-to-cart button.hello-qty-btn,
    .hello-custom-add-to-cart .hello-qty-btn[type="button"],
    .hello-custom-add-to-cart input.hello-qty-input {
        height: 40px !important;
    }

    .hello-custom-add-to-cart button.hello-qty-btn,
    .hello-custom-add-to-cart .hello-qty-btn[type="button"] {
        width: 40px !important;
        min-width: 40px !important;
    }

    .hello-custom-add-to-cart input.hello-qty-input {
        width: 48px !important;
    }

    .hello-custom-add-to-cart button.hello-add-to-cart-button,
    .hello-custom-add-to-cart .hello-add-to-cart-button[type="button"] {
        padding: 16px 24px !important;
        font-size: 13px !important;
    }
}

/* ==================== Slide-out Navigation Widget ==================== */

.hello-slideout-nav-widget {
    position: relative;
}

.hello-slideout-nav-widget * {
    box-sizing: border-box;
}

/* Hamburger Trigger Wrapper */
.hello-slideout-trigger-wrap {
    display: flex;
}

/* Hamburger Button */
.hello-hamburger {
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    width: 28px !important;
    height: 28px !important;
    padding: 0 !important;
    background: transparent !important;
    border: none !important;
    cursor: pointer !important;
    outline: none !important;
    -webkit-appearance: none !important;
    appearance: none !important;
    position: relative !important;
    z-index: 100 !important;
}

.hello-hamburger span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: #ffffff;
    border-radius: 2px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: center;
}

.hello-hamburger span:nth-child(2) {
    margin: 6px 0;
}

.hello-hamburger:hover span {
    background-color: #fecb00;
}

/* Hamburger Animation to X */
.hello-hamburger.is-active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.hello-hamburger.is-active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.hello-hamburger.is-active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Overlay */
.hello-slideout-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 99998;
    cursor: pointer;
}

.hello-slideout-nav-widget.is-open .hello-slideout-overlay {
    opacity: 1;
    visibility: visible;
}

/* Panel */
.hello-slideout-panel {
    position: fixed;
    top: 0;
    width: 320px;
    height: 100%;
    background-color: #0a0a0a;
    z-index: 99999;
    transform: translateX(-100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
}

.hello-slideout-panel.hello-slideout-left {
    left: 0;
    transform: translateX(-100%);
    box-shadow: 4px 0 30px rgba(0, 0, 0, 0.3);
}

.hello-slideout-panel.hello-slideout-right {
    right: 0;
    left: auto;
    transform: translateX(100%);
    box-shadow: -4px 0 30px rgba(0, 0, 0, 0.3);
}

.hello-slideout-nav-widget.is-open .hello-slideout-panel {
    transform: translateX(0);
}

/* Panel Inner */
.hello-slideout-panel-inner {
    padding: 30px;
    min-height: 100%;
    display: flex;
    flex-direction: column;
}

/* Close Button */
.hello-slideout-close {
    position: absolute !important;
    top: 20px !important;
    right: 20px !important;
    width: 40px !important;
    height: 40px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: rgba(255, 255, 255, 0.05) !important;
    border: none !important;
    border-radius: 50% !important;
    color: rgba(255, 255, 255, 0.6) !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    padding: 0 !important;
    outline: none !important;
    -webkit-appearance: none !important;
    appearance: none !important;
}

.hello-slideout-close:hover {
    background: rgba(255, 255, 255, 0.1) !important;
    color: #ffffff !important;
    transform: rotate(90deg);
}

.hello-slideout-close svg {
    width: 20px;
    height: 20px;
}

/* Logo */
.hello-slideout-logo {
    margin-top: 40px;
    margin-bottom: 40px;
}

.hello-slideout-logo-link {
    display: inline-block;
    transition: opacity 0.2s ease;
}

.hello-slideout-logo-link:hover {
    opacity: 0.8;
}

.hello-slideout-logo img {
    display: block;
    width: 140px;
    height: auto;
    max-width: 100%;
}

/* Navigation */
.hello-slideout-nav {
    flex: 1;
}

.hello-slideout-nav-list {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.hello-slideout-nav-item {
    margin: 0 0 4px 0 !important;
    padding: 0 !important;
    list-style: none !important;
    opacity: 0;
    transform: translateX(-20px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.hello-slideout-nav-item::before {
    display: none !important;
}

/* Staggered animation for nav items */
.hello-slideout-nav-widget.is-open .hello-slideout-nav-item {
    opacity: 1;
    transform: translateX(0);
}

.hello-slideout-nav-widget.is-open .hello-slideout-nav-item:nth-child(1) {
    transition-delay: 0.1s;
}

.hello-slideout-nav-widget.is-open .hello-slideout-nav-item:nth-child(2) {
    transition-delay: 0.15s;
}

.hello-slideout-nav-widget.is-open .hello-slideout-nav-item:nth-child(3) {
    transition-delay: 0.2s;
}

.hello-slideout-nav-widget.is-open .hello-slideout-nav-item:nth-child(4) {
    transition-delay: 0.25s;
}

.hello-slideout-nav-widget.is-open .hello-slideout-nav-item:nth-child(5) {
    transition-delay: 0.3s;
}

.hello-slideout-nav-widget.is-open .hello-slideout-nav-item:nth-child(6) {
    transition-delay: 0.35s;
}

.hello-slideout-nav-widget.is-open .hello-slideout-nav-item:nth-child(7) {
    transition-delay: 0.4s;
}

.hello-slideout-nav-widget.is-open .hello-slideout-nav-item:nth-child(8) {
    transition-delay: 0.45s;
}

.hello-slideout-nav-item:last-child {
    margin-bottom: 0 !important;
}

/* Navigation Link */
.hello-slideout-nav-link {
    display: flex !important;
    align-items: center !important;
    padding: 14px 16px !important;
    color: rgba(255, 255, 255, 0.7) !important;
    text-decoration: none !important;
    font-weight: 500 !important;
    font-size: 16px !important;
    line-height: 1.4 !important;
    border-radius: 8px !important;
    transition: all 0.2s ease !important;
    position: relative !important;
    background-color: transparent !important;
}

.hello-slideout-nav-link:hover {
    color: #ffffff !important;
    background-color: rgba(255, 255, 255, 0.08) !important;
    text-decoration: none !important;
    padding-left: 20px !important;
}

/* Active State */
.hello-slideout-nav-item.is-active .hello-slideout-nav-link {
    color: #fecb00 !important;
    background-color: rgba(254, 203, 0, 0.1) !important;
}

/* Icon */
.hello-slideout-nav-link .hello-slideout-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 14px;
    font-size: 20px;
    color: rgba(255, 255, 255, 0.5);
    transition: color 0.2s ease;
    flex-shrink: 0;
}

.hello-slideout-nav-link .hello-slideout-icon svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.hello-slideout-nav-link:hover .hello-slideout-icon {
    color: #ffffff;
}

.hello-slideout-nav-item.is-active .hello-slideout-nav-link .hello-slideout-icon {
    color: #fecb00;
}

/* Text */
.hello-slideout-nav-link .hello-slideout-text {
    flex: 1;
}

/* Body lock when menu is open */
body.hello-slideout-open {
    overflow: hidden !important;
}

/* ===== Responsive ===== */
@media (max-width: 480px) {
    .hello-slideout-panel {
        width: 100% !important;
        max-width: 100% !important;
    }
}