:root {

    --pink: #EA0F5F;
    --sc-yellow: #FFF802;

    --pink-dark: #C90B50;

    --black: #000000;

    --gray: #6b7280;

    --light-gray: #f4f4f5;

    --border: #e5e7eb;

    --white: #ffffff;

}



* {

    box-sizing: border-box;

}



body {

    margin: 0;

    min-height: 100vh;

    display: flex;

    flex-direction: column;

    background: var(--white);

    color: var(--black);

    font-family: Arial, Helvetica, sans-serif;

}



.site-header {

    width: 100%;

    min-height: 76px;

    padding: 0 6%;

    display: flex;

    align-items: center;

    justify-content: space-between;

    border-bottom: 1px solid var(--border);

    background: var(--white);

}



.brand {

    color: var(--black);

    text-decoration: none;

    font-size: 29px;

    font-weight: 800;

    letter-spacing: -1.5px;

}



.brand-smart {

    color: var(--black);

}



.brand-cart {

    color: var(--pink);

}



.header-label {

    color: var(--gray);

    font-size: 11px;

    font-weight: 700;

    letter-spacing: 1.5px;

}



.main-content {

    width: 100%;

    max-width: 1100px;

    margin: 0 auto;

    padding: 65px 24px;

    flex: 1;

}



.auth-card {

    width: 100%;

    max-width: 440px;

    margin: 25px auto;

    padding: 42px;

    border: 1px solid var(--border);

    border-radius: 14px;

    background: var(--white);

    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.045);

}



.eyebrow {

    margin-bottom: 13px;

    color: var(--pink);

    font-size: 11px;

    font-weight: 800;

    letter-spacing: 1.5px;

}



h1 {

    margin: 0 0 12px;

    color: var(--black);

    font-size: 34px;

    letter-spacing: -1.2px;

}



.subtitle {

    margin: 0;

    color: var(--gray);

    font-size: 14px;

    line-height: 1.7;

}



.auth-card form {

    margin-top: 28px;

}



label {

    display: block;

    margin-bottom: 9px;

    color: var(--black);

    font-size: 13px;

    font-weight: 700;

}



input[type="email"],

input[type="text"] {

    width: 100%;

    height: 48px;

    padding: 0 14px;

    border: 1px solid var(--border);

    border-radius: 7px;

    outline: none;

    background: var(--white);

    color: var(--black);

    font-size: 14px;

}



input:focus {

    border-color: var(--pink);

    box-shadow: 0 0 0 3px rgba(233, 75, 145, 0.12);

}



.primary-button,

.secondary-button,

.download-button {

    min-height: 45px;

    display: inline-flex;

    align-items: center;

    justify-content: center;

    padding: 0 20px;

    border: 0;

    border-radius: 7px;

    font-size: 13px;

    font-weight: 700;

    text-decoration: none;

    cursor: pointer;

    transition: background 0.15s ease, transform 0.15s ease;

}



.primary-button {

    width: 100%;

    margin-top: 17px;

    background: var(--pink);

    color: var(--white);

}



.primary-button:hover,

.download-button:hover {

    background: var(--pink-dark);

}



.secondary-button {

    border: 1px solid var(--border);

    background: var(--white);

    color: var(--black);

}



.secondary-button:hover {

    background: var(--light-gray);

}



.button-link {

    margin-top: 25px;

}



.security-note {

    margin: 22px 0 0;

    color: var(--gray);

    font-size: 12px;

    line-height: 1.7;

    text-align: center;

}



.email-display {

    margin: 10px 0 0;

    color: var(--black);

    font-size: 14px;

    font-weight: 700;

    overflow-wrap: anywhere;

}



.text-link {

    display: block;

    margin-top: 22px;

    color: var(--pink-dark);

    font-size: 13px;

    text-align: center;

    text-decoration: none;

}



.text-link:hover {

    text-decoration: underline;

}



.flash-container {

    max-width: 650px;

    margin: 0 auto 25px;

}



.flash {

    padding: 13px 16px;

    border: 1px solid var(--border);

    border-radius: 7px;

    font-size: 13px;

    line-height: 1.5;

}



.flash-success {

    border-color: #b7e4c7;

    background: #f0faf3;

    color: #176b36;

}



