* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    height: 100%;
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    background: #f7f7f7;
    color: #181818;
    display: flex;
    flex-direction: column;
    line-height: 1.6;
}

main {
    flex: 1;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    display: block;
    max-width: 100%;
}

button,
input,
textarea,
select {
    font: inherit;
}

.container {
    width: 92%;
    max-width: 1200px;
    margin: 0 auto;
}

/* TOPBAR */
.topbar {
    background: #000;
    color: #fff;
    text-align: center;
    padding: 10px 14px;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.2px;
}

/* NAVBAR */
.navbar {
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid #ececec;
    padding: 14px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(10px);
}

.nav-wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
}

.logo {
    font-size: 26px;
    font-weight: 800;
    color: #111;
    letter-spacing: -0.6px;
}

.logo span {
    color: #ff6a00;
}

.nav-menu {
    display: flex;
    gap: 22px;
    align-items: center;
}

.nav-menu a {
    font-weight: 600;
    font-size: 14px;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: #ff6a00;
}

.nav-actions {
    display: flex;
    gap: 10px;
    align-items: center;
}

/* BUTTONS */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 11px 18px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 14px;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
    border: none;
    cursor: pointer;
    white-space: nowrap;
}

.btn-primary {
    background: linear-gradient(135deg, #ff6a00, #ff934d);
    color: #fff;
    box-shadow: 0 12px 24px rgba(255, 106, 0, 0.18);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 28px rgba(255, 106, 0, 0.24);
}

.btn-light {
    background: #f3f3f3;
    color: #111;
}

.btn-light:hover {
    background: #ebebeb;
    transform: translateY(-3px);
    box-shadow: 0 12px 20px rgba(0, 0, 0, 0.06);
}

.btn-outline-dark {
    border: 1px solid rgba(255, 255, 255, 0.24);
    color: #fff;
    background: transparent;
}

.btn-outline-dark:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-3px);
}

.btn-danger {
    background: #ef4444;
    color: #fff;
}

.btn-danger:hover {
    background: #dc2626;
    transform: translateY(-2px);
}

.btn-sm {
    padding: 8px 14px;
    font-size: 13px;
}

/* FOOTER */
.site-footer {
    background: #080808;
    color: #fff;
    margin-top: 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr 1.2fr;
    gap: 24px;
    padding: 42px 0 30px;
}

.footer-col h4 {
    font-size: 18px;
    margin-bottom: 14px;
    font-weight: 700;
}

.footer-col a,
.footer-col p {
    display: block;
    color: rgba(255, 255, 255, 0.78);
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 5px;
}

.footer-col a:hover {
    color: #ff6a00;
}

.footer-socials {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 14px;
}

.footer-socials a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 15px;
    transition: 0.3s ease;
}

.footer-socials a:hover {
    background: #ff6a00;
    transform: translateY(-2px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 18px 0;
}

.footer-bottom-wrap {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.footer-bottom-wrap p {
    color: rgba(255, 255, 255, 0.72);
    font-size: 13px;
}

/* CART PAGE */
.cart-page-section {
    padding: 40px 0;
}

.cart-table-wrap {
    overflow-x: auto;
    background: #fff;
    border: 1px solid #ececec;
    border-radius: 22px;
    padding: 18px;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.04);
}

.cart-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 850px;
}

.cart-table th,
.cart-table td {
    padding: 16px 12px;
    border-bottom: 1px solid #efefef;
    text-align: left;
    vertical-align: middle;
}

.cart-table th {
    background: #fafafa;
    font-size: 13px;
    color: #555;
}

.cart-product {
    display: flex;
    align-items: center;
    gap: 12px;
}

.cart-product img {
    width: 68px;
    height: 68px;
    object-fit: cover;
    border-radius: 12px;
    background: #f2f2f2;
}

.cart-qty-input {
    width: 80px;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 10px;
    outline: none;
}

.cart-summary {
    margin-top: 20px;
    background: #fff;
    border: 1px solid #ececec;
    border-radius: 22px;
    padding: 24px;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.04);
    max-width: 420px;
    margin-left: auto;
}

.cart-summary h3 {
    font-size: 24px;
    margin-bottom: 14px;
    font-weight: 800;
}

.cart-summary-row {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
    font-size: 15px;
}

.cart-empty-box {
    background: #fff;
    border: 1px solid #ececec;
    border-radius: 22px;
    padding: 40px 24px;
    text-align: center;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.04);
}

.cart-empty-box h3 {
    font-size: 24px;
    margin-bottom: 8px;
    font-weight: 800;
}

.cart-empty-box p {
    color: #666;
    margin-bottom: 18px;
}

/* NEWSLETTER MESSAGE */
.subscribe-message {
    margin-top: 14px;
    padding: 12px 14px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.6;
    max-width: 520px;
}

/* RESPONSIVE */
@media (max-width: 992px) {
    .nav-wrap {
        flex-wrap: wrap;
        gap: 14px;
    }

    .nav-menu {
        flex-wrap: wrap;
        gap: 14px;
    }

    .nav-actions {
        flex-wrap: wrap;
    }

    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .topbar {
        font-size: 11px;
        padding: 9px 12px;
        line-height: 1.5;
    }

    .navbar {
        padding: 12px 0;
    }

    .nav-wrap {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }

    .logo {
        font-size: 24px;
    }

    .nav-menu {
        width: 100%;
        justify-content: flex-start;
        flex-wrap: wrap;
        gap: 12px;
    }

    .nav-menu a {
        font-size: 14px;
    }

    .nav-actions {
        width: 100%;
        flex-wrap: wrap;
        gap: 10px;
    }

    .nav-actions .btn {
        flex: 1;
        min-width: 140px;
    }

    .btn {
        padding: 10px 16px;
        font-size: 14px;
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
        padding: 34px 0 24px;
    }

    .footer-bottom-wrap {
        flex-direction: column;
        gap: 8px;
    }

    .cart-page-section {
        padding: 24px 0;
    }

    .cart-table-wrap {
        padding: 12px;
        border-radius: 18px;
    }

    .cart-table th,
    .cart-table td {
        padding: 12px 10px;
        font-size: 14px;
    }

    .cart-product img {
        width: 56px;
        height: 56px;
    }

    .cart-summary {
        max-width: 100%;
        padding: 20px;
        border-radius: 18px;
    }

    .cart-summary h3 {
        font-size: 20px;
    }

    .cart-summary-row {
        font-size: 14px;
    }
}

@media (max-width: 520px) {
    .container {
        width: 94%;
    }

    .logo {
        font-size: 22px;
    }

    .nav-menu {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .nav-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .nav-actions .btn {
        width: 100%;
        min-width: unset;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .footer-col h4 {
        font-size: 16px;
        margin-bottom: 10px;
    }

    .footer-col a,
    .footer-col p {
        font-size: 13px;
        line-height: 1.7;
    }

    .footer-socials a {
        width: 34px;
        height: 34px;
        font-size: 14px;
    }

    .cart-table {
        min-width: 700px;
    }

    .cart-product {
        gap: 10px;
    }

    .cart-product img {
        width: 52px;
        height: 52px;
    }

    .cart-qty-input {
        width: 70px;
        padding: 8px;
    }

    .cart-empty-box {
        padding: 30px 18px;
        border-radius: 18px;
    }

    .cart-empty-box h3 {
        font-size: 20px;
    }

    .cart-empty-box p {
        font-size: 14px;
    }

    .subscribe-message {
        margin-top: 12px;
        font-size: 14px;
    }
    .form-group select {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #ddd;
    border-radius: 12px;
    font-size: 15px;
    outline: none;
    background: #fff;
}
}