/* ==========================================================================
   TeeSpace - Responsive Stylesheet
   ========================================================================== */
/* --------------------------------------------------------------------------
   Product & Category Grid Columns
   Desktop (≥1400px): 5 columns
   Laptop (≥992px):   4 columns
   Tablet (≥768px):  3 columns
   Mobile (<768px):  2 columns
   -------------------------------------------------------------------------- */
.product-grid-col {
  flex: 0 0 auto;
  width: 20%;
  /* 5 columns */
}

.category-slide {
  width: 20%;
}

/* Laptop - 4 columns */
@media (max-width: 1399.98px) {
  .product-grid-col {
    width: 25%;
  }

  .category-slide {
    width: 25%;
  }
}

/* Tablet - 3 columns */
@media (max-width: 991.98px) {
  .templates-section .row>div {
    width: 50%;
  }

  /* .row>* {
    padding: 0px !important;
  } */
  .product-card .product-info {
    padding-top: 10px;
    padding-inline: 0px;
  }

  .download-card,
  .testimonial-card {
    border-radius: 20px;
  }



  .add-cart-btn {

    padding: 0 7px 0 18px;

  }

  .product-title-price h5 {
    font-size: 16px;
  }

  .price-range {
    font-size: 15px;
  }

  .icon-btn {
    width: 34px;
    height: 34px;
  }
}

/* Mobile */
@media (max-width: 576px) {
  .product-card .product-image-wrap {
    position: relative;
    overflow: hidden;
    aspect-ratio: 3/4 !important;
    height: 100%;
    background-color: var(--bg-light);
  }

  .product-info {
    padding: 12px;
  }

  .product-title-price {
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
  }

  .product-title-price h5 {
    font-size: 15px;
  }

  .price-range {
    font-size: 14px;
  }

  .add-cart-btn {
    padding: 10px;
    font-size: 14px;
  }

  .icon-btn {
    width: 30px;
    height: 30px;
    font-size: 13px;
  }

  .product-actions {
    top: 8px;
    right: 8px;
    gap: 6px;
  }


  .download-card {
    padding: 40px 30px;
    text-align: center;
    overflow: hidden;
  }

  .download-content {
    position: relative;
    z-index: 2;
  }

  .download-content h2 {
    font-size: 34px;
  }

  .download-content p {
    font-size: 17px;
    margin-bottom: 25px;
  }

  .download-buttons {
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
  }

  .phone-left,
  .phone-right {
    width: 180px;
  }

  .phone-left {
    left: -30px;
    bottom: -20px;
  }

  .phone-right {
    right: -30px;
    bottom: -20px;
  }

  .testimonial-card {
    padding: 35px 30px;
    text-align: center;
  }

  .testimonial-author {
    justify-content: center;
  }

  .integration-left {
    text-align: center;
    margin-bottom: 30px;
  }

  .integration-title {
    font-size: 32px;
    margin-bottom: 20px;
  }

  .brand-slider {
    position: relative;
  }

  .brandSwiper .swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .brandSwiper .swiper-slide img {
    max-width: 120px;
    width: 100%;
    height: auto;
  }

  .custom-wrapper {
    display: flex;
    flex-direction: column;
    gap: 30px;
  }

  .custom-steps {
    width: 100%;
    order: 2;
  }

  .custom-image-box {
    width: 100%;
    order: 1;
    text-align: center;
  }

  .custom-image-box img {
    max-width: 420px;
    width: 100%;
    height: auto;
  }

  .custom-title {
    font-size: 34px;
    text-align: center;
    margin-bottom: 35px;
  }

  .custom-step {
    padding: 18px;
    margin-bottom: 15px;
  }

  .step-circle {
    width: 50px;
    height: 50px;
    font-size: 20px;
  }

  .step-text h4 {
    font-size: 20px;
  }

  .step-text p {
    font-size: 15px;
  }

  .showcase-card {
    min-height: 320px;
    margin-bottom: 20px;
    background-size: cover !important;
    background-position: center;
    border-radius: 15px;
    display: flex;
    align-items: center;
  }

  .gift-label {
    font-size: 15px;
    font-weight: 700;
    color: #e88c2a;
  }

  .gift-info h2 {
    font-size: var(--h5-size);
    font-weight: var(--fw-bold);
    line-height: 1.15;
    color: #4a2a1f;
    margin: 20px 0;
  }

  .gift-step {
    display: block;
    gap: 18px;
    padding: 10px;
    margin-top: 18px;
    border-radius: 18px;
    /* cursor: pointer; */
    transition: .4s;
  }

  .showcase-content {
    padding: 30px;
    max-width: 70%;
  }

  .showcase-content h3 {
    font-size: 32px;
    line-height: 1.3;
  }

  .showcase-content p {
    font-size: 16px;
    margin: 15px 0 20px;
  }

  .hero-banner {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 40px 25px;
  }

  .hero-content {
    order: 2;
    max-width: 100%;
    margin-top: 30px;
  }

  .hero-content h1 {
    font-size: 38px;
    line-height: 1.2;
  }

  .hero-content p {
    font-size: 17px;
    margin: 15px 0 25px;
  }

  .hero-image {
    order: 1;
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center;
  }

  .hero-image img {
    max-width: 320px;
    width: 100%;
    height: auto;
  }

  .circle-bg {
    width: 280px;
    height: 280px;
  }

  .offer-badge {
    right: 20px;
    top: 20px;
  }

  .product-grid-col {
    width: 33.333333%;
  }

  .category-slide {
    width: 33.333333%;
  }

  .template-grid-col {
    width: 50%;
  }

  .hero-content h1 {
    font-size: 32px;
  }

  .hero-slide {
    padding: 40px 30px;
    min-height: 360px;
  }

  .promo-card {
    min-height: 240px;
    padding: 30px;
  }

  .promo-card h3 {
    font-size: 20px;
  }

  .how-it-works .floating-toolbar {
    right: 10px;
  }

  .download-app-card,
  .testimonial-card {
    min-height: 320px;
    padding: 36px 30px;
  }

  .instagram-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .section-title {
    font-size: 24px;
    text-align: left !important;
    width: 196px;
  }

  .templates-section {
    padding: 40px 0;
  }

  .btn-view-all {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 22px;
    background-color: var(--white);
    color: var(--dark);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 500;
    transition: var(--transition);
  }

  .account-grid {
    gap: 20px;
  }

  .account-card {
    padding: 25px;
  }

  .account-card h3 {
    font-size: 22px;
  }
}