.flash-error,

.flash-danger {

    border-color: #f1c0c0;

    background: #fff5f5;

    color: #a12626;

}



.flash-info,

.flash-warning {

    background: #f8f8f8;

    color: #444;

}



.dashboard-heading {

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 25px;

    margin-bottom: 35px;

}



.dashboard-heading h1 {

    font-size: 38px;

}



.store-summary {

    padding: 22px 25px;

    border: 1px solid var(--border);

    border-radius: 10px;

    background: #fafafa;

}



.summary-label {

    margin-bottom: 13px;

    color: var(--gray);

    font-size: 10px;

    font-weight: 800;

    letter-spacing: 1.2px;

}



.store-list {

    display: flex;

    flex-wrap: wrap;

    gap: 9px;

}



.store-chip {

    padding: 8px 13px;

    border: 1px solid rgba(233, 75, 145, 0.25);

    border-radius: 20px;

    background: rgba(233, 75, 145, 0.07);

    color: var(--pink-dark);

    font-size: 12px;

    font-weight: 700;

}



.reports-section {

    margin-top: 48px;

}



.section-heading {

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 20px;

    margin-bottom: 20px;

}



.section-heading h2 {

    margin: 0 0 7px;

    font-size: 22px;

    letter-spacing: -0.5px;

}



.report-count {

    padding: 7px 11px;

    border-radius: 20px;

    background: var(--light-gray);

    color: var(--gray);

    font-size: 11px;

    font-weight: 700;

    white-space: nowrap;

}



.table-wrapper {

    overflow-x: auto;

    border: 1px solid var(--border);

    border-radius: 10px;

}



.reports-table {

    width: 100%;

    border-collapse: collapse;

    font-size: 13px;

    text-align: left;

}



.reports-table th {

    padding: 15px 17px;

    background: #f8f8f8;

    color: var(--gray);

    font-size: 10px;

    font-weight: 800;

    letter-spacing: 0.8px;

    text-transform: uppercase;

    white-space: nowrap;

}



.reports-table td {

    padding: 16px 17px;

    border-top: 1px solid var(--border);

    white-space: nowrap;

}



.report-date {

    font-weight: 700;

}



.download-cell {

    text-align: right;

}



.download-button {

    min-height: 35px;

    padding: 0 14px;

    background: var(--pink);

    color: var(--white);

    font-size: 11px;

}



.empty-state {

    padding: 45px 20px;

    border: 1px dashed var(--border);

    border-radius: 10px;

    text-align: center;

}



.empty-state h3 {

    margin: 0 0 9px;

    font-size: 17px;

}



.empty-state p {

    margin: 0;

    color: var(--gray);

    font-size: 13px;

    line-height: 1.6;

}



.dashboard-note {

    margin-top: 30px;

    color: var(--gray);

    font-size: 12px;

    line-height: 1.7;

}



.error-card {

    text-align: center;

}



.site-footer {

    padding: 23px 20px;

    border-top: 1px solid var(--border);

    color: var(--gray);

    font-size: 11px;

    text-align: center;

}



.site-footer p {

    margin: 0;

}



@media (max-width: 650px) {

    .site-header {

        min-height: 66px;

        padding: 0 20px;

    }



    .brand {

        font-size: 25px;

    }



    .header-label {

        max-width: 125px;

        font-size: 9px;

        line-height: 1.5;

        text-align: right;

    }



    .main-content {

        padding: 35px 16px;

    }



    .auth-card {

        margin: 10px auto;

        padding: 30px 23px;

    }



    h1 {

        font-size: 29px;

    }



    .dashboard-heading {

        align-items: flex-start;

        flex-direction: column;

    }



    .dashboard-heading h1 {

        font-size: 31px;

    }



    .section-heading {

        align-items: flex-start;

    }



    .reports-table th,

    .reports-table td {

        padding: 13px 12px;

    }

}



/* --------------------------------------------------

   HOME DEPOT MEMBER DEAL CARD VIEWER

-------------------------------------------------- */



.report-actions {

    display: flex;

    flex-wrap: wrap;

    align-items: center;

    gap: 9px;

}



