


.cr-hero {
    position: relative;
    padding: 150px 0 72px;
    background: linear-gradient(160deg, #080c12 0%, #111827 45%, #0a0f18 100%);
    overflow: hidden;
}

.cr-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 70% 55% at 50% 110%, rgba(37,211,102,0.10) 0%, transparent 65%),
        radial-gradient(ellipse 50% 45% at 15% 50%, rgba(173, 22, 41, 0.09) 0%, transparent 60%);
    pointer-events: none;
    z-index: 1;
}

.cr-hero-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(173, 22, 41, 0.10) 0%, transparent 55%),
        radial-gradient(ellipse at 80% 20%, rgba(173, 22, 41, 0.05) 0%, transparent 45%);
    z-index: 0;
}

.cr-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.cr-breadcrumb {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 24px;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.45);
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.09);
    padding: 6px 16px;
    border-radius: 100px;
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
}

.cr-breadcrumb a {
    color: rgba(255, 255, 255, 0.55);
    text-decoration: none;
    transition: color 0.3s;
}

.cr-breadcrumb a:hover {
    color: #AD1629;
}

.cr-breadcrumb i {
    font-size: 0.6rem;
}

.cr-hero-title {
    font-size: clamp(2rem, 4.5vw, 2.8rem);
    font-weight: 900;
    margin: 0 0 16px;
    line-height: 1.25;
    background: linear-gradient(135deg, #ffffff 20%, #f0e6c8 55%, #D4AF37 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 28px rgba(212,175,55,0.16));
}

.cr-hero-subtitle {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.60);
    margin: 0;
    line-height: 1.8;
    max-width: 500px;
    margin-inline: auto;
    padding-top: 16px;
    position: relative;
}

.cr-hero-subtitle::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 55px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #25d366, transparent);
    border-radius: 2px;
}


.cr-cart-section {
    padding: 56px 0 32px;
    background: linear-gradient(180deg, #fdf9f0 0%, #fafbfc 100%);
    position: relative;
}

.cr-cart-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, #AD1629 30%, #D4AF37 50%, #AD1629 70%, transparent);
}

.cr-cart-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 24px;
    padding: 18px 22px;
    background: linear-gradient(135deg, #ffffff, #fdf7f8);
    border: 1px solid rgba(173, 22, 41, 0.12);
    border-right: 3px solid #D4AF37;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.cr-cart-header-info {
    display: flex;
    align-items: center;
    gap: 14px;
}

.cr-cart-header-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(173, 22, 41, 0.10), rgba(212,175,55,0.06));
    border: 1px solid rgba(173, 22, 41, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #AD1629;
    font-size: 1.15rem;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(173,22,41,0.08);
}

.cr-cart-header-info h2 {
    font-size: 1.35rem;
    font-weight: 900;
    color: #0D1117;
    margin: 0 0 4px;
}

.cr-cart-header-info p {
    margin: 0;
    color: rgba(13, 17, 23, 0.5);
    font-size: 0.82rem;
    line-height: 1.6;
}


.cr-cart-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 24px;
    align-items: start;
}

.cr-cart-list {
    min-width: 0;
}


.cr-cart-summary {
    position: sticky;
    top: 110px;
}

.cr-summary-card {
    background: #fff;
    border: 1px solid rgba(173, 22, 41, 0.12);
    border-top: 3px solid #D4AF37;
    border-radius: 18px;
    padding: 22px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.07);
}

.cr-summary-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 16px;
}

.cr-summary-header h3 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 900;
    color: #0D1117;
}

.cr-summary-badge {
    min-width: 32px;
    height: 26px;
    padding: 0 10px;
    border-radius: 999px;
    background: rgba(173, 22, 41, 0.08);
    color: #AD1629;
    border: 1px solid rgba(173, 22, 41, 0.15);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.82rem;
}

.cr-summary-divider {
    height: 1px;
    background: rgba(0, 0, 0, 0.06);
    margin: 14px 0;
}




.cr-btn {
    border: 1px solid transparent;
    border-radius: 12px;
    padding: 12px 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-weight: 800;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.cr-btn-full {
    width: 100%;
}

.cr-btn-wa {
    background: linear-gradient(135deg, #25d366, #128C7E);
    color: #fff;
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.25);
}

.cr-btn-wa:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(37, 211, 102, 0.35);
}

.cr-btn-outline {
    background: #fff;
    border-color: rgba(173, 22, 41, 0.2);
    color: #0D1117;
}

