/* 
  PrintBrand - E-commerce Styles
  Theme: Orange, Gray, Brown
*/

:root {
    /* Color Palette */
    --clr-primary: #FF6B35;       /* Vibrant Orange */
    --clr-primary-hover: #E85A26;
    
    --clr-secondary: #8B5A2B;     /* Corporate Brown */
    --clr-brown-light: #D68C45;
    
    --clr-bg-main: #F4F5F7;       /* Light Gray Background */
    --clr-bg-card: #FFFFFF;
    
    --clr-text-main: #2D2320;     /* Deep dark brown/gray text */
    --clr-text-muted: #6B6B6B;    /* Classic gray text */
    
    --clr-border: #E2E4E8;
    
    /* Layout & Shadows */
    --shadow-soft: 0 8px 30px rgba(45, 35, 32, 0.05);
    --shadow-hover: 0 15px 35px rgba(255, 107, 53, 0.15);
    --border-radius: 12px;
    --transition: 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

body {
    background-color: var(--clr-bg-main);
    color: var(--clr-text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

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

ul {
    list-style: none;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    text-align: center;
}

.btn-primary {
    background-color: var(--clr-primary);
    color: white;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
}

.btn-primary:hover {
    background-color: var(--clr-primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.4);
}

.btn-block {
    width: 100%;
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--clr-border);
    color: var(--clr-text-main);
}

.btn-outline:hover {
    border-color: var(--clr-secondary);
    color: var(--clr-secondary);
}

/* Header */
.header {
    background-color: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid var(--clr-border);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--clr-text-main);
    display: flex;
    align-items: center;
    gap: 5px;
}

.logo i {
    color: var(--clr-primary);
    font-size: 1.8rem;
}

.logo span {
    color: var(--clr-secondary);
}

.cart-icon {
    position: relative;
    font-size: 1.6rem;
    cursor: pointer;
    color: var(--clr-text-main);
    transition: var(--transition);
}

.cart-icon:hover {
    color: var(--clr-primary);
}

.cart-badge {
    position: absolute;
    top: -5px;
    right: -8px;
    background-color: var(--clr-primary);
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    height: 18px;
    width: 18px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Hero Section */
.hero {
    max-width: 1200px;
    margin: 40px auto;
    padding: 40px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    min-height: 60vh;
}

.hero-content {
    flex: 1;
    max-width: 600px;
}

.hero-content h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 20px;
    color: var(--clr-text-main);
    letter-spacing: -1px;
}

.hero-content p {
    font-size: 1.1rem;
    color: var(--clr-text-muted);
    margin-bottom: 30px;
}

.hero-image {
    flex: 1;
    position: relative;
    height: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Glass Orbs with animations */
.glass-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    z-index: -1;
    animation: floatOrb 6s ease-in-out infinite;
    opacity: 0.6;
}

@keyframes floatOrb {
    0% { transform: translateY(0px) scale(1); }
    50% { transform: translateY(-30px) scale(1.05); }
    100% { transform: translateY(0px) scale(1); }
}

.orb-1 {
    width: 300px;
    height: 300px;
    background: var(--clr-primary);
    top: 10%;
    left: 20%;
    animation: float 6s ease-in-out infinite;
}

.orb-2 {
    width: 250px;
    height: 250px;
    background: var(--clr-brown-light);
    bottom: 10%;
    right: 10%;
    animation: float 8s ease-in-out infinite reverse;
}

.balloon-abstract {
    font-size: 8rem;
    animation: hoverAnim 4s ease-in-out infinite;
    text-shadow: var(--shadow-soft);
}

@keyframes float {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-20px) scale(1.05); }
}

