/*
Theme Name: Glowinkart
Theme URI: http://localhost/glowinkart
Author: Harpreet
Description: Custom ecommerce theme for custom printing services - business cards, brochures, flyers, neon signages
Version: 1.0
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
*/

/* ============================================
   VARIABLES & GENERAL STYLES
   ============================================ */

:root {
    --primary-color: #007bff;
    --primary-dark: #0056b3;
    --secondary-color: #6c757d;
    --success-color: #28a745;
    --danger-color: #dc3545;
    --warning-color: #ffc107;
    --info-color: #17a2b8;
    --light-color: #f8f9fa;
    --dark-color: #343a40;
    --border-color: #dee2e6;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

html {
    scroll-behavior: smooth;
}



   
/* ============================================
   HEADER STYLES
   ============================================ */

.gk-main-header {
    z-index: 1030;
    background: #fff;
}

.gk-top-strip .container,
.gk-main-header-primary .container,
.gk-main-header-nav .container {
    max-width: 1840px;
}

.gk-top-strip {
    background: #0f141b;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    color: #fff;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.gk-top-strip-inner {
    min-height: 40px;
    display: grid;
    grid-template-columns: 1.3fr 1fr 1.2fr;
    align-items: center;
    gap: 1rem;
}

.gk-top-strip-left,
.gk-top-strip-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.gk-top-strip-center {
    text-align: center;
    color: var(--warning-color);
    font-weight: 700;
}

.gk-strip-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.gk-flag-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    line-height: 1;
}

.gk-top-strip-right {
    justify-content: flex-end;
}

.gk-top-strip-right a {
    color: #fff;
    text-decoration: none;
}

.gk-top-strip-right a:hover {
    color: var(--primary-color);
}

.gk-main-header-primary {
    background: #fff;
    border-bottom: 1px solid var(--border-color);
}

.gk-header-row {
    min-height: 98px;
    display: flex;
    align-items: center;
    gap: 1.2rem;
}

.gk-header-logo {
    flex: 0 0 auto;
}

.gk-header-logo .custom-logo {
    max-height: 70px;
    width: auto;
}

.gk-logo-text {
    font-size: 2rem;
    line-height: 1;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 700;
}

.gk-header-search {
    flex: 1 1 560px;
    max-width: 560px;
}

.gk-header-search .input-group {
    border: 1px solid #cfd6df;
    border-radius: 8px;
    overflow: hidden;
}

.gk-header-search .form-control {
    min-width: 220px;
    border: 0;
    border-radius: 0;
    padding: 0.85rem 1rem;
    box-shadow: none !important;
}

.gk-header-search .btn {
    background: transparent;
    color: var(--primary-dark);
    border: 0;
    border-radius: 0;
    min-width: 52px;
}

.gk-header-actions {
    display: flex;
    align-items: center;
    gap: 0.65rem;
}

.gk-header-pill {
    border-radius: 999px;
    height: 48px;
    padding: 0 1.45rem;
    font-size: 0.95rem;
    font-weight: 700;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    color: #fff;
    text-decoration: none;
}

.gk-header-pill-primary {
    background: linear-gradient(90deg, var(--primary-color), var(--primary-dark));
}

.gk-header-pill-dark {
    background: var(--dark-color);
}

.gk-header-pill:hover {
    color: #fff;
    opacity: 0.92;
}

.gk-header-support {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding-left: 0.55rem;
    margin-left: 0.35rem;
    border-left: 1px solid var(--border-color);
}

.gk-header-support i {
    font-size: 1.45rem;
    color: var(--dark-color);
}

.gk-header-support span {
    display: block;
    font-size: 0.74rem;
    color: #4d5a68;
    text-transform: uppercase;
    line-height: 1.2;
}

.gk-header-support a {
    color: var(--primary-color);
    font-weight: 700;
    text-decoration: none;
    font-size: 1.2rem;
    line-height: 1.1;
}

.gk-header-icon-btn {
    font-size: 1.2rem;
    line-height: 1;
    color: #1f2937;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 999px;
    text-decoration: none;
}

