/* #region Base */
:root {
    --primary-blue: #0066cc;
    --dark-blue: #003d7a;
    --light-blue: #e6f2ff;
    --ice-blue: #b3d9ff;
    --text-dark: #1a1a1a;
    --text-light: #666;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    background: white;
}

body.page-light {
    background: var(--light-blue);
}
/* #endregion Base */

/* #region Navbar */
.navbar {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.navbar-brand img {
    height: 60px;
    transition: transform 0.3s ease;
}

.navbar-brand:hover img {
    transform: scale(1.05);
}

.nav-link {
    color: var(--text-dark) !important;
    font-weight: 500;
    margin: 0 0.5rem;
    position: relative;
    transition: color 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--primary-blue);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link:hover::after {
    width: 80%;
}

.nav-link:hover {
    color: var(--primary-blue) !important;
}

.mobile-quick-actions {
    display: none;
    align-items: center;
    gap: 0.6rem;
    margin-left: auto;
}

@media (max-width: 991.98px) {
    .navbar-collapse {
        width: 100%;
    }

    .navbar-nav {
        margin-top: 1rem;
    }

    .navbar-nav .btn-contact,
    .navbar-nav .cart-trigger,
    .navbar-nav .profile-trigger {
        display: none;
    }

    .mobile-quick-actions {
        display: flex;
    }
}

.nav-link.dropdown-toggle::after {
    display: none;
}

.btn-contact {
    background: linear-gradient(135deg, var(--primary-blue), var(--dark-blue));
    color: white;
    padding: 0.6rem 1.8rem;
    border-radius: 25px;
    font-weight: 600;
    border: none;
    transition: all 0.3s ease;
}

.btn-contact:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(0, 102, 204, 0.4);
}

.btn-outline-soft {
    background: transparent;
    color: var(--primary-blue);
    border: 2px solid var(--primary-blue);
}

.btn-outline-soft:hover {
    background: var(--primary-blue);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(0, 102, 204, 0.2);
}

.profile-trigger {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--light-blue);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-blue);
    transition: all 0.3s ease;
}

.profile-trigger:hover {
    background: var(--ice-blue);
    color: var(--dark-blue);
    transform: translateY(-1px);
}

.navbar .dropdown-menu {
    border: none;
    border-radius: 16px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.12);
    padding: 0.5rem;
}

.navbar .dropdown-item,
.navbar .dropdown-item-text {
    border-radius: 10px;
    padding: 0.6rem 0.9rem;
    font-weight: 500;
    color: var(--text-dark);
}

.navbar .dropdown-item:hover,
.navbar .dropdown-item:focus {
    background: var(--light-blue);
    color: var(--dark-blue);
}
/* #endregion Navbar */

/* #region Common */
.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark-blue);
    margin-bottom: 1rem;
}

.section-title .line {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-blue), var(--dark-blue));
    margin: 0 auto;
}

.section-subtitle {
    max-width: 720px;
    margin: 0.75rem auto 0;
    color: var(--text-light);
    font-size: 1.05rem;
}

.breadcrumb-wrap {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: white;
    border-radius: 999px;
    padding: 0.4rem 1rem;
    box-shadow: 0 6px 18px rgba(0,0,0,0.06);
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    color: var(--text-light);
}

.breadcrumb-wrap a {
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 600;
}

.breadcrumb-sep {
    color: var(--text-light);
}

.page-title {
    margin-bottom: 2rem;
}

.page-title h1 {
    font-size: 2.4rem;
    font-weight: 700;
    color: var(--dark-blue);
    margin-bottom: 0.5rem;
}

.page-title p {
    color: var(--text-light);
    margin: 0;
}

.form-label {
    font-weight: 600;
    color: var(--dark-blue);
}

.form-control {
    border-radius: 14px;
    border: 1px solid var(--ice-blue);
    padding: 0.7rem 1rem;
}

.form-control:focus {
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 0.2rem rgba(0, 102, 204, 0.15);
}
/* #endregion Common */

/* #region Index */
.hero {
    background: linear-gradient(135deg, var(--dark-blue) 0%, var(--primary-blue) 100%);
    color: white;
    padding: 120px 0 80px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(255,255,255,0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255,255,255,0.1) 0%, transparent 50%);
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.hero-buttons .btn {
    margin: 0.5rem;
    padding: 0.8rem 2rem;
    font-weight: 600;
    border-radius: 30px;
    transition: all 0.3s ease;
}

