/*
Theme Name: Free Study Gujarat Team - Recovery
Theme URI: https://freestudygujarat.com/
Author: Free Study Gujarat Team
Author URI: https://freestudygujarat.com/
Description: A fast, responsive WooCommerce storefront with clean product grids, mobile navigation, custom catalog routes, compact cart, delivery checkout, and pay-on-delivery ordering.
Version: 2.0.3
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: free-study-gujarat-team
Tags: e-commerce, custom-logo, featured-images, responsive-layout, accessibility-ready
*/

:root {
    --fsgt-bg: #f7fafc;
    --fsgt-surface: #ffffff;
    --fsgt-text: #1f2937;
    --fsgt-strong: #111827;
    --fsgt-muted: #4b5563;
    --fsgt-subtle: #6b7280;
    --fsgt-border: #e5e7eb;
    --fsgt-soft: #f3f4f6;
    --fsgt-accent: #4f46e5;
    --fsgt-accent-dark: #4338ca;
    --fsgt-danger: #ef4444;
    --fsgt-success: #15803d;
    --fsgt-shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.06);
    --fsgt-shadow-md: 0 4px 12px rgba(15, 23, 42, 0.10);
    --fsgt-shadow-lg: 0 12px 28px rgba(15, 23, 42, 0.12);
    --fsgt-container: 1184px;
    --fsgt-radius: 8px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

