* { margin: 0; padding: 0; box-sizing: border-box; }

/* Icon-only action controls (product cards, featured, etc.) */
.icon-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: none;
    background: transparent;
    color: inherit;
    text-decoration: none;
    cursor: pointer;
}
.icon-action i { font-size: 22px; line-height: 1; transition: color .15s ease, transform .15s ease; }
.icon-action:hover, .icon-action:focus { color: inherit; background: transparent; outline: none; box-shadow: none; }

/* Liked heart visual */
.like-toggle.liked, .like-toggle.liked i,
.like-btn.liked, .like-btn.liked i { color: #ff2d7a !important; }

body {
    font-family: 'Arial', sans-serif;
    color: #000;
    background: #fff
}

/* Consistent icon and badge sizing in header and navbar */
.header .header-actions,
.navbar .nav-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

.header .header-actions a,
.navbar .nav-right a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

/* Icon size and alignment */
.header .header-actions i[class^="fa-"],
.header .header-actions i[class*=" fa-"],
.navbar .nav-right i[class^="fa-"],
.navbar .nav-right i[class*=" fa-"] {
    font-size: 20px;
    line-height: 1;
    vertical-align: middle;
}

/* Badge container next to icons */
.icon-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

/* Pill badge appearance (counts) */
.header .header-actions .cart-count,
.navbar .nav-right .cart-count,
#cart-badge,
#designs-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 18px;
    height: 18px;
    padding: 0 6px;
    border-radius: 9999px;
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
    margin-left: 6px;
}

/* Ensure even spacing for icon links */
.header .header-actions .nav-icon,
.header .header-actions .cart-icon,
.navbar .nav-right .nav-icon,
.navbar .nav-right .cart-icon {
    margin: 0;
}

.top-banner {
    background: #000;
    color: #fff;
    padding: 10px 0;
    text-align: left;
    font-size: 12px;
    font-weight: 700;
    overflow: hidden
}

.banner-content {
    display: inline-block;
    white-space: nowrap;
    animation: scroll 30s linear infinite;
    will-change: transform;
}

/* Pause scrolling when hovering the banner */
.top-banner:hover .banner-content {
    animation-play-state: paused;
}

@keyframes scroll {
    /* Start fully off the right edge of the viewport */
    0% {
        transform: translateX(100vw);
    }
    /* End fully off the left edge (element width + viewport) */
    100% {
        transform: translateX(calc(-100% - 100vw));
    }
}

.navbar {
    position: sticky;
    top: 0;
    background: #fff;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0, 0, 0, .1);
    transition: transform 0.3s ease;
}

/* Retractable state */
.navbar.hidden {
    transform: translateY(-100%);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 30px;
    width: 100%;
    margin: 0
}

/* Search box inside navbar */
.search-box {
    display: flex;
    align-items: center;
    border: 1px solid #ccc;
    border-radius: 20px;
    padding: 2px 8px 2px 12px;
    height: 36px;
    background: #fff;
}

.search-form {
    display: flex;
    align-items: center;
    gap: 8px;
}

.search-input {
    border: none;
    outline: none;
    background: transparent;
    font-size: 14px;
    color: #000;
    width: 180px;
}

.search-submit {
    border: none;
    background: transparent;
    color: #000;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4px;
}

.search-submit i {
    font-size: 16px;
}

@media (max-width: 768px) {
    .search-input { width: 120px; }
}

.nav-left,
.nav-right {
    display: flex;
    gap: 20px;
    align-items: center
}

.menu-toggle {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer
}

.logo {
    font-size: 28px;
    font-weight: 900;
    color: #000;
    text-decoration: none;
    letter-spacing: 2px
}

.logo span {
    color: #f00
}

.nav-icon {
    color: #000;
    font-size: 20px;
    text-decoration: none;
    position: relative
}

.cart-icon .cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #f00;
    color: #fff;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px
}

/* Ensure badges inside the compact icon-badge container pin to the icon, not the whole link */
.icon-badge {
    position: relative;
    display: inline-block;
}
.icon-badge .cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
}

.nav-menu {
    display: flex;
    justify-content: center;
    gap: 30px;
    padding: 15px 0;
    border-top: 1px solid #eee
}

.nav-menu a {
    text-decoration: none;
    letter-spacing: 1px;
    transition: color .3s;
}

.nav-menu a:hover {
    color: #f00;
}