.cr-btn-outline:hover {
    background: rgba(173, 22, 41, 0.04);
    border-color: rgba(173, 22, 41, 0.4);
}

.cr-btn-outline-danger {
    background: #fff;
    border: 1px solid rgba(224, 17, 95, 0.2);
    color: #e0115f;
    border-radius: 12px;
    padding: 10px 16px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 800;
    font-size: 0.82rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cr-btn-outline-danger:hover {
    background: rgba(224, 17, 95, 0.06);
    border-color: rgba(224, 17, 95, 0.45);
}




.cf-item {
    background: #fff;
    border: 1px solid rgba(173, 22, 41, 0.12);
    border-radius: 16px;
    padding: 16px;
    display: grid;
    grid-template-columns: 88px minmax(0, 1fr);
    gap: 16px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.04);
    margin-bottom: 14px;
    transition: all 0.3s ease;
}

.cf-item:hover {
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.08);
    transform: translateY(-1px);
}

.cf-item-image {
    width: 88px;
    height: 88px;
    border-radius: 14px;
    overflow: hidden;
    background: linear-gradient(135deg, #f8f9fa, #fdf7f8);
    border: 1px solid rgba(173, 22, 41, 0.08);
}

.cf-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

body.order-page .cf-item-image {
    background: #fff;
}

body.order-page .cf-item-image img {
    object-fit: contain;
    padding: 4px;
}

.cf-item-main {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.cf-item-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
}

.cf-item-title {
    min-width: 0;
}

.cf-item-title a,
.cf-item-title span {
    display: block;
    font-weight: 800;
    color: #0D1117;
    line-height: 1.4;
    font-size: 0.92rem;
}

.cf-item-sub {
    display: flex;
    gap: 4px;
    align-items: center;
    margin-top: 3px;
    font-size: 0.75rem;
    color: rgba(13, 17, 23, 0.45);
    font-weight: 700;
}

.cf-item-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.cf-icon-btn {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    border: 1px solid rgba(13, 17, 23, 0.1);
    background: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #0D1117;
    cursor: pointer;
    transition: all 0.25s ease;
    font-size: 0.8rem;
}

.cf-icon-btn:hover {
    background: rgba(173, 22, 41, 0.06);
    border-color: rgba(173, 22, 41, 0.3);
}

.cf-icon-btn-danger {
    color: #e0115f;
    border-color: rgba(224, 17, 95, 0.15);
}

.cf-icon-btn-danger:hover {
    background: #e0115f;
    color: #fff;
    border-color: #e0115f;
}

.cf-qty {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 8px;
    border-radius: 10px;
    border: 1px solid rgba(173, 22, 41, 0.15);
    background: #fdfafe;
}

.cf-qty button {
    width: 30px;
    height: 30px;
    border-radius: 8px;
    border: 1px solid rgba(13, 17, 23, 0.1);
    background: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    color: #0D1117;
    cursor: pointer;
    transition: all 0.25s ease;
    font-size: 0.85rem;
}

.cf-qty button:hover {
    background: rgba(173, 22, 41, 0.08);
    border-color: rgba(173, 22, 41, 0.3);
}

.cf-qty span {
    min-width: 28px;
    text-align: center;
    font-weight: 900;
    color: #0D1117;
    font-size: 0.9rem;
}


.cf-empty {
    background: #fff;
    border: 1px solid rgba(173, 22, 41, 0.1);
    border-radius: 18px;
    padding: 50px 24px;
    text-align: center;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
}

.cf-empty .cf-empty-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    margin: 0 auto 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(173, 22, 41, 0.06);
    border: 1px solid rgba(173, 22, 41, 0.1);
    color: #AD1629;
    font-size: 1.5rem;
}

.cf-empty h3 {
    margin: 0 0 8px;
    font-weight: 900;
    color: #0D1117;
    font-size: 1.15rem;
}

.cf-empty p {
    margin: 0 0 20px;
    color: rgba(13, 17, 23, 0.5);
    font-size: 0.85rem;
    line-height: 1.8;
}

.cf-empty .cf-btn {
    display: inline-flex;
    border-radius: 12px;
    padding: 12px 24px;
    font-weight: 800;
    font-size: 0.85rem;
    gap: 10px;
    text-decoration: none;
}