body {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    margin: 0;
    overflow-x: hidden;
    background: var(--fsgt-bg);
    color: var(--fsgt-text);
    font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 16px;
    line-height: 1.5;
    letter-spacing: 0;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

body.fsgt-menu-open {
    overflow: hidden;
}

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

button,
input,
select,
textarea {
    color: inherit;
    font: inherit;
    letter-spacing: 0;
}

button,
select {
    cursor: pointer;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

svg {
    display: block;
}

main {
    min-width: 0;
}

.screen-reader-text {
    position: absolute !important;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.screen-reader-text:focus {
    z-index: 100000;
    top: 5px;
    left: 5px;
    width: auto;
    height: auto;
    padding: 12px 16px;
    clip: auto;
    background: #fff;
    color: #111;
}

.fsgt-container {
    width: min(100%, var(--fsgt-container));
    margin-inline: auto;
    padding-inline: 16px;
}

.fsgt-icon {
    width: 24px;
    height: 24px;
    flex: 0 0 auto;
}

.fsgt-button,
.woocommerce button.button,
.woocommerce a.button,
.woocommerce input.button,
#place_order {
    display: inline-flex;
    min-height: 42px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 0;
    border-radius: 999px;
    padding: 10px 26px;
    background: var(--fsgt-accent);
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.25;
    text-align: center;
    transition: background-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.fsgt-button:hover,
.fsgt-button:focus-visible,
.woocommerce button.button:hover,
.woocommerce a.button:hover,
.woocommerce input.button:hover,
#place_order:hover {
    background: var(--fsgt-accent-dark);
    color: #fff;
    box-shadow: var(--fsgt-shadow-md);
}

.fsgt-button:active,
.woocommerce button.button:active,
#place_order:active {
    transform: translateY(1px);
}

.fsgt-button--block {
    width: 100%;
}

/* Ad code is intentionally not resized globally. Fixed units keep the size set by the ad provider. */
body > center,
.fsgt-main > center,
.fsgt-section > center {
    max-width: 100%;
    margin-inline: auto;
    overflow-x: auto;
    text-align: center;
}

.fsgt-product-grid > .code-block,
.fsgt-product-grid > [class*="code-block-"],
.fsgt-product-grid > .fsgt-grid-ad,
.woocommerce ul.products > .code-block,
.woocommerce ul.products > [class*="code-block-"],
.woocommerce ul.products > .fsgt-grid-ad {
    display: block !important;
    grid-column: 1 / -1;
    justify-self: center;
    width: 100% !important;
    max-width: 100% !important;
    margin: 16px auto !important;
    overflow-x: auto !important;
    text-align: center;
}

ins.adsbygoogle[style*="300px"][style*="600px"],
.fsgt-product-grid ins.adsbygoogle[style*="300px"][style*="600px"],
.woocommerce ul.products ins.adsbygoogle[style*="300px"][style*="600px"] {
    width: 300px !important;
    min-width: 300px !important;
    max-width: 300px !important;
    height: 600px !important;
    min-height: 600px !important;
    max-height: 600px !important;
    margin-inline: auto !important;
}

.fsgt-grid-ad iframe[id*="google_ads_iframe"],
iframe[id*="google_ads_iframe"][style*="300px"][style*="600px"],
.fsgt-product-grid ins.adsbygoogle[style*="300px"][style*="600px"] iframe,
.woocommerce ul.products ins.adsbygoogle[style*="300px"][style*="600px"] iframe {
    width: 300px !important;
    min-width: 300px !important;
    max-width: 300px !important;
    height: 600px !important;
    min-height: 600px !important;
    max-height: 600px !important;
}

/* Header */
.fsgt-header {
    position: sticky;
    z-index: 1000;
    top: 0;
    width: 100%;
    background: var(--fsgt-surface);
    border-radius: 0 0 var(--fsgt-radius) var(--fsgt-radius);
    box-shadow: var(--fsgt-shadow-md);
}

.admin-bar .fsgt-header {
    top: 32px;
}

.fsgt-header__inner {
    display: flex;
    min-height: 68px;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding-block: 12px;
}

.fsgt-brand {
    display: inline-flex;
    min-width: 0;
    align-items: center;
    color: var(--fsgt-text);
    font-size: 26px;
    font-weight: 700;
    line-height: 1.15;
}

.fsgt-brand .custom-logo-link {
    display: inline-flex;
}

.fsgt-brand .custom-logo {
    width: auto;
    max-width: 280px;
    max-height: 48px;
}

.fsgt-desktop-nav {
    display: none;
    min-width: 0;
    align-items: center;
    justify-content: center;
    gap: 28px;
}

.fsgt-desktop-nav > a,
.fsgt-category-menu__button {
    border: 0;
    padding: 6px 0;
    background: transparent;
    color: var(--fsgt-muted);
    font-size: 15px;
    font-weight: 500;
    line-height: 1.3;
    white-space: nowrap;
}

.fsgt-desktop-nav > a:hover,
.fsgt-desktop-nav > a:focus-visible,
.fsgt-category-menu__button:hover,
.fsgt-category-menu__button:focus-visible {
    color: var(--fsgt-strong);
}

.fsgt-category-menu {
    position: relative;
}

.fsgt-category-menu__button {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.fsgt-category-menu__button .fsgt-icon {
    width: 16px;
    height: 16px;
    transition: transform 180ms ease;
}

.fsgt-category-menu:hover .fsgt-category-menu__button .fsgt-icon,
.fsgt-category-menu:focus-within .fsgt-category-menu__button .fsgt-icon {
    transform: rotate(180deg);
}

.fsgt-category-menu__panel {
    position: absolute;
    top: calc(100% + 8px);
    left: -12px;
    z-index: 20;
    width: 240px;
    max-height: 300px;
    padding: 8px;
    overflow-y: auto;
    visibility: hidden;
    transform: translateY(-4px);
    opacity: 0;
    border: 1px solid var(--fsgt-border);
    border-radius: var(--fsgt-radius);
    background: #fff;
    box-shadow: var(--fsgt-shadow-lg);
    transition: opacity 160ms ease, transform 160ms ease, visibility 160ms ease;
}

.fsgt-category-menu:hover .fsgt-category-menu__panel,
.fsgt-category-menu:focus-within .fsgt-category-menu__panel {
    visibility: visible;
    transform: translateY(0);
    opacity: 1;
}

.fsgt-category-menu__panel a {
    display: block;
    border-radius: 6px;
    padding: 9px 12px;
    color: var(--fsgt-muted);
    font-size: 14px;
    font-weight: 500;
    overflow-wrap: anywhere;
}

.fsgt-category-menu__panel a:hover,
.fsgt-category-menu__panel a:focus-visible {
    background: var(--fsgt-soft);
    color: var(--fsgt-accent);
}

.fsgt-header__actions {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 10px;
}

.fsgt-cart-button,
.fsgt-icon-button {
    position: relative;
    display: inline-grid;
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
    place-items: center;
    border: 0;
    border-radius: 6px;
    padding: 0;
    background: transparent;
    color: var(--fsgt-muted);
}

.fsgt-cart-button:hover,
.fsgt-cart-button:focus-visible,
.fsgt-icon-button:hover,
.fsgt-icon-button:focus-visible {
    background: var(--fsgt-soft);
    color: var(--fsgt-strong);
}

.fsgt-cart-count {
    position: absolute;
    top: 0;
    right: 0;
    display: grid;
    min-width: 18px;
    height: 18px;
    place-items: center;
    border: 2px solid #fff;
    border-radius: 999px;
    padding-inline: 3px;
    background: var(--fsgt-danger);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    line-height: 1;
}

/* Drawer */
.fsgt-drawer {
    position: fixed;
    z-index: 1200;
    top: 0;
    right: 0;
    display: flex;
    width: min(82vw, 340px);
    height: 100dvh;
    flex-direction: column;
    overflow: hidden;
    transform: translateX(105%);
    background: #fff;
    box-shadow: -12px 0 28px rgba(15, 23, 42, 0.16);
    transition: transform 220ms ease;
}

.fsgt-drawer.is-open {
    transform: translateX(0);
}

.fsgt-drawer__head {
    display: flex;
    min-height: 72px;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--fsgt-border);
    padding: 12px 20px;
}

.fsgt-drawer__head h2 {
    margin: 0;
    font-size: 22px;
}

.fsgt-drawer__links,
.fsgt-drawer__categories {
    display: grid;
    gap: 4px;
    padding: 20px;
}

.fsgt-drawer__links a,
.fsgt-drawer__categories a {
    border-radius: 6px;
    padding: 11px 12px;
    color: var(--fsgt-muted);
    font-size: 16px;
    font-weight: 500;
    overflow-wrap: anywhere;
}

.fsgt-drawer__links a:hover,
.fsgt-drawer__categories a:hover {
    background: var(--fsgt-soft);
    color: var(--fsgt-strong);
}

.fsgt-drawer__title {
    margin: 4px 0 0;
    padding-inline: 32px;
    font-size: 18px;
}

.fsgt-drawer__categories {
    flex: 1;
    align-content: start;
    overflow-y: auto;
    padding-top: 10px;
}

.fsgt-overlay {
    position: fixed;
    z-index: 1100;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    visibility: hidden;
    border: 0;
    padding: 0;
    opacity: 0;
    background: rgba(17, 24, 39, 0.54);
    cursor: default;
    transition: opacity 220ms ease, visibility 220ms ease;
}

.fsgt-overlay.is-open {
    visibility: visible;
    opacity: 1;
}

/* Catalog */
.fsgt-main {
    min-height: 45vh;
}

.fsgt-section {
    padding-block: 48px;
}

.fsgt-section--catalog {
    padding-top: 18px;
    padding-bottom: 64px;
}

.fsgt-section-title {
    margin: 0 0 44px;
    color: var(--fsgt-text);
    font-size: 36px;
    font-weight: 700;
    line-height: 1.15;
    text-align: center;
}

.fsgt-product-grid,
.woocommerce ul.products {
    display: grid !important;
    min-width: 0;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    width: 100%;
    margin: 0;
    padding: 0;
    list-style: none;
}

.fsgt-product-card,
.woocommerce ul.products li.product {
    display: flex;
    min-width: 0;
    height: 100%;
    flex-direction: column;
    overflow: hidden;
    border-radius: var(--fsgt-radius);
    background: var(--fsgt-surface);
    box-shadow: var(--fsgt-shadow-md);
    transition: transform 200ms ease, box-shadow 200ms ease;
}

.fsgt-product-card:hover,
.woocommerce ul.products li.product:hover {
    transform: translateY(-4px);
    box-shadow: var(--fsgt-shadow-lg);
}

.fsgt-product-card__image,
.woocommerce ul.products li.product > a:first-child {
    display: block;
    width: 100%;
    min-width: 0;
    overflow: hidden;
    background: var(--fsgt-soft);
}

.fsgt-product-card__image img,
.woocommerce ul.products li.product a img {
    width: 100%;
    height: 208px;
    margin: 0 !important;
    object-fit: cover;
    transition: transform 320ms ease;
}

.fsgt-product-card:hover .fsgt-product-card__image img,
.woocommerce ul.products li.product:hover a img {
    transform: scale(1.035);
}

.fsgt-product-card__body {
    display: flex;
    min-width: 0;
    flex: 1;
    flex-direction: column;
    align-items: stretch;
    padding: 22px 24px 24px;
    text-align: center;
}

.fsgt-product-card h3,
.woocommerce ul.products li.product .woocommerce-loop-product__title {
    display: -webkit-box;
    min-height: 48px;
    margin: 0 0 8px;
    overflow: hidden;
    color: var(--fsgt-strong);
    font-size: 17px;
    font-weight: 600;
    line-height: 1.4;
    overflow-wrap: anywhere;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.fsgt-product-card__price,
.woocommerce ul.products li.product .price {
    min-width: 0;
    margin: 0 0 16px;
    color: var(--fsgt-strong);
    font-size: 19px;
    font-weight: 700;
    line-height: 1.3;
    overflow-wrap: anywhere;
}

.fsgt-product-card__price del,
.woocommerce ul.products li.product .price del {
    color: var(--fsgt-subtle);
    font-weight: 500;
    opacity: 1;
}

.fsgt-product-card__price ins,
.woocommerce ul.products li.product .price ins {
    color: var(--fsgt-strong);
    text-decoration: none;
}

.fsgt-product-card .fsgt-button {
    margin-top: auto;
}

.woocommerce ul.products li.product .button {
    width: calc(100% - 32px);
    margin: auto 16px 18px;
}

.woocommerce span.onsale {
    position: absolute;
    z-index: 2;
    top: 10px;
    left: 10px;
    min-width: 0;
    min-height: 0;
    margin: 0;
    border-radius: 999px;
    padding: 6px 10px;
    background: #a39b00;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
}

.woocommerce ul.products li.product {
    position: relative;
    float: none !important;
    width: auto !important;
    margin: 0 !important;
}

.woocommerce ul.products::before,
.woocommerce ul.products::after {
    display: none !important;
    content: none !important;
}

.fsgt-pagination {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 40px;
}

.fsgt-page-link {
    display: inline-grid;
    min-width: 40px;
    min-height: 40px;
    place-items: center;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    padding: 8px 12px;
    background: #fff;
    color: var(--fsgt-text);
    font-size: 14px;
    font-weight: 500;
}

.fsgt-page-link:hover,
.fsgt-page-link:focus-visible {
    background: var(--fsgt-soft);
}

.fsgt-page-link--active {
    border-color: var(--fsgt-accent);
    background: var(--fsgt-accent);
    color: #fff;
}

.fsgt-page-link--active:hover {
    background: var(--fsgt-accent-dark);
}

.fsgt-empty-state {
    display: grid;
    justify-items: center;
    gap: 14px;
    padding: 64px 24px;
    text-align: center;
}

.fsgt-empty-state h1,
.fsgt-empty-state h2,
.fsgt-empty-state p {
    margin: 0;
}

.fsgt-kicker {
    color: var(--fsgt-accent);
    font-size: 18px;
    font-weight: 700;
}

/* Content pages */
.fsgt-page-section {
    padding-block: 64px;
}

.fsgt-content-card {
    width: min(100%, 896px);
    margin-inline: auto;
    border-radius: var(--fsgt-radius);
    padding: 44px;
    background: #fff;
    box-shadow: var(--fsgt-shadow-md);
}

.fsgt-prose {
    color: var(--fsgt-muted);
}

.fsgt-prose > h1,
.fsgt-contact-page > h1 {
    margin: 0 0 32px;
    color: var(--fsgt-text);
    font-size: 36px;
    line-height: 1.2;
    text-align: center;
}

.fsgt-prose h2 {
    margin: 0 0 16px;
    color: var(--fsgt-text);
    font-size: 24px;
    line-height: 1.3;
}

.fsgt-prose h3 {
    margin: 22px 0 8px;
    color: var(--fsgt-text);
    font-size: 19px;
}

.fsgt-prose p,
.fsgt-prose ul,
.fsgt-prose ol {
    margin-top: 0;
    margin-bottom: 18px;
}

.fsgt-prose a:not(.fsgt-button) {
    color: var(--fsgt-accent);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.fsgt-about-page > section,
.fsgt-policy-page > section {
    margin-bottom: 44px;
}

.fsgt-about-page > section:not(.fsgt-page-cta) {
    text-align: center;
}

.fsgt-values {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    margin-top: 28px;
}

.fsgt-values > div {
    padding: 8px;
    text-align: center;
}

.fsgt-values span {
    display: inline-grid;
    width: 42px;
    height: 42px;
    place-items: center;
    margin-bottom: 14px;
    border: 1px solid #c7d2fe;
    border-radius: 50%;
    color: var(--fsgt-accent);
    font-size: 13px;
    font-weight: 700;
}

.fsgt-values h3 {
    margin: 0 0 8px;
}

.fsgt-values p {
    font-size: 14px;
}

.fsgt-page-cta {
    margin: 0 !important;
    border-top: 1px solid var(--fsgt-border);
    padding-top: 36px;
    text-align: center;
}

/* FAQ */
.fsgt-faq > section {
    margin-bottom: 40px;
}

.fsgt-faq__item {
    border-bottom: 1px solid var(--fsgt-border);
}

.fsgt-faq__item > button {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    border: 0;
    padding: 18px 0;
    background: transparent;
    color: var(--fsgt-text);
    font-size: 17px;
    font-weight: 600;
    text-align: left;
}

.fsgt-faq__item > button .fsgt-icon {
    width: 20px;
    height: 20px;
    transition: transform 180ms ease;
}

.fsgt-faq__item > button[aria-expanded="true"] .fsgt-icon {
    transform: rotate(180deg);
}

.fsgt-faq__answer {
    padding: 0 0 18px;
}

.fsgt-faq__answer p {
    margin: 0;
}

/* Contact */
.fsgt-contact-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 56px;
}

.fsgt-contact-layout h2 {
    margin: 0 0 22px;
    font-size: 23px;
}

.fsgt-contact-form {
    display: grid;
    gap: 18px;
}

.fsgt-contact-form label {
    display: grid;
    gap: 7px;
    color: var(--fsgt-text);
    font-size: 14px;
    font-weight: 600;
}

.fsgt-contact-form input,
.fsgt-contact-form textarea {
    width: 100%;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    padding: 11px 13px;
    background: #fff;
    font-weight: 400;
    outline: none;
}

.fsgt-contact-form input:focus,
.fsgt-contact-form textarea:focus {
    border-color: var(--fsgt-accent);
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.14);
}

.fsgt-contact-details h3 {
    margin: 24px 0 4px;
    font-size: 17px;
}

.fsgt-contact-details p {
    margin: 0;
    color: var(--fsgt-muted);
}

.fsgt-honeypot {
    position: absolute;
    left: -9999px;
}

.fsgt-notice,
.woocommerce-error,
.woocommerce-message,
.woocommerce-info {
    width: 100%;
    margin: 0 0 24px !important;
    border: 1px solid #bfdbfe;
    border-left: 4px solid var(--fsgt-accent);
    border-radius: 6px;
    padding: 14px 16px !important;
    background: #eff6ff;
    color: var(--fsgt-text);
    list-style: none;
}

.fsgt-notice--success,
.woocommerce-message {
    border-color: #bbf7d0;
    border-left-color: var(--fsgt-success);
    background: #f0fdf4;
}

.fsgt-notice--error,
.woocommerce-error {
    border-color: #fecaca;
    border-left-color: var(--fsgt-danger);
    background: #fef2f2;
}

/* Product detail */
.fsgt-product-section {
    padding-block: 64px;
}

.fsgt-product-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
}

