/*
Theme Name: Chorka
Theme URI: https://sitekori.com/themes/chorka
Author: Sitekori
Author URI: https://sitekori.com
Description: Chorka is a high-converting, modern Bengali E-Commerce WooCommerce WordPress Theme with 1-click Cash on Delivery Checkout, Quick Order, and Dynamic Brand Color Customizer.
Version: 1.0.0
Text Domain: chorka
Tags: e-commerce, fashion, lifestyle, woocommerce, responsive, custom-colors, custom-header, theme-options, rtl-language-support, translation-ready
*/

/* Core CSS Reset & Theme Base Variables for Chorka */
*,
*::before,
*::after {
    box-sizing: border-box;
}

:root {
    --ns-primary: #e11d48;
    --ns-primary-hover: #be123c;
    --ns-secondary: #881337;
    --ns-accent: #f43f5e;
    --ns-dark: #0f172a;
    --ns-light: #fff1f2;
    --ns-gray: #64748b;
    --ns-border: #fecdd3;
    --ns-font-family: 'Hind Siliguri', 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

html,
body {
    max-width: 100%;
    overflow-x: hidden;
    overflow-x: clip;
}

body {
    font-family: var(--ns-font-family);
    color: #334155;
    background-color: #fff;
    margin: 0;
    padding: 0;
    line-height: 1.6;
}

#page,
.site {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    overflow-x: clip;
}

img,
svg,
video,
iframe,
embed,
object {
    max-width: 100%;
}

pre {
    max-width: 100%;
    overflow-x: auto;
}

/* Global Content & Size Chart Table Styling */
.sk-page-content,
.entry-content {
    max-width: 100%;
    overflow-x: auto;
}

.sk-page-content .wp-block-table,
.entry-content .wp-block-table {
    margin: 16px 0;
    max-width: 100%;
    overflow-x: auto;
}

.sk-page-content table,
.entry-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 16px 0;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    font-size: 0.92rem;
    text-align: left;
}

.sk-page-content table th,
.sk-page-content table td,
.entry-content table th,
.entry-content table td {
    border: 1px solid #cbd5e1;
    padding: 10px 14px;
    color: #334155;
    vertical-align: middle;
}

.sk-page-content table thead th,
.sk-page-content table th,
.entry-content table thead th,
.entry-content table th {
    background-color: #f1f5f9;
    color: #0f172a;
    font-weight: 700;
    border-bottom: 2px solid #cbd5e1;
}

.sk-page-content table tbody tr:nth-child(even),
.entry-content table tbody tr:nth-child(even) {
    background-color: #f8fafc;
}

.site-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
    box-sizing: border-box;
}

@media (max-width: 768px) {
    .site-container {
        padding: 0 12px;
    }
    .chorka-header-sticky {
        margin-bottom: 15px !important;
    }
    .sk-shop-container,
    .sk-page-container,
    .sk-inner-page-container,
    .sk-home-sections-wrap,
    .site-main,
    #content,
    .site-content,
    .sk-shop-banner,
    .entry-content,
    .sk-page-article,
    .sk-page-header {
        margin-top: 15px !important;
        padding-top: 25px !important;
    }
}

@media (max-width: 480px) {
    .site-container {
        padding: 0 8px;
    }
    .chorka-header-sticky {
        margin-bottom: 15px !important;
    }
    .sk-shop-container,
    .sk-page-container,
    .sk-inner-page-container,
    .sk-home-sections-wrap,
    .site-main,
    #content,
    .site-content,
    .sk-shop-banner,
    .entry-content,
    .sk-page-article,
    .sk-page-header {
        margin-top: 15px !important;
        padding-top: 25px !important;
    }
}


/* Global WooCommerce Screen Reader Text Reset */
.screen-reader-text,
.woocommerce-Price-amount + .screen-reader-text {
    border: 0 !important;
    clip: rect(1px, 1px, 1px, 1px) !important;
    -webkit-clip-path: inset(50%) !important;
    clip-path: inset(50%) !important;
    height: 1px !important;
    margin: -1px !important;
    overflow: hidden !important;
    padding: 0 !important;
    position: absolute !important;
    width: 1px !important;
    word-wrap: normal !important;
}

/* Price Formatting & Clean-up */
del .woocommerce-Price-amount {
    color: #94a3b8 !important;
    font-size: 0.88em !important;
    font-weight: 600 !important;
    text-decoration: line-through !important;
}

ins {
    text-decoration: none !important;
}

ins .woocommerce-Price-amount {
    color: var(--ns-primary, #e11d48) !important;
    font-weight: 800 !important;
}

/* Product Title Link Underline Fix */
.sk-product-title a,
.sk-product-title a:hover,
.sk-product-title a:focus,
.sk-product-title a:visited,
.gb-product-title a,
.sk-product-card h3 a {
    text-decoration: none !important;
    border-bottom: none !important;
    box-shadow: none !important;
    color: #0f172a;
    transition: color 0.2s ease;
}

.sk-product-title a:hover,
.gb-product-title a:hover,
.sk-product-card h3 a:hover {
    color: var(--ns-primary, #e11d48) !important;
    text-decoration: none !important;
}

/* Quick Order Button Color Overrides */
.sk-quick-order-btn,
.grambazar-quick-buy-btn,
.gb-btn-quick-order {
    background: var(--ns-primary, #e11d48) !important;
    color: #ffffff !important;
    border: none !important;
    padding: 10px 16px !important;
    border-radius: 8px !important;
    font-size: 0.92rem !important;
    font-weight: 700 !important;
    cursor: pointer !important;
    transition: all 0.25s ease !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    box-shadow: 0 4px 12px rgba(225, 29, 72, 0.25) !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    font-family: 'Hind Siliguri', sans-serif !important;
    text-decoration: none !important;
}

.sk-quick-order-btn:hover,
.grambazar-quick-buy-btn:hover,
.gb-btn-quick-order:hover {
    background: #be123c !important;
    color: #ffffff !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 6px 18px rgba(225, 29, 72, 0.38) !important;
    text-decoration: none !important;
}