.cf-empty .cf-btn-primary {
    background: linear-gradient(135deg, #AD1629, #8B1220);
    color: #fff;
    box-shadow: 0 8px 20px rgba(173, 22, 41, 0.25);
    transition: all 0.3s ease;
}

.cf-empty .cf-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(173, 22, 41, 0.35);
}


.cf-summary-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px;
    border-radius: 12px;
    background: rgba(173, 22, 41, 0.03);
    border: 1px dashed rgba(173, 22, 41, 0.2);
    margin-bottom: 12px;
}

.cf-summary-row span {
    color: rgba(13, 17, 23, 0.55);
    font-weight: 700;
    font-size: 0.85rem;
}


.cr-order-section {
    position: relative;
    padding: 80px 0 110px;
    background: linear-gradient(180deg, #f0f3f7 0%, #f7f8fa 25%, #fafbfc 55%, #fff 75%, #fdf9f2 100%);
    overflow: hidden;
}

.cr-order-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, #AD1629 30%, #D4AF37 50%, #AD1629 70%, transparent);
    z-index: 1;
}

.cr-order-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 10%, rgba(37, 211, 102, 0.07) 0%, transparent 45%),
        radial-gradient(ellipse at 80% 90%, rgba(173, 22, 41, 0.06) 0%, transparent 45%),
        radial-gradient(ellipse at 85% 15%, rgba(212,175,55,0.05) 0%, transparent 40%),
        radial-gradient(ellipse at 15% 85%, rgba(173, 22, 41, 0.04) 0%, transparent 40%);
    pointer-events: none;
}


.cr-order-intro {
    text-align: center;
    margin-bottom: 40px;
    position: relative;
}

.cr-order-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 20px;
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(37, 211, 102, 0.12), rgba(18, 140, 126, 0.07));
    border: 1px solid rgba(37, 211, 102, 0.3);
    color: #0f7a6e;
    font-size: 0.8rem;
    font-weight: 800;
    margin-bottom: 16px;
    box-shadow: 0 4px 14px rgba(37, 211, 102, 0.12);
    letter-spacing: 0.01em;
}

.cr-order-tag i {
    font-size: 1rem;
    color: #25d366;
}

.cr-order-intro-title {
    font-size: 2rem;
    font-weight: 900;
    color: #0D1117;
    margin: 0 0 14px;
    line-height: 1.35;
    display: block;
    position: relative;
    padding-bottom: 20px;
    letter-spacing: -0.01em;
}

.cr-order-intro-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 72px;
    height: 3px;
    background: linear-gradient(90deg, #AD1629, #D4AF37 50%, #AD1629);
    border-radius: 3px;
    box-shadow: 0 2px 8px rgba(173, 22, 41, 0.25);
}

.cr-order-intro-desc {
    margin: 0;
    color: rgba(13, 17, 23, 0.52);
    font-size: 0.92rem;
    line-height: 1.9;
    max-width: 500px;
    margin-inline: auto;
}


.cr-order-form {
    position: relative;
    background: #fff;
    border: 1px solid rgba(173, 22, 41, 0.10);
    border-radius: 28px;
    padding: 0 32px 40px;
    box-shadow:
        0 2px 6px rgba(0, 0, 0, 0.04),
        0 12px 32px rgba(0, 0, 0, 0.07),
        0 28px 64px rgba(0, 0, 0, 0.06),
        0 0 0 1px rgba(173, 22, 41, 0.04);
    max-width: 780px;
    margin-inline: auto;
    overflow: hidden;
}

.cr-order-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #AD1629 0%, #D4AF37 50%, #AD1629 100%);
    z-index: 2;
    pointer-events: none;
}


.cr-order-header {
    position: relative;
    text-align: center;
    margin: 0 -32px 28px;
    padding: 32px 28px 24px;
    overflow: hidden;
}

.cr-order-header-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(160deg, #080c12, #111827);
    z-index: 0;
}

.cr-order-header-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 25% 75%, rgba(37, 211, 102, 0.18) 0%, transparent 50%),
        radial-gradient(ellipse at 75% 25%, rgba(173, 22, 41, 0.12) 0%, transparent 45%),
        radial-gradient(ellipse at 50% 115%, rgba(212,175,55,0.10) 0%, transparent 55%),
        radial-gradient(ellipse at 50% -20%, rgba(37, 211, 102, 0.07) 0%, transparent 50%);
}

.cr-order-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 15%;
    right: 15%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(37, 211, 102, 0.3) 30%, rgba(212,175,55,0.25) 50%, rgba(37, 211, 102, 0.3) 70%, transparent);
    z-index: 2;
}