.fsgt-gallery,
.fsgt-product-summary {
    min-width: 0;
}

.fsgt-gallery__stage {
    position: relative;
    overflow: hidden;
    border-radius: var(--fsgt-radius);
    background: #fff;
    box-shadow: var(--fsgt-shadow-md);
}

.fsgt-gallery__image {
    display: none;
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
}

.fsgt-gallery__image.is-active {
    display: block;
}

.fsgt-gallery__arrow {
    position: absolute;
    z-index: 3;
    top: 50%;
    display: grid;
    width: 40px;
    height: 40px;
    place-items: center;
    transform: translateY(-50%);
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.92);
    color: var(--fsgt-text);
    box-shadow: var(--fsgt-shadow-sm);
}

.fsgt-gallery__arrow:hover {
    background: #fff;
}

.fsgt-gallery__arrow--prev {
    left: 12px;
}

.fsgt-gallery__arrow--next {
    right: 12px;
}

.fsgt-gallery__thumbs {
    display: flex;
    gap: 10px;
    margin-top: 12px;
    overflow-x: auto;
    padding: 2px;
}

.fsgt-gallery__thumb {
    width: 68px;
    height: 68px;
    flex: 0 0 68px;
    overflow: hidden;
    border: 2px solid transparent;
    border-radius: 6px;
    padding: 0;
    background: #fff;
}