.promo-bar {
    background: #000;
    padding: 30px 20px;
    text-align: left;
}

.promo-content {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 10px;
    padding-left: 12vw; /* align with hero text */
}

.promo-content h2 {
    color: #fff;
    font-size: 48px;
    font-weight: 900;
    margin-bottom: 2px;
    text-align: left;
    letter-spacing: 0px
}

.promo-btn {
    background: transparent;
    color: #fff;
    border: 2px solid #fff;
    padding: 15px 40px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    letter-spacing: 1px;
    text-decoration: none;
    transition: transform .3s, background-color .2s ease
}

.promo-btn:hover {
    transform: scale(1.05);
    background-color: rgba(255, 255, 255, 0.12)
}

.hero {
    position: relative;
    width: 100%;
    height: 600px;
    overflow: hidden
}

 /* Blue transparent tint over hero image, below text */
  .hero::before {
    content: none;
  }

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

  .hero-content {
    position: absolute;
    top: 50%;
    left: 35%;
    transform: translate(-50%, -50%);
    text-align: left;
    color: #fff;
    z-index: 10
  }

  .hero-content h1 {
    font-size: 108px;
    font-weight: 900;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, .5);
    letter-spacing: 2px;
    text-align: left;
    line-height: 1.0;
  }

  @media (max-width: 768px) {
    .hero-content h1 {
      font-size: 64px;
      line-height: 1.05;
    }
  }

  .hero-content p {
    font-size: 24px;
    margin-bottom: 10px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, .5);
  }

/* Rotated text pinned to the far right of the hero */
.hero-rotated {
  position: absolute;
  top: 50%;
  right: 12px; /* small inset from edge */
  transform: translateY(-50%) rotate(90deg);
  transform-origin: right center;
  z-index: 10; /* above the blue overlay (z-index:5) */
  pointer-events: none; /* ensure it doesn't block hero button clicks */
}

.hero-rotated p {
  margin: 0;
  color: #fff;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 0.5px;
  white-space: nowrap; /* keep on one line when rotated */
  text-shadow: 1px 1px 2px rgba(0,0,0,.5);
}

.promo-code {
    font-size: 20px;
    font-weight: 700;
    background: #f00;
    padding: 10px 20px;
    display: inline-block;
    margin: 15px 0
}

.hero-btn {
    background: transparent;
    color: #fff;
    border: 2px solid #fff;
    padding: 18px 50px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    letter-spacing: 1px;
    text-decoration: none;
    transition: all .3s
}

.hero-btn:hover {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    text-decoration: none
}

.section {
    padding: 60px 30px;
    max-width: 1400px;
    margin: 0 auto
}

.section-title {
    text-align: left;
    font-size: 36px;
    font-weight: 900;
    margin-bottom: 20px;
    letter-spacing: 0px
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 6px
}

.product-card {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    height: 600px; /* increased to fit taller videos */
}

.product-card img,
.product-card video {
    width: 100%;
    height: 100%; /* fill the card height */
    object-fit: cover;
    transition: transform .5s;
    display: block;
}

.product-card:hover img,
.product-card:hover video {
    transform: scale(1.1);
}

.product-card h3 {
    position: absolute;
    bottom: 20px;
    left: 20px;
    color: #fff;
    font-size: 24px;
    font-weight: 700;
    text-shadow: none
}

/* Clickable overlay for product images without changing layout */
.product-image { position: relative; }
.product-image .product-image-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    display: block;
    text-decoration: none;
}

/* Products grid: show name below price and remove extra space */
.products-grid .product-card h3 {
    position: static;
    margin: 4px 0 0;
    color: #000;
    font-weight: 600;
}
.products-grid .product-price {
    margin: 0;
}
.products-grid .product-category {
    margin: 0 0 2px 0;
    color: #666;
    font-size: 0.95rem;
}

/* Products grid layout and image sizing */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 6px;
}
.products-grid .product-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 6px 18px rgba(0,0,0,0.10);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.products-grid .product-card:hover { box-shadow: 0 10px 24px rgba(0,0,0,0.14); transform: translateY(-2px); }
.products-grid .product-card .product-image {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
}
.products-grid .product-card .product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Remove extra space below icon actions in product cards */
.products-grid .product-actions {
    margin: 6px 0 0 0;
    padding-bottom: 0;
}
.products-grid .product-info {
    margin-bottom: 0;
    padding: 12px;
}