.gk-header-icon-btn:hover {
    background: rgba(0, 123, 255, 0.08);
    color: var(--primary-color);
}

.gk-cart-btn {
    position: relative;
}

.gk-cart-badge {
    position: absolute;
    top: 2px;
    right: 0;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border-radius: 999px;
    background: var(--danger-color);
    color: #fff;
    font-size: 0.68rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.gk-account-link {
    width: auto;
    padding: 0 0.5rem;
    gap: 0.45rem;
    font-weight: 600;
}

.gk-hamburger .navbar-toggler-icon {
    width: 22px;
    height: 22px;
    display: block;
    background-image:
        linear-gradient(var(--primary-color), var(--primary-color)),
        linear-gradient(var(--primary-color), var(--primary-color)),
        linear-gradient(var(--primary-color), var(--primary-color));
    background-repeat: no-repeat;
    background-size: 18px 2px;
    background-position: center 4px, center 10px, center 16px;
}

.gk-hamburger {
    color: var(--primary-color) !important;
}

.gk-main-header-nav {
    background: #f4f7fb;
}

.gk-desktop-nav {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    list-style: none;
    margin: 0;
    padding: 0;
}

.gk-desktop-nav > li {
    position: relative;
}

.gk-main-header .gk-desktop-nav .nav-link {
    display: inline-flex;
    align-items: center;
    color: #18212b !important;
    font-weight: 600;
    font-size: 1.02rem;
    padding: 0.9rem 1.05rem;
    margin: 0;
    border-bottom: 2px solid transparent;
}

.gk-main-header .gk-desktop-nav .nav-link:hover,
.gk-main-header .gk-desktop-nav .nav-link.active {
    color: var(--primary-color) !important;
    border-bottom-color: var(--primary-color);
}

.gk-main-header .gk-desktop-nav .nav-link::after {
    display: none;
}

/* ============================================
   RESPONSIVE HEADER
   ============================================ */

@media (max-width: 1399.98px) {
    .gk-top-strip-inner {
        grid-template-columns: 1fr auto auto;
    }

    .gk-top-strip-center {
        text-align: right;
    }
}

@media (max-width: 1199.98px) {
    .gk-header-row {
        min-height: 86px;
        gap: 0.8rem;
    }

    .gk-header-logo .custom-logo {
        max-height: 60px;
    }

    .gk-header-search {
        flex-basis: 430px;
        max-width: 430px;
    }
}

@media (max-width: 991.98px) {
    .gk-main-header {
        top: 0 !important;
    }

    .gk-header-row {
        min-height: 66px;
    }

    .gk-header-search {
        display: none !important;
    }

    .gk-header-actions {
        gap: 0.4rem;
    }

    .gk-header-logo .custom-logo {
        max-height: 48px;
    }
}

@media (max-width: 575.98px) {
    .gk-header-row {
        min-height: 58px;
        gap: 0.5rem;
    }

    .gk-header-icon-btn {
        width: 36px;
        height: 36px;
        font-size: 1.05rem;
        
    }

    .gk-header-logo .custom-logo {
        max-height: 42px;
    }
}

/* Offcanvas mobile menu */
.gk-mobile-menu {
    width: min(92vw, 420px);
}

.gk-mobile-menu-header {
    background: #2e343b;
    padding: 1rem 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.gk-mobile-close {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
}

.gk-mobile-nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.gk-mobile-nav-list > li {
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.gk-mobile-nav-list a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.9rem 1rem;
    color: #111827;
    text-decoration: none;
    font-weight: 500;
}

.gk-mobile-nav-list a::after {
    content: "\f061"; /* fa-arrow-right */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    color: rgba(0, 0, 0, 0.55);
    margin-left: 12px;
}

.gk-mobile-nav-list a:hover {
    color: var(--primary-color);
    background: rgba(0, 123, 255, 0.06);
}

.gk-mobile-menu-footer {
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    padding: 0.75rem 0;
}

.gk-mobile-footer-link {
    display: block;
    padding: 0.85rem 1rem;
    color: #111827;
    text-decoration: none;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.gk-mobile-footer-link:hover {
    color: var(--primary-color);
    background: rgba(0, 123, 255, 0.06);
}

/* Breakpoints */
@media (max-width: 991.98px) {
    .navbar {
        padding: 0.4rem 0;
    }
    .gk-header-logo {
        margin-left: 10px;
        margin-right: 10px;
    }
}

@media (max-width: 575.98px) {
    .gk-header-row {
        min-height: 52px;
    }
    .gk-header-logo img {
        max-height: 42px;
    }
    .gk-header-actions {
        gap: 10px;
    }
    .gk-header-icon-btn {
        width: 34px;
        height: 34px;
        font-size: 1.05rem;
    }
}

.navbar-expand-lg .navbar-nav .nav-link {
    padding-right: 0.75rem;
    padding-left: 0.75rem;
}

.navbar-brand {
    color: var(--primary-color) !important;
    font-weight: 700;
    font-size: 1.5rem;
    letter-spacing: 1px;
}

.navbar-brand:hover {
    color: var(--primary-dark) !important;
}

.nav-link {
    color: #333 !important;
    font-weight: 500;
    margin: 0 10px;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color) !important;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

#navbarNav .dropdown-menu {
    border: none;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border-radius: 0.5rem;
}

#navbarNav .dropdown-item {
    color: #333;
    transition: all 0.3s ease;
}

#navbarNav .dropdown-item:hover {
    background-color: var(--light-color);
    color: var(--primary-color);
    padding-left: 1.75rem;
}