.fsgt-gallery__thumb.is-active {
    border-color: var(--fsgt-accent);
}

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

.fsgt-product-summary {
    align-self: start;
    border-radius: var(--fsgt-radius);
    padding: 32px;
    background: #fff;
    box-shadow: var(--fsgt-shadow-md);
}

.fsgt-product-summary > h1 {
    margin: 0 0 8px;
    color: var(--fsgt-text);
    font-size: 34px;
    line-height: 1.2;
    overflow-wrap: anywhere;
}

.fsgt-product-summary__price {
    margin-bottom: 26px;
    color: var(--fsgt-strong);
    font-size: 21px;
    font-weight: 700;
}

.fsgt-product-summary__price del {
    color: var(--fsgt-subtle);
    font-weight: 500;
}

.fsgt-product-summary__price ins {
    text-decoration: none;
}

.fsgt-product-summary__cart {
    margin-bottom: 32px;
}

.fsgt-product-summary form.cart {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
    margin: 0;
}

.fsgt-product-summary form.cart .quantity {
    flex: 0 0 72px;
}

.fsgt-product-summary form.cart .qty {
    width: 72px;
    height: 44px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    text-align: center;
}

.fsgt-product-summary .single_add_to_cart_button {
    min-width: 154px;
}

.fsgt-product-summary table.variations {
    width: 100%;
    margin-bottom: 16px;
    border-collapse: collapse;
}