.view-deals-button {

    display: inline-block;

    padding: 10px 15px;

    border: 1px solid var(--pink);

    border-radius: 8px;

    background: var(--white);

    color: var(--pink);

    font-weight: 700;

    text-decoration: none;

    text-align: center;

}



.view-deals-button:hover {

    background: #fff5f8;

}



.deal-view-heading {

    display: flex;

    align-items: center;

    justify-content: space-between;

    flex-wrap: wrap;

    gap: 22px;

    margin-bottom: 35px;

}



.deal-view-heading h1 {

    margin-bottom: 8px;

}



.deal-report-date {

    margin-top: 9px;

    color: var(--gray);

    font-size: .9rem;

}



.deal-view-actions {

    display: flex;

    align-items: center;

    flex-wrap: wrap;

    gap: 10px;

}



.deal-view-actions a {

    text-decoration: none;

}



.member-deal-section {

    margin-top: 36px;

}



.member-deal-section-heading {

    display: flex;

    align-items: center;

    justify-content: space-between;

    flex-wrap: wrap;

    gap: 15px;

    margin-bottom: 20px;

}



.member-deal-section-heading h2 {

    margin: 5px 0 7px;

}



.deal-section-count {

    display: inline-block;

    padding: 7px 12px;

    border-radius: 999px;

    background: #fff0f5;

    color: var(--pink-dark);

    font-size: .85rem;

    font-weight: 700;

}



.hd-clearance-grid {

    display: grid;

    grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr));

    gap: 18px;

    margin-top: 22px;

}



.hd-clearance-card {

    overflow: hidden;

    display: flex;

    flex-direction: column;

    min-width: 0;

    border: 1px solid var(--border);

    border-radius: 14px;

    background: var(--white);

    box-shadow: 0 4px 16px rgba(46, 32, 39, 0.06);

}



.hd-clearance-image-wrap {

    display: flex;

    align-items: center;

    justify-content: center;

    flex: 0 0 190px;

    width: 100%;

    height: 190px;

    min-height: 190px;

    padding: 14px;

    overflow: hidden;

    background: #fff5f8;

}



.hd-clearance-image {

    display: block;

    width: 100%;

    height: 100%;

    min-width: 0;

    min-height: 0;

    object-fit: contain;

    object-position: center center;

}



.hd-clearance-image-placeholder {

    color: var(--gray);

    font-size: .9rem;

    text-align: center;

}



.hd-clearance-card-body {

    display: flex;

    flex: 1 1 auto;

    flex-direction: column;

    min-width: 0;

    gap: 10px;

    padding: 16px;

}



.hd-clearance-brand {

    margin: 0;

    color: var(--gray);

    font-size: .8rem;

    text-transform: uppercase;

    letter-spacing: .04em;

}



.hd-clearance-title {

    margin: 0;

    font-size: 1rem;

    line-height: 1.4;

    min-width: 0;

    overflow-wrap: anywhere;

}



.hd-clearance-prices {

    display: flex;

    flex-wrap: wrap;

    align-items: center;

    gap: 8px;

    min-width: 0;

}



.hd-clearance-current {

    color: var(--pink);

    font-size: 1.35rem;

    font-weight: 800;

}



.hd-clearance-original {

    color: var(--gray);

    text-decoration: line-through;

}



.hd-clearance-badge {

    align-self: flex-start;

    padding: 5px 9px;

    border-radius: 999px;

    background: #fff5f8;

    color: var(--pink);

    font-size: .8rem;

    font-weight: 700;

}



.penny-badge {

    background: #fff0f5;

}



.hd-clearance-availability {

    margin: 0;

    color: var(--gray);

    font-size: .85rem;

}



.hd-clearance-link {

    display: inline-block;

    margin-top: auto;

    padding-top: 4px;

    color: var(--pink);

    font-weight: 700;

    text-decoration: underline;

}



@media (max-width: 650px) {



    .deal-view-heading {

        align-items: flex-start;

        flex-direction: column;

    }



    .deal-view-actions {

        width: 100%;

    }



    .deal-view-actions a {

        flex: 1;

        text-align: center;

    }



    .report-actions {

        align-items: stretch;

        flex-direction: column;

    }



    .report-actions a {

        text-align: center;

    }



    .member-deal-section-heading {

        align-items: flex-start;

    }

}