/* Control logo size */
.custom-logo {
    max-height: 60px;   /* change this value */
    width: auto;
}

/* Remove WordPress default huge size */
.custom-logo-link img {
    max-height: 60px;
    width: auto;
}

.navbar-brand {
    padding: 0;
    margin-right: 20px;
}

.navbar {
    padding-top: 10px;
    padding-bottom: 10px;
}
/* ============================================
   HERO SECTION
   ============================================ */

.hero-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 500px;
    display: flex;
    align-items: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 500px;
    height: 500px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.hero-section h1 {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
    animation: slideInLeft 0.8s ease;
}

.hero-section p {
    font-size: 1.125rem;
    opacity: 0.95;
    animation: slideInUp 0.8s ease 0.2s both;
}

.btn-group {
    animation: slideInUp 0.8s ease 0.4s both;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-image {
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

/* ============================================
   SERVICES SECTION
   ============================================ */

.services-section {
    padding: 60px 0;
}

.service-card {
    border: 2px solid transparent;
    transition: all 0.3s ease;
    background-color: #fff;
}

.service-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1) !important;
}

.service-card i {
    transition: transform 0.3s ease;
}

.service-card:hover i {
    transform: scale(1.1);
}


/* CATEGORY CAROUSEL PROFESSIONAL DESIGN */
/* CAROUSEL WRAPPER */

.category-carousel-wrapper{
position: relative;
padding: 0 46px;
overflow: visible;
}

.category-carousel-section .section-title {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    font-size: clamp(2rem, 2.2vw, 2.55rem);
    font-weight: 800;
    color: #1f2937;
    letter-spacing: -0.01em;
    margin-bottom: 1.75rem !important;
}

.category-carousel-section .section-title::before {
    content: "";
    width: 46px;
    height: 4px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--primary-color), #39b6ff);
}

/* NAVIGATION ARROWS */

.category-next,
.category-prev{
width: 46px;
height: 46px;
background: #fff;
border-radius: 50%;
box-shadow: 0 8px 18px rgba(0, 0, 0, 0.16);
border: 1px solid rgba(0, 123, 255, 0.22);
top: 50%;
transform: translateY(-50%);
z-index: 5;
}

.category-next:after,
.category-prev:after{
font-size: 15px;
color: #111827;
}

.category-next,
.category-prev {
    margin-top: 0;
}

.category-prev {
    left: 6px;
}

.category-next {
    right: 6px;
}

.category-next:hover,
.category-prev:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

.category-next:hover:after,
.category-prev:hover:after {
    color: #fff;
}

/* CARD BASE */

.category-card-inner{
border-radius: 16px;
overflow: hidden;
transition: transform 0.35s ease, box-shadow 0.35s ease;
box-shadow: 0 10px 24px rgba(0, 0, 0, 0.14);
will-change: transform;
}

