/* ================================================
   BARRIS DO DOURO - ESTILOS MINHA LISTA
   ================================================ */

/* Google Translate Override */
.skiptranslate { display: none !important; }
body { top: 0 !important; }

/* Reset Global */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

html, body {
    background: #0a0f0d;
    color: #fff;
    font-family: 'Inter', sans-serif;
    height: 100%;
    overflow-x: hidden;
}

/* ================================================
   HEADER
   ================================================ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    background: #0a0f0d;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.header-left {
    display: flex;
    align-items: center;
    gap: 16px;
}

.back-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255,255,255,0.1);
    cursor: pointer;
    transition: all 0.2s ease;
    color: #fff;
    flex-shrink: 0;
}

.back-btn:active {
    transform: scale(0.95);
    background: rgba(255,255,255,0.15);
}

.back-btn svg {
    width: 22px;
    height: 22px;
    stroke: #fff;
}

.header-title {
    font-size: 20px;
    font-weight: 600;
    color: #8f633f;
}

/* ================================================
   CONTAINER
   ================================================ */
.container {
    padding: 80px 20px 160px;
    min-height: 100vh;
}

/* ================================================
   EMPTY STATE
   ================================================ */
.empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: calc(100vh - 170px);
    text-align: center;
    padding: 40px 20px;
}

.empty-icon {
    width: 120px;
    height: 120px;
    background: rgba(255,255,255,0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.empty-icon svg {
    width: 60px;
    height: 60px;
    fill: rgba(255,255,255,0.3);
}

.empty-title {
    font-size: 24px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 12px;
}

.empty-description {
    font-size: 16px;
    color: rgba(255,255,255,0.5);
    line-height: 1.5;
    margin-bottom: 32px;
    max-width: 300px;
}

.btn-primary {
    background: #8f633f;
    color: #fff;
    border: none;
    border-radius: 25px;
    padding: 14px 32px;
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
    display: inline-block;
    box-shadow: 0 4px 15px rgba(143, 99, 63, 0.3);
}

.btn-primary:active {
    transform: scale(0.95);
}

/* ================================================
   LISTA DE PRODUTOS
   ================================================ */
.products-list {
    display: none;
}

.product-item {
    display: flex;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.product-image {
    width: 80px;
    height: 80px;
    border-radius: 12px;
    overflow: hidden;
    flex-shrink: 0;
    background: #1a1a1a;
}

.product-image video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.product-name {
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 4px;
}

.product-price {
    font-size: 15px;
    font-weight: 700;
    color: #fff;
}

.product-quantity {
    font-size: 13px;
    color: rgba(255,255,255,0.6);
    margin-top: 4px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.qty-controls {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255,255,255,0.05);
    padding: 4px 8px;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.1);
}

.qty-btn-list {
    width: 24px;
    height: 24px;
    border-radius: 6px;
    background: rgba(143, 99, 63, 0.2);
    border: 1px solid rgba(143, 99, 63, 0.4);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.2s;
}

.qty-btn-list:active {
    transform: scale(0.9);
    background: rgba(143, 99, 63, 0.4);
}

.qty-val-list {
    font-size: 14px;
    font-weight: 600;
    min-width: 15px;
    text-align: center;
}

.remove-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
    align-self: center;
}

.remove-btn:active {
    transform: scale(0.9);
    background: rgba(255,0,0,0.1);
}

.remove-btn svg {
    width: 18px;
    height: 18px;
    fill: rgba(255,255,255,0.4);
}

.item-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-self: center;
}

.info-btn-list {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
    color: #fff;
}

.info-btn-list:active {
    transform: scale(0.9);
    background: rgba(255,255,255,0.1);
}

.info-btn-list svg {
    width: 18px;
    height: 18px;
}

/* ================================================
   BOTTOM NAVIGATION
   ================================================ */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: calc(75px + env(safe-area-inset-bottom));
    background: rgba(0,0,0,0.92);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border-top: 1px solid rgba(255,255,255,0.08);
    display: flex;
    justify-content: space-around;
    align-items: center;
    z-index: 1000;
    padding: 0 12px env(safe-area-inset-bottom);
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    text-decoration: none;
    color: rgba(255,255,255,0.45);
    font-size: 11px;
    font-weight: 500;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    flex: 1;
    padding-top: 12px;
}

.nav-item.active {
    color: #8f633f;
}

.nav-item svg {
    width: 22px;
    height: 22px;
    stroke-width: 2;
    transition: transform 0.3s ease;
}

.nav-item.active svg {
    transform: translateY(-2px);
}

/* ================================================
   GOOGLE TRANSLATE
   ================================================ */
.goog-te-banner-frame { 
    display: none !important; 
    visibility: hidden !important;
}
body { 
    top: 0 !important; 
    position: static !important;
}
.skiptranslate {
    display: none !important;
}
iframe.skiptranslate {
    display: none !important;
    visibility: hidden !important;
}
body > .skiptranslate {
    display: none !important;
}

/* ================================================
   LANGUAGE SELECTOR
   ================================================ */
.lang-selector {
    position: relative;
}

.current-lang {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255,255,255,0.15);
    cursor: pointer;
    transition: all 0.2s ease;
}

.current-lang:hover {
    background: rgba(255,255,255,0.2);
    transform: translateY(-2px);
}

.current-lang .flag-icon {
    font-size: 20px;
    border-radius: 2px;
    width: 26px;
    line-height: 20px;
}

.lang-dropdown {
    position: absolute;
    top: 55px;
    right: 0;
    background: rgba(20, 20, 20, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 16px;
    padding: 16px;
    width: 240px;
    display: none;
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
    z-index: 1000;
}

.lang-dropdown.show {
    display: block;
    animation: fadeInDown 0.3s ease;
}

.lang-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 12px;
}

.lang-grid .flag-icon {
    font-size: 24px;
    border-radius: 3px;
    cursor: pointer;
    transition: transform 0.2s ease;
    width: 100%;
    aspect-ratio: 4/3;
    box-shadow: 0 2px 5px rgba(0,0,0,0.3);
}

.lang-grid .flag-icon:hover {
    transform: scale(1.2);
    z-index: 10;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ================================================
   TOTAL SUMMARY
   ================================================ */
.total-summary {
    position: fixed;
    bottom: calc(75px + env(safe-area-inset-bottom));
    left: 0;
    right: 0;
    background: rgba(143, 99, 63, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 16px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 999;
    border-top: 1px solid rgba(255,255,255,0.1);
    box-shadow: 0 -4px 20px rgba(0,0,0,0.3);
    display: none;
}

.total-label {
    font-size: 14px;
    font-weight: 500;
    color: rgba(255,255,255,0.8);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.total-amount {
    font-size: 24px;
    font-weight: 700;
    color: #fff;
}