.btn-primary-custom {
    background: white;
    color: var(--primary-blue);
    border: 2px solid white;
}

.btn-primary-custom:hover {
    background: transparent;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(255,255,255,0.3);
}

.btn-outline-custom {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-outline-custom:hover {
    background: white;
    color: var(--primary-blue);
    transform: translateY(-3px);
}

.hero-icon {
    font-size: 8rem;
    opacity: 0.2;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

.services {
    padding: 80px 0;
    background: var(--light-blue);
}

.service-card {
    background: white;
    border-radius: 15px;
    padding: 2.5rem;
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
    border: 2px solid transparent;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 102, 204, 0.2);
    border-color: var(--ice-blue);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-blue), var(--dark-blue));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: white;
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    transform: rotateY(360deg);
}

.service-card h4 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--dark-blue);
}

.service-card p {
    color: var(--text-light);
    line-height: 1.8;
}

.products {
    padding: 80px 0;
    background: white;
}

.product-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    margin-bottom: 2rem;
}

.category-card {
    display: block;
    text-decoration: none;
    color: inherit;
}

.category-card .product-icon-large {
    padding: 0;
    height: 300px;
    overflow: hidden;
}

.category-card .product-icon-large img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.product-icon-large {
    background: linear-gradient(135deg, var(--ice-blue), var(--light-blue));
    padding: 3rem;
    text-align: center;
}

.product-icon-large i {
    font-size: 4rem;
    color: var(--primary-blue);
}

.product-body {
    padding: 2rem;
}

.product-body h4 {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--dark-blue);
    margin-bottom: 1rem;
}

.product-body ul {
    list-style: none;
    padding: 0;
}

.product-body ul li {
    padding: 0.5rem 0;
    color: var(--text-light);
}

.product-body ul li i {
    color: var(--primary-blue);
    margin-right: 0.5rem;
}

.why-us {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--dark-blue) 0%, var(--primary-blue) 100%);
    color: white;
}

.why-us-item {
    text-align: center;
    margin-bottom: 2rem;
}