/* IMAGE */

.category-image-wrapper{
height: 260px;
overflow: hidden;
position: relative;
}

.category-image{
width: 100%;
height: 100%;
object-fit: cover;
transition: transform 0.6s ease;
}

/* OVERLAY */

.category-overlay{
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: transparent;
pointer-events: none;
}

/* TITLE */

.category-title{
position: absolute;
bottom: 14px;
left: 14px;
right: 14px;
color: #fff;
font-size: 1.2rem;
line-height: 1.25;
font-weight: 700;
z-index: 2;
text-shadow: none;
display: inline-flex;
align-items: center;
width: fit-content;
max-width: calc(100% - 28px);
padding: 0.35rem 0.65rem;
background: rgba(0, 123, 255, 0.38);
border: 1px solid rgba(0, 123, 255, 0.45);
backdrop-filter: blur(2px);
border-radius: 10px;
}

.categorySwiper .swiper-slide{
    transition: transform 0.35s ease;
    transform: none;
    opacity: 1;
    height: auto;
    padding-top: 10px;
    padding-bottom: 12px;
}

.categorySwiper {
    overflow: visible;
    padding-top: 6px;
    padding-bottom: 6px;
}

/* HOVER ZOOM */

.category-card:hover .category-image{
transform: scale(1.1) rotate(1deg);
}

/* NEON GLOW EFFECT */

.category-card:hover .category-card-inner{
box-shadow: 0 24px 42px rgba(0, 123, 255, 0.3);
transform: translateY(-8px);
}

/* SMOOTH TRANSITION */

.categorySwiper .swiper-wrapper{
transition-timing-function: linear !important;
align-items: stretch;
}

@media (max-width: 767.98px) {
    .category-carousel-section .section-title {
        font-size: 2rem;
        margin-bottom: 1.25rem !important;
    }

    .category-carousel-section .section-title::before {
        width: 34px;
        height: 3px;
    }

    .category-carousel-wrapper {
        padding: 0 34px;
    }

    .category-next,
    .category-prev {
        width: 40px;
        height: 40px;
    }

    .category-prev {
        left: 2px;
    }

    .category-next {
        right: 2px;
    }

    .category-image-wrapper {
        height: 190px;
    }

    .category-title {
        font-size: 0.95rem;
        bottom: 10px;
        left: 10px;
        right: 10px;
    }
}

@media (max-width: 575.98px) {
    .categorySwiper:not(.swiper-initialized) .swiper-wrapper {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .categorySwiper:not(.swiper-initialized) .swiper-slide {
        width: auto;
    }

    .category-image-wrapper {
        height: 160px;
    }

    .category-title {
        font-size: 0.88rem;
        max-width: calc(100% - 20px);
        padding: 0.28rem 0.5rem;
    }
}

/* ============================================
   PRODUCTS SECTION
   ============================================ */

.featured-products-section {
    padding: 80px 0;
}

.product-card {
    border: none;
    transition: all 0.3s ease;
    overflow: hidden;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15) !important;
}

.product-image {
    position: relative;
    overflow: hidden;

    height: auto;
    height: 450px;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.1);
}

.product-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    min-height: 50px;
    display: flex;
    align-items: center;
}

.product-excerpt {
    min-height: 60px;
}

.product-rating {
    font-size: 0.875rem;
}

.product-price {
    font-size: 1.25rem;
    color: var(--primary-color);
}

/* ============================================
   SHOP PAGE STYLES
   ============================================ */

.shop-sidebar {
    margin-bottom: 30px;
}

.widget {
    background-color: var(--light-color);
    padding: 20px;
    border-radius: 0.5rem;
    margin-bottom: 20px;
}

.widget-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 10px;
}

.widget ul li {
    padding: 8px 0;
    border-bottom: 1px solid var(--border-color);
}

.widget ul li:last-child {
    border-bottom: none;
}

.widget ul li a {
    color: #666;
    text-decoration: none;
    transition: color 0.3s ease;
}

.widget ul li a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}



