/* assets/css/product.css */
:root {
  --primary-color: #005ABB;
  --accent-color: #005ABB;
  --accent-dark: #005ABB;
  --bg: #FFFFFF;
  --dark: #000000;
  --muted: #666666;
  --card-radius: 12px;
  --border-color: rgba(0, 90, 187, 0.25);
}

body{
  font-family:'Poppins',sans-serif;
  background:var(--bg);
  margin:0;
  padding-top:0px;
  color:var(--dark);
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
}

a{color:inherit;text-decoration:none}

/* Header */
.site-header{
  position:fixed;
  top:0;
  left:0;
  right:0;
  height:72px;
  background: var(--primary-color);
  z-index:1200;
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:10px 18px;
  box-shadow:0 4px 18px rgba(0, 90, 187, 0.35);
  animation: slideDown 0.6s ease;
  border-bottom: 2px solid #FFFFFF;
}

@keyframes slideDown {
  from { transform: translateY(-100%); }
  to { transform: translateY(0); }
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.logo-img {
  height: 40px;
  width: auto;
  border-radius: 6px;
  transition: transform 0.3s ease;
}

.logo-img:hover {
  transform: scale(1.05);
}

.brand-title{
  font-weight:800;
  font-size:1.25rem;
  color:#FFFFFF;
  transition: color 0.3s ease;
}

.brand-title:hover {
  color: #FFFFFF;
}

.header-actions{display:flex;align-items:center;gap:10px}
.icon-btn{
  background:transparent;
  border:2px solid #FFFFFF;
  color:#FFFFFF;
  font-size:18px;
  position:relative;
  transition: all 0.3s ease;
  padding: 8px;
  border-radius: 6px;
}

.icon-btn:hover {
  color: var(--primary-color);
  background: #FFFFFF;
  transform: translateY(-2px);
}

.icon-btn .counter{
  position:absolute;
  top:-6px;
  right:-10px;
  background:#FFFFFF;
  color:var(--primary-color);
  border-radius:50%;
  padding:3px 7px;
  font-size:12px;
  font-weight:700;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.1); }
  100% { transform: scale(1); }
}

/* Menu toggle */
.menu-btn{
  display:flex;
  align-items:center;
  gap:8px;
  background:transparent;
  border:2px solid #FFFFFF;
  color:#FFFFFF;
  font-size:18px;
  padding:6px 8px;
  border-radius:8px;
  transition: all 0.3s ease;
}

.menu-btn:hover {
  background: #FFFFFF;
  color: var(--primary-color);
}

.menu-title{display:none;color:#FFFFFF;font-weight:600}

/* Sidebar */
.sidebar {
  position: fixed;
  top: 0;
  left: -300px;
  width: 280px;
  height: 100%;
  background: var(--primary-color);
  color: #FFFFFF;
  z-index: 2000;
  padding: 20px;
  transition: .28s;
  box-shadow: 0 6px 30px rgba(0, 90, 187, 0.6);
  border-right: 5px solid #FFFFFF;
}

.sidebar.active {
  left: 0;
  animation: slideInRight 0.3s ease;
}

@keyframes slideInRight {
  from { transform: translateX(-100%); }
  to { transform: translateX(0); }
}

.sidebar h5 {
  color: #FFFFFF;
  margin-bottom: 12px;
}

.sidebar a {
  display: flex;
  align-items: center;
  color: #FFFFFF;
  padding: 10px 8px;
  font-size: 15px;
  transition: .18s;
  border-radius: 8px;
}

.sidebar a i {
  width: 28px;
  text-align: center;
  color: #FFFFFF;
}

.sidebar a:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #FFFFFF;
  padding-left: 12px;
  transform: translateX(5px);
}

.overlay{
  position:fixed;
  inset:0;
  background:rgba(0, 90, 187, 0.7);
  z-index:1500;
  opacity:0;
  visibility:hidden;
  transition:opacity .2s;
  backdrop-filter: blur(3px);
}
.overlay.active{
  opacity:1;
  visibility:visible;
}

