:root {
    --primary: #3b3f8c;
    --soft: #f4f5ff;
    --dark: #1f2251;
    --highsoft: #dbdeff;
    --egg-yellow: #ffd700;
    --egg-orange: #ffa500;
    --feed-green: #4caf50;
    --feed-blue: #2196f3;
    --feed-orange: #ff9800;
    --feed-purple: #9c27b0;
    --feed-brown: #795548;
    --feed-cyan: #00bcd4;
}

body {
    font-family: "Poppins", sans-serif;
    background-color: var(--soft);
    color: var(--dark);
}

/* Hero Banner */
.hero-banner {
    background: linear-gradient(135deg, var(--primary), var(--highsoft));
    color: #fff;
    padding: 100px 0;
    text-align: center;
    border-radius: 0 0 50px 50px;
    margin-bottom: 50px;
    position: relative;
    overflow: hidden;
}

.hero-banner h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.hero-banner p {
    font-size: 1.2rem;
    font-weight: 500;
}

.btn-explore {
    display: inline-flex;
    align-items: center;
    gap: 12px;

    padding: 10px 18px 10px 20px;
    background: #fff;
    color: #000;

    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
    text-decoration: none;

    border-radius: 999px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);

    transition: all 0.3s ease;
}

.btn-explore .icon {
    width: 28px;
    height: 28px;

    background: var(--primary);
    color: #fff;

    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 14px;
    transition: transform 0.3s ease;
}

.btn-explore:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}

.btn-explore:hover .icon {
    transform: translateX(4px);
}

/* Category Tabs */
.category-tabs .nav-link {
    border-radius: 50px;
    margin-right: 10px;
    padding: 10px 25px;
    font-weight: 500;
    color: var(--primary);
    background-color: var(--highsoft);
    transition: 0.3s;
}

.category-tabs .nav-link.active {
    background-color: var(--primary);
    color: #fff;
}

/* Product Card - Glassmorphism */
.product-card {
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 20px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s, box-shadow 0.3s;
    text-align: center;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.12);
}

.product-card img {
    border-radius: 15px;
    max-height: 180px;
    object-fit: cover;
    margin-bottom: 15px;
}

.product-card h5 {
    font-weight: 600;
    margin-top: 10px;
    margin-bottom: 5px;
}

.product-card p {
    color: #555;
    margin-bottom: 10px;
}

.price {
    font-weight: 700;
    color: var(--primary);
    font-size: 1.15rem;
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 40px;
    color: var(--primary);
}

.text-primary {
    color: var(--primary) !important;
}

.product-card {
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(12px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15);
}

.glow-overlay {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, #3b3f8c, #dbdeff, #f4f5ff);
    opacity: 0.1;
    transform: rotate(0deg);
    pointer-events: none;
}

/* Fancy DataTable */
.table-container {
    background-color: white;
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--highsoft);
    margin-bottom: 30px;
}

.dataTables_wrapper {
    padding-top: 10px;
}

table.dataTable {
    border-collapse: separate;
    border-spacing: 0;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid var(--highsoft);
}

table.dataTable thead th {
    background-color: var(--primary);
    color: white;
    border-bottom: none;
    padding: 15px 10px;
    font-weight: 600;
    position: relative;
}

table.dataTable thead th::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 10%;
    width: 80%;
    height: 2px;
    background-color: rgba(255, 255, 255, 0.5);
}

table.dataTable tbody tr {
    transition: background-color 0.2s ease;
}

table.dataTable tbody tr:hover {
    background-color: var(--soft);
}

table.dataTable tbody td {
    padding: 12px 10px;
    border-bottom: 1px solid var(--highsoft);
    vertical-align: middle;
}

.price-badge {
    background-color: var(--highsoft);
    color: var(--dark);
    padding: 5px 12px;
    border-radius: 50px;
    font-weight: 600;
    display: inline-block;
    font-size: 0.9rem;
}

.category-badge {
    /* background: linear-gradient(90deg, var(--primary), #5a5fb3); */
    color: white;
    padding: 8px 15px;
    border-radius: 8px;
    font-weight: 500;
    display: inline-block;
    font-size: 0.85rem;
}