/* --------------------------------------------------

   TODAY'S DEALS DASHBOARD SECTION

-------------------------------------------------- */



.today-deals-section {

    margin: 34px 0 42px;

}



.today-deals-heading {

    display: flex;

    align-items: center;

    justify-content: space-between;

    flex-wrap: wrap;

    gap: 16px;

    margin-bottom: 12px;

}



.today-deals-heading h2 {

    margin: 5px 0 7px;

}



.today-report-info {

    display: flex;

    flex-wrap: wrap;

    gap: 9px 18px;

    margin: 12px 0 18px;

    color: var(--gray);

    font-size: .88rem;

}



.deal-pagination {

    display: flex;

    align-items: center;

    justify-content: center;

    flex-wrap: wrap;

    gap: 16px;

    margin: 30px 0 10px;

}



.pagination-button {

    display: inline-block;

    min-width: 112px;

    padding: 11px 16px;

    border: 1px solid var(--pink);

    border-radius: 8px;

    background: var(--white);

    color: var(--pink);

    font-weight: 700;

    text-align: center;

    text-decoration: none;

}



a.pagination-button:hover {

    background: #fff5f8;

}



.pagination-disabled {

    opacity: .4;

    cursor: not-allowed;

}



.pagination-status {

    color: var(--gray);

    font-size: .9rem;

    font-weight: 700;

}



@media (max-width: 600px) {

    .deal-pagination {

        gap: 9px;

    }



    .pagination-button {

        min-width: 95px;

        padding: 10px 12px;

    }

}





/* --------------------------------------------------

   SEPARATE PENNY FINDS DROPDOWN

-------------------------------------------------- */



.penny-dropdown {

    margin: 24px 0 34px;

    border: 1px solid #eadde4;

    border-radius: 14px;

    background: #fff;

    overflow: hidden;

}



.penny-dropdown-summary {

    display: flex;

    align-items: center;

    gap: 12px;

    padding: 18px 20px;

    cursor: pointer;

    list-style: none;

    background: #fff7fa;

}



.penny-dropdown-summary::-webkit-details-marker {

    display: none;

}



.penny-dropdown-title {

    font-size: 18px;

    font-weight: 700;

    color: #222;

}



.penny-dropdown-count {

    font-size: 13px;

    color: #777;

}



.penny-dropdown-arrow {

    margin-left: auto;

    font-size: 18px;

    color: #e94b91;

    transition: transform 0.2s ease;

}



.penny-dropdown[open] .penny-dropdown-arrow {

    transform: rotate(180deg);

}



.penny-dropdown-content {

    padding: 20px;

    border-top: 1px solid #eadde4;

}



.clearance-deals-section {

    margin-top: 30px;

}



.clearance-deals-heading {

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 16px;

    margin-bottom: 20px;

}



.clearance-deals-heading h2 {

    margin: 0 0 6px;

}



.clearance-deals-heading .subtitle {

    margin: 0;

}



@media (max-width: 600px) {

    .penny-dropdown-summary {

        padding: 15px;

    }



    .penny-dropdown-content {

        padding: 12px;

    }



    .clearance-deals-heading {

        align-items: flex-start;

    }

}





/* --------------------------------------------------

   INVENTORY FILTER AND INVENTORY NOTICE

-------------------------------------------------- */



.inventory-filter-section {

    margin: 24px 0 30px;

}



.inventory-filter-form {

    display: flex;

    align-items: center;

    flex-wrap: wrap;

    gap: 12px;

    margin-bottom: 18px;

}



.inventory-filter-form label {

    font-weight: 600;

    color: #333;

}



.inventory-filter-form select {

    min-width: 170px;

    padding: 11px 14px;

    border: 1px solid #ddd;

    border-radius: 8px;

    background: #fff;

    color: #333;

    font: inherit;

}



.inventory-filter-button {

    padding: 11px 18px;

    border: none;

    border-radius: 8px;

    background: #e94b91;

    color: #fff;

    font-weight: 600;

    cursor: pointer;

}



.inventory-filter-button:hover {

    opacity: 0.9;

}



.inventory-notice {

    padding: 16px 18px;

    border: 1px solid #eadde4;

    border-radius: 10px;

    background: #fff8fb;

    color: #444;

}