/* Product */
.container-main{
  max-width:100%;
  margin:3px auto;
  padding:0 2px;
  animation: fadeInUp 0.8s ease;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.product-wrap{
  background:#FFFFFF;
  border-radius:var(--card-radius);
  padding:10px;
  box-shadow:0 6px 26px rgba(0,0,0,.06);
  border:3px solid rgba(0, 90, 187, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-wrap:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 40px rgba(0, 90, 187, 0.15);
}

.gallery{
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:14px;
}
.main-img{
  width:100%;
  max-width:560px;
  height:560px;
  object-fit:cover;
  border-radius:10px;
  box-shadow:0 8px 30px rgba(0,0,0,.08);
  transition:transform .3s ease;
  cursor:zoom-in;
}
.main-img:hover{
  transform: scale(1.02);
}
.thumb-wrap{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  justify-content:center;
}
.thumb-wrap img{
  width:80px;
  height:80px;
  object-fit:cover;
  border-radius:8px;
  border:2px solid transparent;
  cursor:pointer;
  transition:.2s;
}
.thumb-wrap img.active{
  border-color:var(--primary-color);
  box-shadow:0 4px 12px rgba(0, 90, 187, 0.2);
  transform: scale(1.1);
}
.thumb-wrap img:hover:not(.active) {
  border-color: rgba(0, 90, 187, 0.5);
  transform: scale(1.05);
}

/* Zoom Modal */
#zoomModal .modal-dialog{max-width:90%}
#zoomModal img{
  width:100%;
  border-radius:12px;
  animation: zoomIn 0.3s ease;
}

@keyframes zoomIn {
  from { transform: scale(0.8); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

/* Details */
.details h1{
  font-size:1.6rem;
  margin-bottom:6px;
  color: var(--dark);
  line-height: 1.3;
}
.badges-info{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin:8px 0;
}
.badges-info span{
  background:rgba(0, 90, 187, 0.1);
  border:1px solid var(--primary-color);
  color:var(--primary-color);
  padding:4px 10px;
  border-radius:8px;
  font-size:14px;
  font-weight:600;
  transition: all 0.3s ease;
}
.badges-info span:hover {
  background: rgba(0, 90, 187, 0.2);
  transform: translateY(-2px);
}
.stars i{color:var(--primary-color)}
.price{
  color:var(--primary-color);
  font-weight:800;
  font-size:1.6rem;
}
.mrp{
  text-decoration:line-through;
  color:#666666;
  font-size:.95rem;
  margin-left:8px;
}
.discount{
  color:#000000;
  font-weight:700;
  margin-left:6px;
}
.color-dot{
  display:inline-block;
  width:22px;
  height:22px;
  border-radius:50%;
  margin:0 4px;
  border:2px solid #CCCCCC;
  cursor:pointer;
  transition:transform .2s, box-shadow .2s;
}
.color-dot:hover{
  transform:scale(1.1);
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}
.stock-badge{
  padding:5px 12px;
  border-radius:999px;
  font-weight:600;
  font-size:13px;
  animation: fadeIn 0.5s ease;
}
.stock-yes{
  background:rgba(0, 90, 187, 0.1);
  color:#000000;
}
.stock-no{
  background:rgba(255, 255, 255, 0.1);
  color:#000000;
}

.actions{display:flex;gap:6px;flex-wrap:wrap;margin:3px 0}
.btn-buy{
  background:var(--primary-color);
  color:#FFFFFF;
  font-weight:700;
  border:0;
  padding:10px 18px;
  border-radius:10px;
  flex-grow:1;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}
.btn-buy:before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.5s;
}
.btn-buy:hover:before {
  left: 100%;
}
.btn-buy:hover:not(:disabled){
  background:#FFFFFF;
  color:var(--primary-color);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 90, 187, 0.4);
}
.btn-cart{
  border:2px solid var(--primary-color);
  color:var(--primary-color);
  background:transparent;
  padding:10px 18px;
  border-radius:10px;
  font-weight:700;
  flex-grow:1;
  transition: all 0.3s ease;
}
.btn-cart.added{
  background:var(--primary-color);
  color:#FFFFFF;
  border-color:#FFFFFF;
}
.btn-cart.added::before{content:"✓ ";font-weight:bold;}
.btn-cart:hover:not(:disabled){
  background:var(--primary-color);
  color:#FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 90, 187, 0.3);
}

/* Available Sizes and Lengths Display */
.available-options {
  margin:10px 0;
  padding:10px;
  background:rgba(0, 90, 187, 0.05);
  border-radius:8px;
  border:1px solid rgba(0, 90, 187, 0.2);
  animation: slideInUp 0.5s ease;
}

@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.available-options h6 {
  margin-bottom:8px;
  color:var(--dark);
  font-weight:600;
}
.option-tags {
  display:flex;
  flex-wrap:wrap;
  gap:8px;
}
.option-tag {
  padding:4px 12px;
  background:#FFFFFF;
  border:1px solid #CCCCCC;
  border-radius:6px;
  font-size:0.9rem;
  transition: all 0.3s ease;
}

.size-option.in-stock {
  border:2px solid var(--primary-color);
  background: rgba(0, 90, 187, 0.05);
  cursor: pointer;
}
.size-option.in-stock:hover {
  background: rgba(0, 90, 187, 0.1);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 90, 187, 0.2);
}
.size-option.out-of-stock {
  border:2px solid #CCCCCC;
  background: rgba(0, 90, 187, 0.05);
  color: #666666;
  cursor: not-allowed;
}
.size-option.selected {
  background: var(--primary-color);
  color: #FFFFFF;
  border-color: #FFFFFF;
  font-weight: 600;
  transform: scale(1.05);
}
.stock-qty {
  font-size: 0.8rem;
  margin-left: 4px;
  opacity: 0.8;
}

