.elementor-1563 .elementor-element.elementor-element-8a03162{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;}/* Start custom CSS for html, class: .elementor-element-4a98175 *//* TeeOneShirt - Size Chart Page CSS */
/* Modern, Responsive Design with Background Cards for Images */

/* Import Inter Font - Modern and Professional */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

/* Reset and Base Styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #f8f7ff 0%, #f0f0ff 100%);
    min-height: 100vh;
}

/* Main Container */
.size-guide-page {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    margin-top: 20px;
    margin-bottom: 20px;
    overflow: hidden;
}

/* Header Section */
.size-guide-header {
    background: linear-gradient(135deg, #5539a0 0%, #7c4dff 50%, #9c27b0 100%);
    color: white;
    padding: 40px 30px;
    text-align: center;
    border-radius: 15px 15px 0 0;
    position: relative;
    overflow: hidden;
    border-bottom: 4px solid #ffd700;
}

.size-guide-header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: shimmer 4s ease-in-out infinite;
}

@keyframes shimmer {
    0%, 100% { transform: translateX(-100%) translateY(-100%) rotate(0deg); }
    50% { transform: translateX(-50%) translateY(-50%) rotate(180deg); }
}

.header-content {
    position: relative;
    z-index: 2;
}

.brand-logo {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    position: relative;
    color: white;
}

.brand-logo::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(45deg, #ffd700, #ffed4e);
    border-radius: 2px;
}

.brand-subtitle {
    font-weight: 400;
    opacity: 0.9;
}

.page-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    font-weight: 300;
    letter-spacing: 1px;
    color: #ffed4e;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

/* Product Navigation */
.product-nav {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin: 30px 0;
    flex-wrap: wrap;
    padding: 0 20px;
}

.product-tab {
    padding: 15px 25px;
    border: 2px solid #5539a0;
    background: transparent;
    color: #5539a0;
    font-weight: 600;
    font-size: 0.9rem;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    outline: none;
    position: relative;
    overflow: hidden;
    white-space: nowrap;
    min-width: 140px;
}

.product-tab::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: linear-gradient(45deg, #5539a0, #7c4dff);
    border-radius: 50%;
    transition: all 0.3s ease;
    transform: translate(-50%, -50%);
    z-index: -1;
}

.product-tab:hover::before {
    width: 300px;
    height: 300px;
}

.product-tab:hover {
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(85, 57, 160, 0.3);
}

