        :root {
            --page-bg: #e8ebeb;
            --panel-bg: #f2f3f3;
            --card-bg: #f5f6f7;
            --surface: #ffffff;
            --text: #616e79;
            --title: #4e5a65;
            --line: #e4e7ea;
            --blue: #5d6dff;
            --green: #4adf68;
            --danger: #ff5a5a;
            --warning: #ffac2f;
            --shadow-soft: 0 8px 16px rgba(15, 24, 40, 0.08);
            --shadow-pill: 0 8px 18px rgba(255, 172, 47, 0.35);
        }

        * {
            box-sizing: border-box;
        }

        body {
            margin: 0;
            min-height: 100vh;
            font-family: 'Roboto', sans-serif;
            color: var(--text);
            background: var(--page-bg);
            line-height: 1.4;
        }

        .page-shell {
            width: min(1120px, calc(100% - 24px));
            margin: 0 auto;
            padding: 34px 0 130px;
        }

        .cart-panel {
            background: var(--panel-bg);
            border: 1px solid var(--line);
            border-top: 2px solid var(--blue);
            border-radius: 3px;
            box-shadow: 0 1px 3px rgba(31, 41, 55, 0.05);
        }

        .panel-head {
            padding: 14px 18px;
            border-bottom: 1px solid var(--line);
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 14px;
        }

        .panel-head h1 {
            margin: 0;
            font-size: 24px;
            color: #35424e;
            letter-spacing: 0.2px;
        }

        .currency-wrap {
            position: relative;
        }

        .currency-btn {
            border: 0;
            border-radius: 999px;
            padding: 9px 16px;
            font-size: 14px;
            font-weight: 700;
            color: #fff;
            background: var(--warning);
            box-shadow: var(--shadow-pill);
            cursor: pointer;
            display: inline-flex;
            align-items: center;
            gap: 8px;
        }

        .currency-menu {
            list-style: none;
            margin: 10px 0 0;
            padding: 8px;
            position: absolute;
            top: 100%;
            right: 0;
            min-width: 136px;
            border-radius: 8px;
            background: var(--surface);
            border: 1px solid #ebedf0;
            box-shadow: var(--shadow-soft);
            z-index: 20;
            display: none;
        }

        .currency-menu.open {
            display: block;
        }

        .currency-menu button {
            width: 100%;
            border: 0;
            border-radius: 6px;
            background: transparent;
            text-align: left;
            color: #4d5a67;
            font-size: 13px;
            font-weight: 600;
            padding: 8px;
            cursor: pointer;
        }

        .currency-menu button:hover {
            background: #f0f4f8;
        }

        .panel-body {
            padding: 16px 18px 20px;
        }

        .cart-header-row {
            background: #ececec;
            border: 1px solid #e6e6e6;
            border-radius: 2px;
            padding: 12px 18px;
            display: grid;
            grid-template-columns: minmax(0, 1fr) 220px;
            column-gap: 12px;
            font-size: 16px;
            font-weight: 700;
            color: #65707b;
        }

        .cart-item-row {
            display: grid;
            grid-template-columns: minmax(0, 1fr) 240px;
            align-items: center;
            gap: 12px;
            padding: 14px 18px 18px;
        }

        .course-info {
            display: flex;
            align-items: center;
            gap: 12px;
            min-width: 0;
        }

        .course-image {
            width: 60px;
            height: 60px;
            object-fit: cover;
            border-radius: 2px;
            border: 1px solid #d7dce2;
            background: #fff;
        }

        .course-name {
            margin: 0;
            font-size: 22px;
            line-height: 1.1;
            font-weight: 500;
            color: #5a6cff;
        }

        .course-name a {
            color: inherit;
            text-decoration: none;
        }

        .course-type {
            margin: 4px 0 0;
            font-size: 16px;
            font-weight: 700;
            color: #4dd45f;
        }

        .course-qty {
            margin-left: 8px;
            font-size: 13px;
            font-weight: 700;
            color: #65707d;
        }

        .price-area {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 12px;
        }

        .item-price {
            margin: 0;
            font-size: 22px;
            color: #66717d;
            font-weight: 700;
            text-align: right;
            letter-spacing: 0.2px;
        }

        .remove-btn {
            border: 0;
            border-radius: 999px;
            padding: 8px 14px;
            background: var(--danger);
            color: #fff;
            font-size: 15px;
            font-weight: 700;
            cursor: pointer;
            box-shadow: 0 6px 16px rgba(255, 90, 90, 0.25);
            white-space: nowrap;
        }

        .remove-btn i {
            margin-right: 6px;
            font-size: 13px;
        }

        .cart-empty {
            margin: 16px 18px 20px;
            padding: 18px;
            border: 1px dashed #cfd6df;
            border-radius: 6px;
            font-size: 15px;
            font-weight: 600;
            color: #5e6975;
            background: #f8fafc;
        }

        .detail-grid {
            display: grid;
            grid-template-columns: minmax(170px, 1fr) minmax(240px, 1.2fr) minmax(220px, 0.85fr);
            gap: 18px;
            align-items: start;
        }

        .box-card {
            background: var(--card-bg);
            border: 1px solid #eceff1;
            border-radius: 2px;
            box-shadow: 0 3px 8px rgba(21, 30, 44, 0.03);
            min-height: 208px;
        }

        .box-title {
            padding: 12px 16px;
            border-bottom: 1px solid #ebeef2;
            font-size: 20px;
            font-weight: 500;
            color: #6a7580;
        }

        .coupon-box {
            border-top: 2px solid var(--blue);
        }

        .coupon-inner,
        .payment-inner {
            padding: 16px;
        }

        .coupon-label {
            display: block;
            font-size: 14px;
            font-weight: 700;
            margin-bottom: 8px;
            color: #5b6470;
        }

        .coupon-input {
            width: 100%;
            padding: 10px 12px;
            border-radius: 4px;
            border: 1px solid #d4dbef;
            font-size: 14px;
            font-family: inherit;
            color: #5a6270;
            outline: none;
        }

        .coupon-input:focus {
            border-color: #8295f8;
            box-shadow: 0 0 0 3px rgba(130, 149, 248, 0.14);
        }

        .coupon-btn {
            margin-top: 14px;
            border: 0;
            border-radius: 999px;
            padding: 9px 16px;
            background: #6674ef;
            color: #fff;
            font-size: 14px;
            font-weight: 700;
            cursor: pointer;
            box-shadow: 0 7px 16px rgba(102, 116, 239, 0.28);
        }

        .coupon-msg {
            min-height: 20px;
            margin-top: 8px;
            font-size: 13px;
            font-weight: 500;
            color: #65707d;
        }

        .payment-box {
            border-top: 2px solid var(--green);
        }

        .payment-option {
            display: flex;
            align-items: center;
            gap: 10px;
            padding: 10px 12px;
            font-size: 15px;
            color: #66717c;
            border-radius: 2px;
            cursor: pointer;
            border: 1px solid transparent;
            transition: background-color 0.2s ease, border-color 0.2s ease;
        }

        .payment-option + .payment-option {
            margin-top: 8px;
        }

        .payment-option input {
            width: 15px;
            height: 15px;
            accent-color: #3f8bfd;
            cursor: pointer;
        }

        .payment-option.active {
            background: #f1f2f3;
            border-color: #e6e8ea;
        }

        .summary-panel {
            padding: 8px 6px;
            display: flex;
            flex-direction: column;
            gap: 18px;
        }

        .total-row {
            display: flex;
            align-items: baseline;
            justify-content: space-between;
            gap: 14px;
            margin-top: 2px;
        }

        .total-label {
            margin: 0;
            color: #67727e;
            font-size: 32px;
            font-weight: 700;
        }

        .total-price {
            margin: 0;
            color: #5c6774;
            font-size: 36px;
            font-weight: 800;
            letter-spacing: 0.4px;
            text-align: right;
            white-space: nowrap;
        }

        .summary-actions {
            display: flex;
            gap: 16px;
            flex-wrap: wrap;
        }

        .continue-btn,
        .checkout-btn {
            border-radius: 999px;
            text-decoration: none;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            font-size: 14px;
            font-weight: 700;
            padding: 10px 16px;
            white-space: nowrap;
            transition: transform 0.2s ease, box-shadow 0.2s ease;
        }

        .continue-btn {
            color: #1a73e8;
            border: 1px solid #85bf5a;
            background: #f6fbf3;
            min-width: 184px;
        }

        .checkout-btn {
            border: 0;
            color: #fff;
            background: #56e06e;
            min-width: 172px;
            cursor: pointer;
            box-shadow: 0 8px 16px rgba(86, 224, 110, 0.3);
        }

        .continue-btn:hover,
        .checkout-btn:hover {
            transform: translateY(-1px);
        }

        .checkout-feedback {
            margin: -8px 2px 0;
            min-height: 18px;
            font-size: 13px;
            color: #5f6975;
        }

        .bottom-actions {
            margin-top: 28px;
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 12px;
        }

        .round-btn {
            width: 34px;
            height: 34px;
            border-radius: 50%;
            border: 0;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            color: #fff;
            text-decoration: none;
            box-shadow: 0 7px 14px rgba(24, 34, 48, 0.16);
        }

        .round-btn.back {
            background: #57df72;
        }

        .round-btn.home {
            background: #6274eb;
        }

        .copyright {
            margin: 18px 0 0;
            text-align: center;
            font-size: 14px;
            color: #6b7480;
        }

        .phone-wrap {
            position: fixed;
            left: 16px;
            bottom: 14px;
            z-index: 30;
        }

        .phone-ring {
            width: 80px;
            height: 80px;
            border-radius: 50%;
            border: 2px solid rgba(255, 208, 72, 0.45);
            position: absolute;
            left: 0;
            top: -12px;
        }

        .phone-btn {
            position: relative;
            z-index: 1;
            border-radius: 999px;
            background: #f6bb02;
            color: #fff;
            text-decoration: none;
            font-size: 18px;
            font-weight: 800;
            display: inline-flex;
            align-items: center;
            gap: 11px;
            padding: 12px 18px;
            box-shadow: 0 9px 18px rgba(246, 187, 2, 0.33);
        }

        .phone-btn i {
            font-size: 17px;
        }

        .whatsapp-btn {
            position: fixed;
            right: 20px;
            bottom: 20px;
            width: 56px;
            height: 56px;
            border-radius: 50%;
            background: #27cf57;
            color: #fff;
            text-decoration: none;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            font-size: 33px;
            box-shadow: 0 10px 20px rgba(39, 207, 87, 0.34);
        }

        @media (max-width: 1260px) {
            .page-shell {
                width: min(1120px, calc(100% - 30px));
            }

            .panel-head h1 {
                font-size: 22px;
            }

            .cart-header-row {
                font-size: 15px;
            }

            .course-name {
                font-size: 20px;
            }

            .course-type {
                font-size: 14px;
            }

            .item-price {
                font-size: 20px;
            }

            .remove-btn {
                font-size: 14px;
            }

            .box-title,
            .coupon-label,
            .payment-option,
            .coupon-btn,
            .coupon-input,
            .coupon-msg,
            .continue-btn,
            .checkout-btn,
            .checkout-feedback {
                font-size: 14px;
            }

            .total-label {
                font-size: 28px;
            }

            .total-price {
                font-size: 32px;
            }

            .phone-btn {
                font-size: 16px;
            }
        }

        @media (max-width: 960px) {
            .page-shell {
                width: min(1120px, calc(100% - 26px));
                padding-top: 24px;
            }

            .panel-head,
            .panel-body {
                padding: 16px;
            }

            .cart-header-row {
                display: none;
            }

            .cart-item-row {
                grid-template-columns: 1fr;
                padding: 10px 8px 20px;
            }

            .price-area {
                width: 100%;
                justify-content: space-between;
                padding: 0 8px;
            }

            .detail-grid {
                grid-template-columns: 1fr;
                gap: 16px;
            }

            .summary-panel {
                padding: 0;
            }

            .total-row {
                margin-top: 0;
            }

            .total-label,
            .total-price {
                font-size: 27px;
            }

            .summary-actions {
                gap: 10px;
            }

            .continue-btn,
            .checkout-btn {
                width: 100%;
                min-width: 0;
            }

            .phone-wrap {
                left: 12px;
                bottom: 12px;
            }

            .phone-ring {
                width: 70px;
                height: 70px;
            }

            .phone-btn {
                font-size: 14px;
                padding: 10px 14px;
            }

            .whatsapp-btn {
                width: 50px;
                height: 50px;
                font-size: 30px;
                right: 12px;
                bottom: 12px;
            }
        }

        @media (prefers-reduced-motion: reduce) {
            *,
            *::before,
            *::after {
                animation: none !important;
                transition: none !important;
            }
        }