/* Length options */
.length-option {
  padding:6px 12px;
  border:2px solid #CCCCCC;
  border-radius:6px;
  font-size:0.9rem;
  cursor: pointer;
  transition: all 0.3s ease;
}
.length-option:hover {
  border-color: var(--primary-color);
  background: rgba(0, 90, 187, 0.05);
}
.length-option.selected {
  background: var(--primary-color);
  color: #FFFFFF;
  border-color: #FFFFFF;
  font-weight: 600;
  transform: scale(1.05);
}

/* Mobile Sticky Buttons */
#mobileActions{
    position:fixed;
    bottom:0;
    left:0;
    right:0;
    background:#FFFFFF;
    padding:12px 15px;
    box-shadow:0 -4px 15px rgba(0, 90, 187, 0.15);
    z-index:1100;
    display:none;
    gap:10px;
    border-top:1px solid rgba(0, 90, 187, 0.1);
    animation: slideUp 0.3s ease;
}

@keyframes slideUp {
  from { transform: translateY(100%); }
  to { transform: translateY(0); }
}

#mobileActions .btn-buy, #mobileActions .btn-cart {
    flex: 1;
    margin: 0 !important;
    padding: 12px 10px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
}
#mobileActions .btn-buy:disabled, #mobileActions .btn-cart:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none !important;
}
#mobileActions .btn-buy:not(:disabled):hover, #mobileActions .btn-cart:not(:disabled):hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* Mobile Selection Prompt */
.mobile-selection-prompt {
    background: rgba(0, 90, 187, 0.1);
    border: 1px solid var(--primary-color);
    border-radius: 8px;
    padding: 10px 12px;
    margin: 8px 0;
    text-align: center;
    font-size: 13px;
    font-weight: 600;
    color: #000000;
    display: none;
    animation: pulse 2s infinite;
}
.mobile-selection-prompt i {
    margin-right: 5px;
    color: var(--primary-color);
}

/* Tabs */
.tabs{
  display:flex;
  gap:8px;
  margin-top:20px;
  flex-wrap:wrap;
  justify-content:center;
}
.tab{
  padding:8px 14px;
  border-radius:10px;
  border:1px solid #CCCCCC;
  cursor:pointer;
  color:#666666;
  transition: all 0.3s ease;
}
.tab.active{
  border-color:var(--primary-color);
  background:rgba(0, 90, 187, 0.08);
  color:#000000;
  transform: translateY(-2px);
}
.tab:hover:not(.active) {
  border-color: rgba(0, 90, 187, 0.5);
  color: var(--dark);
}
.tab-content{
  margin-top:14px;
  animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Delivery */
.delivery{
  margin:14px 0;
  padding:10px;
  border:1px dashed var(--primary-color);
  border-radius:8px;
  color:#000000;
  background:rgba(0, 90, 187, 0.05);
  animation: fadeIn 0.6s ease;
}

/* Trending Products Slider */
.trending-slider-wrap{
  overflow-x:auto;
  padding-bottom:10px;
}
.trending-slider{
  display:flex;
  gap:15px;
  min-width:max-content;
}
.trend-card{
  width:200px;
  min-width:200px;
  background:#FFFFFF;
  border-radius:var(--card-radius);
  overflow:hidden;
  box-shadow:0 4px 15px rgba(0,0,0,.08);
  transition: all 0.3s ease;
  animation: fadeInUp 0.6s ease;
}
.trend-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0,0,0,.15);
}
.trend-card img{
  width:100%;
  height:250px;
  object-fit:cover;
  transition: transform 0.3s ease;
}
.trend-card:hover img {
  transform: scale(1.05);
}
.trend-card-body{
  padding:10px;
  text-align:center;
}
.trend-card-body h6{
  font-size:0.9rem;
  margin-bottom:5px;
  height:36px;
  overflow:hidden;
  line-height: 1.3;
}
.trend-card-body .price{
  font-size:1.1rem;
  margin-bottom:8px;
}
.trend-card .btn-buy{
  padding:6px 12px;
  font-size:0.85rem;
  border-radius:8px;
  width:100%;
}

