/* =============================================
   DESIGN TOKENS
   ============================================= */
:root {
    --primary: #0d9488;
    --primary-dark: #0f766e;
    --primary-light: #5eead4;
    --accent: #0e7490;
    --success: #059669;
    --danger: #dc2626;
    --dark: #042f2e;
    --dark-2: #134e4a;
    --mid: #2d6a65;
    --muted: #6b9e98;
    --light: #f0fdfa;
    --light-2: #e6faf7;
    --border: #99e6de;
    --white: #ffffff;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
    --shadow: 0 4px 16px rgba(0, 0, 0, 0.10);
    --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.16);
    --radius: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
}

/* =============================================
   RESET & BASE
   ============================================= */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--dark);
    background: var(--light);
    line-height: 1.6;
    overflow-x: hidden;
}

/* =============================================
   LAYOUT
   ============================================= */
.page-wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

.main-content {
    flex: 1;
}

/* =============================================
   HEADER
   ============================================= */
.header {
    background: var(--white);
    box-shadow: 0 1px 0 var(--border), var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 200;
}

.header-main {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 68px;
}

.logo {
    font-size: 1.6rem;
    font-weight: 800;
    background: linear-gradient(135deg, #0f766e, #0d9488, #5eead4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: none;
    letter-spacing: -0.5px;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 6px;
}

.nav-link {
    color: var(--mid);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    padding: 8px 14px;
    border-radius: 8px;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.nav-link:hover {
    color: var(--primary);
    background: rgba(13, 148, 136, 0.08);
}

.badge {
    background: var(--danger);
    color: var(--white);
    padding: 2px 7px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 700;
    line-height: 1.5;
}

.header-actions .btn-login {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--white);
    border: none;
    padding: 10px 22px;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.25s;
    box-shadow: 0 2px 12px rgba(13, 148, 136, 0.35);
    font-family: 'Inter', sans-serif;
}

.header-actions .btn-login:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(13, 148, 136, 0.45);
}

/* =============================================
   HERO
   ============================================= */
.hero {
    background: linear-gradient(135deg, #042f2e 0%, #0f766e 30%, #0d9488 65%, #14b8a6 100%);
    color: var(--white);
    padding: 100px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(13, 148, 136, 0.3) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(13, 148, 136, 0.2) 0%, transparent 50%);
    pointer-events: none;
}

.hero>* {
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ccfbf1;
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 24px;
    animation: fadeInDown 0.6s ease;
}

.hero h1 {
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.15;
    letter-spacing: -1.5px;
    animation: fadeInUp 0.7s ease 0.1s both;
}

.hero h1 span {
    background: linear-gradient(90deg, #a7f3d0, #5eead4, #99f6e4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero p {
    font-size: 1.15rem;
    opacity: 0.8;
    margin-bottom: 36px;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUp 0.7s ease 0.2s both;
}

.hero-actions {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 0.7s ease 0.3s both;
}

.btn-hero {
    background: var(--white);
    color: var(--dark);
    padding: 14px 36px;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.25s;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}

.btn-hero:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.35);
    color: var(--dark);
    text-decoration: none;
}

.btn-hero-outline {
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    padding: 14px 36px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.25s;
}

.btn-hero-outline:hover {
    background: rgba(255, 255, 255, 0.18);
    color: var(--white);
    text-decoration: none;
    transform: translateY(-3px);
}

/* =============================================
   FEATURES BAR
   ============================================= */
.features-bar {
    background: var(--white);
    border-bottom: 1px solid var(--border);
    padding: 18px 0;
}

.features-bar-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 48px;
    flex-wrap: wrap;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--mid);
}

.feature-item i {
    font-size: 1.3rem;
    color: var(--primary);
}

/* =============================================
   CAROUSEL
   ============================================= */
.promo-carousel {
    position: relative;
}

.promo-carousel .carousel-item {
    height: 380px;
    overflow: hidden;
}

.carousel-slide {
    width: 100%;
    height: 380px;
    display: flex;
    align-items: center;
    padding: 60px;
    position: relative;
    overflow: hidden;
}

.carousel-slide-1 {
    background: linear-gradient(135deg, #042f2e 0%, #0f766e 50%, #0d9488 100%);
}

.carousel-slide-2 {
    background: linear-gradient(135deg, #1b3a1e 0%, #2d6a32 50%, #5a9e52 100%);
}

.carousel-slide-3 {
    background: linear-gradient(135deg, #0e4429 0%, #166534 50%, #16a34a 100%);
}

.carousel-slide-content {
    position: relative;
    z-index: 2;
    color: white;
    max-width: 520px;
}

.carousel-slide-tag {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 4px 14px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
    color: white;
}

.carousel-slide-content h2 {
    font-size: clamp(1.8rem, 3vw, 2.8rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 12px;
    letter-spacing: -0.5px;
    color: white;
}

.carousel-slide-content p {
    font-size: 1.05rem;
    opacity: 0.85;
    margin-bottom: 24px;
    color: white;
}

.carousel-slide-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: white;
    color: var(--dark);
    padding: 12px 28px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.2s;
}

.carousel-slide-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    color: var(--dark);
    text-decoration: none;
}

.carousel-slide-deco {
    position: absolute;
    right: 60px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 160px;
    opacity: 0.12;
    pointer-events: none;
    user-select: none;
}

.carousel-control-prev,
.carousel-control-next {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.18) !important;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.3);
    top: 50%;
    transform: translateY(-50%);
    opacity: 1 !important;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-control-prev {
    left: 20px;
    margin: 0;
}

.carousel-control-next {
    right: 20px;
    margin: 0;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    background: rgba(255, 255, 255, 0.32) !important;
}

.carousel-indicators [data-bs-target] {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.5);
    transition: all 0.3s;
    margin: 0 4px;
}

