* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    background: #f5f6f8;
    color: #111827;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    width: min(1240px, calc(100% - 32px));
    margin: 0 auto;
}

.top-bar {
    background: #111827;
    color: #fff;
    font-size: 13px;
}

.top-bar-inner {
    min-height: 38px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

.site-header {
    background: #fff;
    border-bottom: 1px solid #e5e7eb;
    position: sticky;
    top: 0;
    z-index: 50;
}

.header-inner {
    min-height: 86px;
    display: grid;
    grid-template-columns: 210px 1fr 150px 44px;
    gap: 20px;
    align-items: center;
}

.logo {
    font-size: 28px;
    font-weight: 900;
    letter-spacing: -1px;
}

.logo span {
    color: #6b7280;
}

.header-search {
    display: flex;
    border: 1px solid #d1d5db;
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
}

.header-search input {
    flex: 1;
    border: 0;
    padding: 14px 16px;
    font-size: 14px;
    outline: none;
}

.header-search button {
    border: 0;
    background: #111827;
    color: #fff;
    padding: 0 18px;
    font-weight: 700;
    cursor: pointer;
}

.header-actions {
    display: flex;
    justify-content: flex-end;
}

.cart-link {
    background: #f3f4f6;
    border-radius: 10px;
    padding: 12px 14px;
    font-weight: 700;
    font-size: 14px;
}

.cart-link strong {
    background: #111827;
    color: #fff;
    border-radius: 999px;
    padding: 3px 8px;
    margin-left: 6px;
    font-size: 12px;
}

.mobile-menu-btn {
    display: none;
    width: 44px;
    height: 44px;
    border: 1px solid #d1d5db;
    border-radius: 10px;
    background: #fff;
    cursor: pointer;
    font-size: 22px;
}

.main-nav {
    border-top: 1px solid #e5e7eb;
}

.nav-inner {
    min-height: 50px;
    display: flex;
    gap: 28px;
    align-items: center;
}

.nav-inner a {
    font-size: 14px;
    font-weight: 700;
    color: #374151;
}

.nav-inner a.active,
.nav-inner a:hover {
    color: #111827;
}

.hero {
    margin-top: 32px;
    background: linear-gradient(120deg, #111827, #374151);
    color: #fff;
    border-radius: 20px;
    padding: 70px 60px;
}

.hero h1 {
    font-size: 48px;
    line-height: 1.05;
    max-width: 650px;
    margin: 0 0 18px;
}

.hero p {
    color: #e5e7eb;
    max-width: 560px;
    line-height: 1.7;
    margin-bottom: 28px;
}

.btn-main {
    display: inline-block;
    background: #fff;
    color: #111827;
    border-radius: 10px;
    padding: 14px 22px;
    font-weight: 800;
}

.page-section {
    padding: 40px 0;
}

.site-footer {
    margin-top: 70px;
    background: #111827;
    color: #fff;
}

.footer-grid {
    padding: 52px 0;
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1.3fr;
    gap: 34px;
}

.site-footer h3,
.site-footer h4 {
    margin: 0 0 16px;
}

.site-footer p {
    color: #d1d5db;
    line-height: 1.6;
    margin: 0;
}

.site-footer a {
    display: block;
    color: #d1d5db;
    margin-bottom: 10px;
    font-size: 14px;
}

.site-footer a:hover {
    color: #fff;
}

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

.newsletter-form input {
    flex: 1;
    border: 0;
    border-radius: 8px;
    padding: 12px;
}

.newsletter-form button {
    border: 0;
    border-radius: 8px;
    padding: 12px 14px;
    font-weight: 700;
    cursor: pointer;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.12);
    padding: 18px 0;
    color: #9ca3af;
    font-size: 14px;
}

@media (max-width: 900px) {
    .top-bar-inner {
        flex-direction: column;
        padding: 10px 0;
    }

    .header-inner {
        grid-template-columns: 1fr 44px;
        min-height: auto;
        padding: 16px 0;
    }

    .header-search,
    .header-actions {
        grid-column: 1 / -1;
    }

    .mobile-menu-btn {
        display: block;
    }

    .main-nav {
        display: none;
    }

    .main-nav.open {
        display: block;
    }

    .nav-inner {
        flex-direction: column;
        align-items: flex-start;
        padding: 16px 0;
        gap: 14px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .hero {
        padding: 44px 28px;
    }

    .hero h1 {
        font-size: 34px;
    }
}
/* SHOP PAGE */

.shop-hero {
    background: #111827;
    color: #fff;
    padding: 54px 0;
    margin-bottom: 36px;
}

.shop-hero h1 {
    font-size: 42px;
    margin: 0 0 10px;
}

.shop-hero p {
    color: #d1d5db;
    margin: 0;
    max-width: 620px;
    line-height: 1.6;
}

.shop-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 28px;
    align-items: start;
}

.shop-sidebar {
    position: sticky;
    top: 160px;
}

.filter-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 18px;
}