.why-us-number {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    background: rgba(255,255,255,0.2);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.why-us-item h5 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.contact {
    padding: 80px 0;
    background: var(--light-blue);
}

.contact-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    height: 100%;
    transition: all 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: var(--ice-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.5rem;
    color: var(--primary-blue);
}

.contact-card h5 {
    font-weight: 600;
    color: var(--dark-blue);
    margin-bottom: 0.5rem;
}

.contact-card p,
.contact-card a {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-card a:hover {
    color: var(--primary-blue);
}

.footer {
    background: var(--dark-blue);
    color: white;
    padding: 3rem 0 1rem;
}

.footer h5 {
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.footer ul {
    list-style: none;
    padding: 0;
}

.footer ul li {
    margin-bottom: 0.8rem;
}

.footer a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer a:hover {
    color: white;
}

.social-links a {
    display: inline-block;
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    text-align: center;
    line-height: 40px;
    margin-right: 0.5rem;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: white;
    color: var(--dark-blue);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    margin-top: 2rem;
    padding-top: 1.5rem;
    text-align: center;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-on-scroll {
    animation: fadeInUp 0.6s ease-out;
}
/* #endregion Index */

/* #region Product List */
.product-list {
    padding: 3rem 0 90px;
    background: var(--light-blue);
}

.product-list .product-card {
    background: white;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(0,0,0,0.06);
    margin-bottom: 0;
}

.product-list .product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.product-list .product-media {
    position: relative;
    padding-top: 65%;
    overflow: hidden;
    background: linear-gradient(135deg, var(--ice-blue), var(--light-blue));
}

.product-list .product-media img {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover !important;
    object-position: center center;
}

.product-list .product-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    background: rgba(0, 61, 122, 0.9);
    color: white;
    padding: 0.35rem 0.9rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.3px;
}

.product-list .product-body {
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.product-list .product-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.product-list .product-tag {
    background: var(--light-blue);
    color: var(--dark-blue);
    padding: 0.25rem 0.75rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 600;
}

.product-list .product-body h4 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--dark-blue);
    margin-bottom: 1rem;
}

.product-list .product-desc {
    color: var(--text-light);
    margin-bottom: 1rem;
}

.product-list .product-stock {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
}

.product-list .product-stock i {
    color: var(--primary-blue);
}

.product-list .product-meta {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.product-list .product-price {
    font-size: 1.7rem;
    font-weight: 700;
    color: var(--dark-blue);
}

.product-list .product-unit {
    color: var(--text-light);
}

.product-list .product-tax-note {
    margin-top: -0.5rem;
    margin-bottom: 1rem;
    color: var(--text-light);
    font-size: 0.9rem;
    font-weight: 600;
}

.product-list .product-actions {
    margin-top: auto;
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.product-list .product-actions .btn {
    padding: 0.55rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
}
/* #endregion Product List */

/* #region Product Detail */
.product-detail {
    padding: 3rem 0 90px;
    background: var(--light-blue);
}

.product-gallery {
    position: sticky;
    top: 110px;
}

.product-main-image {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.product-main-image img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    display: block;
}

.product-thumbs {
    display: flex;
    gap: 0.75rem;
    margin-top: 1rem;
}

.product-thumb {
    border: 2px solid transparent;
    padding: 0;
    background: transparent;
    border-radius: 14px;
    overflow: hidden;
    width: 80px;
    height: 80px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.product-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-thumb.active {
    border-color: var(--primary-blue);
    box-shadow: 0 8px 18px rgba(0,0,0,0.15);
}

.product-info-card {
    background: white;
    border-radius: 24px;
    padding: 2.5rem;
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
}

.product-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.product-tag {
    background: var(--light-blue);
    color: var(--dark-blue);
    padding: 0.25rem 0.75rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 600;
}

.product-info-card h1 {
    font-size: 2.2rem;
    color: var(--dark-blue);
    margin-bottom: 1rem;
}

.product-desc {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.product-meta {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    margin-bottom: 1.25rem;
}

.product-price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--dark-blue);
}

.product-unit {
    color: var(--text-light);
}

.product-tax-note {
    margin-top: -0.5rem;
    margin-bottom: 1.25rem;
    color: var(--text-light);
    font-size: 0.95rem;
    font-weight: 600;
}

.product-delivery {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.product-delivery div {
    background: var(--light-blue);
    border-radius: 12px;
    padding: 0.75rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    color: var(--dark-blue);
}

.product-delivery i {
    color: var(--primary-blue);
}

.product-detail .quantity {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.product-detail .qty-btn {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    border: 1px solid var(--ice-blue);
    background: white;
    font-weight: 700;
    color: var(--dark-blue);
    transition: all 0.2s ease;
}

.product-detail .qty-btn:hover {
    background: var(--ice-blue);
}

.product-detail .quantity input {
    width: 70px;
    height: 40px;
    border-radius: 10px;
    border: 1px solid var(--ice-blue);
    text-align: center;
    font-weight: 600;
}

.product-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.product-cta .btn {
    padding: 0.65rem 1.8rem;
    border-radius: 25px;
    font-weight: 600;
}

.detail-card {
    margin-top: 2rem;
    background: white;
    border-radius: 24px;
    padding: 2rem 2.5rem;
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
}

.detail-card h2 {
    font-size: 1.6rem;
    color: var(--dark-blue);
    margin-bottom: 1rem;
}

.detail-card p {
    color: var(--text-light);
    margin-bottom: 1rem;
}

.detail-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.detail-card li {
    padding: 0.45rem 0;
    color: var(--text-light);
}

.detail-card li i {
    color: var(--primary-blue);
    margin-right: 0.5rem;
}

.spec-list {
    margin-top: 2rem;
    padding: 0;
    list-style: none;
}

.spec-list li {
    padding: 0.5rem 0;
    color: var(--text-light);
}

.spec-list i {
    color: var(--primary-blue);
    margin-right: 0.5rem;
}
/* #endregion Product Detail */

/* #region Profile */
.profile-page {
    padding: 3rem 0 90px;
}

.profile-card,
.form-card {
    background: white;
    border-radius: 24px;
    padding: 2rem;
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
    height: 100%;
}

.account-menu {
    background: white;
    border-radius: 20px;
    padding: 1.5rem;
    box-shadow: 0 12px 30px rgba(0,0,0,0.08);
}

.account-menu h5 {
    color: var(--dark-blue);
    margin-bottom: 1rem;
    font-weight: 600;
}

.account-menu-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.8rem 1rem;
    border-radius: 14px;
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s ease;
}

.account-menu-item i {
    color: var(--primary-blue);
}

.account-menu-item:hover {
    background: var(--light-blue);
    color: var(--dark-blue);
}

.order-table .table {
    border: 1px solid rgba(0,0,0,0.06);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 24px rgba(0,0,0,0.06);
    background: white;
}

.order-table thead td {
    background: var(--light-blue);
    color: var(--dark-blue);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    font-size: 0.8rem;
    border-bottom: 1px solid rgba(0,0,0,0.08);
}

.order-table tbody td {
    padding: 1rem 0.9rem;
    vertical-align: middle;
    border-color: rgba(0,0,0,0.06);
    color: var(--text-dark);
}

.order-table tbody tr:nth-child(even) {
    background: #f8fbff;
}

.order-table .btn {
    border-radius: 20px;
    font-weight: 600;
}

.order-table .btn-outline-soft {
    border-width: 2px;
}

.detail-table .table {
    border: 1px solid #e5e9f2;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
}

.detail-table thead td {
    background: var(--light-blue);
    color: var(--dark-blue);
    font-weight: 700;
    text-transform: none;
    font-size: 0.85rem;
    border-bottom: 1px solid #e5e9f2;
}

.detail-table tbody td {
    padding: 0.95rem 0.9rem;
    border-top: 1px solid #eef2f7;
    vertical-align: middle;
}

.detail-table .table td,
.detail-table .table th {
    font-size: 0.85rem;
}

.profile-avatar {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-blue), var(--dark-blue));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.profile-meta h3 {
    font-size: 1.4rem;
    color: var(--dark-blue);
    margin-bottom: 0.2rem;
}

.profile-meta p {
    color: var(--text-light);
    margin-bottom: 1rem;
}

.profile-info {
    list-style: none;
    padding: 0;
    margin: 0;
}

.profile-info li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.6rem 0;
    color: var(--text-light);
}

.profile-info i {
    color: var(--primary-blue);
}

.action-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: flex-end;
    margin-top: 1.5rem;
}

.profile-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.profile-page {
    padding: 3rem 0 90px;
}

.empty-state {
    background: rgba(230, 242, 255, 0.6);
    border-radius: 16px;
    padding: 1.5rem;
    text-align: center;
    color: var(--text-light);
}
/* #endregion Profile */

/* #region Cart */
.cart-page {
    padding: 3rem 0 90px;
}

.cart-card,
.summary-card {
    background: white;
    border-radius: 24px;
    padding: 2rem;
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
    height: 100%;
}

.cart-item {
    display: grid;
    grid-template-columns: 90px 1fr auto;
    gap: 1.25rem;
    padding: 1.5rem 0;
    border-bottom: 1px solid rgba(0,0,0,0.08);
}

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

.cart-thumb {
    width: 90px;
    height: 90px;
    border-radius: 16px;
    overflow: hidden;
    background: var(--light-blue);
}

.cart-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cart-meta h4 {
    font-size: 1.2rem;
    margin-bottom: 0.4rem;
    color: var(--dark-blue);
}

.cart-meta h4 a {
    color: inherit;
    text-decoration: none;
}

.cart-meta h4 a:hover {
    color: var(--primary-blue);
    text-decoration: none;
}

.cart-meta p {
    color: var(--text-light);
    margin-bottom: 0.6rem;
}

.cart-page .quantity {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.cart-page .qty-btn {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    border: 1px solid var(--ice-blue);
    background: white;
    font-weight: 700;
    color: var(--dark-blue);
}

.cart-page .quantity input {
    width: 60px;
    height: 36px;
    border-radius: 10px;
    border: 1px solid var(--ice-blue);
    text-align: center;
    font-weight: 600;
}

.cart-price {
    text-align: right;
}

.cart-price span {
    display: block;
    font-weight: 700;
    color: var(--dark-blue);
    font-size: 1.1rem;
}

.cart-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.6rem;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.75rem;
    color: var(--text-light);
}

.summary-row strong {
    color: var(--dark-blue);
}

.summary-total {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--dark-blue);
}

.summary-table {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.summary-table .summary-row {
    background: rgba(230, 242, 255, 0.6);
    border-radius: 12px;
    padding: 0.6rem 0.9rem;
    margin-bottom: 0;
}

.summary-table .summary-row.summary-total {
    background: linear-gradient(135deg, var(--primary-blue), var(--dark-blue));
    color: #fff;
}

.summary-table .summary-row.summary-total span,
.summary-table .summary-row.summary-total strong {
    color: #fff;
}

.summary-actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.mini-cart {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-height: 320px;
    overflow: auto;
    padding-right: 0.25rem;
}

.mini-cart-item {
    display: grid;
    grid-template-columns: 54px 1fr;
    gap: 0.75rem;
    align-items: center;
    position: relative;
}

.mini-cart-thumb {
    width: 54px;
    height: 54px;
    border-radius: 12px;
    overflow: hidden;
    background: var(--light-blue);
}

.mini-cart-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mini-cart-meta {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.mini-cart-title {
    font-weight: 600;
    color: var(--dark-blue);
    text-decoration: none;
    line-height: 1.2;
}

.mini-cart-qty {
    color: var(--text-light);
    font-size: 0.9rem;
}

.mini-cart-remove {
    position: absolute;
    top: 0;
    right: 0;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: none;
    background: #f1f3f5;
    color: #5c5c5c;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.mini-cart-footer {
    border-top: 1px solid rgba(0,0,0,0.08);
    margin-top: 1rem;
    padding-top: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.mini-cart-total {
    display: flex;
    justify-content: space-between;
    font-weight: 700;
    color: var(--dark-blue);
}

.mini-cart-empty {
    padding: 1.5rem;
    text-align: center;
    color: var(--text-light);
}

.mini-cart-dropdown {
    min-width: 320px;
    padding: 1rem;
    border-radius: 18px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.12);
    border: 1px solid rgba(0,0,0,0.06);
}

.cart-trigger {
    position: relative;
}

.cart_count {
    position: absolute;
    top: -6px;
    right: -6px;
    background: #ff3b30;
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    min-width: 18px;
    height: 18px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
}
/* #endregion Cart */

/* #region Checkout */
.checkout-page {
    padding: 3rem 0 260px;
    display: flow-root;
}

.form-card {
    background: white;
    border-radius: 24px;
    padding: 2rem;
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
}

.form-card + .form-card {
    margin-top: 1.5rem;
}

.checkout-page .form-card:last-child {
    margin-bottom: 2rem;
}

.checkout-page .shipping-grid {
    margin-bottom: 1rem;
}

.form-card-header h3 {
    font-size: 1.4rem;
    margin: 0 0 1.5rem;
    color: var(--dark-blue);
}

.address-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
}

.address-card {
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: 16px;
    overflow: hidden;
    background: white;
    transition: all 0.2s ease;
}

.address-card.active {
    border-color: var(--primary-blue);
    box-shadow: 0 12px 24px rgba(0, 102, 204, 0.15);
}

.address-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1rem;
    border-bottom: 1px solid rgba(0,0,0,0.06);
    background: rgba(230, 242, 255, 0.6);
}

.address-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    color: var(--dark-blue);
    cursor: pointer;
    margin: 0;
}