.carousel-indicators .active {
    background: white !important;
    width: 24px;
    border-radius: 4px;
}

/* =============================================
   SECTIONS
   ============================================= */
.section {
    padding: 72px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 48px;
}

.section-tag {
    display: inline-block;
    background: rgba(13, 148, 136, 0.1);
    color: var(--primary);
    padding: 4px 14px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.section-title {
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    font-weight: 800;
    letter-spacing: -0.5px;
    color: var(--dark);
    margin-bottom: 8px;
    text-align: center;
}

.section-subtitle {
    color: var(--muted);
    font-size: 1rem;
    max-width: 480px;
    margin: 0 auto;
}

/* =============================================
   PRODUCTS
   ============================================= */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(264px, 1fr));
    gap: 24px;
}

.product-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

/* When product card is an <a> tag */
a.product-card-link,
a.product-card-link:hover {
    text-decoration: none;
    color: inherit;
    display: block;
}

.product-image-wrapper {
    position: relative;
    overflow: hidden;
    background: var(--light-2);
}

.product-image {
    width: 100%;
    height: 240px;
    object-fit: cover;
    transition: transform 0.4s ease;
    display: block;
}

.product-card:hover .product-image {
    transform: scale(1.06);
}

.product-badges {
    position: absolute;
    top: 12px;
    left: 12px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    z-index: 2;
}

.badge-new {
    background: var(--success);
    color: white;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 50px;
    letter-spacing: 0.5px;
    display: inline-block;
}

.badge-discount {
    background: var(--danger);
    color: white;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 50px;
    display: inline-block;
}

.product-info {
    padding: 18px 20px 20px;
}

.product-name {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--dark);
    line-height: 1.4;
}

.product-price {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}

.current-price {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--primary);
}

.original-price {
    font-size: 0.9rem;
    color: var(--muted);
    text-decoration: line-through;
}

.btn-add-cart {
    width: 100%;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--white);
    border: none;
    padding: 12px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.25s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: 'Inter', sans-serif;
}

.btn-add-cart:hover {
    background: linear-gradient(135deg, var(--primary-dark), #065f58);
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(13, 148, 136, 0.45);
}

/* =============================================
   CATEGORIES
   ============================================= */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 16px;
}

.category-card {
    background: var(--white);
    padding: 28px 20px;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    text-decoration: none;
    color: var(--dark);
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    color: var(--dark);
    text-decoration: none;
}

.category-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    flex-shrink: 0;
    background: rgba(13, 148, 136, 0.1);
}

.category-card:nth-child(4n+2) .category-icon {
    background: rgba(13, 148, 136, 0.14);
}

.category-card:nth-child(4n+3) .category-icon {
    background: rgba(13, 148, 136, 0.18);
}

.category-card:nth-child(4n+4) .category-icon {
    background: rgba(13, 148, 136, 0.1);
}

.category-name {
    font-size: 0.92rem;
    font-weight: 600;
}

/* =============================================
   FEATURES (NEDEN BİZ)
   ============================================= */
.features-section {
    background: linear-gradient(135deg, #042f2e, #134e4a);
    padding: 80px 0;
}

.features-section .section-tag {
    background: rgba(255, 255, 255, 0.12);
    color: #ccfbf1;
}

.features-section .section-title {
    color: white;
}

.features-section .section-subtitle {
    color: rgba(255, 255, 255, 0.55);
}

.features-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 20px;
}

.feature-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: 32px 28px;
    text-align: center;
    transition: all 0.3s;
}

.feature-card:hover {
    background: rgba(255, 255, 255, 0.09);
    transform: translateY(-4px);
    border-color: rgba(255, 255, 255, 0.18);
}

.feature-card-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin: 0 auto 20px;
    background: rgba(94, 234, 212, 0.25);
}

.feature-card:nth-child(2) .feature-card-icon {
    background: rgba(94, 234, 212, 0.2);
}

.feature-card:nth-child(3) .feature-card-icon {
    background: rgba(94, 234, 212, 0.18);
}

.feature-card:nth-child(4) .feature-card-icon {
    background: rgba(94, 234, 212, 0.22);
}

.feature-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: white;
}

.feature-card p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.65;
}

/* =============================================
   FOOTER
   ============================================= */
.footer {
    background: #042f2e;
    color: var(--white);
    padding: 64px 0 0;
    margin-top: 0;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 48px;
    margin-bottom: 48px;
}

.footer-section h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: white;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
    line-height: 1.7;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 12px;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s;
}

.footer-section a:hover {
    color: white;
}

.newsletter-form {
    display: flex;
    gap: 8px;
}

.newsletter-form input {
    flex: 1;
    padding: 11px 14px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    color: white;
    font-size: 0.9rem;
    font-family: 'Inter', sans-serif;
    outline: none;
}

.newsletter-form input::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

.newsletter-form button {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    border: none;
    padding: 11px 18px;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.85rem;
    font-family: 'Inter', sans-serif;
    white-space: nowrap;
    transition: all 0.2s;
}

.newsletter-form button:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(13, 148, 136, 0.4);
}

.footer-bottom {
    text-align: center;
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.35);
    font-size: 0.85rem;
}

/* =============================================
   MODAL
   ============================================= */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    animation: fadeIn 0.2s ease;
}

.modal-content {
    background: var(--white);
    padding: 40px;
    border-radius: var(--radius-xl);
    width: 100%;
    max-width: 440px;
    position: relative;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.25);
    animation: scaleIn 0.25s ease;
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: var(--light-2);
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    font-size: 1.2rem;
    cursor: pointer;
    color: var(--muted);
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.modal-close:hover {
    background: var(--border);
    color: var(--dark);
}

.modal-content h2 {
    margin-bottom: 28px;
    font-weight: 800;
    font-size: 1.5rem;
    letter-spacing: -0.3px;
}