.filter-card h3 {
    margin: 0 0 16px;
    font-size: 18px;
}

.shop-filter-form {
    display: grid;
    gap: 10px;
}

.shop-filter-form input {
    border: 1px solid #d1d5db;
    border-radius: 10px;
    padding: 12px 14px;
    font-size: 14px;
}

.shop-filter-form button {
    border: 0;
    background: #111827;
    color: #fff;
    border-radius: 10px;
    padding: 12px 14px;
    font-weight: 800;
    cursor: pointer;
}

.category-link {
    display: flex;
    justify-content: space-between;
    padding: 11px 0;
    border-bottom: 1px solid #f0f0f0;
    color: #374151;
    font-weight: 700;
    font-size: 14px;
}

.category-link:last-child {
    border-bottom: 0;
}

.category-link.active,
.category-link:hover {
    color: #111827;
}

.shop-toolbar {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 18px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}

.shop-toolbar h2 {
    margin: 0 0 4px;
    font-size: 24px;
}

.shop-toolbar p {
    margin: 0;
    color: #6b7280;
    font-size: 14px;
}

.clear-filter {
    background: #f3f4f6;
    border-radius: 10px;
    padding: 10px 14px;
    font-weight: 700;
    font-size: 14px;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.product-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    overflow: hidden;
    transition: transform .2s ease, box-shadow .2s ease;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 40px rgba(17, 24, 39, .08);
}

.product-image-wrap {
    position: relative;
    display: block;
    background: #f3f4f6;
    aspect-ratio: 1 / 1;
    overflow: hidden;
}

.product-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .25s ease;
}

.product-card:hover .product-image-wrap img {
    transform: scale(1.04);
}

.product-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 2;
    background: #111827;
    color: #fff;
    border-radius: 999px;
    padding: 7px 11px;
    font-size: 12px;
    font-weight: 800;
}

.product-card-body {
    padding: 18px;
}

.product-category {
    color: #6b7280;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.product-card h3 {
    margin: 0 0 10px;
    font-size: 18px;
    line-height: 1.3;
}

.product-short {
    color: #6b7280;
    font-size: 14px;
    line-height: 1.5;
    margin: 0 0 14px;
}

.product-price {
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: 20px;
    font-weight: 900;
    margin-bottom: 10px;
}

.old-price {
    color: #9ca3af;
    text-decoration: line-through;
    font-size: 15px;
    font-weight: 700;
}

.sale-price {
    color: #b91c1c;
}

.product-stock {
    margin-bottom: 14px;
    font-size: 13px;
    font-weight: 800;
}

.stock-in {
    color: #15803d;
}

.stock-out {
    color: #b91c1c;
}

.product-button {
    display: block;
    text-align: center;
    background: #111827;
    color: #fff;
    border-radius: 12px;
    padding: 12px 14px;
    font-weight: 800;
}

.empty-products {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    padding: 46px;
    text-align: center;
}

