/* Base styles */
body {
    background: linear-gradient(135deg, #f9fafb 0%, #f3f4f6 100%);
    font-family: 'Poppins', sans-serif;
    min-height: 100vh;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    width: 100%;
    display: flex;
    flex-direction: column;
}

/* Text justification */
p, li, .product-description, .tab-pane, .about-content, .privacy-content {
    text-align: justify;
}

/* Remove bullets from lists */
ul {
    list-style-type: none;
    padding-left: 0;
}

ul li {
    margin-bottom: 0.5rem;
}

/* Header styles */
.header {
    background-color: #232f3e;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0;
}

.hidden-md {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    align-items: center;
    width: 100%;
}

.justify-start {
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.justify-center {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.justify-end {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.logo {
    max-width: 200px;
    height: auto;
    margin: 0;
    display: block;
}

.logo:hover {
    transform: scale(1.05);
}

.header-info {
    text-align: center;
    margin: 0 1rem;
}

.current-date {
    font-size: clamp(0.875rem, 2vw, 1.25rem);
    font-weight: 600;
    color: white;
    display: flex;
    align-items: center;
    gap: 0.25rem;
    white-space: nowrap;
}

.current-date .category {
    color: white;
    font-size: clamp(0.875rem, 2vw, 1.25rem);
}

.current-date .day-name {
    color: #FFB700;
    font-size: clamp(0.875rem, 2vw, 1.25rem);
    font-weight: 600;
}

.category {
    color: #FFB700;
    font-weight: 600;
}

.header-buttons {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    justify-content: flex-end;
}

.header-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #ffffff;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 0.5rem 0;
}

.header-btn i {
    font-size: 1.1em;
}

.header-btn:hover {
    color: #FFB700;
    transform: translateY(-1px);
}

/* Mobile Styles */
@media (max-width: 768px) {
    .header {
        background-color: #232f3e;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
        position: sticky;
        top: 0;
        z-index: 1000;
        margin-bottom: 20px;
    }

    .header-container {
        padding: 0;
        width: 100%;
    }

    .mobile-header {
        display: flex;
        align-items: center;
        padding: 10px;
        background: #232f3e;
        width: 100%;
        box-sizing: border-box;
        height: 60px;
        position: relative;
    }

    .main-container {
        padding-top: 20px;
    }

    .hidden-md {
        display: none;
    }

    .mobile-wrapper {
        width: 100%;
    }

    .logo-section {
        flex: 0 0 120px;
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0;
        padding: 0;
        height: 100%;
        position: relative;
    }

    .mobile-header .logo {
        height: 1.5rem;
        width: auto;
        max-width: 100%;
        object-fit: contain;
        margin: 0;
        padding: 0;
        display: block;
        position: relative;
        top: 0;
        left: 0;
        transform: none;
    }

    .menu-section {
        flex: 0 0 40px;
        margin: 0;
        padding: 0;
        height: 100%;
        display: flex;
        align-items: center;
    }

    .title-section {
        flex: 1;
        display: flex;
        justify-content: flex-end;
        align-items: center;
        padding-left: 10px;
        overflow: hidden;
        min-width: 0;
        height: 100%;
    }

    .mobile-header .current-date {
        font-size: 0.8rem;
        color: white;
        display: flex;
        align-items: center;
        gap: 0.25rem;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .mobile-header .category {
        font-size: 0.8rem;
        color: white;
        font-weight: 500;
    }

    .mobile-header .day-name {
        font-size: 0.8rem;
        font-weight: 600;
        color: #FFB700;
    }

    .logo {
        max-width: 150px;
        height: auto;
    }
}

/* Desktop Styles */
@media (min-width: 769px) {
    .mobile-wrapper,
    .mobile-menu,
    .menu-toggle,
    .menu-overlay {
        display: none !important;
    }

    .hidden-md {
        display: grid;
        grid-template-columns: 1fr 2fr 1fr;
        align-items: center;
        width: 100%;
        height: 5rem;
    }

    .logo {
        height: 2.5rem;
        width: auto;
    }
}

/* Tablet and Desktop Styles */
@media (min-width: 769px) and (max-width: 1024px) {
    .header-container {
        padding: 0 20px;
    }
    
    .logo {
        max-width: 180px;
        margin: 0;
    }

    .hidden-md {
        display: grid;
        grid-template-columns: 1fr 2fr 1fr;
        align-items: center;
        width: 100%;
        height: 5rem;
    }

    .justify-start {
        justify-content: flex-start;
    }

    .justify-center {
        justify-content: center;
    }

    .justify-end {
        justify-content: flex-end;
    }

    .header-buttons {
        justify-content: flex-end;
    }

    .header-info {
        text-align: center;
    }
}

@media (min-width: 1025px) {
    .header-container {
        padding: 0 30px;
    }
    
    .logo {
        max-width: 200px;
        margin: 0;
    }

    .hidden-md {
        display: grid;
        grid-template-columns: 1fr 2fr 1fr;
        align-items: center;
        width: 100%;
    }

    .justify-start {
        justify-content: flex-start;
    }

    .justify-center {
        justify-content: center;
    }

    .justify-end {
        justify-content: flex-end;
    }

    .header-buttons {
        justify-content: flex-end;
    }

    .header-info {
        text-align: center;
    }
}

/* Layout utilities */
.flex-col-md {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    width: 100%;
}

/* Main container styles */
.main-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    box-sizing: border-box;
    margin-top: clamp(1.5rem, 3vh, 2rem);
    flex: 1;
}

/* Product card styles */
.product-card {
    position: relative;
    background: white;
    margin-bottom: 20px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.product-header {
    position: relative;
    width: 100%;
    padding-top: 0;
}

/* Product image styles */
.product-image-container {
    position: relative;
    width: 100%;
    max-width: 100%;
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    overflow: hidden;
}

.product-image {
    width: 100%;
    height: auto;
    max-height: 300px;
    object-fit: contain;
    margin: 0.75rem auto;
    padding: 0;
    display: block;
}

/* Product info styles */
.product-info {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
    align-items: center;
    padding: 0 0.5rem;
    width: 100%;
    box-sizing: border-box;
}

.product-description {
    font-size: 0.875rem;
    color: #4b5563;
    padding: 1.5rem 0.5rem;
    margin: 0;
    text-align: justify;
    max-width: 100%;
    line-height: 1.6;
}

/* Rating styles */
.rating-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    text-align: center;
}

.stars-container {
    display: flex;
    color: #fbbf24;
    justify-content: center;
    gap: 0.125rem;
}

.reviews-count {
    font-size: 0.75rem;
    color: #4b5563;
}

/* Price styles */
.price {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin: 0.5rem auto;
    padding: 0.25rem;
    padding-bottom: 1rem;
    position: relative;
    z-index: 1;
    max-width: 320px;
    width: 100%;
    text-align: center;
    box-sizing: border-box;
    overflow-x: hidden;
}

.price .current-price {
    font-size: 3rem;
    font-weight: 700;
    color: #2563EB;
    position: relative;
    display: block;
    text-align: center;
    width: 100%;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    margin: 0;
    padding: 0;
    line-height: 1;
}

.price .original-price {
    font-size: 1.5rem;
    color: #6B7280;
    text-decoration: line-through;
    position: relative;
    display: block;
    text-align: center;
    width: 100%;
    margin: 0;
    padding: 0;
    line-height: 1;
}

.price .discount {
    font-size: 1.75rem;
    font-weight: 600;
    color: #10B981;
    background: rgba(16, 185, 129, 0.1);
    padding: 0.5rem 1.25rem;
    border-radius: 9999px;
    display: inline-block;
    text-align: center;
    margin: 0 auto;
    box-shadow: 0 2px 4px rgba(16, 185, 129, 0.2);
    line-height: 1;
}

/* Buy button styles */
.buy-now-btn {
    width: 100%;
    max-width: 280px;
    margin: 1.5rem auto;
    background: linear-gradient(to right, #fbbf24, #f59e0b);
    color: black;
    font-weight: 700;
    padding: 1rem 2rem;
    border-radius: 0.5rem;
    transition: all 0.3s;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    font-size: clamp(0.875rem, 2vw, 1.125rem);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.buy-now-btn:hover {
    background: linear-gradient(to right, #f59e0b, #d97706);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transform: translateY(-1px);
}

.buy-now-btn i {
    font-size: clamp(1.1em, 2vw, 1.3em);
}

.buy-now-btn span {
    font-size: clamp(1em, 2vw, 1.2em);
    white-space: nowrap;
}

/* Desktop styles (1200px and above) */
@media (min-width: 1200px) {
    .buy-now-btn {
        max-width: 320px;
        padding: 1.25rem 2.5rem;
        margin: 2rem auto;
    }
}

/* Tablet styles (768px to 1199px) */
@media (min-width: 768px) and (max-width: 1199px) {
    .buy-now-btn {
        max-width: 300px;
        padding: 1.125rem 2.25rem;
        margin: 1.75rem auto;
    }
}

/* Mobile styles */
@media (max-width: 767px) {
    .buy-now-btn {
        max-width: 280px;
        padding: 1rem 2rem;
        margin: 1.5rem auto;
    }
}

/* Small mobile styles */
@media (max-width: 480px) {
    .buy-now-btn {
        max-width: 260px;
        padding: 0.875rem 1.75rem;
        margin: 1.25rem auto;
    }
}

/* Share buttons styles */
.share-buttons {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin: 0;
    width: 100%;
    padding: 0 0.5rem;
    align-items: flex-start;
    margin-top: 0;
    padding-top: 0.5rem;
}

.share-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background-color: #f3f4f6;
    color: #37475A;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.share-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.share-btn i {
    font-size: 1.2rem;
    color: #37475A;
}

.share-btn img {
    width: 1.2rem;
    height: 1.2rem;
    object-fit: contain;
    display: block;
}

.share-btn[data-network="facebook"]:hover {
    background-color: #1877F2;
}

.share-btn[data-network="twitter"]:hover {
    background-color: #000000;
}

.share-btn[data-network="whatsapp"]:hover {
    background-color: #25D366;
}

.share-btn[data-network="telegram"]:hover {
    background-color: #0088cc;
}

.share-btn:hover i {
    color: white;
}

.share-btn[data-network="twitter"]:hover img {
    filter: brightness(0) invert(1);
}

/* Mobile styles */
@media (max-width: 767px) {
    .share-buttons {
        gap: 0.75rem;
        padding: 0 1rem;
    }

    .share-btn {
        width: 2.75rem;
        height: 2.75rem;
    }

    .share-btn i {
        font-size: 1.3rem;
    }

    .share-btn img {
        width: 1.3rem;
        height: 1.3rem;
    }

    .product-image-container {
        padding: 0;
        margin: 0;
        width: 100%;
        max-width: 100vw;
    }

    .product-image {
        max-height: 200px;
        width: 100%;
        height: auto;
        margin: 0.5rem auto;
        padding: 0;
        object-fit: contain;
    }

    .product-card {
        width: 100%;
        max-width: 100vw;
        padding: 0;
        margin: 0;
        overflow: hidden;
    }

    .price .current-price {
        font-size: 2rem;
    }

    .product-description {
        padding: 0.75rem 0.5rem;
        font-size: 0.75rem;
    }

    .buy-now-btn {
        max-width: 280px;
        padding: 1rem 2rem;
        font-size: 1.125rem;
        margin: 1.25rem auto;
    }

    .price .original-price {
        font-size: 1.125rem;
    }
    
    .price .discount {
        font-size: 1.25rem;
        padding: 0.375rem 1rem;
    }
}

/* Tabs styles */
.tabs-container {
    margin-top: 1.5rem;
    width: 100%;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    padding: 0;
}

.tabs-header {
    display: flex;
    background-color: rgba(255, 255, 255, 0.9);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    flex-wrap: wrap;
    width: 100%;
    border-radius: 0;
    overflow: visible;
}

.tabs-content {
    position: relative;
    width: 100%;
    background: white;
    /*border-radius: 0 0 0.5rem 0.5rem;*/
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    box-sizing: border-box;
    min-height: 400px;
}

.tab-pane {
    width: 100%;
    opacity: 0;
    visibility: hidden;
    display: none;
    box-sizing: border-box;
    padding: 2rem;
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
}

.tab-pane.active {
    opacity: 1;
    visibility: visible;
    display: block;
    position: relative;
    min-height: auto;
}

.tab-pane h3 {
    color: #232F3E;
    font-size: clamp(1rem, 2vw, 1rem);
    margin: 0;
    font-weight: 700;
    text-align: left;
    width: 100%;
}

.tab-pane h4 {
    color: #232F3E;
    font-size: clamp(1.125rem, 3.5vw, 1.75rem);
    margin: 0 0 1rem 0;
    font-weight: 600;
    text-align: left;
    width: 100%;
}

.tab-pane p {
    color: #4B5563;
    font-size: 0.875rem;
    line-height: 1.6;
    margin: 0 0 1rem 0;
}

.tab-pane ol {
    color: #4B5563;
    font-size: 0.875rem;
    line-height: 1.6;
    margin: 0 0 1rem 0;
    padding-left: 1.5rem;
}

.tab-pane ol li {
    margin: 0 0 0.75rem 0;
}

.tab-pane ol li:last-child {
    margin-bottom: 0;
}

.tab-pane a {
    color: #2563EB;
    text-decoration: none;
    font-weight: 500;
}

.tab-pane a:hover {
    text-decoration: underline;
}

/* Footer styles */
.footer {
    background-color: #232F3E;
    color: #ffffff;
    padding: 1.5rem 0;
    width: 100%;
    margin-top: auto;
}

.footer-content {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.copyright {
    font-size: 0.875rem;
    margin: 0;
    text-align: center;
}

.footer-links {
    display: flex;
    gap: 1.5rem;
}

.footer-link {
    color: #ffffff;
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: #FFAF00;
}

/* Mobile styles */
@media (max-width: 767px) {
    .copyright {
        font-size: 0.75rem;
    }
    
    .footer-link {
        font-size: 0.75rem;
    }

    .tab-pane.active {
        padding: 1.5rem;
    }
    
    .tabs-content {
        min-height: 300px;
    }
}

/* Desktop styles (1200px and above) */
@media (min-width: 1000px) {
    .header {
        margin-bottom: 0;
    }

    .main-container {
        padding: 0;
        margin-top: clamp(3rem, 5vh, 4rem);
    }

    .product-card {
        padding: 0;
        margin: 0;
        border-radius: 1.25rem;
        max-width: 80rem;
    }

    .product-info {
        gap: 1rem;
        padding: 0;
        margin: 0;
    }

    .product-description {
        padding: 1.5rem 0.5rem;
        font-size: 0.875rem;
    }

    .price {
        margin: 0;
        padding: 0;
        gap: 0.75rem;
        max-width: 360px;
    }

    .logo {
        height: 2.5rem;
    }

    .product-title {
        font-size: clamp(1.5rem, 3vw, 1.8rem);
        padding: 1.5rem 0.5rem;
    }

    .header-buttons {
        margin: 0;
        justify-content: flex-end;
        gap: 1rem;
    }

    .header-btn {
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
        border-radius: 0.5rem;
    }

    .product-image {
        margin: 1rem auto;
    }

    .rating-container {
        gap: 0.5rem;
    }

    .stars-container {
        gap: 0.25rem;
    }

    .reviews-count {
        font-size: 1rem;
    }

    .buy-now-btn {
        max-width: 240px;
        padding: 1rem 2rem;
        font-size: 1rem;
        margin: 1rem auto;
    }

    .share-buttons {
        padding: 0;
        margin: 1rem 0;
    }

    .share-btn i,
    .share-btn img {
        font-size: 1.5rem;
        width: 1.5rem;
        height: 1.5rem;
    }

    .tabs-container {
        margin-top: 1.5rem;
        border-top: 1px solid rgba(0, 0, 0, 0.1);
        padding-top: 1rem;
    }

    .tabs-header {
        font-size: 0.75rem;
        border-bottom: 1px solid rgba(0, 0, 0, 0.1);
        margin: 0;
    }

    .tab-btn {
        padding: 1rem;
        font-size: 0.9rem;
        border-bottom: 1px solid rgba(0, 0, 0, 0.1);
        margin: 0;
    }

    .tab-btn i {
        font-size: 0.9rem;
    }

    .tabs-content {
        padding: 0px 40px 0px 40px;
    }

    .tab-pane {
        padding: 1rem 0;
    }

    .footer-content {
        flex-direction: row;
        justify-content: space-between;
        padding: 0 2rem;
    }

    .copyright {
        text-align: left;
    }
}

/* Tablet styles (768px to 1200px) */
@media (min-width: 768px) and (max-width: 1199px) {
    .header {
        margin-bottom: 0;
    }

    .main-container {
        padding: 0;
        margin-top: clamp(2.5rem, 4vh, 3.5rem);
        flex: 1;
    }

    .tabs-header {
        border-radius: 0;
    }

    .tabs-header button:first-of-type {
        border-radius: 0;
    }

    .tabs-header button:last-of-type {
        border-radius: 0;
    }

    .product-image {
        max-height: 250px;
        margin: 0.75rem auto;
    }

    .price .current-price {
        font-size: 2.5rem;
    }

    .product-description {
        padding: 1rem 0.5rem;
        font-size: 0.8125rem;
    }

    .buy-now-btn {
        max-width: 200px;
        padding: 0.875rem 1.75rem;
        font-size: 0.9375rem;
        margin: 0.875rem auto;
    }

    .price .original-price {
        font-size: 1.25rem;
    }
    
    .price .discount {
        font-size: 1.5rem;
        padding: 0.4375rem 1.125rem;
    }
}

/* Mobile styles */
@media (max-width: 767px) {
    .product-card {
        padding: 0;
        margin-bottom: 20px;
    }

    .tabs-header {
        border-radius: 0;
    }

    .tabs-header button:first-of-type {
        border-radius: 0;
    }

    .tabs-header button:last-of-type {
        border-radius: 0;
    }

    .header {
        margin-bottom: 0;
    }

    .main-container {
        padding: 0;
        margin-top: clamp(2rem, 3vh, 2.5rem);
        flex: 1;
    }
}

/* Privacy page content */
.privacy-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 1.5rem;
}

.privacy-content h1,
.privacy-content h2,
.privacy-content h3,
.privacy-content h4,
.privacy-content h5,
.privacy-content h6 {
    color: #4B5563;
    font-size: 1rem;
    line-height: 1.6;
    margin: 0 0 1rem 0;
    text-align: justify;
    padding: 0 1rem;
}

.privacy-content p {
    padding: 0 1rem;
}

.privacy-content ul,
.privacy-content ol {
    color: #4B5563;
    font-size: 0.875rem;
    line-height: 1.6;
    margin: 0 0 1rem 0;
    padding: 0 1rem 0 2.5rem;
}

.privacy-content li {
    margin: 0 0 0.75rem 0;
}

.privacy-content li:last-child {
    margin-bottom: 0;
}

.buy-now-btn {
    background: linear-gradient(to right, #fbbf24, #f59e0b);
    color: black;
    font-weight: 700;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    transition: transform 0.3s ease, background 0.3s ease;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    font-size: 0.75rem;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
}

.buy-now-btn:hover {
    background: linear-gradient(to right, #fbbf24, #f59e0b);
    transform: translateY(-1px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.buy-now-btn i {
    font-size: 1.2em;
}

.buy-now-btn span {
    font-size: 1.1em;
}

/* Tablet styles (768px to 1200px) */
@media (min-width: 768px) {
    .buy-now-btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.875rem;
    }

    .buy-now-btn i {
        font-size: 1.3em;
    }

    .buy-now-btn span {
        font-size: 1.2em;
    }
}

.product-title {
    position: relative;
    text-align: center;
    width: 100%;
    margin: 0;
    padding: 2rem 0 1rem 0;
    font-size: clamp(1.125rem, 4vw, 1.75rem);
    line-height: 1.4;
    word-wrap: break-word;
    overflow-wrap: break-word;
    color: #232f3e;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 1rem;
}

/* Mobile styles */
@media (max-width: 767px) {
    .product-title {
        font-size: clamp(1rem, 3.5vw, 1.5rem);
        padding: 1.5rem 0 0.75rem 0;
    }
}

/* Tablet styles */
@media (min-width: 768px) and (max-width: 1199px) {
    .product-title {
        font-size: clamp(1.125rem, 3.5vw, 1.625rem);
        padding: 1.75rem 0 1rem 0;
    }
}

/* Desktop styles */
@media (min-width: 1200px) {
    .product-title {
        font-size: clamp(1.25rem, 2.5vw, 1.75rem);
        padding: 2rem 0 1.25rem 0;
    }
}

/* Media queries for different screen sizes */
@media (min-width: 768px) {
    .tabs-container {
        max-width: 800px;
    }
}

@media (min-width: 1024px) {
    .tabs-container {
        max-width: 900px;
    }
}

@media (min-width: 1280px) {
    .tabs-container {
        max-width: 1000px;
    }
}

@media (max-width: 800px) {
    .tabs-container {
        width: 100%;
        padding: 0;
    }
}

@media (max-width: 600px) {
    .tabs-container {
        width: 100%;
        padding: 0;
    }
}

/* Estilos para móvil */
@media (max-width: 768px) {
    .header-container {
        padding: 0;
        max-width: 100%;
    }

    .mobile-header {
        display: flex;
        justify-content: flex-start;
        align-items: center;
        width: 100%;
        padding: 10px;
        background: #232f3e;
        position: relative;
        max-width: 1200px;
        margin: 0 auto;
        gap: 15px;
    }

    .mobile-header .logo-section {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        z-index: 1003;
        width: auto;
        height: 100%;
        display: flex;
        align-items: center;
    }

    .mobile-header .logo-link {
        display: block;
        height: 100%;
        display: flex;
        align-items: center;
    }

    .mobile-header .logo {
        height: 2.5rem;
        width: auto;
        max-width: 150px;
        object-fit: contain;
    }

    .mobile-header .mobile-title {
        margin: 0;
        padding: 0;
        margin-left: auto;
        margin-right: 15px;
        white-space: nowrap;
        padding-right: 10px;
    }

    .menu-toggle {
        background: none;
        border: none;
        font-size: 1.5rem;
        color: white;
        cursor: pointer;
        z-index: 1001;
        padding: 5px;
        margin: 0;
        order: 1;
    }

    .mobile-menu {
        position: fixed;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100vh;
        background: #232f3e;
        z-index: 1000;
        transition: left 0.3s ease;
        padding: 80px 20px 20px;
        display: flex;
        flex-direction: column;
        gap: 20px;
    }

    .mobile-menu.active {
        left: 0;
    }

    .menu-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        z-index: 999;
    }

    .menu-overlay.active {
        display: block;
    }

    .hidden-md {
        display: none;
    }

    .flex-col-md {
        display: flex;
        flex-direction: column;
        width: 100%;
    }
}

/* Estilos para tablet y desktop */
@media (min-width: 769px) {
    .mobile-header,
    .mobile-menu,
    .menu-toggle,
    .menu-overlay {
        display: none !important;
    }

    .flex-col-md {
        display: none;
    }

    .hidden-md {
        display: grid;
        grid-template-columns: 1fr 2fr 1fr;
        align-items: center;
        width: 100%;
    }

    .logo {
        height: 2.5rem;
    }
}

/* Estilos del menú móvil */
.mobile-menu {
    position: fixed;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100vh;
    background: #232f3e;
    padding: 2rem 1rem;
    transition: left 0.3s ease;
    z-index: 1001;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding-top: 5rem;
    align-items: center;
    box-sizing: border-box;
}

.mobile-menu.active {
    left: 0;
}

.mobile-menu .header-btn {
    color: white;
    text-decoration: none;
    font-size: 0.9rem;
    padding: 0.75rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border-radius: 0.25rem;
    transition: background-color 0.2s ease;
    width: 80%;
    max-width: 300px;
    justify-content: center;
}

.mobile-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 0.75rem 1rem;
    position: relative;
    background: #232f3e;
    z-index: 1002;
}

.mobile-header .logo-section {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1003;
    width: auto;
    height: 100%;
    display: flex;
    align-items: center;
}

.mobile-header .logo-link {
    display: block;
    height: 100%;
    display: flex;
    align-items: center;
}

.mobile-header .logo {
    height: 2.5rem;
    width: auto;
    max-width: 150px;
    object-fit: contain;
}

.menu-toggle {
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1004;
    position: relative;
}

.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

/* Añadir estilos para cuando el menú está activo */
.mobile-menu.active + .menu-overlay {
    opacity: 1;
    visibility: visible;
}

.mobile-menu.active ~ .mobile-header {
    opacity: 0.5;
    transition: opacity 0.3s ease;
}

.mobile-menu.active ~ .mobile-header .logo {
    opacity: 0.5;
    transition: opacity 0.3s ease;
}

.mobile-menu.active ~ .mobile-header .menu-toggle {
    opacity: 1;
    z-index: 1004;
}

.tabs-header button:first-child {
    border-top-left-radius: 8px;
}

.tabs-header button:last-child {
    border-top-right-radius: 8px;
}

/* Remove all tab button styles */
.tab-btn,
.tab-btn:first-child,
.tab-btn:last-child,
.tab-btn:hover,
.tab-btn.active,
.tab-btn i {
    /* Basic button functionality only */
    border: none;
    background: none;
    cursor: pointer;
    border-radius: 0 !important;
}

/* Override any existing border radius rules */
button[data-tab],
button[data-tab]:first-of-type,
button[data-tab]:last-of-type,
button[data-tab]:hover,
button[data-tab].active {
    border-radius: 0 !important;
}

.tabs-header button,
.tabs-header button:first-child,
.tabs-header button:last-child {
    border-radius: 0 !important;
}

@media (max-width: 768px) {
    .tabs-header,
    .tabs-header button,
    .tabs-header button:first-child,
    .tabs-header button:last-child {
        border-radius: 0 !important;
    }
}

/* Interior pages content */
.interior-content {
    max-width: 1200px;
    margin: 0 auto;
    /*padding: 20px;*/
}

.interior-content h3 {
    color: #232f3e;
    margin-bottom: 20px;
    font-size: 24px;
}

.content-section {
    background: #fff;
    /*border-radius: 8px;*/
    padding: 30px;
    /*box-shadow: 0 2px 4px rgba(0,0,0,0.1);*/
    margin-bottom: 30px;
}

.content-section h3 {
    color: #232f3e;
    margin-bottom: 15px;
    font-size: 20px;
}

.content-section p {
    color: #333;
    line-height: 1.6;
    margin-bottom: 15px;
}

.shipping-info {
    margin-top: 20px;
}

.shipping-info ol {
    padding-left: 20px;
    margin-bottom: 20px;
}

.shipping-info li {
    margin-bottom: 15px;
    line-height: 1.6;
}

.shipping-info a {
    color: #007bff;
    text-decoration: none;
}

.shipping-info a:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .interior-content {
        padding: 15px;
    }
    
    .content-section {
        padding: 20px;
    }
    
    .interior-content h3 {
        font-size: 20px;
    }
    
    .content-section h3 {
        font-size: 18px;
    }
}

.tab-btn {
    flex: 1;
    padding: 12px 24px;
    background-color: white;
    border: none;
    color: #4B5563;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-width: 0;
}

.tab-btn:hover {
    background-color: #f3f4f6;
    color: #1F2937;
}

.tab-btn.active {
    background-color: #f3f4f6 !important;
    color: #2563EB !important;
    font-weight: 600;
}

.tab-btn.active i {
    color: #2563EB !important;
}

/* Remove all border-related styles */
button[data-tab],
button[data-tab]:first-of-type,
button[data-tab]:last-of-type,
button[data-tab]:hover,
button[data-tab].active,
.tab-btn,
.tab-btn:first-child,
.tab-btn:last-child,
.tab-btn:hover,
.tab-btn.active {
    border: none !important;
    border-bottom: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    outline: none !important;
}

button[data-tab] {
    flex: 1;
    padding: 12px 24px;
    background-color: white;
    border: none;
    color: #4B5563;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-width: 0;
}

button[data-tab]:first-of-type {
    border-top-left-radius: 8px !important;
}

button[data-tab]:last-of-type {
    border-top-right-radius: 8px !important;
}

button[data-tab] i {
    font-size: 16px;
}

button[data-tab] span {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

button[data-tab]:hover {
    background-color: #f3f4f6;
    color: #1F2937;
}

button[data-tab].active {
    background-color: white;
    color: #2563EB;
    border-bottom: 2px solid #2563EB;
}

@media (max-width: 768px) {
    button[data-tab] {
        padding: 10px 16px;
        font-size: 13px;
    }
    
    button[data-tab] i {
        font-size: 14px;
    }
}

/* Remove border radius from tab buttons */
button[data-tab]:hover,
button[data-tab].active,
button[data-tab]:first-of-type:hover,
button[data-tab]:last-of-type:hover {
    border-radius: 0 !important;
    background-color: #f3f4f6;
    color: #1F2937;
}

button[data-tab].active {
    background-color: white;
    color: #2563EB;
    border-bottom: 2px solid #2563EB;
    border-radius: 0 !important;
}

/* Override any existing border radius on hover */
.tab-btn:hover,
.tabs-header button:hover,
.tabs-header button:first-child:hover,
.tabs-header button:last-child:hover {
    border-radius: 0 !important;
}

@media (max-width: 768px) {
    .tabs-header button:hover,
    .tabs-header button:first-child:hover,
    .tabs-header button:last-child:hover {
        border-radius: 0 !important;
    }
}

/* Mobile styles */
@media (max-width: 767px) {
    .product-image-container {
        padding: 0;
        margin: 0;
        width: 100%;
        max-width: 100vw;
    }

    .product-image {
        max-height: 200px;
        width: 100%;
        height: auto;
        margin: 0.5rem auto;
        padding: 0;
        object-fit: contain;
    }

    .product-card {
        width: 100%;
        max-width: 100vw;
        padding: 0;
        margin: 0;
        overflow: hidden;
    }
}

/* Tablet styles */
@media (min-width: 768px) and (max-width: 1199px) {
    .product-image {
        max-height: 250px;
    }
}

/* Desktop styles */
@media (min-width: 1200px) {
    .product-image {
        max-height: 300px;
    }
}

.favorite-btn {
    position: relative;
    background-color: white;
    color: #dc2626;
    padding: 0.75rem;
    border-radius: 9999px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    z-index: 10;
    border: none;
    cursor: pointer;
    backdrop-filter: blur(4px);
    flex-shrink: 0;
}

.favorite-btn:hover {
    background-color: white;
    transform: scale(1.1);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.favorite-btn.active {
    color: #dc2626;
    background-color: white;
}

.favorite-btn i {
    font-size: 1.5rem;
}

.product-image-container {
    position: relative;
}

.favorites-table-container {
    width: 100%;
    overflow-x: auto;
    margin: 1rem 0;
}

.favorites-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    border-radius: 0.5rem;
}

.favorites-table th,
.favorites-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid #e5e7eb;
}

.favorites-table th {
    background-color: #f3f4f6;
    font-weight: 600;
    color: #374151;
}

.favorites-table tr:last-child td {
    border-bottom: none;
}

.favorites-table .actions {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.favorites-table .buy-btn {
    width: auto;
    max-width: 120px;
    padding: 0.375rem 0.75rem;
    font-size: 0.75rem;
    justify-content: center;
    background: linear-gradient(to right, #fbbf24, #f59e0b);
    color: black;
    font-weight: 700;
    border-radius: 0.5rem;
    transition: all 0.3s;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
}

.favorites-table .buy-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    text-decoration: none;
    background: linear-gradient(to right, #fbbf24, #f59e0b);
}

.favorites-table .buy-btn i {
    font-size: 1em;
}

.remove-favorite {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem;
    background-color: #fee2e2;
    color: #dc2626;
    border: none;
    border-radius: 0.375rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.remove-favorite:hover {
    background-color: #fecaca;
    transform: translateY(-1px);
}

.no-favorites {
    text-align: center;
    padding: 2rem;
    color: #6b7280;
    font-style: italic;
}

/* Favorites Table Mobile Styles */
@media (max-width: 768px) {
    .favorites-table-container {
        width: 100%;
        padding: 0;
        margin: 0;
        border: none;
    }

    .favorites-table {
        width: 100%;
        border-collapse: collapse;
        background: none;
        border: none;
    }

    .favorites-table thead {
        display: none;
    }

    .favorites-table tr {
        display: block;
        margin-bottom: 0;
        padding: 1rem 0;
        border-bottom: 1px solid #e5e7eb;
        background: none !important;
    }

    .favorites-table tr:hover {
        background: none !important;
    }

    .favorites-table tr:last-child {
        border-bottom: none !important;
        padding-bottom: 0;
        margin-bottom: 0;
    }

    .favorites-table td {
        display: block;
        padding: 0.5rem;
        text-align: left;
        border: none;
        background: none;
    }

    .favorites-table td:nth-child(2),
    .favorites-table td:nth-child(3) {
        display: inline-block;
        width: auto;
        vertical-align: middle;
    }

    .favorites-table td:nth-child(2) {
        margin-right: 1rem;
    }

    .favorites-table td:nth-child(3) {
        float: right;
        margin-left: auto;
    }

    .favorites-table .actions {
        display: flex;
        gap: 0.5rem;
        align-items: center;
        justify-content: flex-end;
        margin-left: auto;
    }

    .favorites-table .buy-btn {
        width: auto;
        max-width: 120px;
        padding: 0.375rem 0.75rem;
        font-size: 0.75rem;
        justify-content: center;
        background: linear-gradient(to right, #fbbf24, #f59e0b);
        color: black;
        font-weight: 700;
        border-radius: 0.5rem;
        transition: all 0.3s;
        box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
        border: none;
        cursor: pointer;
        display: flex;
        align-items: center;
        gap: 0.5rem;
        text-decoration: none;
    }

    .favorites-table .buy-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
        text-decoration: none;
        background: linear-gradient(to right, #fbbf24, #f59e0b);
    }

    .remove-favorite {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        padding: 0.5rem;
        background-color: #fee2e2;
        color: #dc2626;
        border: none;
        border-radius: 0.375rem;
        cursor: pointer;
        transition: all 0.3s ease;
    }

    .remove-favorite:hover {
        background-color: #fecaca;
        transform: translateY(-1px);
    }
}

/* Main container */
main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0;
    background: white;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    border-radius: 0 !important;
}

/* Responsive styles */
@media (max-width: 1200px) {
    main {
        margin: 0;
        border-radius: 0 !important;
    }
}

@media (max-width: 768px) {
    main {
        margin: 0;
        border-radius: 0 !important;
        margin-top: clamp(2rem, 3vh, 2.5rem);
    }
}

@media (max-width: 480px) {
    main {
        margin: 0;
        border-radius: 0 !important;
        margin-top: clamp(2rem, 3vh, 2.5rem);
    }
}

/* Favorites notification styles */
.favorites-notification {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    z-index: 1000;
    font-size: 0.875rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    transition: opacity 0.3s ease;
}

.favorites-notification i {
    color: #ff4d4d;
}

@media (max-width: 768px) {
    .favorites-notification {
        bottom: 10px;
        padding: 0.375rem 0.75rem;
        font-size: 0.75rem;
        gap: 0.375rem;
    }
}

.logo-link {
    display: inline-block;
    text-decoration: none;
    transition: transform 0.2s ease;
}

.logo-link:hover {
    transform: scale(1.05);
}

.logo-link:focus {
    outline: none;
}

.logo-link img {
    display: block;
    border: none;
    padding: 0;
    margin: 0;
    width: 100%;
    height: auto;
} 

/* No-offer message styles */
.no-offer-message {
    display: none; /* Hidden by default */
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 4rem 2rem;
    color: #6b7280;
    min-height: 300px;
}

.no-offer-message h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 0.5rem;
    text-align: center;
}

.no-offer-message p {
    font-size: 1rem;
    text-align: center;
}