.category-chicken {
    background: linear-gradient(135deg, var(--feed-green), #66bb6a);
}

.category-duck {
    background: linear-gradient(135deg, var(--feed-blue), #42a5f5);
}

.category-quail {
    background: linear-gradient(135deg, var(--feed-orange), #ffb74d);
}

.category-cow {
    background: linear-gradient(135deg, var(--feed-purple), #ba68c8);
}

.category-pig {
    background: linear-gradient(135deg, var(--feed-brown), #a1887f);
}

.category-fish {
    background: linear-gradient(135deg, var(--feed-cyan), #4dd0e1);
}

.feed-icon {
    font-size: 1.2rem;
    margin-right: 8px;
}

.dataTables_filter input {
    border: 2px solid var(--highsoft);
    border-radius: 10px;
    padding: 8px 15px;
    transition: all 0.3s ease;
}

.dataTables_filter input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(59, 63, 140, 0.2);
    outline: none;
}

.dataTables_length select {
    border: 2px solid var(--highsoft);
    border-radius: 10px;
    padding: 5px 15px;
}

.dataTables_paginate .paginate_button {
    border-radius: 8px !important;
    margin: 0 3px;
    border: 1px solid var(--highsoft) !important;
    transition: all 0.3s ease !important;
}

.dataTables_paginate .paginate_button.current {
    background-color: var(--primary) !important;
    color: white !important;
    border-color: var(--primary) !important;
}

.dataTables_paginate .paginate_button:hover {
    background-color: var(--soft) !important;
    color: var(--dark) !important;
    border-color: var(--primary) !important;
}

.dataTables_info {
    color: #6c757d;
    font-weight: 500;
}

.price-badge {
    background-color: var(--highsoft);
    color: var(--dark);
    padding: 5px 12px;
    border-radius: 50px;
    font-weight: 600;
    display: inline-block;
    font-size: 0.9rem;
}

.egg-badge {
    background: linear-gradient(135deg, var(--egg-yellow), var(--egg-orange));
    color: var(--dark);
    padding: 5px 12px;
    border-radius: 50px;
    font-weight: 600;
    display: inline-block;
    font-size: 0.9rem;
}

/* Gradient Section Background */
section {
    /* background: linear-gradient(180deg, var(--soft) 0%, #ffffff 100%); */
    padding-bottom: 60px;
}

/* ketentuan  */

.order-container {
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 20px 40px rgba(59, 63, 140, 0.15);
    border: 1px solid var(--highsoft);
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.order-container::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 200px;
    height: 200px;
    background: linear-gradient(
        135deg,
        rgba(59, 63, 140, 0.1) 0%,
        rgba(244, 245, 255, 0.3) 100%
    );
    border-radius: 0 0 0 100px;
}

.header-section {
    text-align: center;
    margin-bottom: 40px;
    position: relative;
}

.logo-circle {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--dark) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    font-size: 2rem;
    box-shadow: 0 10px 20px rgba(59, 63, 140, 0.3);
}

.main-title {
    color: var(--dark);
    font-weight: 700;
    font-size: 2.5rem;
    margin-bottom: 10px;
    position: relative;
    display: inline-block;
}

.main-title::after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), #5a5fb3);
    border-radius: 2px;
}

.subtitle {
    color: #666;
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

.section-title {
    color: var(--dark);
    font-weight: 600;
    font-size: 1.5rem;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--soft);
}

.section-title i {
    margin-right: 12px;
    background-color: var(--soft);
    color: var(--primary);
    width: 45px;
    height: 45px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.term-card {
    background-color: var(--soft);
    border-radius: 15px;
    padding: 25px;
    margin-bottom: 25px;
    border-left: 5px solid var(--primary);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.term-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(59, 63, 140, 0.1);
}

.term-header {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.term-number {
    background-color: var(--primary);
    color: white;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    margin-right: 15px;
    flex-shrink: 0;
}

.term-title {
    color: var(--dark);
    font-weight: 600;
    font-size: 1.2rem;
    margin-bottom: 0;
}

.term-content {
    color: #555;
    line-height: 1.7;
    padding-left: 50px;
}

.highlight-card {
    background: linear-gradient(
        135deg,
        rgba(59, 63, 140, 0.08),
        rgba(244, 245, 255, 0.5)
    );
    border-radius: 15px;
    padding: 25px;
    margin: 30px 0;
    border: 2px solid var(--highsoft);
}

.highlight-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.highlight-item:last-child {
    margin-bottom: 0;
}

.highlight-icon {
    background-color: var(--primary);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    flex-shrink: 0;
}

.highlight-text {
    color: var(--dark);
    font-weight: 500;
    font-size: 1.1rem;
}

.highlight-text span {
    color: var(--primary);
    font-weight: 700;
}

/* Tombol WhatsApp */
.whatsapp-section {
    text-align: center;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 2px dashed var(--highsoft);
}

.whatsapp-title {
    color: var(--dark);
    font-weight: 600;
    font-size: 1.4rem;
    margin-bottom: 20px;
}

.whatsapp-btn {
    background-color: #1da851;
    color: white;
    border: none;
    padding: 20px 40px;
    border-radius: 15px;
    font-weight: 600;
    font-size: 1.3rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.3);
    text-decoration: none;
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
}

.whatsapp-btn:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 15px 35px rgba(37, 211, 102, 0.4);
    color: white;
}

.whatsapp-btn i {
    font-size: 1.8rem;
    margin-right: 15px;
}

.whatsapp-note {
    color: #666;
    font-size: 0.9rem;
    margin-top: 15px;
    font-style: italic;
}

.summary-card {
    background-color: white;
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--highsoft);
}

.summary-title {
    color: var(--dark);
    font-weight: 600;
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    padding-bottom: 8px;
    border-bottom: 1px dashed var(--highsoft);
}

.summary-item:last-child {
    border-bottom: none;
}

.summary-label {
    color: #666;
}

.summary-value {
    color: var(--dark);
    font-weight: 600;
}

.footer-note {
    text-align: center;
    margin-top: 40px;
    color: var(--dark);
    font-size: 0.9rem;
    opacity: 0.8;
}

.info-box {
    background: linear-gradient(
        135deg,
        rgba(255, 215, 0, 0.1),
        rgba(255, 140, 0, 0.1)
    );
    border-left: 4px solid var(--chick-yellow);
    padding: 15px;
    border-radius: 10px;
    margin-top: 20px;
    font-size: 0.9rem;
    color: #555;
}

.filter-box {
    margin-bottom: 20px;
}

.filter-box .bg-primary {
    background-color: var(--primary) !important;
}

.filter-box .input-group-text {
    border-radius: 10px 0 0 10px;
    border: 2px solid var(--primary);
}

.filter-box .form-select {
    border: 2px solid var(--highsoft);
    border-radius: 0 10px 10px 0;
    padding: 10px 15px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.filter-box .form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(59, 63, 140, 0.2);
}

.filter-info {
    padding: 10px;
    background-color: var(--soft);
    border-radius: 10px;
    border-left: 4px solid var(--primary);
}

.active-filter {
    background-color: var(--soft) !important;
    color: var(--primary) !important;
    font-weight: 600 !important;
}

@media (max-width: 768px) {
    .category-tabs .nav-link {
        padding: 8px 15px;
        font-size: 0.9rem;
    }

    .hero-banner h1 {
        font-size: 2.2rem;
    }

    .order-container {
        padding: 25px;
    }

    .main-title {
        font-size: 2rem;
    }

    .term-card {
        padding: 20px;
    }

    .term-content {
        padding-left: 0;
        margin-top: 10px;
    }

    .whatsapp-btn {
        padding: 18px 25px;
        font-size: 1.2rem;
    }
}

@media (max-width: 576px) {
    .order-container {
        padding: 20px;
    }

    .main-title {
        font-size: 1.8rem;
    }

    .term-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .term-number {
        margin-bottom: 10px;
    }

    .section-title {
        font-size: 1.3rem;
    }

    .section-title i {
        width: 40px;
        height: 40px;
        margin-right: 10px;
    }
}