.empty-products h3 {
    margin: 0 0 8px;
    font-size: 24px;
}

.empty-products p {
    color: #6b7280;
    margin-bottom: 22px;
}

@media (max-width: 1100px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

    .shop-sidebar {
        position: static;
    }

    .shop-toolbar {
        flex-direction: column;
        align-items: flex-start;
    }
}

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

    .shop-hero h1 {
        font-size: 34px;
    }
}
/* SINGLE PRODUCT PAGE */

.product-page {
    padding: 32px 0 20px;
}

.breadcrumbs {
    display: flex;
    gap: 8px;
    align-items: center;
    color: #6b7280;
    font-size: 14px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.breadcrumbs a:hover {
    color: #111827;
}

.product-detail-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 34px;
    align-items: start;
}

.product-gallery,
.product-summary,
.product-description-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 18px;
}

.product-gallery {
    padding: 18px;
}

.main-product-image {
    position: relative;
    background: #f3f4f6;
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 1 / 1;
}

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

.product-thumbs {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 10px;
    margin-top: 12px;
}

.thumb {
    border: 2px solid transparent;
    background: #f3f4f6;
    border-radius: 10px;
    overflow: hidden;
    padding: 0;
    cursor: pointer;
    aspect-ratio: 1 / 1;
}

.thumb.active,
.thumb:hover {
    border-color: #111827;
}

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

.product-summary {
    padding: 28px;
}