/* Mobile - 2 columns */
@media (max-width: 767.98px) {
  .account-section {
    padding: 30px 15px;
  }

  .header-icons a {
    color: #000;
    font-size: 10px !important;
  }

  .faq-question {
    width: 100%;
    padding: 8px;
    border: none;
    background: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: var(--font-size-xs);
    font-weight: 600;
    cursor: pointer;
    color: #222;
  }

  .account-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 0px;
  }

  .account-card {
    padding: 20px;
    border-radius: 12px;
  }

  .account-card h3 {
    font-size: 20px;
    margin-bottom: 20px;
  }

  .login-actions {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .radio-group {
    flex-direction: column;
    gap: 10px;
  }

  .info-text,
  .privacy {
    font-size: 13px;
  }

  .cart-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 10px;
  }

  /* Left column */
  .cart-product {
    display: flex;
    align-items: center;
    gap: 10px;
  }

  .cart-product img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
  }

  .cart-info h5 {
    font-size: 14px;
    margin: 0;
  }

  .cart-info p,
  .cart-info span {
    font-size: 11px;
    margin: 0;
  }

  .cart-total {
    text-align: right;
    font-weight: 600;
    font-size: 14px;
  }

  .remove-btn {
    justify-self: end;
  }

  .category-card .category-image {
    width: 70px !important;
    height: 70px !important;
    border-radius: 50%;
    margin: 0 auto 16px;
    overflow: hidden;
    background-color: var(--bg-light);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
  }

  .templates-section .row {
    --bs-gutter-x: 12px;
  }

  .templates-section .row>div {
    width: 50%;
  }

  .template-info h5 {
    font-size: 14px !important;
  }

  .template-info span {
    font-size: 12px;
  }

  .newsletter-section {
    padding: 20px 0;
    text-align: center;
  }

  .app-review-section {
    padding: 0px;
  }

  .download-card {
    padding: 15px 15px !important;
    text-align: center;
  }

  .download-content h2 {
    font-size: 20px;
    margin-bottom: 8px;
  }

  .download-content p {
    font-size: 13px;
  }

  .download-buttons {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }

  .store-button {
    width: 220px;
    justify-content: center;
    padding: 1px 1px;
  }

  .phone-left,
  .phone-right {
    width: 120px;
  }

  .phone-left {
    left: 0;
    bottom: -10px;
  }

  .phone-right {
    right: 0;
    bottom: -10px;
    position: fixed;
  }

  .trusted {
    right: 5px !important;
    top: -43px !important;
  }

  .download-shape {
    display: none;
  }

  .circle-bg {
    width: 400px;
    height: 400px;
    background: rgba(255, 255, 255, .25);
    border-radius: 50%;
    position: absolute;
    top: -24px;
  }

  .hero-tag {
    font-size: 21px;
  }

  .hero-content p {
    display: none !important;
  }

  .hero-buttons {
    display: flex;
    gap: 18px;
    margin: 0 0;
  }

  .testimonial-card {
    padding: 25px 20px;
    text-align: center;
  }

  .testimonial-card h2 {
    font-size: 20px;
    margin-bottom: 8px;
  }

  .testimonial-text {
    font-size: 13px;
    line-height: 1.7;
  }

  .testimonial-author {
    justify-content: center;
    flex-direction: column;
    text-align: center;
    gap: 10px;
    margin-top: 10px;
  }

  .author-image img {
    width: 60px;
    height: 60px;
  }

  .testimonial-navigation {
    justify-content: center;
    margin-top: 5px;
  }

  .testimonial-prev,
  .testimonial-next {
    width: 42px;
    height: 42px;
  }

  .integration-section {
    padding: 43px 0;
    padding-bottom: 20px;
  }

  .ig-gallery__header-copy {
    flex: 1 1 !important;
    max-width: 720px;
  }

  .product-tabs-section .swiper-pagination {
    margin-top: 10px;
    position: relative;
  }

  .integration-left {
    text-align: left;
    margin-bottom: 25px;
    display: flex;
  }

  .integration-title {
    font-size: 20px;
    margin-bottom: 15px;
    text-align: left;
  }

  .hero-button {
    /* width: 100%; */
    max-width: 280px;
    padding: 12px 20px;
    font-size: 14px;
  }

  .integration-left .hero-button {
    font-size: 14px;
    padding: 10px 22px;
  }

  .brandSwiper .swiper-slide img {
    max-width: 90px;
  }

  /* Hide arrows on mobile */
  .brand-prev,
  .brand-next {
    display: none;
  }

  .custom-how-it-works {
    padding: 50px 0;
  }

  .custom-title {
    font-size: 26px;
    line-height: 1.4;
    margin-bottom: 25px;
  }

  .custom-image-box img {
    max-width: 260px;
  }

  .custom-step {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 15px;
  }

  .step-circle {
    width: 40px;
    height: 40px;
    font-size: 16px;
    flex-shrink: 0;
  }

  .step-text h4 {
    font-size: 16px;
    margin-bottom: 8px;
  }

  .step-text p {
    font-size: 13px;
    line-height: 1.6;
  }

  .hot-products-section .section-header {
    margin-top: 20px;
    margin-bottom: 20px;
  }

  .custom-how-it-works {
    width: 100%;
    padding: 0px;
  }

  .showcase-card {
    min-height: 250px;
    margin-bottom: 15px;
    border-radius: 12px;
  }

  .section-title {
    text-align: center;
    margin-bottom: 0px;
  }

  .showcase-content {
    max-width: 100%;
    padding: 0px !important;
  }

  .showcase-content h3 {
    font-size: 20px;
    line-height: 1.3;
    margin-bottom: 8px !important;
  }

  .showcase-content p {
    font-size: 14px;
    margin: 10px 0 15px;
  }

  .showcase-content .hero-button {
    padding: 10px 20px;
    font-size: 14px;
  }

  .hero-section {
    padding: 20px 0;
  }

  .hero-banner {
    padding: 25px 15px;
  }

  .hero-content h1 {
    font-size: 28px;
    line-height: 1.3;
  }

  .hero-content p {
    font-size: 15px;
  }

  .hero-button {
    padding: 10px 24px;
    font-size: 14px;
  }

  .hero-image img {
    max-width: 230px;
  }

  .circle-bg {
    width: 220px;
    height: 220px;
  }

  .offer-badge {
    width: 65px;
    height: 65px;
    font-size: 12px;
    top: 10px;
    right: 10px;
  }

  .offer-badge strong {
    font-size: 16px;
  }

  .swiper-pagination {
    margin-top: 20px;
  }

  .product-grid-col {
    width: 50%;
  }

  .category-slide {
    width: 50%;
  }

  .template-grid-col {
    width: 100%;
  }

  /* Top Header */
  .top-header {
    display: none;
  }

  /* Main Header */
  .main-header {
    padding: 14px 0;
    background-color: var(--primary-dark);
  }

  .main-header .logo {
    font-size: 20px;
  }

  .main-header .search-bar {
    margin-top: 14px;
  }

  .header-actions {
    gap: 14px;
  }

  .header-actions .action-item span,
  .header-actions .cart-info {
    display: none;
  }

  .cart-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 8px;
    text-align: left;
  }

  /* Navigation */
  .main-nav .nav-menu {
    flex-wrap: wrap;
    gap: 16px;
    justify-content: flex-start;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding: 10px 0;
  }

  .main-nav .nav-menu li a {
    font-size: 14px;
    white-space: nowrap;
  }

  .main-nav .become-seller {
    justify-content: center;
    margin-top: 8px;
    padding-bottom: 10px;
  }

  /* Hero */
  .hero-slide {
    padding: 30px 24px;
    min-height: auto;
    text-align: center;
  }

  .hero-content h1 {
    font-size: 26px;
  }

  .hero-content p {
    font-size: 14px;
    margin-left: auto;
    margin-right: auto;
  }

  .hero-badge {
    width: 70px;
    height: 70px;
    font-size: 10px;
    top: 10px;
    right: 10px;
  }

  .hero-badge span {
    font-size: 14px;
  }

  .hero-image {
    margin-top: 24px;
  }

  .hero-section .swiper-button-prev,
  .hero-section .swiper-button-next {
    display: none;
  }

  /* Categories */
  .category-card .category-image {
    width: 110px;
    height: 110px;
  }

  /* Promo Banners */
  .promo-card {
    min-height: auto;
    padding: 24px;
    margin-bottom: 16px;
  }

  .promo-card .promo-content {
    max-width: 100%;
  }

  .promo-card .promo-image {
    position: relative;
    width: 100%;
    height: 180px;
    margin-top: 16px;
    border-radius: var(--radius);
  }

  /* Product Tabs */
  .product-tabs {
    gap: 16px;
    flex-wrap: wrap;
  }

  .product-tabs .nav-link {
    font-size: 15px;
  }

  .product-card .product-actions {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }

  .product-card .wishlist-btn {
    opacity: 1;
  }

  /* How It Works */
  .how-it-works .floating-toolbar {
    position: relative;
    right: auto;
    top: auto;
    transform: none;
    flex-direction: row;
    margin-top: 16px;
    justify-content: center;
  }

  /* App & Testimonial */
  .download-app-card .phone-mockup {
    position: relative;
    right: auto;
    bottom: auto;
    margin: 20px auto 0;
    width: 140px;
  }

  .testimonial-card .testimonial-nav {
    position: relative;
    bottom: auto;
    right: auto;
    margin-top: 20px;
    justify-content: center;
  }

  /* Newsletter */
  .newsletter-section h3 {
    font-size: 20px;
  }

  .newsletter-form {
    flex-direction: column;
    gap: 12px;
  }

  .newsletter-form input {
    border-right: 2px solid var(--border-color);
    border-radius: var(--radius-pill);
  }

  .newsletter-form input:focus {
    border-right-color: var(--primary);
  }

  .newsletter-form button {
    border-radius: var(--radius-pill);
  }

  /* Instagram */
  .instagram-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Footer */
  .site-footer {
    padding-top: 40px;
  }

  .footer-bottom .payment-icons {
    justify-content: flex-start;
    margin-top: 12px;
    flex-wrap: wrap;
  }

  .section-padding {
    padding: 40px 0;
  }
}