.address-label input {
    accent-color: var(--primary-blue);
}

.address-remove {
    color: #d9534f;
    text-decoration: none;
}

.address-card-body {
    padding: 1rem;
    font-size: 0.95rem;
    color: var(--text-light);
}

.address-name {
    font-weight: 600;
    color: var(--dark-blue);
    margin-bottom: 0.35rem;
}

.address-text {
    line-height: 1.4;
}

.address-add {
    border: 2px dashed rgba(0, 102, 204, 0.3);
    color: var(--primary-blue);
    background: transparent;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-weight: 600;
    padding: 1.5rem;
}

.shipping-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
}

.shipping-card {
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: 16px;
    padding: 1rem;
    background: white;
    cursor: pointer;
    transition: all 0.2s ease;
    display: block;
}

.shipping-card input {
    margin-right: 0.5rem;
    accent-color: var(--primary-blue);
}

.shipping-card-body {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.shipping-card-body img {
    width: 48px;
    height: 48px;
    object-fit: contain;
}

.shipping-card-body h5 {
    margin: 0 0 0.25rem;
    font-size: 1rem;
    color: var(--dark-blue);
}

.shipping-card-body p {
    margin: 0;
    color: var(--text-light);
}

.shipping-card input:checked + .shipping-card-body {
    outline: 2px solid var(--primary-blue);
    border-radius: 12px;
    padding: 0.5rem;
}
/* #endregion Checkout */

/* #region Modal */
#teslimatAdresi .modal-dialog {
    max-width: 840px;
}