.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    margin-bottom: 7px;
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--mid);
}

.form-group input {
    width: 100%;
    padding: 12px 14px;
    border: 1.5px solid var(--border);
    border-radius: 10px;
    font-size: 0.95rem;
    font-family: 'Inter', sans-serif;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
    color: var(--dark);
}

.form-group input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.12);
}

.btn-primary {
    width: 100%;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    border: none;
    padding: 14px;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.25s;
    box-shadow: 0 2px 12px rgba(13, 148, 136, 0.3);
    font-family: 'Inter', sans-serif;
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 25px rgba(13, 148, 136, 0.4);
}

.auth-switch {
    text-align: center;
    margin-top: 20px;
    color: var(--muted);
    font-size: 0.9rem;
}

.auth-switch a {
    color: var(--primary);
    cursor: pointer;
    font-weight: 600;
    text-decoration: none;
}

.auth-switch a:hover {
    text-decoration: underline;
}

/* =============================================
   CART
   ============================================= */
.cart-page {
    padding: 48px 0;
}

.cart-container {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 32px;
}

.cart-items,
.cart-summary,
.checkout-form {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 28px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
}

.cart-item {
    display: flex;
    gap: 18px;
    padding: 18px 0;
    border-bottom: 1px solid var(--border);
}

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

.cart-item-image {
    width: 90px;
    height: 90px;
    object-fit: cover;
    border-radius: var(--radius);
    background: var(--light-2);
    flex-shrink: 0;
}

.cart-item-info {
    flex: 1;
}

.cart-item-name {
    font-weight: 600;
    margin-bottom: 8px;
}

.cart-item-price {
    color: var(--primary);
    font-weight: 700;
}

.cart-item-quantity {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
}

.quantity-btn {
    width: 30px;
    height: 30px;
    border: 1.5px solid var(--border);
    background: var(--white);
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.quantity-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 14px;
    font-size: 0.95rem;
    color: var(--mid);
}

.summary-total {
    display: flex;
    justify-content: space-between;
    font-size: 1.2rem;
    font-weight: 800;
    padding-top: 14px;
    border-top: 1.5px solid var(--border);
    color: var(--dark);
}

/* =============================================
   LOADING / EMPTY
   ============================================= */
.loading-state,
.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: var(--muted);
}

.loading-spinner {
    display: inline-block;
    width: 40px;
    height: 40px;
    border: 3px solid var(--border);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin-bottom: 16px;
}

/* =============================================
   BLAZOR
   ============================================= */
h1:focus {
    outline: none;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid #e50000;
}

.validation-message {
    color: #e50000;
}

#blazor-error-ui {
    background: #fef2f2;
    bottom: 0;
    box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.1);
    display: none;
    left: 0;
    padding: 0.7rem 1.5rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
    border-top: 2px solid var(--danger);
    font-size: 0.9rem;
    color: var(--danger);
}

#blazor-error-ui .dismiss {
    cursor: pointer;
    position: absolute;
    right: 1rem;
    top: 0.6rem;
    font-weight: 700;
}

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA5NC4wODE1IDI5MSA5NC42NzgyIDI5MSA5Ny4wNjUxIDI4OS4wMzggOTkgMjg2LjYxNyA5OUwyNDAuMzgzIDk5QzIzNy45NjMgOTkgMjM2IDk3LjA2NTEgMjM2IDk0LjY3ODIgMjM2IDk0LjM3OTkgMjM2LjAzMSA5NC4wODg2IDIzNi4wODkgOTMuODA3MkwyMzYuMzM4IDkzLjAxNjIgMjM2Ljg1OCA5Mi4xMzE0IDI1OS40NzMgNTMuNjI5NCAyNTkuOTYxIDUyLjc5ODUgMjYwLjQwNyA1Mi4yNjU4QzI2MS4yIDUxLjQ4MzcgMjYyLjI5NiA1MSAyNjMuNTA2IDUxWk0yNjMuNTg2IDY2LjAxODNDMjYwLjczNyA2Ni4wMTgzIDI1OS4zMTMgNjcuMTI0NSAyNTkuMzEzIDY5LjMzNyAyNTkuMzEzIDY5LjYxMDIgMjU5LjMzMiA2OS44NjA4IDI1OS4zNzEgNzAuMDg4N0wyNjEuNzk1IDg0LjAxNjEgMjY1LjM4IDg0LjAxNjEgMjY3LjgyMSA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

.blazor-error-boundary::after {
    content: "An error has occurred.";
}

.darker-border-checkbox.form-check-input {
    border-color: #929292;
}

/* =============================================
   ANIMATIONS
   ============================================= */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-16px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.93);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 768px) {
    .header-main {
        flex-direction: column;
        height: auto;
        padding: 14px 0;
        gap: 12px;
    }

    .nav-menu {
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero {
        padding: 64px 0 52px;
    }

    .carousel-slide {
        padding: 32px 24px;
        height: 300px;
    }

    .promo-carousel .carousel-item {
        height: 300px;
    }

    .carousel-slide-deco {
        font-size: 90px;
        right: 20px;
    }

    .features-bar-inner {
        gap: 20px;
    }

    .section {
        padding: 52px 0;
    }

    .cart-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
        letter-spacing: -0.5px;
    }

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

    .btn-hero,
    .btn-hero-outline {
        justify-content: center;
    }

    .features-bar-inner {
        flex-direction: column;
        gap: 12px;
        align-items: flex-start;
        padding: 0 16px;
    }

    .carousel-slide h2 {
        font-size: 1.5rem;
    }
}

/* =============================================
   ADMIN PANEL
   ============================================= */
.admin-layout {
    display: flex;
    min-height: 100vh;
}