/* Small Mobile */
@media (max-width: 575.98px) {
  .hero-content h1 {
    font-size: 22px;
  }

  .section-title {
    font-size: 20px;
  }

  /* .templates-section .section-header,
  .brands-section .section-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  } */
  .product-card .product-info h5 {
    font-size: 13px;
  }

  .download-app-card .app-buttons {
    flex-direction: column;
  }
}

/* Large Desktop */
@media (min-width: 1400px) {
  .container {
    max-width: 1320px;
  }
}

/* Logo */
.logo img {
  max-width: 170px;
}

/* Header Icons */
.header-icons {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 15px;
}

.header-icons a {
  color: #000;
  font-size: var(--font-size-md);
}

/* Mobile */
@media (max-width:991px) {
  .top-header {
    display: none;
  }

  .main-header {
    padding: 10px 0;
  }

  .logo img {
    max-width: 140px;
  }

  .header-icons a {
    gap: 12px;
    color: white !important;
  }

  .header-icons i {
    font-size: 22px !important;
    color: white;
  }

  .count-icon span {
    font-size: 11px;
  }
}

/* Tablet */
@media (min-width:768px) and (max-width:991px) {
  .logo img {
    max-width: 160px;
  }
}

/* Mobile */
@media (max-width:767px) {
  .logo img {
    max-width: 120px;
  }

  .header-icons {
    gap: 10px;
  }

  .ct-hero-copy h1 {

    font-size: var(--h4-size) !important;

  }
  .ct-hero-copy > p {

	font-size: 15px !important;

}

}