.product-meta-top {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    color: #6b7280;
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.product-summary h1 {
    font-size: 38px;
    line-height: 1.12;
    margin: 0 0 16px;
}

.single-price {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 28px;
    font-weight: 900;
    margin-bottom: 12px;
}

.single-stock {
    font-size: 14px;
    font-weight: 900;
    margin-bottom: 20px;
}

.short-description {
    color: #374151;
    line-height: 1.7;
    margin-bottom: 22px;
}

.add-to-cart-form {
    border-top: 1px solid #e5e7eb;
    border-bottom: 1px solid #e5e7eb;
    padding: 22px 0;
    margin-bottom: 22px;
}

.variation-box {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 18px;
    margin-bottom: 18px;
}

.variation-box h3 {
    margin: 0 0 14px;
}

.variation-field {
    margin-bottom: 14px;
}

.variation-field label,
.quantity-row label {
    display: block;
    font-weight: 800;
    margin-bottom: 7px;
    font-size: 14px;
}

.variation-field select,
.quantity-row input {
    width: 100%;
    border: 1px solid #d1d5db;
    border-radius: 10px;
    padding: 12px 14px;
    font-size: 14px;
}

.variation-message {
    margin: 6px 0 0;
    color: #6b7280;
    font-size: 13px;
}

.quantity-row {
    max-width: 150px;
    margin-bottom: 18px;
}

.add-cart-button {
    width: 100%;
    border: 0;
    background: #111827;
    color: #fff;
    border-radius: 12px;
    padding: 15px 18px;
    font-size: 16px;
    font-weight: 900;
    cursor: pointer;
}

.add-cart-button:disabled {
    background: #9ca3af;
    cursor: not-allowed;
}

.product-attributes-list {
    background: #f9fafb;
    border-radius: 14px;
    padding: 18px;
}

.product-attributes-list h3 {
    margin: 0 0 12px;
}

.attribute-line {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    border-bottom: 1px solid #e5e7eb;
    padding: 10px 0;
    font-size: 14px;
}

.attribute-line:last-child {
    border-bottom: 0;
}

.product-description-card {
    padding: 28px;
    margin-top: 28px;
}

.product-description-card h2 {
    margin: 0 0 14px;
}

.description-content {
    color: #374151;
    line-height: 1.8;
}

@media (max-width: 900px) {
    .product-detail-layout {
        grid-template-columns: 1fr;
    }

    .product-summary h1 {
        font-size: 30px;
    }

    .single-price {
        font-size: 24px;
    }
}

@media (max-width: 560px) {
    .product-thumbs {
        grid-template-columns: repeat(4, 1fr);
    }

    .product-summary,
    .product-description-card {
        padding: 20px;
    }
}
/* CART PAGE */

.cart-hero {
    background: #111827;
    color: #fff;
    padding: 54px 0;
    margin-bottom: 36px;
}

.cart-hero h1 {
    font-size: 42px;
    margin: 0 0 10px;
}

.cart-hero p {
    color: #d1d5db;
    margin: 0;
}

.cart-page {
    min-height: 420px;
}

.notice {
    border-radius: 12px;
    padding: 14px 16px;
    margin-bottom: 18px;
    font-weight: 700;
}

.notice.success {
    background: #dcfce7;
    color: #166534;
}

.cart-layout {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 26px;
    align-items: start;
}

.cart-items-card,
.cart-summary-card,
.empty-cart {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 18px;
}

.cart-items-card {
    overflow: hidden;
}

.cart-table-head,
.cart-row {
    display: grid;
    grid-template-columns: 1.8fr 120px 130px 120px 50px;
    gap: 16px;
    align-items: center;
}

.cart-table-head {
    background: #f9fafb;
    padding: 16px 18px;
    color: #6b7280;
    font-size: 13px;
    font-weight: 900;
    text-transform: uppercase;
    border-bottom: 1px solid #e5e7eb;
}

.cart-row {
    padding: 18px;
    border-bottom: 1px solid #e5e7eb;
}

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

.cart-product-image {
    width: 76px;
    height: 76px;
    border-radius: 12px;
    overflow: hidden;
    background: #f3f4f6;
    flex-shrink: 0;
}

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

.cart-product-info h3 {
    margin: 0 0 5px;
    font-size: 16px;
}

.cart-product-info p {
    margin: 0 0 4px;
    color: #6b7280;
    font-size: 13px;
}

.cart-product-info small {
    color: #9ca3af;
}

.cart-price,
.cart-total {
    font-weight: 900;
}

.cart-quantity input {
    width: 86px;
    border: 1px solid #d1d5db;
    border-radius: 10px;
    padding: 10px;
}

.cart-remove button {
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 999px;
    background: #fee2e2;
    color: #991b1b;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
}

.cart-actions-row {
    padding: 18px;
    display: flex;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.btn-secondary,
.btn-dark {
    display: inline-block;
    border: 0;
    border-radius: 12px;
    padding: 13px 18px;
    font-weight: 900;
    cursor: pointer;
}

.btn-secondary {
    background: #f3f4f6;
    color: #111827;
}

.btn-dark {
    background: #111827;
    color: #fff;
}

.cart-summary-card {
    padding: 24px;
    position: sticky;
    top: 160px;
}

.cart-summary-card h2 {
    margin: 0 0 18px;
}

.summary-line,
.summary-total {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    padding: 14px 0;
    border-bottom: 1px solid #e5e7eb;
}

.summary-line span,
.summary-total span {
    color: #6b7280;
}

.summary-total {
    font-size: 20px;
    border-bottom: 0;
}

.summary-total strong {
    font-size: 24px;
}

.checkout-button {
    display: block;
    text-align: center;
    background: #111827;
    color: #fff;
    border-radius: 14px;
    padding: 15px 18px;
    margin-top: 18px;
    font-weight: 900;
}

.empty-cart {
    padding: 52px;
    text-align: center;
}

.empty-cart h2 {
    margin: 0 0 10px;
    font-size: 30px;
}

.empty-cart p {
    color: #6b7280;
    margin-bottom: 24px;
}

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

    .cart-summary-card {
        position: static;
    }
}

@media (max-width: 760px) {
    .cart-table-head {
        display: none;
    }

    .cart-row {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .cart-product-info {
        align-items: flex-start;
    }

    .cart-price::before {
        content: 'Cijena: ';
        color: #6b7280;
        font-weight: 700;
    }

    .cart-total::before {
        content: 'Ukupno: ';
        color: #6b7280;
        font-weight: 700;
    }
}
/* CHECKOUT + SUCCESS */

.checkout-hero {
    background: #111827;
    color: #fff;
    padding: 54px 0;
    margin-bottom: 36px;
}

.checkout-hero h1 {
    font-size: 42px;
    margin: 0 0 10px;
}

.checkout-hero p {
    color: #d1d5db;
    margin: 0;
}

.checkout-layout {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 26px;
    align-items: start;
}

.checkout-form-card,
.checkout-summary-card,
.success-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    padding: 26px;
}

.checkout-form-card h2,
.checkout-summary-card h2 {
    margin: 0 0 18px;
}

.checkout-form-card h2:not(:first-child) {
    margin-top: 28px;
}

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

.form-group-front {
    margin-bottom: 16px;
}

.form-group-front label {
    display: block;
    font-weight: 800;
    margin-bottom: 7px;
    font-size: 14px;
}

.form-group-front input,
.form-group-front textarea {
    width: 100%;
    border: 1px solid #d1d5db;
    border-radius: 10px;
    padding: 12px 14px;
    font-size: 14px;
}

.form-group-front textarea {
    min-height: 120px;
    resize: vertical;
}

.checkout-option {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: center;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 14px;
    margin-bottom: 10px;
    cursor: pointer;
}

.checkout-option input {
    width: auto;
}

.checkout-summary-card {
    position: sticky;
    top: 160px;
}

.checkout-items {
    margin-bottom: 18px;
}

.checkout-item,
.success-item {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    border-bottom: 1px solid #e5e7eb;
    padding: 13px 0;
}

.checkout-item strong,
.checkout-item small,
.checkout-item span,
.success-item strong,
.success-item small,
.success-item span {
    display: block;
}

.checkout-item small,
.checkout-item span,
.success-item small,
.success-item span {
    color: #6b7280;
    font-size: 13px;
    margin-top: 4px;
}

.notice.error {
    background: #fee2e2;
    color: #991b1b;
}

.success-page {
    padding: 42px 0;
}

.success-card {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.success-icon {
    width: 76px;
    height: 76px;
    border-radius: 999px;
    background: #dcfce7;
    color: #166534;
    display: grid;
    place-items: center;
    font-size: 42px;
    font-weight: 900;
    margin: 0 auto 18px;
}

.success-card h1 {
    margin: 0 0 10px;
    font-size: 36px;
}

.success-card p {
    color: #6b7280;
    margin-bottom: 24px;
}

.order-info-box {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    background: #f9fafb;
    border-radius: 16px;
    padding: 16px;
    margin: 24px 0;
    text-align: left;
}

.order-info-box span {
    display: block;
    color: #6b7280;
    font-size: 13px;
    margin-bottom: 5px;
}

.success-items {
    text-align: left;
    margin-top: 16px;
}

.success-actions {
    margin-top: 26px;
}

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

    .checkout-summary-card {
        position: static;
    }

    .order-info-box {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 560px) {
    .form-grid-2,
    .order-info-box {
        grid-template-columns: 1fr;
    }
}
/* CHECKOUT + SUCCESS */

.checkout-hero {
    background: #111827;
    color: #fff;
    padding: 54px 0;
    margin-bottom: 36px;
}

.checkout-hero h1 {
    font-size: 42px;
    margin: 0 0 10px;
}

.checkout-hero p {
    color: #d1d5db;
    margin: 0;
}

.checkout-layout {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 26px;
    align-items: start;
}

.checkout-form-card,
.checkout-summary-card,
.success-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    padding: 26px;
}

.checkout-form-card h2,
.checkout-summary-card h2 {
    margin: 0 0 18px;
}

.checkout-form-card h2:not(:first-child) {
    margin-top: 28px;
}

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

.form-group-front {
    margin-bottom: 16px;
}

.form-group-front label {
    display: block;
    font-weight: 800;
    margin-bottom: 7px;
    font-size: 14px;
}

.form-group-front input,
.form-group-front textarea {
    width: 100%;
    border: 1px solid #d1d5db;
    border-radius: 10px;
    padding: 12px 14px;
    font-size: 14px;
}

.form-group-front textarea {
    min-height: 120px;
    resize: vertical;
}

.checkout-option {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: center;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 14px;
    margin-bottom: 10px;
    cursor: pointer;
}

.checkout-option input {
    width: auto;
}

.checkout-summary-card {
    position: sticky;
    top: 160px;
}

.checkout-items {
    margin-bottom: 18px;
}

.checkout-item,
.success-item {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    border-bottom: 1px solid #e5e7eb;
    padding: 13px 0;
}

.checkout-item strong,
.checkout-item small,
.checkout-item span,
.success-item strong,
.success-item small,
.success-item span {
    display: block;
}

.checkout-item small,
.checkout-item span,
.success-item small,
.success-item span {
    color: #6b7280;
    font-size: 13px;
    margin-top: 4px;
}

.notice.error {
    background: #fee2e2;
    color: #991b1b;
}

.success-page {
    padding: 42px 0;
}

.success-card {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.success-icon {
    width: 76px;
    height: 76px;
    border-radius: 999px;
    background: #dcfce7;
    color: #166534;
    display: grid;
    place-items: center;
    font-size: 42px;
    font-weight: 900;
    margin: 0 auto 18px;
}

.success-card h1 {
    margin: 0 0 10px;
    font-size: 36px;
}

.success-card p {
    color: #6b7280;
    margin-bottom: 24px;
}

.order-info-box {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    background: #f9fafb;
    border-radius: 16px;
    padding: 16px;
    margin: 24px 0;
    text-align: left;
}

.order-info-box span {
    display: block;
    color: #6b7280;
    font-size: 13px;
    margin-bottom: 5px;
}

.success-items {
    text-align: left;
    margin-top: 16px;
}

.success-actions {
    margin-top: 26px;
}

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

    .checkout-summary-card {
        position: static;
    }

    .order-info-box {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 560px) {
    .form-grid-2,
    .order-info-box {
        grid-template-columns: 1fr;
    }
}
/* MINI CART HEADER */

.mini-cart-wrapper {
    position: relative;
}

.mini-cart-dropdown {
    position: absolute;
    right: 0;
    top: calc(100% + 12px);
    width: 360px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(17, 24, 39, .14);
    padding: 16px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: .2s ease;
    z-index: 100;
}

.mini-cart-wrapper:hover .mini-cart-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.mini-cart-dropdown::before {
    content: '';
    position: absolute;
    top: -12px;
    right: 22px;
    width: 24px;
    height: 24px;
    background: #fff;
    border-left: 1px solid #e5e7eb;
    border-top: 1px solid #e5e7eb;
    transform: rotate(45deg);
}

.mini-cart-items {
    max-height: 360px;
    overflow-y: auto;
    position: relative;
    z-index: 2;
}

.mini-cart-item {
    display: flex;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid #e5e7eb;
}

.mini-cart-item:first-child {
    padding-top: 0;
}

.mini-cart-img {
    width: 62px;
    height: 62px;
    border-radius: 10px;
    overflow: hidden;
    background: #f3f4f6;
    flex-shrink: 0;
}

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

.mini-cart-info {
    flex: 1;
    min-width: 0;
}

.mini-cart-title {
    display: block;
    font-weight: 800;
    font-size: 14px;
    line-height: 1.35;
    margin-bottom: 4px;
}

.mini-cart-variant,
.mini-cart-meta {
    display: block;
    color: #6b7280;
    font-size: 13px;
    line-height: 1.4;
}

.mini-cart-subtotal {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 16px 0;
    font-size: 15px;
    position: relative;
    z-index: 2;
}

.mini-cart-subtotal strong {
    font-size: 17px;
}

.mini-cart-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    position: relative;
    z-index: 2;
}

.mini-cart-buttons a {
    display: block;
    text-align: center;
    border-radius: 10px;
    padding: 12px 14px;
    font-weight: 900;
    font-size: 14px;
}

.mini-cart-buttons a:first-child {
    background: #f3f4f6;
    color: #111827;
}

.mini-cart-buttons a:last-child {
    background: #111827;
    color: #fff;
}

.mini-cart-empty {
    text-align: center;
    color: #6b7280;
    padding: 18px;
    position: relative;
    z-index: 2;
}

@media (max-width: 900px) {
    .mini-cart-dropdown {
        position: static;
        width: 100%;
        margin-top: 10px;
        opacity: 1;
        visibility: visible;
        transform: none;
        display: none;
    }

    .mini-cart-wrapper:hover .mini-cart-dropdown {
        display: block;
    }

    .mini-cart-dropdown::before {
        display: none;
    }
}
.mini-cart-info {
    position: relative;
    padding-right: 26px;
}

.mini-cart-remove {
    position: absolute;
    right: 0;
    top: 0;
    width: 22px;
    height: 22px;
    border-radius: 999px;
    background: #fee2e2;
    color: #991b1b;
    display: grid;
    place-items: center;
    font-weight: 900;
    line-height: 1;
}

.mini-cart-remove:hover {
    background: #fecaca;
}
.checkout-option:has(input:disabled) {
    opacity: 0.45;
    cursor: not-allowed;
}

.checkout-option input:disabled {
    cursor: not-allowed;
}
/* FIX SHOP FILTER ALIGNMENT */

.shop-layout {
    display: grid;
    grid-template-columns: 320px minmax(0, 1fr);
    gap: 28px;
    align-items: start;
}

.shop-sidebar,
.shop-content {
    min-width: 0;
}

.filter-card {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
}

.shop-filter-form input,
.shop-filter-form select,
.shop-filter-form button,
.shop-filter-form .clear-filter {
    width: 100%;
    max-width: 100%;
}

.filter-price-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 10px;
}

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

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