/* ============================================
   shop page sidebar styles
   ============================================ */

.product-card {

background: #fff;
border-radius: 12px;
overflow: hidden;
transition: 0.3s;
position: relative;

}

.product-card:hover {

transform: translateY(-10px);
box-shadow: 0 20px 40px rgba(0,0,0,0.1);

}

.product-image {

position: relative;
overflow: hidden;

}

.product-image img {

width: 100%;
transition: 0.4s;

}

.product-card:hover img {

transform: scale(1.1);

}

.product-hover {

position: absolute;
bottom: -100%;
left: 0;
width: 100%;
background: rgba(0,0,0,0.7);
padding: 15px;
text-align: center;
transition: 0.3s;

}

.product-card:hover .product-hover {

bottom: 0;

}

.btn-view {

display: inline-block;
background: #0d6efd;
color: white;
padding: 8px 20px;
margin-bottom: 10px;
border-radius: 5px;
text-decoration: none;

}

.shop-sidebar {

background: #f8f9fa;
padding: 20px;
border-radius: 10px;

}

.shop-widget {

margin-bottom: 25px;

}






/* ============================================
   SINGLE PRODUCT PAGE
   ============================================ */

.product-detail {
    background-color: #fff;
    padding: 30px;
    border-radius: 0.5rem;
}

.product-title {
    font-size: 2rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 15px;
}


/* Single product page image */
.woocommerce div.product div.images img,
.woocommerce-product-gallery__image img {
    max-width: 100% !important;   /* scale within container */
    height: auto !important;      /* keep proportions */
    object-fit: contain;          /* prevent cropping */
    display: block;
}

/* Make the image column wider */
.woocommerce div.product div.images {
    width: 100% !important;        /* give more space to image */
    float: left;                  /* keep it aligned left */
    padding-right: 2rem;          /* spacing from details */
}



.product-main-image {
    background-color: var(--light-color);
    padding: 20px;
    border-radius: 0.5rem;
    overflow: hidden;
}

.product-gallery-images img {
    cursor: pointer;
    border-radius: 0.3rem;
    transition: opacity 0.3s ease;
    opacity: 0.7;
}

.product-gallery-images img:hover {
    opacity: 1;
}

.product-description p {
    margin-bottom: 15px;
    line-height: 1.8;
}

.quantity-input {
    max-width: 150px;
}

.add-to-cart-btn {
    font-weight: 600;
    transition: all 0.3s ease;
}

.add-to-cart-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 123, 255, 0.4);
}

.product-meta {
    margin-top: 20px;
    padding-top: 20px;
}

/* ============================================
   PRODUCT DESIGNER STYLES
   ============================================ */

.designer-canvas-wrapper {
    padding: 20px;
    background-color: var(--light-color);
    border-radius: 0.5rem;
    min-height: 700px;
}

.designer-panel,
.designer-properties {
    max-height: 700px;
    overflow-y: auto;
}

#designerCanvas {
    border: 2px dashed var(--primary-color);
    border-radius: 0.3rem;
    background-color: white;
    display: inline-block;
}

.properties-empty {
    padding: 40px 20px;
}

/* ============================================
   FOOTER STYLES
   ============================================ */

footer {
    margin-top: 5rem;
    padding-bottom: 20px;
}

.newsletter-section {
    border-radius: 0.5rem 0.5rem 0 0;
}

.newsletter-section form {
    max-width: 400px;
}

footer h5,
footer h4 {
    font-weight: 600;
    color: #fff;
}

footer a {
    color: #b3d9ff;
    text-decoration: none;
    transition: color 0.3s ease;
}

footer a:hover {
    color: #fff;
    text-decoration: underline;
}

.social-links a {
    display: inline-block;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    text-align: center;
    line-height: 40px;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
}

.footer-widgets {
    margin-top: 40px;
}

.footer-widgets .widget {
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    border-radius: 0.3rem;
}

.footer-widgets .widget-title {
    border-bottom-color: var(--primary-color);
    color: white;
}

/* ============================================
   UTILITY STYLES
   ============================================ */

.btn-scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.btn-scroll-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

.rounded-lg {
    border-radius: 0.5rem;
}