.cr-order-header-content {
    position: relative;
    z-index: 1;
}

.cr-order-icon {
    position: relative;
    width: 70px;
    height: 70px;
    margin: 0 auto 16px;
    border-radius: 50%;
    background: linear-gradient(145deg, #2fdf70, #25d366, #128C7E);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.85rem;
    box-shadow:
        0 8px 22px rgba(37, 211, 102, 0.40),
        0 16px 40px rgba(37, 211, 102, 0.20),
        inset 0 1px 0 rgba(255,255,255,0.2);
}

.cr-order-icon-pulse {
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    border: 2px solid rgba(37, 211, 102, 0.45);
    animation: cr-pulse 2.2s ease-in-out infinite;
}

.cr-order-icon-pulse::after {
    content: '';
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    border: 1px solid rgba(37, 211, 102, 0.2);
    animation: cr-pulse 2.2s ease-in-out 0.8s infinite;
}

@keyframes cr-pulse {
    0%, 100% { transform: scale(1); opacity: 0.7; }
    50% { transform: scale(1.18); opacity: 0; }
}

.cr-order-header h2 {
    margin: 0 0 8px;
    font-size: 1.4rem;
    font-weight: 900;
    color: #fff;
    letter-spacing: -0.01em;
}

.cr-order-header p {
    margin: 0;
    color: rgba(255, 255, 255, 0.60);
    font-size: 0.84rem;
    line-height: 1.8;
}


.cr-steps {
    display: flex;
    align-items: center;
    gap: 0;
    margin-bottom: 26px;
    padding: 14px 18px;
    background: linear-gradient(135deg, #f6f8fa, #f2f4f6);
    border: 1px solid rgba(13, 17, 23, 0.07);
    border-radius: 16px;
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.04);
}

.cr-step-line {
    flex: 1;
    height: 2px;
    background: linear-gradient(90deg, rgba(173,22,41,0.12), rgba(13, 17, 23, 0.06));
    margin: 0 6px;
    border-radius: 2px;
    position: relative;
}

.order-step {
    border: 1px solid rgba(13, 17, 23, 0.08);
    border-radius: 12px;
    background: #fff;
    padding: 10px 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: rgba(13, 17, 23, 0.35);
    font-size: 0.78rem;
    font-weight: 700;
    transition: all 0.35s ease;
    white-space: nowrap;
    flex-shrink: 0;
    box-shadow: 0 1px 4px rgba(0,0,0,0.04);
}

.order-step span {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 2px solid rgba(13, 17, 23, 0.1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 900;
    transition: all 0.35s ease;
    flex-shrink: 0;
}

.order-step.is-active {
    border-color: rgba(173, 22, 41, 0.40);
    background: linear-gradient(135deg, #fdf5f6, #fdeef0);
    color: #AD1629;
    box-shadow: 0 4px 16px rgba(173, 22, 41, 0.12), 0 0 0 1px rgba(173,22,41,0.06);
}

.order-step.is-active span {
    border-color: #AD1629;
    background: linear-gradient(135deg, #AD1629, #8B1220);
    color: #fff;
    box-shadow: 0 3px 8px rgba(173, 22, 41, 0.30);
}

.order-step.is-done {
    border-color: rgba(37, 211, 102, 0.35);
    background: linear-gradient(135deg, #f3fff9, #ecfdf5);
    color: #0f7a6e;
}

.order-step.is-done span {
    border-color: #25d366;
    background: linear-gradient(135deg, #25d366, #128C7E);
    color: #fff;
}


.cr-note {
    display: flex;
    gap: 10px;
    align-items: center;
    border-radius: 12px;
    padding: 12px 16px;
    margin-bottom: 22px;
    border: 1px solid rgba(173, 22, 41, 0.10);
    background: linear-gradient(135deg, rgba(173, 22, 41, 0.03), rgba(173, 22, 41, 0.01));
    color: rgba(13, 17, 23, 0.55);
    font-size: 0.78rem;
    line-height: 1.8;
    border-right: 3px solid rgba(173, 22, 41, 0.25);
}

.cr-note i {
    color: #AD1629;
    font-size: 0.88rem;
    flex-shrink: 0;
}


.cr-form-group {
    margin-bottom: 20px;
    padding: 22px;
    background: linear-gradient(160deg, #ffffff, #fdfefe, #fafbfc);
    border: 1px solid rgba(13, 17, 23, 0.07);
    border-right: 3px solid rgba(173, 22, 41, 0.22);
    border-radius: 18px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.03);
}

.cr-form-group:hover {
    border-right-color: rgba(173, 22, 41, 0.5);
    box-shadow: 0 4px 18px rgba(0,0,0,0.055), 0 0 0 1px rgba(173,22,41,0.04);
    transform: translateY(-1px);
}

.cr-form-group:focus-within {
    border-right-color: #AD1629;
    box-shadow: 0 6px 22px rgba(173, 22, 41, 0.07), 0 0 0 1px rgba(173,22,41,0.06);
    transform: translateY(-1px);
}

.cr-form-group-label {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
    font-weight: 900;
    font-size: 0.96rem;
    color: #0D1117;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(13,17,23,0.05);
}

.cr-form-group-label i {
    width: 38px;
    height: 38px;
    border-radius: 11px;
    background: linear-gradient(135deg, rgba(173, 22, 41, 0.12), rgba(173, 22, 41, 0.05));
    border: 1px solid rgba(173, 22, 41, 0.14);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #AD1629;
    font-size: 0.86rem;
    box-shadow: 0 3px 8px rgba(173,22,41,0.10);
    flex-shrink: 0;
}


.cf-form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    margin-bottom: 14px;
}

.cf-field {
    margin-bottom: 12px;
}

.cf-field.cf-hidden {
    display: none;
}

.cf-field label {
    display: block;
    margin-bottom: 6px;
    font-size: 0.8rem;
    font-weight: 800;
    color: #0D1117;
}

.cf-field-error {
    min-height: 14px;
    margin-top: 4px;
    color: #d62839;
    font-size: 0.75rem;
    font-weight: 700;
    line-height: 1.4;
}

.cf-field.is-invalid .form-control {
    border-color: rgba(214, 40, 57, 0.6) !important;
    box-shadow: 0 0 0 3px rgba(214, 40, 57, 0.08) !important;
    background: #fff8f8 !important;
}

.cf-field.is-valid .form-control {
    border-color: rgba(37, 211, 102, 0.45) !important;
}

.cr-order-form .form-control {
    width: 100%;
    min-height: 46px;
    border-radius: 12px;
    border: 1px solid rgba(13, 17, 23, 0.12);
    background: #fff;
    color: #0D1117;
    padding: 10px 14px;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.25s ease;
    font-family: inherit;
}

.cr-order-form .form-control:focus {
    border-color: rgba(173, 22, 41, 0.6);
    box-shadow: 0 0 0 3px rgba(173, 22, 41, 0.1);
    outline: none;
}

.cr-order-form textarea.form-control {
    min-height: 100px;
    resize: vertical;
}

.cr-order-form select.form-control {
    cursor: pointer;
    -webkit-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23666' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: left 14px center;
    padding-left: 36px;
}


.cf-items {
    margin-bottom: 12px;
}

.order-items-error {
    margin: 2px 0 8px;
}


.item-row {
    display: grid;
    grid-template-columns: minmax(0, 2fr) 110px 130px 42px;
    gap: 10px;
    margin-bottom: 10px;
    align-items: center;
}

.item-row .item-product,
.item-row .item-size {
    min-height: 44px;
    border: 1px solid rgba(13, 17, 23, 0.12);
    border-radius: 10px;
    padding: 8px 12px;
    font-size: 0.82rem;
    background: #fff;
    color: #0D1117;
    font-family: inherit;
    transition: border-color 0.25s;
}

.item-row .item-product:focus,
.item-row .item-size:focus {
    border-color: rgba(173, 22, 41, 0.5);
    outline: none;
}

.item-row .qty-wrapper {
    display: flex;
    align-items: center;
    border: 1px solid rgba(13, 17, 23, 0.1);
    border-radius: 10px;
    overflow: hidden;
    min-height: 44px;
    background: #fff;
}

.item-row .qty-btn {
    width: 34px;
    height: 42px;
    border: none;
    border-left: 1px solid rgba(13, 17, 23, 0.06);
    border-right: 1px solid rgba(13, 17, 23, 0.06);
    background: #fafbfc;
    cursor: pointer;
    color: #0D1117;
    transition: background 0.2s;
    font-size: 0.7rem;
}

.item-row .qty-btn:hover {
    background: rgba(173, 22, 41, 0.06);
}

.item-row .item-qty {
    border: none;
    text-align: center;
    width: 100%;
    min-height: 42px;
    font-weight: 900;
    font-size: 0.85rem;
    color: #0D1117;
    font-family: inherit;
}

.item-row .item-qty:focus {
    outline: none;
}

.item-row.is-invalid {
    border: 1px dashed rgba(214, 40, 57, 0.4);
    border-radius: 12px;
    padding: 8px;
    background: #fff9f9;
}

.item-row .remove-item {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    border: 1px solid rgba(224, 17, 95, 0.15);
    color: #e0115f;
    background: rgba(224, 17, 95, 0.03);
    cursor: pointer;
    transition: all 0.25s ease;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.item-row .remove-item:hover {
    background: #e0115f;
    color: #fff;
    border-color: #e0115f;
}

.item-row.is-cart-row .item-product {
    background: rgba(13, 17, 23, 0.03);
    opacity: 0.7;
}

.item-row-note {
    grid-column: 1 / -1;
    font-size: 0.72rem;
    color: rgba(13, 17, 23, 0.4);
    margin-top: -4px;
}


.cr-add-item-btn {
    width: 100%;
    min-height: 46px;
    border: 1.5px dashed rgba(173, 22, 41, 0.35);
    border-radius: 14px;
    color: #AD1629;
    background: linear-gradient(135deg, rgba(173, 22, 41, 0.03), rgba(173, 22, 41, 0.01));
    font-weight: 800;
    font-size: 0.83rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    cursor: pointer;
    transition: all 0.3s ease;
    letter-spacing: 0.01em;
}

.cr-add-item-btn:hover {
    background: rgba(173, 22, 41, 0.07);
    border-color: rgba(173, 22, 41, 0.6);
    box-shadow: 0 4px 14px rgba(173, 22, 41, 0.08);
    transform: translateY(-1px);
}


.order-summary {
    border: 1px dashed rgba(173, 22, 41, 0.25);
    background: linear-gradient(135deg, #fff, #fdf7f8);
    border-radius: 14px;
    padding: 14px;
    margin-bottom: 16px;
}

.summary-title {
    font-size: 0.95rem;
    font-weight: 900;
    color: #0D1117;
    margin-bottom: 10px;
}

.summary-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.8rem;
    color: rgba(13, 17, 23, 0.5);
    padding: 5px 0;
}

.summary-row strong {
    color: #0D1117;
}

.summary-hint {
    margin-top: 10px;
    font-size: 0.72rem;
    color: rgba(13, 17, 23, 0.4);
}


.cr-submit-wrap {
    position: relative;
    text-align: center;
    padding-top: 10px;
}

.cr-submit-wrap::before {
    content: '';
    position: absolute;
    top: -16px;
    left: 10%;
    right: 10%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(13,17,23,0.07) 40%, rgba(13,17,23,0.07) 60%, transparent);
}

.cr-submit-btn {
    width: 100%;
    min-height: 58px;
    border: none;
    border-radius: 50px;
    background: linear-gradient(135deg, #2fdf70, #25d366 40%, #1db954 70%, #128C7E);
    color: #fff;
    font-weight: 900;
    font-size: 1.05rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    cursor: pointer;
    box-shadow:
        0 4px 14px rgba(37, 211, 102, 0.25),
        0 16px 36px rgba(37, 211, 102, 0.30),
        inset 0 1px 0 rgba(255,255,255,0.18);
    transition: all 0.35s cubic-bezier(.22,.68,0,1);
    font-family: inherit;
    position: relative;
    overflow: hidden;
    letter-spacing: 0.01em;
}

.cr-submit-btn::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -60%;
    width: 40%;
    height: 200%;
    background: rgba(255,255,255,0.18);
    transform: skewX(-20deg);
    transition: left 0.6s ease;
}

.cr-submit-btn:hover::before {
    left: 130%;
}

.cr-submit-btn:hover {
    transform: translateY(-3px);
    box-shadow:
        0 8px 22px rgba(37, 211, 102, 0.32),
        0 22px 48px rgba(37, 211, 102, 0.35);
}

.cr-submit-btn:active {
    transform: translateY(-1px);
}

.cr-submit-hint {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 14px;
    font-size: 0.73rem;
    color: rgba(13, 17, 23, 0.35);
    font-weight: 600;
}

.cr-submit-hint i {
    font-size: 0.65rem;
    color: #25d366;
}

.cr-submit-btn.is-loading,
.wa-send-btn.is-loading {
    opacity: 0.8;
    cursor: wait;
    pointer-events: none;
}

.cr-submit-btn.is-loading i,
.wa-send-btn.is-loading i {
    animation: cr-spin 1s linear infinite;
}

@keyframes cr-spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}


.order-form-status {
    display: none;
    margin: 10px 0 14px;
    padding: 12px 14px;
    border-radius: 12px;
    font-size: 0.82rem;
    font-weight: 700;
    line-height: 1.6;
}

.order-form-status.is-show {
    display: block;
}

.order-form-status.is-error {
    border: 1px solid rgba(214, 40, 57, 0.35);
    background: #fff5f6;
    color: #b42333;
}

.order-form-status.is-success {
    border: 1px solid rgba(37, 211, 102, 0.35);
    background: #f3fff9;
    color: #0e8f47;
}

.order-form-status.is-info {
    border: 1px solid rgba(13, 17, 23, 0.12);
    background: #f8fafc;
    color: rgba(13, 17, 23, 0.6);
}


@media (max-width: 1024px) {
    .cr-cart-layout {
        grid-template-columns: 1fr;
    }
    .cr-cart-summary {
        position: static;
    }
}

@media (max-width: 768px) {
    .cr-hero {
        padding: 108px 0 42px;
    }
    .cr-hero-breadcrumb {
        font-size: 0.74rem;
        gap: 5px;
        padding: 5px 12px;
    }
    .cr-hero-title {
        font-size: 1.65rem;
    }
    .cr-hero-subtitle {
        font-size: 0.85rem;
    }
    .cr-cart-section {
        padding: 30px 0 16px;
    }
    .cr-cart-header {
        padding: 13px 15px;
        border-radius: 14px;
        gap: 12px;
    }
    .cr-cart-header-icon {
        width: 42px;
        height: 42px;
        border-radius: 11px;
        font-size: 1rem;
    }
    .cr-cart-header-info h2 {
        font-size: 1.05rem;
    }
    .cr-cart-header-info p {
        font-size: 0.78rem;
    }
    .cr-order-section {
        padding: 42px 0 56px;
    }
    .cr-order-intro {
        margin-bottom: 26px;
    }
    .cr-order-intro-title {
        font-size: 1.42rem;
    }
    .cr-order-intro-desc {
        font-size: 0.85rem;
    }
    .cr-order-form {
        padding: 0 18px 24px;
        border-radius: 18px;
    }
    .cr-order-header {
        margin: 0 -18px 22px;
        padding: 26px 18px 20px;
    }
    .cr-order-icon {
        width: 54px;
        height: 54px;
        font-size: 1.45rem;
    }
    .cr-order-header h2 {
        font-size: 1.2rem;
    }
    .cr-form-group {
        padding: 16px;
        border-radius: 14px;
        margin-bottom: 18px;
    }
    .cr-form-group-label {
        font-size: 0.88rem;
        gap: 10px;
        margin-bottom: 14px;
    }
    .cr-form-group-label i {
        width: 32px;
        height: 32px;
        border-radius: 8px;
    }
    .cr-steps {
        flex-direction: column;
        padding: 12px;
        gap: 0;
    }
    .cr-step-line {
        width: 2px;
        height: 14px;
        margin: 3px auto;
    }
    .order-step {
        width: 100%;
        justify-content: flex-start;
        padding: 10px 14px;
        border-radius: 10px;
        font-size: 0.76rem;
    }
    .order-step span {
        width: 26px;
        height: 26px;
        font-size: 0.71rem;
    }
    .cf-form-grid {
        grid-template-columns: 1fr;
    }
    .item-row {
        grid-template-columns: 1fr 1fr 42px;
        gap: 8px;
    }
    .item-row .item-product {
        grid-column: 1 / -1;
    }
    .item-row .qty-wrapper {
        grid-column: 2;
    }
    .item-row .remove-item {
        grid-column: 3;
    }
    .cr-submit-btn {
        font-size: 0.95rem;
        min-height: 52px;
    }
    .cr-note {
        font-size: 0.75rem;
    }
}

@media (max-width: 520px) {
    .cr-hero {
        padding: 98px 0 32px;
    }
    .cr-hero-title {
        font-size: 1.4rem;
    }
    .cr-hero-subtitle {
        font-size: 0.81rem;
    }
    .cf-item {
        grid-template-columns: 70px minmax(0, 1fr);
        padding: 11px;
        gap: 11px;
        border-radius: 13px;
    }
    .cf-item-image {
        width: 70px;
        height: 70px;
        border-radius: 11px;
    }
    .cf-item-title a,
    .cf-item-title span {
        font-size: 0.84rem;
    }
    .cf-item-actions {
        gap: 6px;
    }
    .cf-qty {
        padding: 4px 6px;
        gap: 4px;
    }
    .cf-qty button {
        width: 27px;
        height: 27px;
        border-radius: 7px;
    }
    .cf-icon-btn {
        width: 34px;
        height: 34px;
        border-radius: 9px;
    }
    .cr-cart-header-info {
        flex-direction: column;
        gap: 8px;
        align-items: flex-start;
    }
    .cr-cart-header-icon {
        width: 38px;
        height: 38px;
        font-size: 0.9rem;
    }
    .cr-summary-card {
        padding: 15px;
        border-radius: 15px;
    }
    .cr-summary-header h3 {
        font-size: 1rem;
    }
    .cf-summary-row {
        padding: 9px 10px;
    }
    .cf-summary-row span {
        font-size: 0.79rem;
    }
    .cr-order-section {
        padding: 32px 0 48px;
    }
    .cr-order-intro {
        margin-bottom: 22px;
    }
    .cr-order-form {
        padding: 0 13px 18px;
        border-radius: 15px;
    }
    .cr-order-header {
        margin: 0 -13px 18px;
        padding: 22px 13px 16px;
    }
    .cr-order-icon {
        width: 48px;
        height: 48px;
        font-size: 1.25rem;
        margin-bottom: 10px;
    }
    .cr-order-header h2 {
        font-size: 1.1rem;
    }
    .cr-order-header p {
        font-size: 0.77rem;
    }
    .cr-order-intro-title {
        font-size: 1.25rem;
    }
    .cr-form-group {
        padding: 13px 11px;
        margin-bottom: 14px;
    }
    .cr-form-group-label {
        font-size: 0.84rem;
        gap: 9px;
        margin-bottom: 13px;
    }
    .cr-form-group-label i {
        width: 30px;
        height: 30px;
        border-radius: 8px;
        font-size: 0.74rem;
    }
    .cr-order-form .form-control {
        min-height: 44px;
        font-size: 0.82rem;
        padding: 9px 11px;
    }
    .cr-steps {
        padding: 10px;
    }
    .order-step {
        padding: 9px 12px;
        font-size: 0.72rem;
    }
    .cr-note {
        font-size: 0.72rem;
        padding: 10px 12px;
    }
    .cr-add-item-btn {
        font-size: 0.77rem;
        min-height: 42px;
    }
    .cr-submit-btn {
        min-height: 52px;
        font-size: 0.92rem;
        gap: 10px;
    }
    .cr-submit-hint {
        font-size: 0.67rem;
        gap: 5px;
    }
}

@media (max-width: 359px) {
    .cr-hero-title {
        font-size: 1.25rem;
    }
    .cr-hero-subtitle {
        font-size: 0.77rem;
    }
    .cr-cart-header {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }
    .cr-cart-header-info {
        flex-direction: row;
        gap: 10px;
        align-items: center;
    }
    .cr-btn-outline-danger {
        justify-content: center;
    }
    .cr-summary-card {
        padding: 12px;
    }
    .cr-order-form {
        padding: 0 10px 14px;
        border-radius: 14px;
    }
    .cr-order-header {
        margin: 0 -10px 14px;
        padding: 18px 10px 13px;
    }
    .cr-form-group {
        padding: 11px 9px;
        margin-bottom: 12px;
    }
    .cr-submit-btn {
        font-size: 0.86rem;
        min-height: 50px;
        gap: 8px;
    }
    .item-row {
        grid-template-columns: 1fr 42px;
        gap: 6px;
    }
    .item-row .item-size {
        grid-column: 1;
    }
    .item-row .qty-wrapper {
        grid-column: 1;
    }
    .item-row .remove-item {
        grid-column: 2;
        grid-row: 2 / 4;
        align-self: center;
    }
}


@media print {
    .cr-hero,
    .cr-cart-summary,
    .cr-submit-btn,
    .cr-add-item-btn,
    .cr-btn-outline-danger {
        display: none !important;
    }
    .cr-order-form {
        box-shadow: none;
        border: 1px solid #ddd;
    }
}