.fsgt-product-summary table.variations th,
.fsgt-product-summary table.variations td {
    padding: 6px 0;
    text-align: left;
}

.fsgt-product-summary table.variations select {
    width: 100%;
    min-height: 42px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    padding: 8px 10px;
    background: #fff;
}

.fsgt-product-meta {
    margin-bottom: 26px;
}

.fsgt-product-meta h2 {
    margin: 0 0 8px;
    font-size: 15px;
}

.fsgt-product-meta ul {
    margin: 0;
    padding-left: 20px;
    color: var(--fsgt-muted);
}

.fsgt-product-meta a {
    color: var(--fsgt-accent);
}

.fsgt-product-description {
    font-size: 15px;
}

.fsgt-product-description > :last-child {
    margin-bottom: 0;
}

.fsgt-related-section {
    padding-top: 28px;
}

/* Quantity control */
.fsgt-quantity {
    display: inline-grid;
    grid-template-columns: 34px 44px 34px;
    align-items: center;
}

.fsgt-quantity > button {
    display: grid;
    width: 32px;
    height: 32px;
    place-items: center;
    border: 0;
    border-radius: 50%;
    padding: 0;
    background: #e5e7eb;
    color: var(--fsgt-muted);
}

.fsgt-quantity > button:hover {
    background: #d1d5db;
}

.fsgt-quantity .fsgt-icon {
    width: 15px;
    height: 15px;
}

.fsgt-quantity .quantity {
    display: block;
    width: 44px;
}

.fsgt-product-summary form.cart .fsgt-quantity .quantity {
    flex: none;
    width: 44px;
}

.fsgt-quantity input.qty {
    width: 44px;
    height: 34px;
    border: 0;
    background: transparent;
    font-weight: 600;
    text-align: center;
    appearance: textfield;
}

.fsgt-quantity input.qty::-webkit-outer-spin-button,
.fsgt-quantity input.qty::-webkit-inner-spin-button {
    margin: 0;
    appearance: none;
}

/* Cart */
.fsgt-cart-section {
    padding-block: 72px;
}

.fsgt-cart-panel {
    overflow: hidden;
    border-radius: var(--fsgt-radius);
    padding: 28px;
    background: #fff;
    box-shadow: var(--fsgt-shadow-md);
}

.fsgt-cart-item {
    display: grid;
    grid-template-columns: 80px minmax(0, 1fr) auto;
    align-items: center;
    gap: 16px;
    border-bottom: 1px solid var(--fsgt-border);
    padding: 0 0 22px;
}

.fsgt-cart-item + .fsgt-cart-item {
    padding-top: 22px;
}

.fsgt-cart-item__image {
    display: block;
    width: 80px;
    height: 80px;
    overflow: hidden;
    border-radius: 6px;
}

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

.fsgt-cart-item__info {
    min-width: 0;
}

.fsgt-cart-item__info h2 {
    margin: 0 0 2px;
    font-size: 18px;
    line-height: 1.3;
    overflow-wrap: anywhere;
}

.fsgt-cart-item__info p,
.fsgt-cart-item__info .variation {
    margin: 0;
    color: var(--fsgt-muted);
    font-size: 13px;
}

.fsgt-cart-item__controls {
    display: flex;
    align-items: center;
    gap: 14px;
}

.fsgt-cart-item__controls > strong {
    white-space: nowrap;
}

.fsgt-remove-item {
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    border-radius: 50%;
    color: var(--fsgt-subtle);
}

.fsgt-remove-item:hover {
    background: #fef2f2;
    color: var(--fsgt-danger);
}

.fsgt-remove-item .fsgt-icon {
    width: 18px;
    height: 18px;
}

.fsgt-cart-totals {
    display: grid;
    gap: 12px;
    padding-top: 24px;
}

.fsgt-cart-totals > div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.fsgt-cart-totals span {
    color: var(--fsgt-muted);
    font-weight: 500;
}

.fsgt-cart-totals .fsgt-discount {
    color: var(--fsgt-danger);
}

.fsgt-cart-totals .fsgt-cart-total {
    margin-top: 4px;
    border-top: 1px solid var(--fsgt-border);
    padding-top: 18px;
    font-size: 20px;
}

.fsgt-cart-total span,
.fsgt-cart-total strong {
    color: var(--fsgt-strong);
    font-weight: 700;
}

.fsgt-cart-checkout {
    display: flex;
    justify-content: center;
    margin-top: 28px;
}

