﻿:root {
    --rowe-red: #e4170f;
    --rowe-blue: #004b9c;
    --rowe-dark: #111111;
    --rowe-gray: #f5f5f5;
    --rowe-text: #222222;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    color: var(--rowe-text);
    background-color: #ffffff;
}

/* HEADER */
.rowe-header {
    background-color: #ffffff;
    border-bottom: 1px solid #e5e5e5;
}

.site-logo {
    height: 58px;
    width: auto;
    object-fit: contain;
    max-width: 240px;
}

/* NAV */
.rowe-navbar {
    background-color: var(--rowe-dark);
}

    .rowe-navbar .nav-link {
        color: #ffffff;
        font-weight: 600;
        text-transform: uppercase;
        font-size: 0.9rem;
    }

        .rowe-navbar .nav-link:hover {
            color: var(--rowe-red);
        }

/* Modern Navbar Icons */
.modern-nav-icon {
    font-size: 1.5rem;
    color: #111111 !important;
    transition: all 0.2s ease;
}

    .modern-nav-icon:hover {
        color: var(--rowe-red) !important;
        transform: translateY(-1px);
    }

/* HERO */
.rowe-hero {
    position: relative;
    width: 100%;
    height: 560px;
    min-height: 420px;
    overflow: hidden;
    display: flex;
    align-items: center;
    background-color: #000000;
}

.hero-slider {
    position: absolute;
    inset: 0;
    z-index: 0;
    background-color: #000000;
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1.4s ease-in-out;
    background-position: center center;
    background-repeat: no-repeat;
    background-color: #000000;
    z-index: 0;
}

    .hero-slide.active {
        opacity: 1;
        z-index: 1;
    }

    .hero-slide.image-slide {
        background-size: contain;
    }

    .hero-slide.video-slide {
        overflow: hidden;
    }

.hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    background-color: #000000;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient( 90deg, rgba(0,0,0,0.62) 0%, rgba(0,0,0,0.40) 35%, rgba(0,0,0,0.16) 65%, rgba(0,0,0,0.04) 100% );
    z-index: 2;
    pointer-events: none;
}

.rowe-hero .container {
    position: relative;
    z-index: 3;
}

.rowe-hero-content {
    position: relative;
    z-index: 4;
    max-width: 540px;
    padding-left: 40px;
    padding-top: 40px;
}

.rowe-hero-label {
    color: #ff2a1b;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 1rem;
    display: block;
}

.rowe-hero-title {
    color: #ffffff;
    font-size: clamp(2.8rem, 5vw, 4.2rem);
    font-weight: 800;
    line-height: 0.92;
    letter-spacing: -2px;
    margin-bottom: 1.4rem;
    text-shadow: 0 4px 16px rgba(0,0,0,0.25);
}

.rowe-hero-subtitle {
    color: rgba(255,255,255,0.94);
    font-size: 1.15rem;
    line-height: 1.7;
    margin-bottom: 2rem;
    max-width: 480px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.25);
}

/* BUTTONS */
.btn-rowe {
    background-color: var(--rowe-red);
    color: #ffffff;
    border: 2px solid var(--rowe-red);
    font-weight: 700;
    text-transform: uppercase;
    padding: 0.8rem 1.4rem;
}

    .btn-rowe:hover {
        background-color: #c9140d;
        border-color: #c9140d;
        color: #ffffff;
    }

.btn-rowe-outline {
    background-color: transparent;
    color: #ffffff;
    border: 2px solid #ffffff;
    font-weight: 700;
    text-transform: uppercase;
    padding: 0.8rem 1.4rem;
}

    .btn-rowe-outline:hover {
        background-color: #ffffff;
        color: var(--rowe-dark);
    }

/* SECTIONS */
.rowe-section {
    padding: 70px 0;
}

.rowe-section-title {
    font-weight: 900;
    text-transform: uppercase;
    color: var(--rowe-dark);
}

    .rowe-section-title::after {
        content: "";
        display: block;
        width: 70px;
        height: 5px;
        background-color: var(--rowe-red);
        margin-top: 14px;
    }

/* CATEGORY CARDS */
.rowe-category-card {
    border: 1px solid #e5e5e5;
    background-color: #ffffff;
    transition: all 0.2s ease-in-out;
    height: 100%;
}

    .rowe-category-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 12px 28px rgba(0,0,0,0.12);
    }

    .rowe-category-card img {
        height: 170px;
        object-fit: contain;
        padding: 22px;
    }

    .rowe-category-card .card-title {
        font-weight: 800;
        text-transform: uppercase;
        font-size: 1rem;
    }