.shadow-sm {
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.bg-gradient {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

/* ============================================
   BUTTON STYLES
   ============================================ */

.btn {
    border-radius: 0.3rem;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 123, 255, 0.4);
}

.btn-outline-primary:hover {
    transform: translateY(-2px);
}

/* ============================================
   FORM STYLES
   ============================================ */

.form-control,
.form-select {
    border: 1px solid var(--border-color);
    border-radius: 0.3rem;
    padding: 0.75rem;
    transition: all 0.3s ease;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

/* ============================================
   PAGINATION STYLES
   ============================================ */

.pagination .page-link {
    color: var(--primary-color);
    border-color: var(--border-color);
    transition: all 0.3s ease;
}

.pagination .page-link:hover,
.pagination .page-link:focus {
    color: #fff;
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.pagination .page-item.active .page-link {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

/* ============================================
   RESPONSIVE STYLES
   ============================================ */

@media (max-width: 768px) {
    /* Header responsive styles */
    .top-header {
        font-size: 0.75rem;
    }

    .navbar {
        padding: 0.5rem 0;
    }

    .navbar-brand {
        font-size: 1.25rem;
        letter-spacing: 0;
    }

    .navbar-expand-lg .navbar-nav .nav-link {
        margin: 0.5rem 0;
        padding: 0.5rem 1rem !important;
    }

    .input-group {
        width: 100%;
    }

    .d-none.d-lg-flex {
        display: none !important;
    }

    .hero-section {
        min-height: 350px;
        padding: 40px 0 !important;
    }

    .hero-section h1 {
        font-size: 1.75rem;
    }

    .hero-section p {
        font-size: 1rem;
    }

    .service-card {
        margin-bottom: 20px;
    }

    .product-card {
        margin-bottom: 20px;
    }

    .designer-panel,
    .designer-properties {
        margin-bottom: 20px;
        max-height: none;
    }

    .designer-canvas-wrapper {
        min-height: auto;
    }

    #designerCanvas {
        max-width: 100%;
        height: auto;
    }

    .navbar-toggler {
        border: none;
    }

    footer {
        margin-top: 3rem;
    }

    .btn-scroll-top {
        width: 40px;
        height: 40px;
        font-size: 0.75rem;
        bottom: 20px;
        right: 20px;
    }
}

@media (max-width: 576px) {
    /* Header responsive styles */
    .navbar {
        padding: 0.5rem 0;
    }

    .navbar-brand {
        font-size: 1.1rem;
    }

    .navbar-expand-lg .navbar-nav .nav-link {
        margin: 0.25rem 0;
        padding: 0.4rem 0.5rem !important;
        font-size: 0.95rem;
    }

    .nav-link::after {
        bottom: -2px;
    }

    .d-flex.gap-3 {
        gap: 0.75rem !important;
    }

    .d-flex.gap-3 a {
        font-size: 1.1rem;
    }

    .hero-section {
        min-height: 300px;
    }

    .hero-section h1 {
        font-size: 1.5rem;
    }

    .product-title {
        font-size: 1.5rem;
    }

    .newsletter-section .input-group {
        flex-direction: column;
    }

    .newsletter-section input,
    .newsletter-section button {
        width: 100%;
        margin-bottom: 10px;
    }

    footer {
        text-align: center;
    }

    footer .col-md-6 {

        margin-bottom: 15px;
    }
}

/* ============================================
   ANIMATIONS
   ============================================ */

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.5s ease;
}

.slide-down {
    animation: slideDown 0.5s ease;
}

/* ============================================
   WooCommerce STYLES
   ============================================ */

.woocommerce-message,
.woocommerce-info {
    background-color: #dff0d8;
    border: 1px solid #d6e9c6;
    border-radius: 0.3rem;
    padding: 15px;
    margin-bottom: 20px;
}

.woocommerce-error {
    background-color: #f2dede;
    border: 1px solid #ebccd1;
    color: #a94442;
}

.product-loop {
    margin-bottom: 30px;
}

.woocommerce-breadcrumb {
    margin-bottom: 30px;
    font-size: 0.9rem;
}