/* Checkout */
.fsgt-checkout-section {
    padding-block: 48px 72px;
}

.fsgt-checkout-steps {
    width: min(100%, 760px);
    margin: 0 auto 30px;
}

.fsgt-checkout-steps > div {
    display: flex;
    align-items: center;
}

.fsgt-checkout-steps > div > span {
    display: grid;
    width: 36px;
    height: 36px;
    flex: 0 0 36px;
    place-items: center;
    border-radius: 50%;
    background: #d1d5db;
    color: var(--fsgt-muted);
    font-size: 14px;
    font-weight: 700;
}

.fsgt-checkout-steps > div > span.is-active {
    background: var(--fsgt-accent);
    color: #fff;
}

.fsgt-checkout-steps i {
    height: 3px;
    flex: 1;
    margin-inline: 8px;
    background: var(--fsgt-accent);
}

.fsgt-checkout-steps p {
    display: flex;
    justify-content: space-between;
    margin: 8px 0 0;
    color: var(--fsgt-subtle);
    font-size: 13px;
}

.fsgt-checkout-steps p strong {
    color: var(--fsgt-accent);
}

.fsgt-checkout-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
    align-items: start;
}

.fsgt-order-summary,
.fsgt-delivery-card {
    min-width: 0;
    border-radius: var(--fsgt-radius);
    padding: 24px;
    background: #fff;
    box-shadow: var(--fsgt-shadow-md);
}

.fsgt-order-summary > h2,
.fsgt-delivery-card > h1 {
    margin: 0 0 18px;
    color: var(--fsgt-strong);
    line-height: 1.25;
}

.fsgt-order-summary > h2 {
    font-size: 19px;
}

.fsgt-delivery-card > h1 {
    margin-bottom: 4px;
    font-size: 25px;
}

.fsgt-delivery-card__intro {
    margin: 0 0 26px;
    color: var(--fsgt-muted);
    font-size: 14px;
}

.fsgt-form-section-title {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 16px;
    color: var(--fsgt-strong);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
}

.fsgt-form-section-title .fsgt-icon {
    width: 19px;
    height: 19px;
    color: var(--fsgt-accent);
}

.woocommerce-billing-fields > h3,
.woocommerce-shipping-fields > h3 {
    display: none;
}

.woocommerce-billing-fields__field-wrapper {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 16px;
}

.woocommerce-billing-fields__field-wrapper > .form-row-wide {
    grid-column: 1 / -1;
}

.woocommerce-billing-fields__field-wrapper > .fsgt-form-half {
    grid-column: span 3;
}

.woocommerce-billing-fields__field-wrapper > .fsgt-form-third {
    grid-column: span 2;
}

.woocommerce form .form-row {
    float: none;
    width: 100%;
    margin: 0;
    padding: 0;
}

.woocommerce form .form-row:nth-last-child(-n + 3) {
    min-width: 0;
}

.woocommerce form .form-row label {
    display: block;
    margin-bottom: 7px;
    color: var(--fsgt-text);
    font-size: 13px;
    font-weight: 600;
}

.woocommerce form .form-row .required {
    color: var(--fsgt-danger);
}

.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select,
.select2-container--default .select2-selection--single {
    width: 100%;
    min-height: 44px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    padding: 10px 12px;
    background: #fff;
    color: var(--fsgt-text);
    outline: none;
}

.woocommerce form .form-row input.input-text:focus,
.woocommerce form .form-row textarea:focus,
.woocommerce form .form-row select:focus {
    border-color: var(--fsgt-accent);
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.14);
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    padding: 0;
    line-height: 22px;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    top: 8px;
}

.fsgt-order-summary table,
.woocommerce-checkout-review-order-table {
    width: 100%;
    border: 0;
    border-collapse: collapse;
}

.woocommerce-checkout-review-order-table thead {
    display: none;
}

.woocommerce-checkout-review-order-table th,
.woocommerce-checkout-review-order-table td {
    border: 0;
    border-bottom: 1px solid var(--fsgt-border);
    padding: 12px 0;
    font-size: 14px;
    text-align: left;
    vertical-align: top;
}

.woocommerce-checkout-review-order-table td:last-child,
.woocommerce-checkout-review-order-table tfoot td {
    text-align: right;
}

.woocommerce-checkout-review-order-table .product-name {
    padding-right: 12px;
    font-weight: 600;
    overflow-wrap: anywhere;
}

.fsgt-order-line {
    display: grid;
    grid-template-columns: 58px minmax(0, 1fr);
    align-items: center;
    gap: 12px;
    text-align: left;
}

.fsgt-order-line__image {
    display: block;
    width: 58px;
    height: 58px;
    overflow: hidden;
    border-radius: 6px;
    background: var(--fsgt-soft);
}

.fsgt-order-line__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.fsgt-order-line__copy {
    display: grid;
    min-width: 0;
    gap: 2px;
}

.fsgt-order-line__copy strong {
    color: var(--fsgt-strong);
    font-size: 14px;
    line-height: 1.3;
    overflow-wrap: anywhere;
}

.fsgt-order-line__copy small {
    color: var(--fsgt-subtle);
    font-size: 12px;
    font-weight: 400;
}

.woocommerce-checkout-review-order-table tfoot .order-total th,
.woocommerce-checkout-review-order-table tfoot .order-total td {
    border-bottom: 0;
    padding-top: 16px;
    color: var(--fsgt-strong);
    font-size: 18px;
}

.woocommerce-checkout-review-order-table .shipping ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.fsgt-checkout-payment-wrap {
    margin-top: 24px;
}