#teslimatAdresi .modal-content {
    border: none;
    border-radius: 24px;
    box-shadow: 0 30px 80px rgba(9, 30, 66, 0.25);
    overflow: hidden;
}

#teslimatAdresi .modal-header {
    padding: 1.25rem 2rem;
    background: linear-gradient(135deg, #f2f7ff 0%, #ffffff 100%);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

#teslimatAdresi .modal-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--dark-blue);
}

#teslimatAdresi .modal-header .close {
    width: 36px;
    height: 36px;
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.12);
    background: white;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
}

#teslimatAdresi .modal-header .close span {
    font-size: 1.25rem;
    line-height: 1;
    color: var(--dark-blue);
}

#teslimatAdresi .modal-body {
    padding: 1.5rem 2rem 0.5rem;
    background: #ffffff;
}

#teslimatAdresi .modal-footer {
    padding: 1rem 2rem 1.5rem;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    background: #ffffff;
}

#teslimatAdresi .modal-body .form-group {
    margin-bottom: 1rem;
}

#teslimatAdresi .modal-body label {
    font-weight: 600;
    color: var(--dark-blue);
    margin-bottom: 0.35rem;
}

#teslimatAdresi .modal-body .form-control,
#teslimatAdresi .modal-body textarea,
#teslimatAdresi .modal-body select {
    border-radius: 14px;
    border: 1px solid rgba(0, 0, 0, 0.12);
    padding: 0.65rem 0.9rem;
    box-shadow: none;
}