@keyframes hoverAnim {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

/* Products Section */
.products-section {
    max-width: 1200px;
    margin: 80px auto;
    padding: 0 20px;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 2.2rem;
    color: var(--clr-secondary);
    margin-bottom: 10px;
}

.section-title p {
    color: var(--clr-text-muted);
    font-size: 1.1rem;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

.product-card {
    background: white;
    border-radius: 20px;
    padding: 20px;
    box-shadow: var(--shadow-soft);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(0,0,0,0.03);
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-color: rgba(255, 107, 53, 0.2);
}

.product-img {
    width: 100%;
    height: 200px;
    background-color: var(--clr-bg-main);
    border-radius: 8px;
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 5rem;
    color: var(--clr-text-muted);
    overflow: hidden;
}

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

.product-info {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.product-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.product-desc {
    font-size: 0.9rem;
    color: var(--clr-text-muted);
    margin-bottom: 15px;
    flex-grow: 1;
}

.product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
}

.product-price {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--clr-primary);
}

.add-to-cart-btn {
    background: var(--clr-secondary);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: var(--transition);
}

.add-to-cart-btn:hover {
    background: var(--clr-primary);
    transform: scale(1.1);
}

/* Footer */
.footer {
    background-color: #1a1514; /* Deep dark brown */
    color: white;
    padding: 60px 20px 20px;
    margin-top: 100px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.footer-brand span {
    color: var(--clr-primary);
}

.footer-brand p {
    color: #CCC;
}

.footer-socials {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.footer-socials a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 20px;
    transition: all 0.3s ease;
}

.footer-socials a:hover {
    background: var(--clr-primary);
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(255, 107, 53, 0.4);
}

.footer-links {
    display: flex;
    gap: 40px;
}

.footer-link-group {
    display: flex;
    flex-direction: column;
}

.footer-link-group a {
    color: #a0a0a0;
    margin-bottom: 8px;
    font-size: 14px;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--clr-primary);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: #888;
    font-size: 0.9rem;
}

/* Cart Sidebar (Glassmorphism) */
.cart-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.4);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-main);
}

.cart-overlay.active {
    opacity: 1;
    visibility: visible;
}

.cart-sidebar {
    position: fixed;
    top: 0;
    right: -400px;
    width: 400px;
    max-width: 100vw;
    height: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    z-index: 1000;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
    transition: right 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    display: flex;
    flex-direction: column;
}

.cart-sidebar.active {
    right: 0;
}

.cart-header {
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--clr-border);
}

.close-cart {
    font-size: 1.8rem;
    cursor: pointer;
    color: var(--clr-text-muted);
    transition: var(--transition);
}

.close-cart:hover {
    color: var(--clr-primary);
    transform: rotate(90deg);
}

.cart-items {
    flex-grow: 1;
    padding: 20px;
    overflow-y: auto;
}

.empty-cart-msg {
    text-align: center;
    color: var(--clr-text-muted);
    margin-top: 50px;
}

.cart-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    background: var(--clr-bg-main);
    padding: 10px;
    border-radius: var(--border-radius);
    position: relative;
}

.cart-item-img {
    width: 60px;
    height: 60px;
    background: white;
    border-radius: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    overflow: hidden;
}

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

.cart-item-info h4 {
    font-size: 0.95rem;
    margin-bottom: 5px;
}

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

.remove-item {
    position: absolute;
    top: 50%;
    right: 15px;
    transform: translateY(-50%);
    color: #ff4d4d;
    cursor: pointer;
    font-size: 1.2rem;
}

.cart-footer {
    padding: 20px;
    border-top: 1px solid var(--clr-border);
    background: white;
}

.cart-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 20px;
}

/* =============================================
   RESPONSIVE - Mobile Polish
   ============================================= */

/* Tablet & Mobile Common */
@media (max-width: 1024px) {
    .hero-content h1 { font-size: 2.8rem; }
    .section-title h2 { font-size: 1.9rem; }
}