.admin-sidebar {
    width: 240px;
    flex-shrink: 0;
    background: var(--dark);
    color: var(--white);
    padding: 24px 16px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.admin-sidebar h3 {
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.5);
    padding: 0 12px 16px;
    margin-bottom: 4px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.admin-sidebar nav {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.admin-sidebar nav a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    color: rgba(255,255,255,0.65);
    text-decoration: none;
    border-radius: 8px;
    font-size: 0.92rem;
    font-weight: 500;
    transition: all 0.18s;
}

.admin-sidebar nav a:hover {
    background: rgba(255,255,255,0.08);
    color: var(--white);
    text-decoration: none;
}

.admin-sidebar nav a.active {
    background: var(--primary);
    color: var(--white);
}

.admin-sidebar .sidebar-divider {
    height: 1px;
    background: rgba(255,255,255,0.08);
    margin: 8px 12px;
}

.admin-content {
    flex: 1;
    padding: 32px;
    background: var(--light);
    min-width: 0;
}

.admin-content h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 24px;
    color: var(--dark);
}

.admin-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 12px;
}

.admin-table {
    width: 100%;
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border-collapse: collapse;
}

.admin-table th,
.admin-table td {
    padding: 14px 16px;
    text-align: left;
    border-bottom: 1px solid var(--border);
    font-size: 0.9rem;
}

