/* assets/css/reembalado_theme.css — Reembalados.site Modern High-Converting Outlet Theme */
:root {
    --primary: #059669;
    --primary-hover: #047857;
    --primary-light: #ecfdf5;
    --accent: #2563eb;
    --accent-hover: #1d4ed8;
    --dark: #0f172a;
    --dark-card: #1e293b;
    --light-bg: #f8fafc;
    --border-color: #e2e8f0;
    --text-main: #1e293b;
    --text-muted: #64748b;
    --danger: #ef4444;
    --warning: #f59e0b;
    --radius: 12px;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
}

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

body {
    font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background-color: var(--light-bg);
    color: var(--text-main);
    line-height: 1.5;
}

/* Announcement Top Bar */
.gf-top-announcement {
    background: #0f172a;
    color: #f8fafc;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 8px 16px;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    letter-spacing: 0.2px;
}

.gf-top-announcement a {
    color: #34d399;
    text-decoration: none;
    font-weight: 700;
}

/* Header */
.gf-header {
    background: #ffffff;
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 50;
    box-shadow: var(--shadow-sm);
}

.gf-header-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.gf-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    font-size: 1.45rem;
    font-weight: 900;
    color: #0f172a;
    letter-spacing: -0.5px;
}

.gf-logo span {
    color: var(--primary);
}

.gf-logo-badge {
    background: #059669;
    color: white;
    font-size: 0.65rem;
    font-weight: 800;
    padding: 2px 6px;
    border-radius: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Search Form */
.gf-search-form {
    flex: 1;
    max-width: 580px;
    position: relative;
    display: flex;
}

.gf-search-input {
    width: 100%;
    padding: 10px 48px 10px 16px;
    border: 2px solid var(--border-color);
    border-radius: 9999px;
    font-size: 0.9rem;
    outline: none;
    transition: all 0.2s ease;
    background: #f8fafc;
}

.gf-search-input:focus {
    border-color: var(--primary);
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.15);
}

.gf-search-btn {
    position: absolute;
    right: 6px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 9999px;
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 0.9rem;
    transition: background 0.2s ease;
}

.gf-search-btn:hover {
    background: var(--primary-hover);
}

/* Buttons */
.gf-btn-primary {
    background: var(--primary);
    color: white;
    padding: 9px 20px;
    border-radius: 9999px;
    font-weight: 700;
    text-decoration: none;
    font-size: 0.88rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

.gf-btn-primary:hover {
    background: var(--primary-hover);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

/* Category Scroll Bar */
.gf-category-bar {
    background: #ffffff;
    border-bottom: 1px solid var(--border-color);
    padding: 8px 0;
}

.gf-category-scroll {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    gap: 8px;
    overflow-x: auto;
    scrollbar-width: thin;
}

.gf-cat-pill {
    padding: 6px 14px;
    background: #f1f5f9;
    color: var(--text-main);
    border-radius: 9999px;
    font-size: 0.82rem;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    transition: all 0.2s ease;
    border: 1px solid transparent;
}

.gf-cat-pill:hover, .gf-cat-pill.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

/* Product Card */
.gf-product-card {
    background: #ffffff;
    border-radius: var(--radius);
    border: 1px solid var(--border-color);
    overflow: hidden;
    transition: all 0.25s ease;
    display: flex;
    flex-direction: column;
    position: relative;
}

.gf-product-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: #cbd5e1;
}

.gf-badge-condition {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(4px);
    color: #34d399;
    font-size: 0.7rem;
    font-weight: 800;
    padding: 4px 8px;
    border-radius: 6px;
    z-index: 2;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.gf-badge-discount {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #ef4444;
    color: white;
    font-size: 0.72rem;
    font-weight: 800;
    padding: 4px 8px;
    border-radius: 6px;
    z-index: 2;
}

.gf-product-img-wrap {
    width: 100%;
    height: 220px;
    background: #f8fafc;
    position: relative;
    overflow: hidden;
}

.gf-product-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gf-product-card:hover .gf-product-img {
    transform: scale(1.05);
}

.gf-product-body {
    padding: 16px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.gf-product-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.35;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-decoration: none;
}

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

.gf-price-current {
    font-size: 1.35rem;
    font-weight: 900;
    color: var(--primary);
}

.gf-product-warranty {
    font-size: 0.75rem;
    color: #059669;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 4px;
    margin-top: 4px;
}

/* Footer */
.gf-footer {
    background: #0f172a;
    color: #94a3b8;
    padding: 48px 20px 24px 20px;
    margin-top: 60px;
    border-top: 1px solid #1e293b;
}

.gf-footer-container {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 32px;
}

.gf-footer h4 {
    color: #f8fafc;
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 14px;
}

.gf-footer a {
    color: #94a3b8;
    text-decoration: none;
    display: block;
    margin-bottom: 8px;
    font-size: 0.88rem;
    transition: color 0.2s;
}

.gf-footer a:hover {
    color: #34d399;
}

.gf-footer-bottom {
    max-width: 1280px;
    margin: 32px auto 0 auto;
    padding-top: 20px;
    border-top: 1px solid #1e293b;
    text-align: center;
    font-size: 0.8rem;
    color: #64748b;
}

@media (max-width: 768px) {
    .gf-header-container {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }
    .gf-search-form {
        max-width: 100%;
    }
}