@media (max-width: 768px) {

    /* Nav — prevent overflow */
    .nav-container {
        padding: 12px 16px;
        flex-wrap: nowrap;
        gap: 8px;
        overflow: hidden;
    }
    .main-nav { display: none !important; }
    .nav-lang {
        font-size: 12px !important;
        white-space: nowrap;
        flex-shrink: 0;
    }
    .logo img {
        max-height: 42px !important;
        max-width: 130px !important;
    }

    /* Hero */
    .hero {
        flex-direction: column;
        text-align: center;
        margin-top: 10px;
        padding: 30px 16px;
        min-height: auto;
        gap: 20px;
    }
    .hero-content { max-width: 100%; }
    .hero-content h1 {
        font-size: 2rem;
        letter-spacing: -0.5px;
    }
    .hero-content p { font-size: 0.95rem; }
    .hero-image {
        height: 240px;
        width: 100%;
    }
    .hero-badge {
        font-size: 12px;
        padding: 8px 14px !important;
        flex-wrap: wrap;
        justify-content: center;
    }

    /* Section Title */
    .section-title h2 { font-size: 1.6rem; }
    .section-title p { font-size: 0.95rem; }
    .section-title { margin-bottom: 30px; }

    /* Products Grid */
    .products-section { margin: 40px auto; }
    .product-grid { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 20px; }

    /* Product Card */
    .product-card { padding: 15px; }
    .product-img { height: 160px; }
    .product-title { font-size: 1rem; }
    .product-price { font-size: 1.1rem; }

    /* Footer */
    .footer { padding: 40px 16px 20px; margin-top: 60px; }
    .footer-content {
        flex-direction: column;
        gap: 20px;
        align-items: flex-start;
        margin-bottom: 20px;
    }
    .footer-links {
        flex-direction: column;
        gap: 8px;
        width: 100%;
    }
    .footer-links a { font-size: 14px; }
    .footer-brand p { font-size: 14px; }
    .footer-link-group { width: 100%; }

    /* Cart Sidebar */
    .cart-sidebar {
        width: 100vw;
        right: -100vw;
    }
    .cart-sidebar.active { right: 0; }

    /* Buttons — bigger touch targets */
    .btn { min-height: 48px; }
    .add-to-cart-btn { width: 48px; height: 48px; }
    .cart-icon { padding: 8px; font-size: 1.8rem; }
}

@media (max-width: 480px) {
    .hero-content h1 { font-size: 1.7rem; }
    .btn { padding: 11px 20px; font-size: 14px; }
    .product-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
    .product-img { height: 130px; }
    .product-title { font-size: 0.88rem; }
    .product-desc { font-size: 0.78rem; }
    .product-price { font-size: 0.95rem; }
    .section-title h2 { font-size: 1.4rem; }
    .footer-links { flex-direction: column; gap: 20px; }
}


/* Fixed WhatsApp Button */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    left: 40px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 35px;
    box-shadow: 0px 4px 15px rgba(0,0,0,0.15);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
    animation: pulse-wa 2s infinite;
}

.whatsapp-float:hover {
    transform: translateY(-5px);
    box-shadow: 0px 8px 25px rgba(37, 211, 102, 0.4);
    color: #FFF;
}

@keyframes pulse-wa {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5); }
    70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 20px;
        left: 20px;
        width: 50px;
        height: 50px;
        font-size: 28px;
    }
}

/* ==========================================================================
   Member / Login Button
   ========================================================================== */
.login-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    border: 1.5px solid #F0F0F0;
    border-radius: 50px;
    color: var(--clr-secondary);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    background: white;
}

.login-btn:hover {
    border-color: var(--clr-primary);
    background: #FFF5F0;
    color: var(--clr-primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-soft);
}

.user-profile {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    padding: 6px 12px;
    border-radius: 50px;
    background: #F9F9F9;
    transition: var(--transition);
}

.user-profile:hover {
    background: #F0F0F0;
}

.user-profile i {
    font-size: 20px;
    color: var(--clr-primary);
}

.user-profile span {
    font-size: 13px;
    font-weight: 600;
    color: var(--clr-secondary);
}

.user-profile-menu {
    position: relative;
}