.admin-table th {
    background: var(--dark-2);
    color: rgba(255,255,255,0.85);
    font-weight: 600;
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.admin-table tbody tr:last-child td {
    border-bottom: none;
}

.admin-table tbody tr:hover {
    background: var(--light-2);
}

.btn-sm {
    padding: 6px 14px;
    margin-right: 4px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    background: var(--primary);
    color: var(--white);
    font-size: 0.82rem;
    font-weight: 600;
    transition: all 0.18s;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.btn-sm:hover {
    background: var(--primary-dark);
}

.btn-sm.btn-danger {
    background: var(--danger);
}

.btn-sm.btn-danger:hover {
    background: #dc2626;
}

.btn-sm.btn-secondary {
    background: var(--muted);
}

.btn-sm.btn-success {
    background: var(--success);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.admin-stat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 16px;
    margin-bottom: 28px;
}

.admin-stat-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 20px;
    box-shadow: var(--shadow-sm);
}

.admin-stat-card .stat-label {
    font-size: 0.8rem;
    color: var(--muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.admin-stat-card .stat-value {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--dark);
    line-height: 1;
}

.stock-badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.stock-badge.low {
    background: #ccfbf1;
    color: #0f766e;
}

.stock-badge.out {
    background: #fee2e2;
    color: #991b1b;
}

.stock-badge.ok {
    background: #d1fae5;
    color: #065f46;
}

.status-badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.status-badge.status-pending    { background: #fef3c7; color: #92400e; }
.status-badge.status-processing { background: #dbeafe; color: #1e40af; }
.status-badge.status-shipped    { background: #ccfbf1; color: #0f766e; }
.status-badge.status-delivered  { background: #d1fae5; color: #065f46; }
.status-badge.status-cancelled  { background: #fee2e2; color: #991b1b; }

@media (max-width: 768px) {
    .admin-layout {
        flex-direction: column;
    }

    .admin-sidebar {
        width: 100%;
        padding: 16px;
    }

    .admin-sidebar nav {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .admin-content {
        padding: 16px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }
}

/* =============================================
   PRODUCTS PAGE — LAYOUT WITH SIDEBAR
   ============================================= */
.products-layout {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 32px;
    align-items: start;
}

.products-header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: 24px;
    flex-wrap: wrap;
    gap: 8px;
}

.products-main {
    min-width: 0;
}

/* Kategori Sidebar */
.category-sidebar {
    background: var(--white);
    border-radius: var(--radius);
    padding: 20px;
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 90px;
}

.sidebar-title {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: var(--muted);
    margin-bottom: 12px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border);
}

.category-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.category-list a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 9px 12px;
    border-radius: 8px;
    color: var(--mid);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.15s;
}

.category-list a:hover {
    background: var(--light-2);
    color: var(--dark);
    text-decoration: none;
}

.category-list a.active {
    background: rgba(13, 148, 136, 0.1);
    color: var(--primary);
    font-weight: 600;
}

.cat-count {
    font-size: 0.75rem;
    color: var(--muted);
    background: var(--light-2);
    padding: 1px 7px;
    border-radius: 20px;
}

/* Pagination */
.pagination-bar {
    display: flex;
    justify-content: center;
    margin-top: 36px;
    padding-top: 24px;
    border-top: 1px solid var(--border);
}

@media (max-width: 768px) {
    .products-layout {
        grid-template-columns: 1fr;
    }

    .category-sidebar {
        position: static;
    }

    .category-list {
        flex-direction: row;
        flex-wrap: wrap;
    }
}

/* =============================================
   PRODUCT DETAIL PAGE  (pd-*)
   ============================================= */

/* ── Skeleton loader ── */
@keyframes shimmer {
    0%   { background-position: -600px 0; }
    100% { background-position: 600px 0; }
}

.skeleton {
    background: linear-gradient(90deg, #e2e8f0 25%, #f1f5f9 50%, #e2e8f0 75%);
    background-size: 600px 100%;
    animation: shimmer 1.4s infinite linear;
    border-radius: 8px;
}

.pd-skeleton-wrap {
    padding: 40px 0 80px;
}

.pd-skeleton-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: start;
}

.skeleton-gallery-main {
    height: 420px;
    border-radius: 20px;
    margin-bottom: 12px;
}

.pd-skeleton-thumbs {
    display: flex;
    gap: 8px;
}

.skeleton-thumb {
    width: 72px;
    height: 72px;
    border-radius: 10px;
}

.pd-skeleton-info {
    padding-top: 8px;
}

/* ── Not found ── */
.pd-notfound {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 100px 24px;
    text-align: center;
}

.pd-notfound-icon {
    font-size: 5rem;
}

.pd-notfound h2 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--dark);
}

.pd-notfound p {
    color: var(--muted);
    font-size: 1rem;
    max-width: 340px;
}

/* ── Breadcrumb bar ── */
.pd-breadcrumb-bar {
    background: var(--white);
    border-bottom: 1px solid var(--border);
    padding: 12px 0;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    flex-wrap: wrap;
}

.breadcrumb-item {
    color: var(--muted);
    text-decoration: none;
    transition: color 0.15s;
    display: flex;
    align-items: center;
    gap: 4px;
}

.breadcrumb-item:hover {
    color: var(--primary);
    text-decoration: none;
}

.breadcrumb-sep {
    color: #cbd5e1;
    line-height: 1;
}

.breadcrumb-current {
    color: var(--dark);
    font-weight: 500;
    max-width: 260px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* ── Section ── */
.pd-section {
    background: var(--light-2);
    padding: 36px 0 64px;
}

/* ── Two-column layout ── */
.pd-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 52px;
    align-items: start;
    margin-bottom: 52px;
}

/* ── Gallery ── */
.pd-gallery {
    position: sticky;
    top: 84px;
}

.pd-gallery-main {
    position: relative;
    background: var(--white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    aspect-ratio: 4 / 3;
    box-shadow: var(--shadow);
    margin-bottom: 12px;
}

.pd-gallery-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 20px;
    transition: transform 0.4s ease;
}

.pd-gallery-main:hover .pd-gallery-img {
    transform: scale(1.04);
}

.pd-discount-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    background: var(--danger);
    color: white;
    font-size: 0.82rem;
    font-weight: 800;
    padding: 5px 12px;
    border-radius: 20px;
    letter-spacing: 0.4px;
    box-shadow: 0 2px 8px rgba(239,68,68,0.35);
}

.pd-featured-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background: linear-gradient(135deg, var(--accent), #f97316);
    color: white;
    font-size: 0.78rem;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 4px;
    box-shadow: 0 2px 8px rgba(245,158,11,0.35);
}

.pd-thumbs {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.pd-thumb {
    width: 76px;
    height: 76px;
    border-radius: 12px;
    border: 2.5px solid var(--border);
    overflow: hidden;
    cursor: pointer;
    padding: 0;
    background: var(--white);
    transition: border-color 0.15s, box-shadow 0.15s, transform 0.15s;
    flex-shrink: 0;
}

.pd-thumb:hover {
    border-color: var(--primary-light);
    transform: translateY(-2px);
}

.pd-thumb.active {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(99,102,241,0.22);
}

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

/* ── Info wrap ── */
.pd-info-wrap {
    display: flex;
    flex-direction: column;
    gap: 18px;
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 32px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
}

/* Category tag */
.pd-cat-tag {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: rgba(200,146,42,0.12);
    color: var(--primary);
    font-size: 0.78rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 20px;
    text-decoration: none;
    width: fit-content;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    transition: background 0.15s;
}

.pd-cat-tag:hover {
    background: rgba(99,102,241,0.18);
    text-decoration: none;
}

/* Product name */
.pd-name {
    font-size: 1.7rem;
    font-weight: 800;
    color: var(--dark);
    line-height: 1.25;
    letter-spacing: -0.4px;
    margin: 0;
}

/* Rating row */
.pd-rating-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.pd-stars {
    display: flex;
    gap: 2px;
    color: var(--accent);
    font-size: 0.9rem;
}

.pd-rating-count {
    font-size: 0.85rem;
    color: var(--muted);
}

/* Price card */
.pd-price-card {
    background: linear-gradient(135deg, rgba(99,102,241,0.06), rgba(99,102,241,0.02));
    border: 1px solid rgba(99,102,241,0.15);
    border-radius: var(--radius);
    padding: 16px 20px;
}

.pd-price-row {
    display: flex;
    align-items: baseline;
    gap: 12px;
    margin-bottom: 4px;
}

.pd-price-current {
    font-size: 2.2rem;
    font-weight: 900;
    color: var(--primary);
    letter-spacing: -0.5px;
    line-height: 1;
}

.pd-price-original {
    font-size: 1.15rem;
    color: var(--muted);
    text-decoration: line-through;
}

.pd-savings-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.82rem;
    font-weight: 600;
    color: #059669;
    margin-top: 6px;
}

/* Divider */
.pd-divider {
    border: none;
    border-top: 1px solid var(--border);
    margin: 0;
}

/* Stock row */
.pd-stock-row {
    display: flex;
    align-items: center;
}

/* Description */
.pd-description {
    color: var(--mid);
    font-size: 0.95rem;
    line-height: 1.75;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Actions: qty + button */
.pd-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.pd-qty-control {
    display: flex;
    align-items: center;
    border: 2px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    background: var(--white);
    flex-shrink: 0;
}

.pd-qty-btn {
    width: 44px;
    height: 48px;
    border: none;
    background: transparent;
    color: var(--dark);
    font-size: 1.1rem;
    cursor: pointer;
    transition: background 0.15s, color 0.15s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pd-qty-btn:hover:not(:disabled) {
    background: var(--light-2);
    color: var(--primary);
}

.pd-qty-btn:disabled {
    color: #cbd5e1;
    cursor: default;
}

.pd-qty-val {
    min-width: 44px;
    text-align: center;
    font-size: 1rem;
    font-weight: 800;
    color: var(--dark);
    border-left: 1.5px solid var(--border);
    border-right: 1.5px solid var(--border);
    line-height: 48px;
    padding: 0 4px;
}

.pd-cart-btn {
    flex: 1 !important;
}

/* Wishlist */
.pd-wishlist-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    width: 100%;
    background: transparent;
    border: 2px solid var(--border);
    border-radius: 12px;
    padding: 11px 20px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--muted);
    cursor: pointer;
    transition: border-color 0.2s, color 0.2s, background 0.2s;
    font-family: 'Inter', sans-serif;
}

.pd-wishlist-btn:hover {
    border-color: #f43f5e;
    color: #f43f5e;
    background: rgba(244,63,94,0.05);
}

/* Trust grid */
.pd-trust-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
    background: var(--light);
    border-radius: var(--radius);
    padding: 16px;
}

.pd-trust-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.pd-trust-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: rgba(99,102,241,0.1);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
}