#teslimatAdresi .modal-body .form-control:focus,
#teslimatAdresi .modal-body textarea:focus,
#teslimatAdresi .modal-body select:focus {
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.15);
}

#teslimatAdresi .modal-footer .btn-success {
    background: linear-gradient(135deg, var(--primary-blue), var(--dark-blue));
    border: none;
    border-radius: 14px;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
}
/* #endregion Modal */

/* #region Payment */
.payment-page {
    padding: 3rem 0 90px;
}

.payment-tabs {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.payment-tabs .nav-link {
    border-radius: 999px;
    border: 1px solid rgba(0,0,0,0.1);
    padding: 0.6rem 1.25rem;
    font-weight: 600;
    color: var(--dark-blue);
    background: #fff;
}

.payment-tabs .nav-link.active {
    background: linear-gradient(135deg, var(--primary-blue), var(--dark-blue));
    color: #fff;
    border-color: transparent;
}

.payment-tabs .nav-link i {
    margin-right: 0.4rem;
}

.payment-content .payment-section {
    background: #f8fbff;
    border-radius: 18px;
    padding: 1.5rem;
    border: 1px solid rgba(0,0,0,0.05);
}

.payment-actions {
    margin-top: 1.5rem;
}

.payment-content .form-control {
    border-radius: 14px;
    border: 1px solid rgba(0,0,0,0.12);
    padding: 0.65rem 0.9rem;
}

.payment-content .form-control:focus {
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.15);
}

.card-wrapper {
    background: white;
    border-radius: 18px;
    padding: 1rem;
    box-shadow: 0 15px 35px rgba(0,0,0,0.08);
    min-height: 200px;
}
/* #endregion Payment */
/* #region Orders */
.orders-page {
    padding: 130px 0 90px;
}

.order-card {
    background: white;
    border-radius: 24px;
    padding: 1.8rem 2rem;
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
    margin-bottom: 1.5rem;
}

.order-header {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1.2rem;
}

.order-header h3 {
    font-size: 1.4rem;
    color: var(--dark-blue);
    margin: 0;
}

.order-meta {
    color: var(--text-light);
    font-size: 0.95rem;
}

.order-status {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.35rem 0.9rem;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 600;
    color: white;
}