.product-tab.active {
    background: linear-gradient(45deg, #5539a0, #7c4dff);
    color: white;
    box-shadow: 0 10px 25px rgba(85, 57, 160, 0.3);
}

/* Product Sections */
.product-section {
    display: none;
    padding: 30px;
    border-radius: 15px;
    background: #ffffff;
    margin: 20px 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid #f0f0f0;
}

.product-section.active {
    display: block;
    animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Product Header */
.product-header {
    text-align: center;
    margin-bottom: 30px;
}

.product-header h2 {
    color: #5539a0;
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
}

.product-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(45deg, #5539a0, #7c4dff);
    border-radius: 2px;
}

/* Size Guide Tabs */
.size-guide-tabs {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 30px;
}

.tab-btn {
    padding: 12px 30px;
    border: 2px solid #5539a0;
    background: transparent;
    color: #5539a0;
    font-weight: 600;
    font-size: 0.9rem;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    outline: none;
    position: relative;
    overflow: hidden;
}

.tab-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: linear-gradient(45deg, #5539a0, #7c4dff);
    border-radius: 50%;
    transition: all 0.3s ease;
    transform: translate(-50%, -50%);
    z-index: -1;
}

.tab-btn:hover::before {
    width: 300px;
    height: 300px;
}

.tab-btn:hover {
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(85, 57, 160, 0.3);
}

.tab-btn.active {
    background: linear-gradient(45deg, #5539a0, #7c4dff);
    color: white;
    box-shadow: 0 8px 20px rgba(85, 57, 160, 0.3);
}

/* Size Guide Body */
.size-guide-body {
    display: flex;
    gap: 30px;
    margin-bottom: 30px;
    align-items: flex-start;
}

/* Image Container with Background Card */
.size-guide-img {
    flex: 0 0 250px;
    width: 250px;
    height: 300px;
    background: linear-gradient(135deg, #f8f7ff 0%, #f0f0ff 100%);
    border-radius: 15px;
    padding: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 10px 30px rgba(85, 57, 160, 0.1);
    border: 2px solid rgba(85, 57, 160, 0.1);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.size-guide-img::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(85, 57, 160, 0.05), rgba(124, 77, 255, 0.05));
    border-radius: 15px;
    z-index: 1;
}

.size-guide-img:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(85, 57, 160, 0.2);
}

.size-guide-img img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 10px;
    position: relative;
    z-index: 2;
    transition: transform 0.3s ease;
}

.size-guide-img:hover img {
    transform: scale(1.05);
}

/* Table Container */
.size-guide-table {
    flex: 1;
    overflow-x: auto;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid #f0f0f0;
}

/* Table Styles */
.tab-content {
    display: none;
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    border-radius: 15px;
    overflow: hidden;
    background: white;
    transition: all 0.3s ease;
}

.tab-content.active {
    display: table;
}

.tab-content thead {
    background: linear-gradient(135deg, #5539a0, #7c4dff);
    color: white;
}

.tab-content th {
    padding: 18px 15px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.9rem;
    text-align: center;
    position: relative;
    white-space: nowrap;
    min-width: 120px;
}

.tab-content th:first-child {
    text-align: center;
    min-width: 80px;
    padding-left: 20px;
}

.tab-content th::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: rgba(255, 255, 255, 0.2);
}

.tab-content td {
    padding: 15px 15px;
    text-align: center;
    border-bottom: 1px solid #f0f0f0;
    font-weight: 500;
    color: #333;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    white-space: nowrap;
    min-width: 120px;
}

.tab-content td:first-child {
    text-align: center;
    font-weight: 600;
    color: #5539a0;
    padding-left: 20px;
    min-width: 80px;
}

.tab-content tbody tr {
    transition: all 0.3s ease;
}

.tab-content tbody tr:hover {
    background: linear-gradient(135deg, #f8f7ff, #f0f0ff);
    transform: translateX(5px);
    box-shadow: 0 5px 15px rgba(85, 57, 160, 0.1);
}

.tab-content tbody tr:last-child td {
    border-bottom: none;
}

.tab-content tbody tr:nth-child(even) {
    background: #fafafa;
}

.tab-content tbody tr:nth-child(even):hover {
    background: linear-gradient(135deg, #f8f7ff, #f0f0ff);
}

/* Size Guide Tips */
.size-guide-tips {
    background: linear-gradient(135deg, #f8f7ff, #f0f0ff);
    padding: 25px;
    border-radius: 15px;
    margin-bottom: 25px;
    border-left: 4px solid #5539a0;
    position: relative;
}

.size-guide-tips::before {
    content: '💡';
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 1.2rem;
    opacity: 0.7;
}

.size-guide-tips ul {
    list-style: none;
    margin-bottom: 15px;
}

.size-guide-tips li {
    padding: 10px 0;
    position: relative;
    padding-left: 30px;
    color: #555;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.size-guide-tips li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #5539a0;
    font-weight: bold;
    font-size: 1.1rem;
}

.size-guide-tips li:hover {
    color: #5539a0;
    transform: translateX(5px);
}

.size-guide-tips p {
    color: #d32f2f;
    font-size: 0.9rem;
    font-weight: 500;
    text-align: center;
    padding: 15px;
    background: rgba(211, 47, 47, 0.1);
    border-radius: 8px;
    border: 1px solid rgba(211, 47, 47, 0.2);
    margin: 0;
    position: relative;
}

.size-guide-tips p::before {
    content: '⚠️';
    margin-right: 8px;
}

/* Responsive Design */
/* Large Desktop Screens (1200px+) */
@media (min-width: 1200px) {
    .size-guide-page {
        max-width: 1400px;
        padding: 30px;
    }
    
    .size-guide-img {
        flex: 0 0 280px;
        width: 280px;
        height: 320px;
    }
    
    .tab-content th,
    .tab-content td {
        padding: 20px 20px;
        font-size: 1rem;
        min-width: 140px;
    }
}

/* Medium Desktop Screens (992px - 1199px) */
@media (min-width: 992px) and (max-width: 1199px) {
    .size-guide-page {
        max-width: 1200px;
    }
    
    .size-guide-img {
        flex: 0 0 250px;
        width: 250px;
        height: 300px;
    }
}

/* Small Desktop / Large Tablet (768px - 991px) */
@media (min-width: 768px) and (max-width: 991px) {
    .size-guide-page {
        max-width: 900px;
        padding: 20px;
    }
    
    .size-guide-body {
        gap: 20px;
    }
    
    .size-guide-img {
        flex: 0 0 220px;
        width: 220px;
        height: 280px;
    }
    
    .tab-content th,
    .tab-content td {
        padding: 15px 12px;
        font-size: 0.85rem;
        min-width: 100px;
    }
}

/* Tablet Portrait (600px - 767px) */
@media (max-width: 767px) {
    .size-guide-page {
        padding: 15px;
        margin: 10px;
        border-radius: 15px;
    }

    .size-guide-header {
        padding: 30px 20px;
    }

    .brand-logo {
        font-size: 2.2rem;
    }

    .size-guide-body {
        flex-direction: column;
        gap: 20px;
        align-items: center;
    }

    .size-guide-img {
        flex: none;
        width: 100%;
        max-width: 300px;
        height: 250px;
    }

    .product-nav {
        flex-direction: column;
        gap: 10px;
    }

    .product-tab {
        width: 100%;
        padding: 12px;
        font-size: 0.8rem;
    }

    .tab-content {
        font-size: 0.8rem;
    }

    .tab-content th,
    .tab-content td {
        padding: 12px 8px;
        font-size: 0.8rem;
        min-width: 80px;
    }
}

/* Mobile Landscape (481px - 599px) */
@media (max-width: 599px) {
    .size-guide-page {
        padding: 10px;
        margin: 5px;
    }

    .size-guide-header {
        padding: 20px 15px;
    }

    .brand-logo {
        font-size: 1.8rem;
    }

    .size-guide-img {
        max-width: 250px;
        height: 200px;
    }

    .tab-content th,
    .tab-content td {
        padding: 10px 6px;
        font-size: 0.75rem;
        min-width: 70px;
    }
}

/* Mobile Portrait (320px - 480px) */
@media (max-width: 480px) {
    .size-guide-page {
        padding: 8px;
        margin: 3px;
    }

    .size-guide-header {
        padding: 15px 10px;
    }

    .brand-logo {
        font-size: 1.5rem;
    }

    .size-guide-img {
        max-width: 220px;
        height: 180px;
    }

    .tab-content {
        font-size: 0.7rem;
    }

    .tab-content th,
    .tab-content td {
        padding: 8px 4px;
        font-size: 0.7rem;
        min-width: 60px;
    }

    .size-guide-tips {
        padding: 15px;
    }

    .size-guide-tips li {
        font-size: 0.85rem;
    }
}

/* Hide hover effects on mobile */
@media (max-width: 600px) {
    .product-tab::before,
    .tab-btn::before {
        display: none !important;
    }
    
    .tab-content tbody tr:hover {
        background: inherit;
        transform: none;
        box-shadow: none;
    }
    
    .tab-content tbody tr:nth-child(even):hover {
        background: #fafafa;
    }
    
    .size-guide-img:hover {
        transform: none;
    }
    
    .size-guide-img:hover img {
        transform: none;
    }
}

/* Focus states for accessibility */
.product-tab:focus,
.tab-btn:focus {
    outline: 2px solid #5539a0;
    outline-offset: 2px;
}

/* Print styles */
@media print {
    .size-guide-page {
        box-shadow: none;
        border: 1px solid #ddd;
    }
    
    .product-tab,
    .tab-btn {
        display: none;
    }
    
    .tab-content {
        display: block !important;
    }
    
    .size-guide-img {
        break-inside: avoid;
    }
}

/* Animation Classes */
.fade-in {
    animation: fadeIn 0.5s ease-in-out;
}

/* Loading animation for images */
.size-guide-img img {
    opacity: 0;
    animation: imageLoad 0.5s ease-in-out forwards;
}

@keyframes imageLoad {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Mobile-specific scroll behavior */
@media (max-width: 767px) {
    html {
        scroll-behavior: smooth;
    }
    
    /* Ensure the size table is properly positioned for auto-scroll */
    .size-guide-table {
        scroll-margin-top: 20px;
    }
    
    /* Add a subtle indicator that content has scrolled */
    .product-section.active .size-guide-table {
        animation: tableFocus 0.5s ease-in-out;
    }
}

@keyframes tableFocus {
    0% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-5px);
    }
    100% {
        transform: translateY(0);
    }
}

/* Custom scrollbar */
.size-guide-table::-webkit-scrollbar {
    height: 8px;
}

.size-guide-table::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.size-guide-table::-webkit-scrollbar-thumb {
    background: linear-gradient(45deg, #5539a0, #7c4dff);
    border-radius: 4px;
}

.size-guide-table::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(45deg, #7c4dff, #9c27b0);
}

/* Footer Section */
.size-guide-footer {
    background: linear-gradient(135deg, #f8f7ff 0%, #f0f0ff 100%);
    padding: 40px 30px;
    margin-top: 40px;
    border-radius: 0 0 15px 15px;
    border-top: 2px solid #e0e0e0;
    text-align: center;
    position: relative;
}

.size-guide-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(45deg, #5539a0, #7c4dff, #9c27b0);
    border-radius: 2px;
}

.footer-content {
    max-width: 800px;
    margin: 0 auto;
}

.footer-content p {
    margin-bottom: 15px;
    color: #666;
    font-size: 1rem;
    line-height: 1.6;
    font-weight: 400;
}

.footer-content p:last-child {
    margin-bottom: 0;
    font-weight: 500;
    color: #5539a0;
}

/* Responsive footer */
@media (max-width: 767px) {
    .size-guide-footer {
        padding: 30px 20px;
        margin-top: 30px;
    }
    
    .footer-content p {
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .size-guide-footer {
        padding: 25px 15px;
    }
    
    .footer-content p {
        font-size: 0.9rem;
    }
}/* End custom CSS */