.pd-trust-title {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--dark);
}

.pd-trust-sub {
    font-size: 0.78rem;
    color: var(--muted);
}

/* Meta info */
.pd-meta {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
}

.pd-meta-row {
    display: flex;
    align-items: center;
    padding: 10px 16px;
    border-bottom: 1px solid var(--border);
    font-size: 0.88rem;
    gap: 8px;
}

.pd-meta-row:last-child {
    border-bottom: none;
}

.pd-meta-label {
    color: var(--muted);
    font-weight: 500;
    min-width: 130px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 6px;
}

.pd-meta-val {
    color: var(--dark);
    font-weight: 600;
}

.pd-meta-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
}

.pd-meta-link:hover {
    text-decoration: underline;
}

.pd-featured-text {
    color: var(--accent);
}

/* ── Tabs ── */
.pd-tabs-wrap {
    background: var(--white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    overflow: hidden;
}

.pd-tab-content {
    padding: 28px 32px;
    color: var(--mid);
    font-size: 0.95rem;
    line-height: 1.75;
}

.pd-spec-table {
    width: 100%;
    border-collapse: collapse;
}

.pd-spec-table tr {
    border-bottom: 1px solid var(--border);
}

.pd-spec-table tr:last-child {
    border-bottom: none;
}

.pd-spec-table td {
    padding: 12px 16px;
    font-size: 0.9rem;
}

.pd-spec-table td:first-child {
    color: var(--muted);
    font-weight: 500;
    width: 180px;
    background: var(--light);
}

.pd-spec-table td:last-child {
    color: var(--dark);
    font-weight: 600;
}

/* ── Responsive ── */
@media (max-width: 960px) {
    .pd-layout {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .pd-skeleton-layout {
        grid-template-columns: 1fr;
    }

    .pd-gallery {
        position: static;
    }

    .pd-name {
        font-size: 1.4rem;
    }

    .pd-price-current {
        font-size: 1.8rem;
    }

    .pd-info-wrap {
        padding: 24px;
    }
}

@media (max-width: 480px) {
    .pd-actions {
        flex-direction: column;
    }

    .pd-cart-btn {
        width: 100% !important;
    }
}
/* =============================================
   TOP ANNOUNCEMENT BAR
   ============================================= */
.top-bar {
    background: linear-gradient(90deg, #042f2e, #0f766e, #042f2e);
    color: #ccfbf1;
    text-align: center;
    padding: 8px 16px;
    font-size: 0.82rem;
    font-weight: 500;
    letter-spacing: 0.3px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
}

.top-bar a {
    color: #ccfbf1;
    text-decoration: underline;
    font-weight: 600;
}

.top-bar-sep {
    opacity: 0.4;
}

/* =============================================
   HEADER SEARCH
   ============================================= */
.header-search {
    flex: 1;
    max-width: 420px;
    margin: 0 24px;
    position: relative;
}

.header-search input {
    width: 100%;
    padding: 9px 16px 9px 40px;
    border: 1.5px solid var(--border);
    border-radius: 50px;
    font-size: 0.9rem;
    font-family: 'Inter', sans-serif;
    background: var(--light);
    color: var(--dark);
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.header-search input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.15);
    background: var(--white);
}

.header-search-icon {
    position: absolute;
    left: 13px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--muted);
    font-size: 0.9rem;
    pointer-events: none;
}

/* =============================================
   FOOTER SOCIAL & EXPANDED
   ============================================= */
.footer-social {
    display: flex;
    gap: 10px;
    margin-top: 16px;
}

.footer-social a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.95rem;
    transition: all 0.2s;
    text-decoration: none;
}

.footer-social a:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
    text-decoration: none;
    transform: translateY(-2px);
}

.footer-logo-text {
    font-size: 1.4rem;
    font-weight: 800;
    background: linear-gradient(135deg, #5eead4, #0d9488);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 12px;
    display: inline-block;
}

.footer-trust {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 16px;
}

.footer-trust-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    color: rgba(255,255,255,0.5);
}

.footer-trust-item i {
    color: #0d9488;
}

/* =============================================
   CUSTOMER REVIEWS SECTION
   ============================================= */
.reviews-section {
    background: var(--light-2);
    padding: 72px 0;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 0;
}

.review-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 24px 26px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    position: relative;
    transition: transform 0.25s, box-shadow 0.25s;
}

.review-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}

.review-stars {
    display: flex;
    gap: 3px;
    color: #f59e0b;
    font-size: 0.95rem;
    margin-bottom: 12px;
}

.review-text {
    font-size: 0.92rem;
    color: var(--mid);
    line-height: 1.65;
    margin-bottom: 16px;
    font-style: italic;
}

.review-author {
    display: flex;
    align-items: center;
    gap: 10px;
}

.review-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 0.95rem;
    flex-shrink: 0;
}

.review-name {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--dark);
}

.review-date {
    font-size: 0.78rem;
    color: var(--muted);
}