#payment {
    background: transparent;
}

#payment ul.payment_methods {
    margin: 0 0 16px;
    border: 1px solid var(--fsgt-border);
    border-radius: 6px;
    padding: 0;
    background: #fff;
    list-style: none;
}

#payment ul.payment_methods li {
    margin: 0;
    padding: 14px;
}

#payment ul.payment_methods li label {
    font-weight: 600;
}

#payment .payment_box {
    margin-top: 10px;
    color: var(--fsgt-muted);
    font-size: 13px;
}

#payment .payment_box p {
    margin: 0;
}

#payment .place-order {
    margin: 0;
    padding: 0;
}

#payment .woocommerce-privacy-policy-text {
    color: var(--fsgt-muted);
    font-size: 12px;
}

#place_order {
    width: 100%;
    min-height: 48px;
    border-radius: 6px;
    font-size: 16px;
}

.fsgt-information-note {
    display: flex;
    gap: 12px;
    margin-top: 16px;
    border-left: 4px solid var(--fsgt-accent);
    border-radius: 6px;
    padding: 14px;
    background: #eef2ff;
    color: var(--fsgt-muted);
    font-size: 13px;
}

.fsgt-information-note > .fsgt-icon {
    width: 21px;
    height: 21px;
    color: var(--fsgt-accent);
}

.fsgt-information-note strong {
    display: block;
    margin-bottom: 3px;
    color: var(--fsgt-text);
}

.fsgt-information-note p {
    margin: 0;
}

.woocommerce form.checkout_coupon,
.woocommerce form.login {
    width: min(100%, 720px);
    margin: 0 auto 24px;
    border: 1px solid var(--fsgt-border);
    border-radius: var(--fsgt-radius);
    padding: 20px;
    background: #fff;
}

/* Confirmation */
.fsgt-thanks-section {
    padding-block: 92px;
}

.fsgt-thanks-card {
    width: min(100%, 640px);
    margin-inline: auto;
    border-radius: var(--fsgt-radius);
    padding: 48px;
    background: #fff;
    box-shadow: var(--fsgt-shadow-md);
    text-align: center;
}

.fsgt-success-mark {
    width: 92px;
    height: 92px;
    margin: 0 auto 24px;
    color: var(--fsgt-success);
}

.fsgt-success-mark svg {
    width: 100%;
    height: 100%;
    fill: none;
    stroke: currentColor;
    stroke-width: 3;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.fsgt-success-mark circle {
    stroke-dasharray: 190;
    animation: fsgt-draw 700ms ease forwards;
}

.fsgt-success-mark path {
    stroke-dasharray: 60;
    stroke-dashoffset: 60;
    animation: fsgt-draw 500ms 400ms ease forwards;
}

@keyframes fsgt-draw {
    to { stroke-dashoffset: 0; }
}

.fsgt-thanks-card h1 {
    margin: 0 0 12px;
    font-size: 34px;
    line-height: 1.2;
}

.fsgt-thanks-card p {
    margin: 0 0 14px;
    color: var(--fsgt-muted);
    font-size: 17px;
}

.fsgt-thanks-card .fsgt-order-number {
    color: var(--fsgt-accent);
    font-weight: 700;
}

.fsgt-thanks-card .fsgt-thanks-card__small {
    font-size: 14px;
}

.fsgt-thanks-card .fsgt-button {
    margin-top: 18px;
}

/* Footer */
.fsgt-footer {
    border-radius: var(--fsgt-radius) var(--fsgt-radius) 0 0;
    background: #fff;
    box-shadow: inset 0 1px 0 var(--fsgt-border), 0 -2px 10px rgba(15, 23, 42, 0.03);
}

.fsgt-footer__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(220px, 1fr);
    gap: 64px;
    padding-top: 40px;
    padding-bottom: 32px;
}

.fsgt-footer h2 {
    margin: 0 0 14px;
    color: var(--fsgt-strong);
    font-size: 19px;
}

.fsgt-footer p {
    max-width: 560px;
    margin: 0;
    color: var(--fsgt-muted);
}

.fsgt-footer__links {
    display: grid;
    justify-items: center;
    align-content: start;
    gap: 7px;
    text-align: center;
}

.fsgt-footer__links a {
    color: var(--fsgt-muted);
}

.fsgt-footer__links a:hover {
    color: var(--fsgt-accent);
}

.fsgt-footer__copyright {
    border-top: 1px solid var(--fsgt-border);
    padding-top: 22px;
    padding-bottom: 28px;
    color: var(--fsgt-subtle);
    font-size: 13px;
    text-align: center;
}

body.woocommerce #sidebar,
body.woocommerce-page #sidebar,
body.woocommerce #secondary,
body.woocommerce-page #secondary,
body.woocommerce .widget-area,
body.woocommerce-page .widget-area {
    display: none !important;
}

@media (min-width: 640px) {
    .fsgt-container {
        padding-inline: 24px;
    }

    .fsgt-product-grid,
    .woocommerce ul.products {
        gap: 24px;
    }
}

