/* ==========================
   Coupon Section
========================== */
.coupon-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 16px;
}

.coupon-container {
    background: var(--container-bg);
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
    max-width: 960px;
    width: 100%;
    overflow-y: auto;
    max-height: 500px;
}

.grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.coupon-card {
    background: #f9fafb;
    border-radius: 12px;
    padding: 12px;
    box-shadow: 0 4px 10px rgba(13, 18, 30, 0.06);
    display: flex;
    flex-direction: column;
    gap: 8px;
    transition: transform 0.12s ease, box-shadow 0.12s ease;
    height: 120px;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(13, 18, 30, 0.1);
}

.coupon-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.code {
    font-weight: 700;
    letter-spacing: 0.6px;
    font-size: 14px;
    background: #df8725;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.percent {
    font-size: 18px;
    font-weight: 800;
}

.meta {
    font-size: 12px;
    color: var(--muted);
}

.small-btn {
    border: 0;
    padding: 6px 8px;
    border-radius: 8px;
    font-size: 13px;
    cursor: pointer;
}

.btn-apply {
    background: #df8725;
    color: white;
}

.btn-copy {
    background: #f3f4f6;
    border: 1px solid #e6e9ef;
}

.tag {
    font-size: 11px;
    padding: 4px 6px;
    border-radius: 999px;
    background: #f5f0ed;
    color: var(--accent-2);
    border: 1px solid rgba(15, 118, 110, 0.06);
}

/* ==========================
   Scroll Styling
========================== */
.container::-webkit-scrollbar {
    width: 8px;
}

.container::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 8px;
}

.container::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 0, 0, 0.3);
}

/* ==========================
   Modal Styling
========================== */
.modal.fade .modal-dialog {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 100vh;
}

.modal-dialog {
    margin: 0 !important;
}

/* ==========================
   Clear Cart Button
========================== */
.clear-cart-btn {
    color: #fd7e14;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.3s ease;
}

.clear-cart-btn i {
    margin-right: 5px;
}

.clear-cart-btn:hover {
    color: #b02a37;
}

/* ==========================
   View Toggle Buttons
========================== */
.view-toggle button {
    background: #343a40;
    color: white;
    border: none;
    padding: 10px 26px;
    border-radius: 8px;
    font-size: 15px;
    transition: background 0.3s;
    cursor: pointer;
    margin-bottom: 10px;
}

.view-toggle button:hover {
    background: #212529;
}

/* ==========================
   Coupon Box
========================== */
.coupon-box {
    width: 100%;
    float: left;
    border: 1px solid #DF8725;
    border-radius: 10px;
    padding: 15px;
    background: #f9f9f9;
}

.coupon-box-text {
    float: left;
    width: 80%;
}

.coupon-box-text h4 {
    font-family: 'AvenirLTProBlack';
    font-size: 15px;
    padding: 0 !important;
    margin: 0 !important;
    border: 0 !important;
}

.coupon-box-text h5 {
    font-family: 'AvenirLTProMedium' !important;
    font-size: 15px;
    margin: 0;
    padding: 0 !important;
}

.coupon-box-text a {
    padding: 0 !important;
    border: 0 !important;
}

.coupon-box-close {
    float: right;
}

.coupon-box-close a {
    margin: 0;
    background: #211E1C;
    padding: 4px 10px !important;
    font-size: 15px;
    color: #ecebfc !important;
    border-radius: 100% !important;
    width: 30px;
    height: 30px;
    cursor: pointer;
    margin-top: 5px;
}