/* DARK BAND */
.rowe-performance-band {
    background-color: var(--rowe-dark);
    color: #ffffff;
    padding: 55px 0;
}

    .rowe-performance-band strong {
        color: var(--rowe-red);
    }

/* PRODUCT DETAIL */
.product-main-image-container {
    width: 100%;
    height: 600px;
    background: #f8f9fa;
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-main-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 20px;
}

.product-thumbnails-container {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.product-thumbnail {
    width: 90px;
    height: 90px;
    object-fit: cover;
    border-radius: 12px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.2s ease;
}

    .product-thumbnail:hover {
        transform: scale(1.03);
    }

.active-thumbnail {
    border-color: #212529;
    box-shadow: 0 0 0 3px rgba(0,0,0,0.08);
}

.product-quantity-control {
    width: 150px;
    flex-wrap: nowrap;
}

    .product-quantity-control .form-control {
        text-align: center;
        font-weight: 600;
    }

.product-purchase-section .btn {
    min-height: 48px;
    border-radius: 0;
    font-weight: 600;
}

/* LOGIN */
.login-page-container {
    min-height: calc(100vh - 120px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.login-card {
    width: 100%;
    max-width: 460px;
    background: white;
    border-radius: 24px;
    padding: 50px;
}

.login-logo {
    height: 42px;
    width: auto;
    object-fit: contain;
}

.login-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.login-input {
    min-height: 52px;
    border-radius: 12px;
    padding-left: 16px;
}

.login-button {
    min-height: 52px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
}

/* UPLOAD DROP ZONE */
.upload-drop-zone {
    border: 2px dashed #d0d0d0;
    border-radius: 24px;
    padding: 50px;
    text-align: center;
    background: #fafafa;
    transition: all 0.25s ease;
    cursor: pointer;
}

    .upload-drop-zone:hover {
        border-color: #111111;
        background: #f5f5f5;
    }

    .upload-drop-zone.dragover {
        border-color: #dc3545;
        background: rgba(220,53,69,0.06);
    }

.upload-icon {
    font-size: 3rem;
    color: #111111;
}

.preview-image-card {
    position: relative;
}

.preview-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 18px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.preview-remove {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: none;
    background: rgba(0,0,0,0.75);
    color: white;
    font-weight: bold;
}

/* EMPTY CART */
.empty-cart-icon {
    font-size: 5rem;
    color: #dc3545;
}

/* FOOTER */
.rowe-footer {
    background-color: #050505;
    color: #ffffff;
    padding: 35px 0;
}

    .rowe-footer a {
        color: #ffffff;
        text-decoration: none;
    }

        .rowe-footer a:hover {
            color: var(--rowe-red);
        }

/* RESPONSIVE */
@media (max-width: 1200px) {
    .rowe-hero-title {
        font-size: 3.5rem;
    }
}

@media (max-width: 768px) {
    .site-logo {
        height: 44px;
    }

    .rowe-hero {
        height: 480px;
        min-height: 420px;
    }

    .rowe-hero-content {
        padding-left: 24px;
        padding-right: 24px;
        max-width: 100%;
    }

    .rowe-hero-title {
        font-size: 2.5rem;
        line-height: 1;
    }

    .rowe-hero-subtitle {
        font-size: 1rem;
    }

    .product-main-image-container {
        height: 420px;
    }
}

.rowe-cart-badge {
    position: absolute;
    top: -4px;
    right: -10px;
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    border-radius: 999px;
    background: #d6001c;
    color: white;
    font-size: 11px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.cart-page {
    min-height: 70vh;
}

.cart-title {
    font-size: 2rem;
    font-weight: 700;
}

.cart-item {
    display: flex;
    gap: 24px;
    padding: 24px 0;
    border-bottom: 1px solid #eee;
}

.cart-item-image {
    width: 120px;
    min-width: 120px;
}

    .cart-item-image img {
        width: 100%;
        border-radius: 10px;
    }

.cart-item-info {
    flex: 1;
}

.cart-item-title {
    font-size: 1.1rem;
    font-weight: 600;
}

.cart-item-price {
    color: #666;
}

.cart-item-total {
    font-weight: 700;
    white-space: nowrap;
}

.cart-summary {
    position: sticky;
    top: 120px;
    padding: 30px;
    border: 1px solid #eee;
    border-radius: 16px;
    background: #fff;
}

.cart-quantity {
    display: flex;
    align-items: center;
    border: 1px solid #ddd;
    border-radius: 999px;
    overflow: hidden;
}

    .cart-quantity button {
        width: 36px;
        height: 36px;
        border: none;
        background: white;
        font-size: 18px;
    }

    .cart-quantity span {
        width: 40px;
        text-align: center;
    }

.cart-remove-btn {
    border: none;
    background: none;
    color: #999;
    font-size: 14px;
}

.cart-empty {
    padding: 80px 20px;
    text-align: center;
}

.cart-empty-icon {
    font-size: 64px;
    color: #ccc;
}

@media (max-width: 991px) {
    .cart-summary {
        margin-top: 40px;
        position: static;
    }

    .cart-item {
        flex-direction: column;
    }

    .cart-item-image {
        width: 100%;
        max-width: 220px;
    }

    .cart-item-total {
        margin-top: 12px;
    }
}


.checkout-page {
    min-height: 70vh;
}

.checkout-title {
    font-size: 2rem;
    font-weight: 700;
}

.checkout-card {
    padding: 28px;
    border: 1px solid #eee;
    border-radius: 16px;
    background: #fff;
}

    .checkout-card h4,
    .checkout-summary h4 {
        font-weight: 650;
    }

.checkout-summary {
    position: sticky;
    top: 120px;
    padding: 30px;
    border: 1px solid #eee;
    border-radius: 16px;
    background: #fff;
}

.checkout-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid #f0f0f0;
}

    .checkout-item img {
        width: 72px;
        height: 72px;
        object-fit: contain;
        border-radius: 10px;
        background: #fafafa;
    }

.checkout-item-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

    .checkout-item-info span {
        color: #777;
        font-size: 14px;
    }

.checkout-item-total {
    font-weight: 700;
    white-space: nowrap;
}

.payment-placeholder {
    padding: 20px;
    border: 1px dashed #ccc;
    border-radius: 12px;
    background: #fafafa;
}

.checkout-empty {
    padding: 60px 20px;
    border: 1px solid #eee;
    border-radius: 16px;
    text-align: center;
}

@media (max-width: 991px) {
    .checkout-summary {
        position: static;
        margin-top: 30px;
    }
}

.products-toolbar {
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.search-box {
    position: relative;
}

    .search-box i {
        position: absolute;
        top: 50%;
        left: 16px;
        transform: translateY(-50%);
        color: #999;
    }

    .search-box input {
        padding-left: 44px;
        height: 50px;
        border-radius: 12px;
    }

.products-toolbar .form-select {
    height: 50px;
    border-radius: 12px;
}

.products-toolbar .btn {
    height: 50px;
    border-radius: 12px;
}

.clear-filters-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-weight: 500;
}

.product-card-actions {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.product-view-btn {
    flex: 1;
    border-radius: 12px;
}

.product-cart-btn {
    width: 52px;
    border-radius: 12px;
}

.rowe-toast {
    position: fixed;
    top: 100px;
    right: 24px;
    z-index: 5000;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 20px;
    border-radius: 14px;
    background: #1f252d;
    color: white;
    box-shadow: 0 10px 30px rgba(0,0,0,.12);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity .25s ease, transform .25s ease, visibility .25s;
}

    .rowe-toast.show {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

.rowe-toast-icon {
    font-size: 20px;
    color: #39d98a;
}

.products-sidebar {
    position: sticky;
    top: 120px;
}

.products-sidebar-title {
    margin-bottom: 22px;
    font-size: 1.1rem;
    font-weight: 700;
}

.category-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.category-link {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    border-radius: 12px;
    color: #333;
    text-decoration: none;
    transition: background .2s ease, color .2s ease;
}

    .category-link:hover {
        background: #f5f5f5;
        color: #000;
    }

    .category-link.active {
        background: #111;
        color: white;
    }

@media (max-width: 991px) {
    .products-sidebar {
        position: static;
        margin-bottom: 30px;
    }

    .category-list {
        flex-direction: row;
        overflow-x: auto;
        padding-bottom: 10px;
    }

    .category-link {
        white-space: nowrap;
    }
}


.pagination {
    gap: 8px;
}

.page-link {
    border: none;
    min-width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    color: #111;
    font-weight: 500;
    transition: all .2s ease;
}

    .page-link:hover {
        background: #f5f5f5;
        color: #000;
    }

.page-item.active .page-link {
    background: #111;
    color: white;
}

.page-item.disabled .page-link {
    opacity: .4;
}

.product-main-image-container {
    overflow: hidden;
    border-radius: 18px;
    background: #f8f9fa;
    border: 1px solid #e5e5e5;
}

.product-main-image {
    width: 100%;
    max-height: 620px;
    object-fit: contain;
    transition: transform .35s ease;
    cursor: zoom-in;
}

.product-main-image-container:hover .product-main-image {
    transform: scale(1.45);
}

.product-thumbnails-container {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.product-thumbnail {
    width: 84px;
    height: 84px;
    object-fit: contain;
    border: 1px solid #ddd;
    border-radius: 12px;
    padding: 6px;
    cursor: pointer;
    background: #fff;
}

    .product-thumbnail.active-thumbnail {
        border: 2px solid #111;
    }

.product-title {
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 800;
}

.product-price {
    font-size: 1.8rem;
    font-weight: 800;
}

.product-quantity-control {
    width: 150px;
}

.product-related-card {
    border-radius: 16px;
    overflow: hidden;
    transition: transform .2s ease, box-shadow .2s ease;
}

    .product-related-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 .75rem 1.5rem rgba(0,0,0,.12) !important;
    }

.product-related-image-wrapper {
    background: #f8f9fa;
    height: 210px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-related-image {
    max-height: 190px;
    object-fit: contain;
    padding: 16px;
}

.product-card-image {
    width: 100%;
    height: 320px;
    object-fit: contain;
    object-position: center;
    background-color: #f8f9fa;
    padding: 12px;
}

.admin-page-title {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.admin-page-subtitle {
    color: #666;
    margin-bottom: 0;
}

.admin-dashboard-card {
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 16px;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: all 0.25s ease;
    height: 100%;
    color: #111;
}

    .admin-dashboard-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 10px 30px rgba(0,0,0,0.08);
        border-color: #d00000;
    }

    .admin-dashboard-card.disabled {
        opacity: 0.65;
        cursor: default;
    }

        .admin-dashboard-card.disabled:hover {
            transform: none;
            box-shadow: none;
            border-color: #e5e5e5;
        }

.admin-dashboard-icon {
    font-size: 2rem;
    color: #d00000;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 60px;
}

.admin-dashboard-content h5 {
    margin-bottom: 0.4rem;
    font-weight: 600;
}

.admin-dashboard-content p {
    margin: 0;
    color: #666;
    font-size: 0.95rem;
}

.btn-rowe-selected {
    background-color: #e30613;
    border-color: #e30613;
    color: white;
}

.mini-cart-product-name {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* HERO MOBILE FINAL ADJUSTMENTS */
@media (max-width: 575px) {
    .rowe-hero {
        height: 420px;
        min-height: 380px;
    }

    .hero-slide.image-slide {
        background-size: cover;
    }

    .hero-overlay {
        background: rgba(0,0,0,0.58);
    }
}


/* =========================================================
   REGISTER PAGE - ROWE MODERN DESIGN
   Agregar al final de rowe-site.css
   ========================================================= */

.register-page-container {
    min-height: calc(100vh - 150px);
    padding: 56px 20px;
    background: radial-gradient(circle at top left, rgba(228, 23, 15, 0.08), transparent 34%), linear-gradient(135deg, #f7f7f7 0%, #ffffff 48%, #f1f1f1 100%);
}

.register-shell {
    width: 100%;
    max-width: 1180px;
    min-height: 690px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.06fr 0.94fr;
    background: #ffffff;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.12);
    border: 1px solid rgba(0, 0, 0, 0.06);
}

.register-visual-panel {
    position: relative;
    min-height: 690px;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.78), rgba(0, 0, 0, 0.28)), url('/images/hero/rowe-hero-1.jpg');
    background-size: cover;
    background-position: center center;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
}

    .register-visual-panel::before {
        content: "";
        position: absolute;
        inset: auto -12% -35% auto;
        width: 430px;
        height: 430px;
        border-radius: 50%;
        background: rgba(228, 23, 15, 0.88);
        filter: blur(0.5px);
    }

    .register-visual-panel::after {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(120deg, rgba(0, 0, 0, 0.72) 0%, rgba(0, 0, 0, 0.34) 58%, rgba(228, 23, 15, 0.10) 100%);
    }

.register-visual-content {
    position: relative;
    z-index: 2;
    padding: 54px;
    color: #ffffff;
    max-width: 600px;
}

.register-brand-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    margin-bottom: 28px;
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(12px);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.register-visual-content h1 {
    margin: 0 0 20px;
    font-size: clamp(2.6rem, 4.2vw, 4.7rem);
    line-height: 0.95;
    font-weight: 900;
    letter-spacing: -2px;
    text-transform: uppercase;
}

.register-visual-content p {
    max-width: 500px;
    margin: 0;
    color: rgba(255, 255, 255, 0.86);
    font-size: 1.08rem;
    line-height: 1.75;
}

.register-benefits {
    display: grid;
    gap: 16px;
    margin-top: 36px;
}

.register-benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 16px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(10px);
}

    .register-benefit-item span {
        width: 28px;
        min-width: 28px;
        height: 28px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        background: var(--rowe-red);
        color: #ffffff;
        font-weight: 900;
        font-size: 0.95rem;
    }

    .register-benefit-item strong {
        display: block;
        margin-bottom: 4px;
        font-size: 0.98rem;
    }

    .register-benefit-item small {
        display: block;
        color: rgba(255, 255, 255, 0.72);
        line-height: 1.45;
    }

.register-form-panel {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 54px;
    background: linear-gradient(180deg, #ffffff 0%, #fbfbfb 100%);
}

.register-card {
    width: 100%;
    max-width: 460px;
}

.register-card-header {
    margin-bottom: 30px;
}

.register-kicker {
    display: inline-block;
    margin-bottom: 12px;
    color: var(--rowe-red);
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 2.4px;
    text-transform: uppercase;
}

.register-card-header h2 {
    margin: 0 0 10px;
    color: #111111;
    font-size: 2.45rem;
    line-height: 1.1;
    font-weight: 850;
    letter-spacing: -1px;
}

.register-card-header p {
    margin: 0;
    color: #666666;
    font-size: 1rem;
    line-height: 1.6;
}

.register-form {
    width: 100%;
}

.register-floating {
    position: relative;
}

.register-input {
    min-height: 58px;
    border-radius: 16px;
    border: 1px solid #dedede;
    background-color: #f9f9f9;
    font-weight: 500;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

    .register-input:focus {
        border-color: var(--rowe-red);
        background-color: #ffffff;
        box-shadow: 0 0 0 4px rgba(228, 23, 15, 0.10);
    }

.register-floating > label {
    color: #777777;
    padding-left: 18px;
}

.register-validation-summary {
    margin-bottom: 18px;
    padding: 14px 16px;
    border-radius: 14px;
    background: rgba(228, 23, 15, 0.08);
    color: #b00000;
    font-size: 0.92rem;
}

    .register-validation-summary:empty {
        display: none;
    }

.register-validation-message {
    display: block;
    margin-top: 7px;
    font-size: 0.86rem;
}

.register-password-hint {
    margin: -2px 0 20px;
    color: #777777;
    font-size: 0.88rem;
}

.register-submit-btn {
    width: 100%;
    min-height: 56px;
    border: none;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--rowe-red) 0%, #b90000 100%);
    color: #ffffff;
    font-size: 1rem;
    font-weight: 850;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    box-shadow: 0 16px 28px rgba(228, 23, 15, 0.25);
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

    .register-submit-btn:hover {
        color: #ffffff;
        transform: translateY(-2px);
        box-shadow: 0 20px 34px rgba(228, 23, 15, 0.34);
        filter: brightness(0.98);
    }

    .register-submit-btn:active {
        transform: translateY(0);
    }

.register-login-link {
    margin-top: 22px;
    color: #666666;
    text-align: center;
    font-size: 0.95rem;
}

    .register-login-link a {
        color: var(--rowe-red);
        font-weight: 800;
        text-decoration: none;
    }

        .register-login-link a:hover {
            text-decoration: underline;
        }

.register-external-section {
    margin-top: 28px;
}

.register-divider {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 24px 0;
    color: #888888;
    font-size: 0.86rem;
}

    .register-divider::before {
        content: "";
        position: absolute;
        left: 0;
        right: 0;
        height: 1px;
        background: #e6e6e6;
    }

    .register-divider span {
        position: relative;
        z-index: 1;
        padding: 0 14px;
        background: #ffffff;
    }

.register-external-form {
    display: grid;
    gap: 12px;
}

.register-external-btn {
    min-height: 50px;
    border-radius: 14px;
    border: 1px solid #dddddd;
    background: #ffffff;
    color: #222222;
    font-weight: 700;
}

    .register-external-btn:hover {
        background: #f5f5f5;
        border-color: #cfcfcf;
    }

/* Responsive */
@media (max-width: 991px) {
    .register-page-container {
        padding: 34px 16px;
    }

    .register-shell {
        grid-template-columns: 1fr;
        max-width: 620px;
        min-height: auto;
        border-radius: 24px;
    }

    .register-visual-panel {
        min-height: 360px;
    }

    .register-visual-content {
        padding: 36px;
    }

    .register-benefits {
        display: none;
    }

    .register-form-panel {
        padding: 38px 28px;
    }
}

@media (max-width: 575px) {
    .register-page-container {
        padding: 20px 12px;
    }

    .register-shell {
        border-radius: 20px;
    }

    .register-visual-panel {
        min-height: 300px;
    }

    .register-visual-content {
        padding: 28px;
    }

        .register-visual-content h1 {
            font-size: 2.25rem;
            letter-spacing: -1px;
        }

        .register-visual-content p {
            font-size: 0.96rem;
        }

    .register-form-panel {
        padding: 30px 20px;
    }

    .register-card-header h2 {
        font-size: 2rem;
    }

    .register-input {
        min-height: 54px;
        border-radius: 14px;
    }

    .register-submit-btn {
        min-height: 54px;
        border-radius: 14px;
    }
}

/* =========================================================
   ACCOUNT / ORDERS PAGES
   ========================================================= */

.account-page,
.orders-page {
    min-height: 70vh;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.account-header {
    max-width: 720px;
}

.account-label {
    display: inline-block;
    margin-bottom: 10px;
    color: var(--rowe-red);
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.account-header h1 {
    font-size: clamp(2.2rem, 4vw, 3.4rem);
    font-weight: 900;
    letter-spacing: -1px;
    color: #111;
    margin-bottom: 10px;
}

.account-header p {
    color: #666;
    font-size: 1.05rem;
    line-height: 1.6;
}

.account-card {
    height: 100%;
    background: #fff;
    border: 1px solid #ececec;
    border-radius: 24px;
    padding: 32px;
    box-shadow: 0 14px 40px rgba(0,0,0,0.04);
}

.account-profile-card {
    text-align: center;
}

.account-avatar {
    width: 96px;
    height: 96px;
    margin: 0 auto 20px;
    border-radius: 50%;
    background: #111;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .account-avatar i {
        font-size: 56px;
    }

.account-profile-card h4 {
    font-weight: 800;
    word-break: break-word;
}

.account-info-row {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 18px 0;
    border-bottom: 1px solid #f0f0f0;
}

    .account-info-row:last-child {
        border-bottom: none;
    }

    .account-info-row span {
        color: #777;
    }

    .account-info-row strong {
        color: #111;
        text-align: right;
        word-break: break-word;
    }

.orders-empty-card {
    max-width: 720px;
    margin: 0 auto;
    padding: 60px 40px;
    text-align: center;
    background: #fff;
    border: 1px solid #ececec;
    border-radius: 28px;
    box-shadow: 0 18px 50px rgba(0,0,0,0.05);
}

.orders-empty-icon {
    width: 96px;
    height: 96px;
    margin: 0 auto 24px;
    border-radius: 50%;
    background: rgba(228,23,15,0.08);
    color: var(--rowe-red);
    display: flex;
    align-items: center;
    justify-content: center;
}

    .orders-empty-icon i {
        font-size: 48px;
    }

.orders-empty-card h3 {
    font-weight: 850;
    color: #111;
}

.orders-empty-card p {
    max-width: 480px;
    margin: 12px auto 0;
    color: #666;
    line-height: 1.6;
}

@media (max-width: 575px) {
    .account-card,
    .orders-empty-card {
        padding: 26px 20px;
        border-radius: 20px;
    }

    .account-info-row {
        flex-direction: column;
        gap: 6px;
    }

        .account-info-row strong {
            text-align: left;
        }
}

/* =========================================================
   ADMIN USERS - CREATE USER
   ========================================================= */

.admin-users-page {
    min-height: 75vh;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.admin-form-card {
    background: #fff;
    border: 1px solid #ececec;
    border-radius: 24px;
    padding: 34px;
    box-shadow: 0 18px 45px rgba(0,0,0,0.05);
}

.admin-form-header {
    max-width: 720px;
}

.admin-back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #555;
    text-decoration: none;
    font-weight: 600;
}

    .admin-back-link:hover {
        color: var(--rowe-red);
    }

.admin-input {
    min-height: 52px;
    border-radius: 14px;
    border-color: #e1e1e1;
}

    .admin-input:focus {
        border-color: #111;
        box-shadow: 0 0 0 0.2rem rgba(17,17,17,0.08);
    }

.role-help-box {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 18px;
    border-radius: 18px;
    background: #f8f9fa;
    border: 1px solid #ececec;
}

    .role-help-box div {
        display: flex;
        flex-direction: column;
        gap: 2px;
    }

    .role-help-box strong {
        color: #111;
        font-size: 0.95rem;
    }

    .role-help-box span {
        color: #666;
        font-size: 0.88rem;
        line-height: 1.4;
    }

@media (max-width: 575px) {
    .admin-form-card {
        padding: 24px 18px;
        border-radius: 20px;
    }
}

/* =========================================================
   ADMIN USERS LIST
   ========================================================= */

.admin-users-card {
    background: #fff;
    border: 1px solid #ececec;
    border-radius: 24px;
    box-shadow: 0 18px 45px rgba(0,0,0,0.05);
    overflow: hidden;
}

.admin-users-table thead {
    background: #111;
    color: #fff;
}

.admin-users-table th {
    padding: 18px 22px;
    font-size: 0.78rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    border: none;
}

.admin-users-table td {
    padding: 20px 22px;
    border-color: #f0f0f0;
    color: #333;
}

.admin-users-table tbody tr:hover {
    background: #fafafa;
}

.user-table-main {
    display: flex;
    align-items: center;
    gap: 14px;
}

.user-table-avatar {
    width: 42px;
    height: 42px;
    min-width: 42px;
    border-radius: 50%;
    background: #111;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.user-table-main strong {
    display: block;
    color: #111;
    font-weight: 800;
    word-break: break-word;
}

.user-table-main span {
    display: block;
    color: #777;
    font-size: 0.9rem;
    word-break: break-word;
}

.role-badge {
    display: inline-flex;
    align-items: center;
    padding: 6px 11px;
    margin: 3px;
    border-radius: 999px;
    background: rgba(228,23,15,0.08);
    color: var(--rowe-red);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    padding: 6px 11px;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
}

.status-active {
    background: rgba(25,135,84,0.1);
    color: #198754;
}

.status-pending {
    background: rgba(255,193,7,0.15);
    color: #9a6a00;
}

.admin-empty-icon {
    font-size: 4rem;
    color: #ccc;
}

.user-summary-box {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    border-radius: 18px;
    background: #f8f9fa;
}

.user-summary-icon {
    width: 56px;
    height: 56px;
    min-width: 56px;
    border-radius: 50%;
    background: #111;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .user-summary-icon i {
        font-size: 32px;
    }

.user-summary-box h5 {
    margin-bottom: 2px;
    font-weight: 800;
    word-break: break-word;
}

.user-summary-box span {
    color: #666;
    font-size: 0.95rem;
    word-break: break-word;
}

@media (max-width: 575px) {
    .admin-users-table th,
    .admin-users-table td {
        padding: 16px;
    }

    .user-table-main {
        align-items: flex-start;
    }
}

.role-badge-customer {
    background: rgba(13, 110, 253, 0.08);
    color: #0d6efd;
}

/* =========================================================
   ACCESS DENIED
   ========================================================= */

.access-denied-page {
    min-height: 70vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.access-denied-card {
    background: #fff;
    border: 1px solid #ececec;
    border-radius: 28px;
    padding: 56px 40px;
    box-shadow: 0 18px 50px rgba(0,0,0,0.05);
}

.access-denied-icon {
    width: 96px;
    height: 96px;
    margin: 0 auto 24px;
    border-radius: 50%;
    background: rgba(228,23,15,0.08);
    color: var(--rowe-red);
    display: flex;
    align-items: center;
    justify-content: center;
}

    .access-denied-icon i {
        font-size: 48px;
    }

.access-denied-card h1 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 900;
    color: #111;
    margin-bottom: 14px;
}

.access-denied-card p {
    max-width: 520px;
    margin: 0 auto;
    color: #666;
    font-size: 1.05rem;
    line-height: 1.6;
}

@media (max-width: 575px) {
    .access-denied-card {
        padding: 40px 22px;
        border-radius: 22px;
    }
}

.rowe-category-card {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

    .rowe-category-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 0.75rem 1.5rem rgba(0, 0, 0, 0.12) !important;
    }

.category-image {
    height: 180px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.category-icon {
    position: absolute;
    top: 20px;
    left: 20px;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background-color: #212529;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.rowe-image-upload {
    border: 2px dashed #ced4da;
    border-radius: 1rem;
    background-color: #f8f9fa;
    padding: 1rem;
    transition: border-color 0.2s ease, background-color 0.2s ease;
}

.rowe-image-upload-active {
    border-color: #212529;
    background-color: #ffffff;
}

.rowe-image-upload img {
    width: 100%;
    max-height: 220px;
    object-fit: cover;
}
/* =========================================================
   HOME CATEGORY CARDS
   ========================================================= */

.home-category-image-wrapper {
    width: 100%;
    height: 180px;
    border-radius: 18px;
    background: #f8f9fa;
    border: 1px solid #eeeeee;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.home-category-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    padding: 12px;
}

/* =========================================================
   HOME CATEGORY CARDS - IMAGE BACKGROUND
   ========================================================= */

.home-category-card-v2 {
    position: relative;
    display: block;
    min-height: 320px;
    height: 100%;
    border-radius: 24px;
    overflow: hidden;
    background: #111;
    box-shadow: 0 14px 36px rgba(0,0,0,0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

    .home-category-card-v2:hover {
        transform: translateY(-5px);
        box-shadow: 0 22px 48px rgba(0,0,0,0.16);
    }

.home-category-card-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transform: scale(1.02);
    transition: transform 0.35s ease;
}

.home-category-card-v2:hover .home-category-card-bg {
    transform: scale(1.08);
}

.home-category-card-fallback {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #202020 0%, #050505 100%);
    color: rgba(255,255,255,0.18);
    display: flex;
    align-items: center;
    justify-content: center;
}

    .home-category-card-fallback i {
        font-size: 7rem;
    }

.home-category-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient( 180deg, rgba(0,0,0,0.08) 0%, rgba(0,0,0,0.35) 42%, rgba(0,0,0,0.82) 100% );
    z-index: 1;
}

.home-category-card-content {
    position: relative;
    z-index: 2;
    height: 100%;
    min-height: 320px;
    padding: 28px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    color: #fff;
}

.home-category-card-label {
    display: inline-block;
    margin-bottom: 10px;
    color: var(--rowe-red);
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.home-category-card-content h3 {
    margin-bottom: 10px;
    color: #fff;
    font-size: 1.45rem;
    line-height: 1.1;
    font-weight: 900;
    text-transform: uppercase;
    text-shadow: 0 3px 14px rgba(0,0,0,0.35);
}

.home-category-card-content p {
    margin-bottom: 18px;
    color: rgba(255,255,255,0.84);
    font-size: 0.98rem;
    line-height: 1.45;
}

.home-category-card-link {
    display: inline-flex;
    align-items: center;
    color: #fff;
    font-weight: 800;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
}

.home-category-card-v2:hover .home-category-card-link {
    color: var(--rowe-red);
}

@media (max-width: 575px) {
    .home-category-card-v2,
    .home-category-card-content {
        min-height: 260px;
    }

    .home-category-card-content {
        padding: 22px;
    }

        .home-category-card-content h3 {
            font-size: 1.25rem;
        }
}

/* =========================================================
   PRODUCT LIST - COMPACT CART CONTROLS
   ========================================================= */

.product-card-bottom {
    margin-top: auto;
    padding-top: 14px;
}

.product-card-price-row {
    width: 100%;
    text-align: center;
    margin-bottom: 14px;
}

.product-card-price {
    display: inline-block;
    color: #2b2f33;
    font-size: 1.45rem;
    font-weight: 900;
    letter-spacing: 0.2px;
}

.product-card-cart-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
}

.product-card-quantity-control {
    width: 160px;
    flex-wrap: nowrap;
}

    .product-card-quantity-control .btn {
        width: 44px;
        height: 44px;
        border-radius: 12px;
        font-weight: 900;
        padding: 0;
        line-height: 1;
    }

    .product-card-quantity-control .form-control {
        height: 44px;
        border-radius: 12px;
        font-weight: 900;
        text-align: center;
        padding-left: 4px;
        padding-right: 4px;
    }

    .product-card-quantity-control input[type="number"]::-webkit-inner-spin-button,
    .product-card-quantity-control input[type="number"]::-webkit-outer-spin-button {
        -webkit-appearance: none;
        margin: 0;
    }

    .product-card-quantity-control input[type="number"] {
        -moz-appearance: textfield;
    }

.product-cart-btn {
    width: 54px;
    min-width: 54px;
    height: 44px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    padding: 0;
}

    .product-cart-btn i {
        font-size: 1.15rem;
    }

.product-view-btn {
    border-radius: 12px;
    font-weight: 700;
}

@media (max-width: 575px) {
    .product-card-cart-row {
        gap: 8px;
    }

    .product-card-quantity-control {
        width: 150px;
    }

        .product-card-quantity-control .btn,
        .product-card-quantity-control .form-control,
        .product-cart-btn {
            height: 42px;
        }

    .product-cart-btn {
        width: 50px;
        min-width: 50px;
    }
}