/* MOBILE HEADER + BOTTOM NAV - CLEAN VERSION */
.mobile-header-wrap,
.mobile-bottom-nav {
    display: none;
}

.desktop-header-wrap {
    display: block;
}

.mobile-dropdown-nav {
    display: none;
}

@media (max-width: 768px) {
    body {
        padding-bottom: 88px;
    }

    .top-bar {
        display: block;
        background: #0f172a;
        color: #fff;
        font-size: 13px;
        line-height: 1.4;
    }

    .top-bar-inner {
        min-height: auto;
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 8px;
        flex-wrap: wrap;
        text-align: center;
        padding: 10px 0;
    }

    .desktop-header-wrap {
        display: none !important;
    }

    .mobile-header-wrap {
        display: block !important;
        background: #fff;
        padding: 22px 0 20px;
        border-bottom: 1px solid #e5e7eb;
    }

    .mobile-logo-row {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 14px;
        margin-bottom: 20px;
    }

    .mobile-logo-row .logo {
        font-size: 34px;
        font-weight: 900;
        letter-spacing: -2px;
        color: #0f172a;
        line-height: 1;
    }

    .mobile-logo-row .logo span {
        color: #6b7280;
    }

    .mobile-menu-btn {
        width: 58px;
        height: 58px;
        min-width: 58px;
        border-radius: 16px;
        border: 1px solid #e2e8f0;
        background: #fff;
        display: flex !important;
        align-items: center;
        justify-content: center;
        color: #0f172a;
        cursor: pointer;
        box-shadow: 0 8px 20px rgba(15,23,42,.06);
    }

    .mobile-menu-btn svg {
        width: 28px;
        height: 28px;
        stroke-linecap: round;
        stroke-linejoin: round;
    }

    .mobile-search-row {
        margin-bottom: 16px;
    }

    .mobile-search-row .header-search {
        display: flex;
        width: 100%;
        max-width: none;
        border: 0;
        border-radius: 16px;
        overflow: visible;
        background: transparent;
    }

    .mobile-search-row .header-search input {
        flex: 1;
        min-width: 0;
        height: 58px;
        border: 1px solid #dbe2ea;
        border-right: 0;
        border-radius: 16px 0 0 16px;
        padding: 0 18px;
        font-size: 16px;
        background: #fff;
        color: #0f172a;
        outline: none;
    }

    .mobile-search-row .header-search button {
        width: 88px;
        height: 58px;
        border: 0;
        border-radius: 0 16px 16px 0;
        background: #0f172a;
        color: #fff;
        font-size: 15px;
        font-weight: 800;
        cursor: pointer;
    }

    .mobile-info-row {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 12px;
        align-items: center;
    }

    .mobile-header-cart,
    .mobile-socials {
        height: 58px;
        border: 1px solid #e5e7eb;
        border-radius: 16px;
        background: #fff;
        box-shadow: 0 8px 24px rgba(15,23,42,.05);
    }

    .mobile-header-cart {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 9px;
        color: #0f172a;
        font-weight: 800;
        font-size: 15px;
        text-decoration: none;
    }

    .mobile-header-cart svg {
        width: 23px;
        height: 23px;
        stroke-linecap: round;
        stroke-linejoin: round;
    }

    .mobile-header-cart strong {
        min-width: 25px;
        height: 25px;
        padding: 0 7px;
        border-radius: 999px;
        background: #0f172a;
        color: #fff;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 12px;
        line-height: 1;
    }

    .mobile-socials {
        display: flex;
        align-items: center;
        justify-content: space-around;
        padding: 0 10px;
    }

    .mobile-socials a {
        width: 34px;
        height: 34px;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #111827;
        text-decoration: none;
    }

    .mobile-socials svg {
        width: 22px;
        height: 22px;
    }

    .mobile-dropdown-nav {
        display: none !important;
        margin: 18px 16px 0;
        padding: 14px;
        background: #fff;
        border: 1px solid #e5e7eb;
        border-radius: 18px;
        box-shadow: 0 10px 30px rgba(15,23,42,.12);
    }

    .mobile-dropdown-nav.open {
        display: flex !important;
        flex-direction: column;
        gap: 10px;
    }

    .mobile-dropdown-nav a {
        min-height: 50px;
        display: flex;
        align-items: center;
        padding: 0 15px;
        border-radius: 12px;
        background: #f8fafc;
        color: #0f172a;
        font-size: 16px;
        font-weight: 700;
        text-decoration: none;
    }

    .mobile-dropdown-nav a.active {
        background: #0f172a;
        color: #fff;
    }

    .mobile-bottom-nav {
        position: fixed;
        left: 12px;
        right: 12px;
        bottom: 12px;
        height: 62px;
        background: #fff;
        border-radius: 18px;
        display: flex !important;
        align-items: center;
        justify-content: space-around;
        z-index: 99999;
        box-shadow: 0 5px 25px rgba(0,0,0,.12);
    }

    .mobile-bottom-nav a {
        width: 25%;
        height: 62px;
        display: flex;
        align-items: center;
        justify-content: center;
        position: relative;
        color: #777;
        transition: .2s ease;
    }

    .mobile-bottom-nav a.active {
        color: #111;
    }

    .mobile-bottom-nav svg {
        width: 24px;
        height: 24px;
        stroke-linecap: round;
        stroke-linejoin: round;
    }

    .mobile-bottom-cart strong {
        position: absolute;
        top: 10px;
        right: 22%;
        background: #111;
        color: #fff;
        min-width: 17px;
        height: 17px;
        border-radius: 50%;
        font-size: 10px;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 0 4px;
        font-weight: 600;
    }
}