.status-success {
    background: linear-gradient(135deg, #1bbf7a, #128a58);
}

.status-warning {
    background: linear-gradient(135deg, #f7b733, #f59e0b);
}

.status-info {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
}

.order-items {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
}

.order-item {
    background: var(--light-blue);
    border-radius: 16px;
    padding: 1rem;
}

.order-item h5 {
    font-size: 1rem;
    color: var(--dark-blue);
    margin-bottom: 0.3rem;
}

.order-item p {
    margin: 0;
    color: var(--text-light);
    font-size: 0.9rem;
}

.order-footer {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1.5rem;
    align-items: center;
}

.order-total {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--dark-blue);
}

.filter-bar {
    background: white;
    border-radius: 18px;
    padding: 1rem 1.5rem;
    box-shadow: 0 12px 30px rgba(0,0,0,0.08);
    margin-bottom: 2rem;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
}

.filter-bar input,
.filter-bar select {
    border-radius: 12px;
    border: 1px solid var(--ice-blue);
    padding: 0.5rem 0.8rem;
}
/* #endregion Orders */

/* #region Auth */
.auth-page {
    padding: 130px 0 90px;
}

.auth-card {
    background: white;
    border-radius: 28px;
    padding: 2.5rem;
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
}

.auth-title h1 {
    font-size: 2.2rem;
    color: var(--dark-blue);
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.auth-title p {
    color: var(--text-light);
    margin-bottom: 2rem;
}

.auth-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 1.5rem;
}

.auth-actions a {
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 600;
}

.auth-side {
    background: linear-gradient(135deg, var(--dark-blue), var(--primary-blue));
    border-radius: 28px;
    padding: 2.5rem;
    color: white;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
}

.auth-side h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.auth-side ul {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0 0;
}

.auth-side li {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 0.8rem;
}

.auth-side i {
    color: var(--ice-blue);
}
/* #endregion Auth */

/* #region Auth Modal */
.ice-modal .modal-dialog {
    max-width: 520px;
}

.ice-modal .modal-dialog.modal-lg {
    max-width: 900px;
}

.ice-modal .modal-dialog.modal-xl {
    max-width: 1140px;
}

.ice-modal .modal-content {
    border: none;
    border-radius: 24px;
    box-shadow: 0 30px 80px rgba(9, 30, 66, 0.25);
    overflow: hidden;
}

.ice-modal .modal-header {
    padding: 1.25rem 2rem;
    background: linear-gradient(135deg, #f2f7ff 0%, #ffffff 100%);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.ice-modal .modal-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--dark-blue);
}

.ice-modal .modal-header .close {
    width: 36px;
    height: 36px;
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.12);
    background: white;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
}

.ice-modal .modal-body {
    padding: 1.5rem 2rem 1.75rem;
}

.ice-modal .form-group {
    margin-bottom: 1rem;
}

.ice-modal label {
    font-weight: 600;
    color: var(--dark-blue);
    margin-bottom: 0.35rem;
}

.ice-modal .form-control {
    border-radius: 14px;
    border: 1px solid rgba(0, 0, 0, 0.12);
    padding: 0.65rem 0.9rem;
    box-shadow: none;
}

.ice-modal .form-control:focus {
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.15);
}

.ice-modal a {
    color: var(--primary-blue);
    text-decoration: none;
}

.ice-modal a:hover {
    text-decoration: underline;
}

.ice-modal .login_footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.ice-modal .chek-form {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.ice-modal .form-check-label span {
    font-weight: 500;
    color: var(--text-dark);
}

.ice-modal .btn-contact {
    border-radius: 14px;
}
/* #endregion Auth Modal */

/* #region Responsive */
@media (max-width: 992px) {
    .cart-item {
        grid-template-columns: 90px 1fr;
    }

    .cart-price {
        text-align: left;
    }
}

@media (max-width: 991px) {
    .product-gallery {
        position: static;
        margin-bottom: 2rem;
    }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

    .section-title h2 {
        font-size: 2rem;
    }

    .navbar-brand img {
        height: 45px;
    }

    .product-list .product-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .product-list .product-actions .btn {
        width: 100%;
        text-align: center;
    }

    .product-info-card {
        padding: 2rem;
    }

    .product-delivery {
        grid-template-columns: 1fr;
    }

    .product-cta {
        flex-direction: column;
        align-items: stretch;
    }

    .product-cta .btn {
        width: 100%;
        text-align: center;
    }

    .action-row {
        flex-direction: column;
        align-items: stretch;
    }

    .action-row .btn {
        width: 100%;
        text-align: center;
    }

    .cart-card,
    .summary-card {
        padding: 1.5rem;
    }

    .order-card {
        padding: 1.5rem;
    }

    .filter-bar {
        flex-direction: column;
        align-items: stretch;
    }

    .auth-card,
    .auth-side {
        padding: 2rem;
    }
}
/* #endregion Responsive */