/* Footer */
.site-footer{
  background:var(--primary-color);
  border-top:5px solid #FFFFFF;
  padding:34px 0;
  margin-top:34px;
  color:#FFFFFF;
  animation: fadeInUp 0.8s ease;
}

.footer-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(180px,1fr));
  gap:20px;
}
.footer-grid h6{
  font-weight:800;
  margin-bottom:10px;
  color:#FFFFFF;
}
.footer-grid a{
  display:block;
  color:#FFFFFF;
  margin-bottom:6px;
  transition:.2s;
}
.footer-grid a:hover{
  color:#FFFFFF;
  padding-left:6px;
}
.footer-brand{
  font-weight:900;
  font-size:1.2rem;
  color:#FFFFFF;
}
.footer-note{
  color:#FFFFFF;
  font-size:14px;
}
.footer-bottom{
  text-align:center;
  color:#FFFFFF;
  margin-top:20px;
  font-size:14px;
}

/* Instagram Button */
.instagram-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary-color);
  color: #FFFFFF !important;
  padding: 10px 16px;
  border-radius: 25px;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 90, 187, 0.3);
  text-decoration: none !important;
}

.instagram-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 90, 187, 0.4);
  color: #FFFFFF !important;
  padding-left: 20px;
}

/* WhatsApp Float */
.whatsapp-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  background: var(--primary-color);
  color: #FFFFFF;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(0, 90, 187, 0.2);
  z-index: 1000;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
  40% { transform: translateY(-10px); }
  60% { transform: translateY(-5px); }
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 25px rgba(0, 90, 187, 0.4);
}

/* Breadcrumb */
.breadcrumb {
  background: transparent;
  padding: 8px 0;
  margin-bottom: 15px;
  font-size: 0.9rem;
  animation: fadeIn 0.5s ease;
}
.breadcrumb-item + .breadcrumb-item::before {
  content: "›";
  color: #666666;
  padding: 0 8px;
}
.breadcrumb-item a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color 0.3s ease;
}
.breadcrumb-item a:hover {
  color: var(--primary-color);
}
.breadcrumb-item.active {
  color: #000000;
  font-weight: 600;
  max-width: 200px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Desktop Actions */
#desktopActions {
    margin-top: 20px;
    padding: 15px;
    background: rgba(0, 90, 187, 0.05);
    border-radius: 12px;
    border: 2px solid rgba(0, 90, 187, 0.1);
    animation: slideInUp 0.5s ease;
}
#desktopActions .btn-row {
    display: flex;
    gap: 12px;
    margin-bottom: 10px;
}
#desktopActions .btn-buy, #desktopActions .btn-cart {
    flex: 1;
    padding: 12px 16px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
}
#desktopActions .btn-buy:disabled, #desktopActions .btn-cart:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none !important;
}
#desktopActions .btn-buy:not(:disabled):hover, #desktopActions .btn-cart:not(:disabled):hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}
#desktopActions .select-note {
    font-size: 13px;
    color: #000000;
    text-align: center;
    margin: 0;
    padding: 8px;
    background: rgba(0, 90, 187, 0.1);
    border-radius: 6px;
    border: 1px solid rgba(0, 90, 187, 0.2);
    font-weight: 500;
}
#desktopActions .select-note i {
    margin-right: 5px;
    color: var(--primary-color);
}

/* Selection Status */
.selection-status {
    background: rgba(0, 90, 187, 0.1);
    border: 1px solid rgba(0, 90, 187, 0.2);
    border-radius: 8px;
    padding: 10px 12px;
    margin: 10px 0;
    font-size: 14px;
    transition: all 0.3s ease;
    animation: fadeIn 0.5s ease;
}
.selection-status.complete {
    background: rgba(0, 90, 187, 0.1);
    border-color: rgba(0, 90, 187, 0.3);
}
.selection-status.incomplete {
    background: rgba(0, 90, 187, 0.1);
    border-color: rgba(0, 90, 187, 0.2);
}
.selection-status i {
    margin-right: 8px;
}