.reviews-summary {
    text-align: center;
    margin-bottom: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.reviews-score {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
}

.reviews-score-info {
    text-align: left;
}

.reviews-score-stars {
    display: flex;
    gap: 4px;
    color: #f59e0b;
    font-size: 1.2rem;
    margin-bottom: 4px;
}

.reviews-score-count {
    font-size: 0.85rem;
    color: var(--muted);
}

/* =============================================
   CATEGORY HIGHLIGHT CARDS (koycegizbali style)
   ============================================= */
.highlights-section {
    background: var(--white);
    padding: 56px 0;
}

.highlights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
}

.highlight-card {
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
    text-decoration: none;
    display: block;
    min-height: 180px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.highlight-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    text-decoration: none;
}

.highlight-card-bg {
    width: 100%;
    height: 180px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 24px 16px;
    text-align: center;
    transition: filter 0.3s;
}

.highlight-card:hover .highlight-card-bg {
    filter: brightness(1.08);
}

.highlight-card:nth-child(1) .highlight-card-bg { background: linear-gradient(145deg, #0d9488, #5eead4); }
.highlight-card:nth-child(2) .highlight-card-bg { background: linear-gradient(145deg, #042f2e, #0f766e); }
.highlight-card:nth-child(3) .highlight-card-bg { background: linear-gradient(145deg, #0e7490, #0ea5e9); }
.highlight-card:nth-child(4) .highlight-card-bg { background: linear-gradient(145deg, #134e4a, #0d9488); }
.highlight-card:nth-child(5) .highlight-card-bg { background: linear-gradient(145deg, #0f766e, #14b8a6); }

.highlight-card-icon {
    font-size: 2.2rem;
}

.highlight-card-title {
    color: white;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.2px;
    text-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

.highlight-card-desc {
    color: rgba(255,255,255,0.82);
    font-size: 0.78rem;
    line-height: 1.4;
}

/* =============================================
   WHATSAPP BUTTON
   ============================================= */
.whatsapp-btn {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #25D366;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.45);
    text-decoration: none;
    z-index: 999;
    transition: all 0.25s;
    animation: pulse-green 2.5s infinite;
}

.whatsapp-btn:hover {
    transform: scale(1.1);
    color: white;
    text-decoration: none;
    box-shadow: 0 6px 28px rgba(37, 211, 102, 0.6);
}

@keyframes pulse-green {
    0%, 100% { box-shadow: 0 4px 20px rgba(37, 211, 102, 0.45); }
    50% { box-shadow: 0 4px 32px rgba(37, 211, 102, 0.7); }
}

@media (max-width: 768px) {
    .header-search { display: none; }
    .top-bar { font-size: 0.76rem; gap: 12px; }
    .highlights-grid { grid-template-columns: repeat(2, 1fr); }
    .reviews-grid { grid-template-columns: 1fr; }
}

/* =============================================
   CART DRAWER
   ============================================= */
.cart-trigger {
    background: none;
    border: none;
    font-family: 'Inter', sans-serif;
    cursor: pointer;
}

.cart-drawer-overlay {
    position: fixed;
    inset: 0;
    background: rgba(4, 47, 46, 0.45);
    backdrop-filter: blur(2px);
    z-index: 900;
    animation: fadeIn 0.22s ease;
}

.cart-drawer {
    position: fixed;
    top: 0;
    right: 0;
    width: 420px;
    max-width: 100vw;
    height: 100dvh;
    background: var(--white);
    z-index: 901;
    display: flex;
    flex-direction: column;
    box-shadow: -8px 0 40px rgba(4, 47, 46, 0.18);
    animation: slideInRight 0.28s cubic-bezier(0.32, 0.72, 0, 1);
}

@keyframes slideInRight {
    from { transform: translateX(100%); }
    to   { transform: translateX(0); }
}

/* Header */
.cart-drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid var(--border);
    background: var(--light);
    flex-shrink: 0;
}

.cart-drawer-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--dark);
}

.cart-drawer-title i {
    color: var(--primary);
    font-size: 1.15rem;
}

.cart-drawer-count {
    font-size: 0.78rem;
    font-weight: 600;
    background: rgba(13, 148, 136, 0.12);
    color: var(--primary);
    padding: 2px 10px;
    border-radius: 50px;
}

.cart-drawer-close {
    width: 34px;
    height: 34px;
    border: 1.5px solid var(--border);
    border-radius: 10px;
    background: var(--white);
    color: var(--muted);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    transition: all 0.18s;
}

.cart-drawer-close:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
}

/* Body */
.cart-drawer-body {
    flex: 1;
    overflow-y: auto;
    padding: 16px 24px;
    scrollbar-width: thin;
    scrollbar-color: var(--border) transparent;
}

.cart-drawer-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    padding: 60px 0;
    color: var(--muted);
}

.cart-drawer-spinner {
    width: 36px;
    height: 36px;
    border: 3px solid var(--border);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 0.7s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

.cart-drawer-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 64px 24px;
    text-align: center;
}

.cart-drawer-empty-icon {
    font-size: 3.5rem;
    margin-bottom: 4px;
}

.cart-drawer-empty h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--dark);
}

.cart-drawer-empty p {
    font-size: 0.9rem;
    color: var(--muted);
}

.cart-drawer-browse {
    margin-top: 12px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--primary);
    color: white;
    padding: 10px 22px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.2s;
}

.cart-drawer-browse:hover {
    background: var(--primary-dark);
    color: white;
    text-decoration: none;
    transform: translateY(-1px);
}

/* Items */
.cart-drawer-items {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.cart-drawer-item {
    display: flex;
    gap: 12px;
    padding: 14px;
    background: var(--light);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    position: relative;
    transition: box-shadow 0.2s;
}

.cart-drawer-item:hover {
    box-shadow: var(--shadow-sm);
}

.cart-drawer-item-img-wrap {
    width: 72px;
    height: 72px;
    border-radius: 10px;
    overflow: hidden;
    background: var(--white);
    flex-shrink: 0;
    border: 1px solid var(--border);
}

.cart-drawer-item-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cart-drawer-item-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.cart-drawer-item-name {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--dark);
    line-height: 1.35;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.cart-drawer-item-price {
    font-size: 0.82rem;
    color: var(--muted);
}

.cart-drawer-item-controls {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 4px;
}

.cdi-btn {
    width: 26px;
    height: 26px;
    border: 1.5px solid var(--border);
    background: var(--white);
    border-radius: 7px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dark);
    transition: all 0.15s;
    line-height: 1;
    padding: 0;
}

.cdi-btn:hover:not(:disabled) {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
}

.cdi-btn:disabled {
    opacity: 0.35;
    cursor: not-allowed;
}

.cdi-qty {
    min-width: 22px;
    text-align: center;
    font-weight: 700;
    font-size: 0.88rem;
    color: var(--dark);
}

.cdi-subtotal {
    margin-left: auto;
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--primary);
}

.cart-drawer-item-remove {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 26px;
    height: 26px;
    border: none;
    background: none;
    color: var(--muted);
    cursor: pointer;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.82rem;
    transition: all 0.15s;
}

.cart-drawer-item-remove:hover {
    background: #fee2e2;
    color: var(--danger);
}

/* Footer */
.cart-drawer-footer {
    padding: 16px 24px 20px;
    border-top: 1px solid var(--border);
    background: var(--light);
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.cart-drawer-summary {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 4px;
}

.cart-drawer-summary-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.88rem;
    color: var(--mid);
}

.cart-drawer-summary-free {
    color: var(--success);
}

.cart-drawer-summary-total {
    font-size: 1rem;
    color: var(--dark);
    padding-top: 8px;
    border-top: 1px dashed var(--border);
    margin-top: 4px;
}

.cart-drawer-summary-total strong {
    font-size: 1.15rem;
    color: var(--primary);
}

.cart-drawer-btn-primary {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    padding: 13px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.22s;
    box-shadow: 0 4px 14px rgba(13, 148, 136, 0.35);
}

.cart-drawer-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(13, 148, 136, 0.45);
    color: white;
    text-decoration: none;
}

.cart-drawer-btn-secondary {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: transparent;
    color: var(--primary);
    padding: 10px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    border: 1.5px solid var(--primary);
    transition: all 0.18s;
}

.cart-drawer-btn-secondary:hover {
    background: rgba(13, 148, 136, 0.07);
    color: var(--primary);
    text-decoration: none;
}

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

@media (max-width: 480px) {
    .cart-drawer { width: 100vw; }
}

/* Search clear button */
.header-search-clear {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--muted);
    cursor: pointer;
    font-size: 1rem;
    line-height: 1;
    padding: 2px;
    display: flex;
    align-items: center;
    transition: color 0.15s;
}