.full-promo {
    position: relative;
    width: 100%;
    height: 500px;
    overflow: hidden
}

.full-promo img {
    width: 100%;
    height: 100%;
    object-fit: cover
}

/* Cart modal readability (force override) */
#cartModal .modal-content { color: #000 !important; background-color: #fff !important; }
#cartModal .modal-header,
#cartModal .modal-body,
#cartModal .modal-footer { color: #000 !important; }
#cartModal label { color: #000 !important; }
#cartModal .form-control { color: #000 !important; background-color: #fff !important; }
#cartModal #cartModalQty { color: #000 !important; background-color: #fff !important; }
#cartModal .modal-header { background-color: #fff !important; }
#cartModal .modal-title { color: #000 !important; }
#cartModal #cartModalName { color: #000 !important; }
#cartModal .text-muted { color: #000 !important; }
#cartModal #cartModalPrice { color: #000 !important; }

.promo-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #fff
}

.promo-overlay h2 {
    font-size: 56px;
    font-weight: 900;
    margin-bottom: 2px;
    text-align: left;
    letter-spacing: 0px
}

.promo-overlay p {
    font-size: 24px;
    margin-bottom: 20px
}

.promo-btn-white {
    background: transparent;
    color: #fff;
    border: 2px solid #fff;
    padding: 15px 40px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    letter-spacing: 1px;
    text-decoration: none;
    transition: all .3s
}

.promo-btn-white:hover {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    text-decoration: none
}

.split-promo {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0
}

.split-item {
    position: relative;
    height: 400px;
    overflow: hidden
}

.split-item img,
.split-item video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s;
    display: block;
}

/* Three.js scene container fills the split item */
#tshirt-scene {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1; /* under the overlay */
}
#tshirt-scene canvas {
    width: 100% !important;
    height: 100% !important;
    display: block;
}

.split-item:hover img,
.split-item:hover video {
    transform: scale(1.1)
}

.split-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #fff;
    z-index: 2; /* above #tshirt-scene (z-index:1) */
}

.split-overlay h2 {
    font-size: 42px;
    font-weight: 900;
    margin-bottom: 2px;
    text-align: left;
    letter-spacing: 0px
}

.brand-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 6px
}

.brand-card {
    position: relative;
    height: 400px;
    overflow: hidden;
    cursor: pointer
}

.brand-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s
}

.brand-card:hover img {
    transform: scale(1.1)
}

.brand-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, .7);
    padding: 20px;
    text-align: center
}

.brand-overlay h3 {
    color: #fff;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 1px
}

.featured-collection {
    position: relative;
    width: 100%;
    height: 500px;
    overflow: hidden;
    margin: 40px 0 0 0
}

.featured-collection img {
    width: 100%;
    height: 100%;
    object-fit: cover
}

.featured-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #fff
}

.featured-overlay h2 {
    font-size: 72px;
    font-weight: 900;
    margin-bottom: 2px;
    text-align: left;
    letter-spacing: 0px
}

.brand-spotlight {
    background: #f5f5f5;
    padding: 60px 30px
}

.spotlight-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center
}

.spotlight-text h2 {
    font-size: 56px;
    font-weight: 900;
    margin-bottom: 2px;
    text-align: left;
    letter-spacing: 0px
}

.spotlight-text p {
    font-size: 24px;
    margin-bottom: 30px;
    color: #666
}

.spotlight-image img {
    width: 100%;
    height: 500px;
    object-fit: cover
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 6px
}

.category-card {
    position: relative;
    height: 500px;
    overflow: hidden;
    cursor: pointer
}

.category-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s
}

.category-card:hover img {
    transform: scale(1.1)
}

.category-overlay {
    position: absolute;
    bottom: 30px;
    left: 30px
}

.category-overlay h3 {
    color: #fff;
    font-size: 32px;
    font-weight: 900;
    letter-spacing: 2px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, .7)
}

.footer, #tempaltemo_footer {
    background: #000;
    color: #fff;
    padding: 60px 30px 30px
}

.footer-content, #tempaltemo_footer .footer-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px
}

/* Footer brand block */
#tempaltemo_footer .footer-brand {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

#tempaltemo_footer .footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

#tempaltemo_footer .footer-logo .logo {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

#tempaltemo_footer .footer-logo-text {
    font-weight: 900;
    letter-spacing: 1px;
}