/* Stylish Popup */
.stylish-popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.8);
    background: #FFFFFF;
    border-radius: 20px;
    box-shadow: 0 25px 50px rgba(0, 90, 187, 0.3);
    z-index: 1400;
    max-width: 400px;
    width: 90%;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 3px solid var(--primary-color);
    overflow: hidden;
}

.stylish-popup.show {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%) scale(1);
}

.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 90, 187, 0.7);
    z-index: 1390;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.popup-overlay.show {
    opacity: 1;
    visibility: visible;
}

.popup-header {
    background: var(--primary-color);
    padding: 25px;
    text-align: center;
    color: #FFFFFF;
    position: relative;
}

.popup-header.success {
    background: var(--primary-color);
}

.popup-header.warning {
    background: var(--primary-color);
}

.popup-icon {
    font-size: 3rem;
    margin-bottom: 15px;
    display: block;
}

.popup-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
    color: #FFFFFF;
}

.popup-body {
    padding: 30px 25px;
    text-align: center;
}

.popup-message {
    font-size: 1.1rem;
    color: #000000;
    margin-bottom: 25px;
    line-height: 1.6;
}

.popup-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
}

.popup-btn {
    padding: 12px 24px;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.popup-btn-primary {
    background: var(--primary-color);
    color: #FFFFFF;
}

.popup-btn-primary:hover {
    background: var(--primary-color);
    transform: translateY(-2px);
}

.popup-btn-secondary {
    background: #FFFFFF;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.popup-btn-secondary:hover {
    background: var(--primary-color);
    color: #FFFFFF;
    transform: translateY(-2px);
}

.popup-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(255,255,255,0.2);
    border: none;
    color: #FFFFFF;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.popup-close:hover {
    background: rgba(255,255,255,0.3);
    transform: rotate(90deg);
}

/* Cart item display in popup */
.cart-item-preview {
    display: flex;
    align-items: center;
    gap: 15px;
    background: rgba(0, 90, 187, 0.05);
    padding: 15px;
    border-radius: 12px;
    margin: 20px 0;
    border: 2px solid rgba(0, 90, 187, 0.2);
    animation: slideInUp 0.5s ease;
}

.cart-item-image {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
    border: 2px solid var(--primary-color);
}

.cart-item-details {
    text-align: left;
    flex: 1;
}

.cart-item-name {
    font-weight: 600;
    margin-bottom: 5px;
    color: #000000;
}

.cart-item-variant {
    font-size: 0.9rem;
    color: #666666;
    margin-bottom: 3px;
}

.cart-item-price {
    font-weight: 700;
    color: var(--primary-color);
}

/* Responsive Design */
@media(max-width:992px){
  .main-img{height:420px;max-width:420px}
  .container-main{padding:0 10px;margin-bottom:70px;}
  #mobileActions{display:flex;}
  .actions { display: none; }
  .available-options {padding:8px;}
  .option-tags {gap:6px;}
  .mobile-selection-prompt {display:block;}
  .menu-title{display:inline-block}
  .tabs-image{display:none}
  .tabs-details{display:flex;justify-content:flex-start;gap:8px;margin-top:16px}
  .product-wrap{padding:12px}
}