.header-search-clear:hover { color: var(--dark); }

.header-search {
    position: relative;
}


/* ── Info / Static Pages (İletişim, Kargo, İade, SSS, Gizlilik) ─────────── */
.info-hero {
    background: linear-gradient(135deg, #042f2e 0%, #0f766e 50%, #14b8a6 100%);
    color: white;
    padding: 64px 0 56px;
    text-align: center;
}

.info-hero-icon { font-size: 3rem; margin-bottom: 16px; }
.info-hero h1 { font-size: 2.4rem; font-weight: 900; margin-bottom: 12px; }
.info-hero p  { font-size: 1.05rem; opacity: 0.85; max-width: 540px; margin: 0 auto; }

.info-section { padding: 56px 0; }

/* Shared card / list / table */
.info-content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 32px;
}

.info-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 28px;
    box-shadow: var(--shadow-sm);
}

.info-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.info-card h3 i { color: var(--primary); }

.info-table { width: 100%; border-collapse: collapse; font-size: 0.92rem; }
.info-table th { text-align: left; padding: 10px 12px; background: var(--light); color: var(--mid); font-weight: 600; border-radius: 8px; }
.info-table td { padding: 12px; border-bottom: 1px solid var(--border); color: var(--dark); }
.info-table .free-row td { font-weight: 600; }
.badge-free { background: #dcfce7; color: #15803d; padding: 3px 10px; border-radius: 20px; font-size: 0.78rem; font-weight: 700; }

.info-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.info-list li { display: flex; align-items: flex-start; gap: 10px; font-size: 0.92rem; color: var(--dark); }
.info-list li i { color: var(--primary); flex-shrink: 0; margin-top: 2px; }

.info-note {
    background: #fffbeb;
    border: 1px solid #fde68a;
    border-radius: var(--radius-lg);
    padding: 20px 24px;
    display: flex;
    align-items: flex-start;
    gap: 14px;
    font-size: 0.9rem;
    color: #78350f;
}

.info-note i { font-size: 1.3rem; color: #f59e0b; flex-shrink: 0; margin-top: 2px; }

/* Highlight bar (Kargo / İade pages) */
.info-highlight-bar {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 40px;
}

.info-highlight-item {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 14px;
    box-shadow: var(--shadow-sm);
}

.info-highlight-item i { font-size: 1.8rem; color: var(--primary); flex-shrink: 0; }
.info-highlight-item strong { display: block; font-size: 0.95rem; font-weight: 700; color: var(--dark); }
.info-highlight-item span { font-size: 0.8rem; color: var(--muted); }

@media (max-width: 900px) {
    .info-highlight-bar { grid-template-columns: 1fr 1fr; }
    .info-content-grid { grid-template-columns: 1fr; }
}

@media (max-width: 500px) {
    .info-highlight-bar { grid-template-columns: 1fr; }
    .info-hero h1 { font-size: 1.8rem; }
}