@media (min-width: 768px) {
    .fsgt-container {
        padding-inline: 32px;
    }

    .fsgt-desktop-nav {
        display: flex;
    }

    .fsgt-menu-button {
        display: none;
    }

    .fsgt-product-grid,
    .woocommerce ul.products {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .fsgt-product-layout {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        gap: 48px;
    }
}

@media (min-width: 1024px) {
    .fsgt-container {
        padding-inline: 40px;
    }

    .fsgt-product-grid,
    .woocommerce ul.products {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .fsgt-product-layout {
        gap: 64px;
    }

    .fsgt-checkout-layout {
        grid-template-columns: minmax(280px, 1fr) minmax(0, 2fr);
    }

    .fsgt-order-summary {
        position: sticky;
        top: 92px;
    }

    .admin-bar .fsgt-order-summary {
        top: 124px;
    }
}

@media (max-width: 900px) and (min-width: 768px) {
    .fsgt-desktop-nav {
        gap: 15px;
    }

    .fsgt-desktop-nav > a,
    .fsgt-category-menu__button {
        font-size: 14px;
    }

    .fsgt-brand {
        font-size: 21px;
    }
}

@media (max-width: 782px) {
    .admin-bar .fsgt-header {
        top: 46px;
    }
}

@media (max-width: 767px) {
    .fsgt-header__inner {
        min-height: 64px;
        gap: 10px;
        padding-block: 10px;
    }

    .fsgt-brand {
        max-width: calc(100vw - 126px);
        font-size: 20px;
        overflow-wrap: anywhere;
    }

    .fsgt-brand .custom-logo {
        max-width: min(220px, calc(100vw - 126px));
        max-height: 44px;
    }

    .fsgt-header__actions {
        gap: 2px;
    }

    .fsgt-cart-button,
    .fsgt-icon-button {
        width: 38px;
        height: 38px;
        flex-basis: 38px;
    }

    .fsgt-section {
        padding-block: 36px;
    }

    .fsgt-section--catalog {
        padding-top: 20px;
        padding-bottom: 48px;
    }

    .fsgt-section-title {
        margin-bottom: 30px;
        font-size: 30px;
    }

    .fsgt-product-grid,
    .woocommerce ul.products {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 14px;
    }

    .fsgt-product-card:hover,
    .woocommerce ul.products li.product:hover {
        transform: none;
    }

    .fsgt-product-card__image img,
    .woocommerce ul.products li.product a img {
        height: 190px;
    }

    .fsgt-product-card__body {
        padding: 15px 12px 14px;
    }

    .fsgt-product-card h3,
    .woocommerce ul.products li.product .woocommerce-loop-product__title {
        min-height: 42px;
        margin-bottom: 7px;
        font-size: 14px;
        line-height: 1.45;
    }

    .fsgt-product-card__price,
    .woocommerce ul.products li.product .price {
        margin-bottom: 13px;
        font-size: 16px;
    }

    .fsgt-product-card .fsgt-button,
    .woocommerce ul.products li.product .button {
        min-height: 38px;
        padding: 8px 12px;
        font-size: 14px;
    }

    .fsgt-content-card {
        padding: 26px 20px;
    }

    .fsgt-page-section {
        padding-block: 40px;
    }

    .fsgt-prose > h1,
    .fsgt-contact-page > h1 {
        margin-bottom: 26px;
        font-size: 29px;
    }

    .fsgt-values,
    .fsgt-contact-layout {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .fsgt-product-section {
        padding-block: 36px;
    }

    .fsgt-product-summary {
        padding: 24px 20px;
    }

    .fsgt-product-summary > h1 {
        font-size: 28px;
    }

    .fsgt-cart-section {
        padding-block: 42px;
    }

    .fsgt-cart-panel {
        padding: 20px;
    }

    .fsgt-cart-item {
        grid-template-columns: 70px minmax(0, 1fr);
        align-items: start;
        gap: 12px;
    }

    .fsgt-cart-item__image {
        width: 70px;
        height: 70px;
    }

    .fsgt-cart-item__info h2 {
        font-size: 16px;
    }

    .fsgt-cart-item__controls {
        grid-column: 1 / -1;
        justify-content: flex-end;
        gap: 10px;
    }

    .fsgt-checkout-section {
        padding-block: 32px 48px;
    }

    .fsgt-order-summary,
    .fsgt-delivery-card {
        padding: 20px;
    }

    .woocommerce-billing-fields__field-wrapper {
        grid-template-columns: 1fr;
    }

    .woocommerce-billing-fields__field-wrapper > .form-row-wide,
    .woocommerce-billing-fields__field-wrapper > .fsgt-form-half,
    .woocommerce-billing-fields__field-wrapper > .fsgt-form-third {
        grid-column: auto;
    }

    .fsgt-thanks-section {
        padding-block: 54px;
    }

    .fsgt-thanks-card {
        padding: 36px 22px;
    }

    .fsgt-thanks-card h1 {
        font-size: 28px;
    }

    .fsgt-footer__grid {
        grid-template-columns: 1fr;
        gap: 34px;
        padding-top: 34px;
        text-align: center;
    }

    .fsgt-footer p {
        margin-inline: auto;
    }
}

@media (max-width: 420px) {
    .fsgt-container {
        padding-inline: 12px;
    }

    .fsgt-product-grid,
    .woocommerce ul.products {
        gap: 10px;
    }

    .fsgt-product-card__image img,
    .woocommerce ul.products li.product a img {
        height: 172px;
    }

    .fsgt-product-card__body {
        padding-inline: 9px;
    }

    .fsgt-product-card h3,
    .woocommerce ul.products li.product .woocommerce-loop-product__title {
        font-size: 13px;
    }

    .fsgt-product-card__price,
    .woocommerce ul.products li.product .price {
        font-size: 15px;
    }

    .fsgt-drawer {
        width: min(88vw, 340px);
    }

    .fsgt-cart-item__controls > strong {
        margin-right: auto;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