@media(max-width:768px){
  .main-img{height:auto;max-width:375px;width:100%}
  .thumb-wrap img{width:56px;height:56px}
  .brand-title{font-size:1rem; color: #FFFFFF;}
  .details h1{font-size:1.4rem}
  .price{font-size:1.4rem; color: var(--primary-color);}
  .footer-grid{grid-template-columns:1fr 1fr;gap:15px}
}

@media(max-width:576px){
  .main-img{height:300px}
  .thumb-wrap img{width:48px;height:48px}
  .breadcrumb{font-size:0.8rem}
  .badges-info span{font-size:12px;padding:3px 8px}
  .footer-grid{grid-template-columns:1fr}
  .instagram-btn{padding:8px 12px;font-size:0.9rem}
  #mobileActions{flex-direction:column;gap:8px}
}

@media(min-width:769px){
  #mobileActions{display:none;}
  .mobile-selection-prompt{display:none;}
  #desktopActions{display:block;}
}
/* Additional CSS for animations and responsive design */
.fade-in { animation: fadeIn 0.8s ease-in; }
.slide-up { animation: slideUp 0.6s ease-out; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideUp { from { transform: translateY(30px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }

.quantity-selector {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 15px 0;
}

.quantity-btn {
    width: 40px;
    height: 40px;
    border: 2px solid var(--primary-color);
    background: #FFFFFF;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: bold;
}

.quantity-btn:hover {
    background: var(--primary-color);
    color: #FFFFFF;
}

.quantity-input {
    width: 60px;
    text-align: center;
    border: 2px solid #CCCCCC;
    border-radius: 8px;
    padding: 8px;
    font-weight: bold;
}

.quantity-input:focus {
    border-color: var(--primary-color);
    outline: none;
}

.specification-table {
    width: 100%;
    border-collapse: collapse;
    margin: 15px 0;
}

.specification-table td {
    padding: 12px;
    border-bottom: 1px solid rgba(0, 90, 187, 0.1);
}

.specification-table tr:last-child td {
    border-bottom: none;
}

.specification-table td:first-child {
    font-weight: 600;
    color: var(--primary-color);
    width: 40%;
}

.specification-table td:last-child {
    color: #666666;
}

/* Responsive improvements */
@media (max-width: 768px) {
    .container-main {
        padding: 0 10px;
    }
    
    .product-wrap {
        margin-top: 10px;
    }
    
    .gallery {
        margin-bottom: 20px;
    }
    
    .trending-slider {
        padding: 10px 0;
    }
}

/* Enhanced button styles */
.btn-buy, .btn-cart {
    transition: all 0.3s ease;
    transform: translateY(0);
}

.btn-buy:hover, .btn-cart:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* Selection animations */
.option-tag.selected {
    animation: pulse 0.6s ease;
}

/* Header Responsive Styles */
.header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 15px;
    background: var(--primary-color);
    box-shadow: 0 2px 10px rgba(0, 90, 187, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    flex-wrap: wrap;
    gap: 10px;
}

/* Logo Responsive */
.brand-logo {
    flex-shrink: 0;
    display: flex;
    align-items: center;
}

.logo-img {
    height: 50px !important;
    width: auto;
    max-width: 150px;
    object-fit: contain;
}

/* Header Actions Container */
.header .d-flex {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

/* Icon Buttons */
.icon-btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: transparent;
    border: 2px solid #FFFFFF;
    color: #FFFFFF;
    text-decoration: none;
    position: relative;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.icon-btn:hover {
    background: #FFFFFF;
    color: var(--primary-color);
    transform: translateY(-2px);
}

/* Cart Counter */
.counter {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #FFFFFF;
    color: var(--primary-color);
    border-radius: 50%;
    width: 18px;
    height: 18px;
    font-size: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

/* Mobile Styles */
@media (max-width: 768px) {
    .header {
        padding: 8px 12px;
        gap: 8px;
    }
    
    .logo-img {
        height: 45px !important;
        max-width: 130px;
    }
    
    .header .d-flex {
        gap: 8px;
    }
    
    .icon-btn {
        width: 36px;
        height: 36px;
        font-size: 14px;
    }
    
    .counter {
        width: 16px;
        height: 16px;
        font-size: 9px;
    }
}

@media (max-width: 480px) {
    .header {
        padding: 6px 10px;
    }
    
    .logo-img {
        height: 40px !important;
        max-width: 110px;
    }
    
    .icon-btn {
        width: 34px;
        height: 34px;
        font-size: 13px;
    }
    
    .header .d-flex {
        gap: 6px;
    }
}

/* Extra Small Devices */
@media (max-width: 360px) {
    .header {
        padding: 5px 8px;
    }
    
    .logo-img {
        height: 35px !important;
        max-width: 100px;
    }
    
    .icon-btn {
        width: 32px;
        height: 32px;
        font-size: 12px;
    }
    
    .counter {
        width: 14px;
        height: 14px;
        font-size: 8px;
    }
}

/* Ensure header stays on one line */
@media (max-width: 320px) {
    .header {
        flex-wrap: nowrap;
    }
    
    .brand-logo {
        min-width: 80px;
    }
}

/* Fix for very tall mobile devices */
@media (max-height: 500px) and (orientation: landscape) {
    .header {
        padding: 5px 10px;
    }
    
    .logo-img {
        height: 35px !important;
    }
}

/* Loading animation */
.fa-spinner {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Pincode input styling */
#pincodeInput:valid {
    border-color: var(--primary-color);
}

#pincodeInput:invalid {
    border-color: #000000;
}

/* Button states */
#checkPinBtn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Popup enhancements */
.popup-header.success {
    background: var(--primary-color);
}

.popup-header.error {
    background: var(--primary-color);
}

.popup-header.warning {
    background: var(--primary-color);
}