.inventory-notice strong {

    display: block;

    margin-bottom: 6px;

    color: #333;

}



.inventory-notice p {

    margin: 0;

    font-size: 14px;

    line-height: 1.6;

}



@media (max-width: 600px) {

    .inventory-filter-form {

        align-items: stretch;

        flex-direction: column;

    }



    .inventory-filter-form select,

    .inventory-filter-button {

        width: 100%;

    }

}





/* SMARTCART V2 RETAILER CARDS */



.smartcart-v2-retailers {

    margin: 24px 0;

}



.smartcart-v2-retailers h2 {

    margin: 8px 0 18px;

}



.smartcart-v2-retailer-grid {

    display: grid;

    grid-template-columns: repeat(3, minmax(0, 1fr));

    gap: 16px;

}



.smartcart-v2-retailer-card {

    padding: 22px;

    background: #ffffff;

    border: 1px solid #e5e7eb;

    border-radius: 16px;

    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);

}



.smartcart-v2-retailer-card h3 {

    margin: 0 0 10px;

    font-size: 19px;

}



.smartcart-v2-retailer-card p {

    margin: 0 0 16px;

    line-height: 1.5;

}



.smartcart-v2-retailer-card span {

    display: inline-block;

    padding: 7px 12px;

    border-radius: 999px;

    background: #f3f4f6;

    font-size: 12px;

    font-weight: 600;

}



@media (max-width: 760px) {

    .smartcart-v2-retailer-grid {

        grid-template-columns: 1fr;

    }



    .smartcart-v2-retailer-card {

        padding: 18px;

    }

}

/* SMARTCART V2 PREMIUM STORE SELECTION FORM */

#smartcart-premium-store-form {
    margin-top: 22px;
}

#smartcart-premium-store-rows {
    display: grid;
    gap: 18px;
    margin-top: 18px;
}

.smartcart-premium-store-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 18px;
    row-gap: 14px;
    min-width: 0;
    background: #fff;
}

.smartcart-premium-store-row legend {
    padding: 0 8px;
    color: var(--pink);
    font-weight: 700;
}

.smartcart-premium-store-row label {
    display: flex;
    flex-direction: column;
    gap: 7px;
    min-width: 0;
    font-weight: 600;
}

.smartcart-premium-store-row select,
.smartcart-premium-store-row input[type="text"] {
    box-sizing: border-box;
    display: block;
    width: 100%;
    height: 48px;
    padding: 0 14px;
    border: 1px solid var(--border);
    border-radius: 7px;
    background: #fff;
    color: inherit;
    font: inherit;
}

.smartcart-premium-store-row select:focus,
.smartcart-premium-store-row input:focus {
    outline: 2px solid var(--pink);
    outline-offset: 2px;
}

#smartcart-premium-form-error:not([hidden]) {
    margin-top: 14px;
    padding: 12px 14px;
    border: 1px solid #c62828;
    border-radius: 7px;
    color: #a31616;
    background: #fff5f5;
}

@media (max-width: 650px) {
    .smartcart-premium-store-row {
        grid-template-columns: 1fr;
        row-gap: 12px;
    }

    #smartcart-premium-store-form {
        margin-top: 18px;
    }
}


/* SMARTCART THREE-STORE SWITCHER */

.smartcart-store-switcher {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin: 20px 0;
}

.smartcart-store-button {
    padding: 18px 12px;
    border: 2px solid #EA0F5F;
    border-radius: 12px;
    background: #FFFFFF;
    color: #000000;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}

.smartcart-store-button:hover,
.smartcart-store-button:focus-visible {
    background: #FFF5F9;
    outline-offset: 3px;
}

.smartcart-store-button.is-active {
    background: #EA0F5F;
    color: #FFFFFF;
    box-shadow: inset 0 -4px 0 #FFF802;
}

.smartcart-store-panel[hidden] {
    display: none !important;
}

.smartcart-store-panel:not([hidden]) {
    margin-top: 20px;
}

@media (max-width: 600px) {
    .smartcart-store-switcher {
        gap: 6px;
    }

    .smartcart-store-button {
        padding: 12px 5px;
        font-size: 12px;
    }
}