#tempaltemo_footer .footer-tagline {
    color: #999;
    font-size: 14px;
    line-height: 1.6;
}

/* Footer sections */
#tempaltemo_footer .footer-section {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

#tempaltemo_footer .footer-title {
    text-transform: uppercase;
}

#tempaltemo_footer .footer-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

#tempaltemo_footer .footer-link {
    color: #999;
    text-decoration: none;
    font-size: 14px;
    transition: color .3s;
}

#tempaltemo_footer .footer-link:hover {
    color: #fff;
}

/* Social links */
#tempaltemo_footer .social-links {
    display: flex;
    gap: 12px;
}

#tempaltemo_footer .social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: 1px solid #333;
    border-radius: 50%;
    color: #999;
    transition: all .3s;
}

#tempaltemo_footer .social-link i {
    font-size: 16px;
}

#tempaltemo_footer .social-link:hover {
    border-color: #fff;
    color: #fff;
}

/* Footer container spacing */
#tempaltemo_footer .container {
    padding: 60px 30px;
}

/* Footer links: remove underline and force white color */
#tempaltemo_footer a,
#tempaltemo_footer a:visited,
#tempaltemo_footer .footer-link,
#tempaltemo_footer .footer-link:visited,
#tempaltemo_footer .social-link,
#tempaltemo_footer .social-link:visited {
    text-decoration: none;
    color: #fff;
}

#tempaltemo_footer a:hover,
#tempaltemo_footer a:focus,
#tempaltemo_footer .footer-link:hover,
#tempaltemo_footer .footer-link:focus,
#tempaltemo_footer .social-link:hover,
#tempaltemo_footer .social-link:focus {
    text-decoration: none;
    color: #fff;
}

@media (max-width: 768px) {
    #tempaltemo_footer .container {
        padding: 40px 20px;
    }
    #tempaltemo_footer .footer-grid {
        gap: 24px;
    }
}

.footer-section h4, #tempaltemo_footer .footer-title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: 1px
}

.footer-section ul {
    list-style: none
}

.footer-section ul li {
    margin-bottom: 10px
}

.footer-section ul li a, #tempaltemo_footer .footer-link {
    color: #999;
    text-decoration: none;
    font-size: 14px;
    transition: color .3s
}

.footer-section ul li a:hover, #tempaltemo_footer .footer-link:hover {
    color: #fff
}

.footer-section p {
    color: #999;
    font-size: 14px;
    margin-bottom: 15px
}

.newsletter-form {
    display: flex;
    gap: 10px
}

.newsletter-form input {
    flex: 1;
    padding: 12px;
    border: 1px solid #333;
    background: #111;
    color: #fff;
    font-size: 14px
}

.newsletter-form button {
    background: #f00;
    color: #fff;
    border: none;
    padding: 12px 25px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    letter-spacing: 1px;
    transition: background .3s
}

.newsletter-form button:hover {
    background: #c00
}

.footer-bottom {
    max-width: 1400px;
    margin: 0 auto;
    padding-top: 30px;
    border-top: 1px solid #333;
    display: flex;
    justify-content: space-between;
    align-items: center
}

.footer-bottom p {
    color: #666;
    font-size: 14px
}

.payment-icons {
    display: flex;
    gap: 15px;
    font-size: 24px;
    color: #666
}

@media (max-width:768px) {
    .nav-menu {
        display: none
    }

    .hero-content h1 {
        font-size: 36px
    }

    .hero-content p {
        font-size: 18px
    }

    .promo-content h2 {
        font-size: 32px
    }

    .section-title {
        font-size: 28px
    }

    .split-promo {
        grid-template-columns: 1fr
    }

    .spotlight-content {
        grid-template-columns: 1fr
    }

    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center
    }
}

.share-panel {
    flex-direction: row !important;
    align-items: center !important;
    gap: 8px !important;
    flex-wrap: nowrap !important; /* keep icons on one line */
    white-space: nowrap !important; /* prevent line breaks */
    width: max-content !important; /* size to content so items don't stack */
    overflow-x: auto; /* allow horizontal scroll if clipped */
}

.share-panel .share-option {
    display: inline-flex !important; /* ensure icon anchors are inline flex */
    flex: 0 0 auto !important; /* do not shrink */
}

@media (max-width: 576px) {
    .share-panel { overflow-x: auto; /* allow horizontal scroll if clipped */ }
}