/*
  responsive.css — Ocean Impact palette
  Toutes les classes et règles responsive sont conservées.
  Les couleurs ont été mises à jour pour correspondre à la palette Ocean Impact.
*/

/* lg */
@media (min-width: 1200px) {

}

/* md */
@media (min-width: 992px) and (max-width: 1199px) {

  .usa {
    margin-right: 0;
  }

  .shipping img {
    width: 100%;
  }

  .searchform input {
    width: 160px;
  }

  .product-information span span {
    width: 100%;
  }

  #similar-product .carousel-inner .item img {
    width: 65px;
  }

  #cart_items .cart_info .cart_description h4,
  #cart_items .cart_info .cart_description p {
    text-align: center;
  }

}

/* sm */
@media (min-width: 768px) and (max-width: 991px) {

  .shop-menu ul li a {
    padding-left: 0;
  }

  #slider-carousel .item {
    padding-left: 0; /* géré par home_style.css flex layout */
  }

  .item h2 {
    font-size: 20px;
  }

  .girl {
    margin-left: 0;
  }

  .pricing {
    width: 100px;
  }

  .shipping img {
    width: 100%;
  }

  .slider.slider-horizontal {
    width: 100% !important;
  }

  .tab-pane .col-sm-3,
  .features_items .col-sm-4 {
    width: 50%;
  }

  .footer-widget .col-sm-2 {
    width: 33%;
    display: inline-block;
    margin-bottom: 50px;
  }

  .footer-widget .col-sm-3 {
    display: inline-block;
    width: 40%;
  }

  #similar-product .carousel-inner .item img {
    width: 60px;
    margin-left: 0;
  }

  .product-information span span {
    display: block;
    width: 100%;
  }

  .product-information .cart {
    margin-left: 0;
    margin-top: 15px;
  }

  .item-control i {
    font-size: 12px;
    padding: 5px 6px;
  }

  #cart_items .cart_info .cart_description h4,
  #cart_items .cart_info .cart_description p {
    text-align: center;
  }

  .companyinfo h2 {
    font-size: 20px;
  }

  .address {
    margin-top: 48px;
    margin-left: 20px;
  }

  .address p {
    font-size: 12px;
    top: 5px;
  }

}

/* xs */
@media (max-width: 767px) {

  /* ── Header ── */
  .header_top {
    background: #264653; /* Deep Ocean — reste foncé sur mobile */
  }

  .header_top .col-sm-6:first-child {
    display: inline-block;
    float: left;
  }

  .header_top .col-sm-6:last-child {
    display: inline-block;
    float: right;
  }

  .header-middle .col-sm-4 {
    display: inline-block;
    overflow: inherit;
    width: 100%;
  }

  .social-icons ul li a i {
    padding: 8px 10px;
  }

  /* ── Navigation ── */
  .shop-menu.pull-right {
    float: none !important;
  }

  .shop-menu .nav.navbar-nav {
    margin-left: -30px;
  }

  .header-bottom .col-sm-9 {
    display: inline-block;
    width: 100%;
  }

  .mainmenu {
    width: 100%;
  }

  /* Menu mobile : fond Deep Ocean semi-transparent */
  .mainmenu ul li {
    background: rgba(38, 70, 83, 0.92); /* Deep Ocean */
    padding-top: 15px;
    padding-bottom: 0;
  }

  .mainmenu ul li:last-child {
    padding-bottom: 15px;
  }

  .mainmenu ul li a {
    color: rgba(255, 255, 255, 0.9);
  }

  .mainmenu ul li a:hover,
  .mainmenu ul li a.active {
    color: #E9C46A; /* Sunlit Sand — visible sur fond foncé */
    background: none;
  }

  .navbar-collapse.in {
    overflow: auto;
  }

  .mainmenu ul li a.active {
    padding-left: 15px;
  }

  .dropdown .fa-angle-down {
    display: none;
  }

  /* Sous-menu mobile */
  ul.sub-menu {
    position: relative;
    width: auto;
    display: block;
    background: transparent;
    box-shadow: none;
    top: 0;
    border-top: none;
  }

  .sub-menu li {
    background: transparent;
  }

  .mainmenu .navbar-nav li ul.sub-menu li {
    background: transparent;
    padding-bottom: 0;
  }

  .nav.navbar-nav > li:hover > ul.sub-menu {
    -webkit-animation: none;
    -moz-animation: none;
    -ms-animation: none;
    -o-animation: none;
    animation: none;
    box-shadow: none;
  }

  .header-bottom {
    position: relative;
    background: #fff;
  }

  .header-bottom .col-sm-3 {
    display: inline-block;
    position: absolute;
    left: 0;
    top: 38px;
  }

  /* ── Slider ── */
  #slider-carousel .item {
    padding-left: 0;
  }

  /* ── Général ── */
  .shipping {
    margin-bottom: 25px;
  }

  .pricing {
    width: 100px;
  }

  /* ── Footer ── */
  .footer-top .col-sm-7 .col-sm-3 {
    width: 50%;
    float: left;
  }

  .footer-widget .col-sm-2 {
    width: 28%;
    display: flex;
    margin-bottom: 50px;
    margin-top: 0;
    float: left;
    margin-left: 30px;
  }

  /* Footer foncé : titres et textes adaptés */
  .companyinfo {
    text-align: center;
  }

  .companyinfo h2 {
    color: rgba(255, 255, 255, 0.8);
  }

  .single-widget h2 {
    color: rgba(255, 255, 255, 0.85);
    font-size: 14px;
  }

  .single-widget ul li a {
    color: rgba(255, 255, 255, 0.55);
  }

  .footer-widget .col-sm-3 {
    display: inline-block;
  }

  /* ── Produit ── */
  .product-information span {
    display: block;
  }

  #similar-product {
    margin-bottom: 40px;
  }

  .well {
    display: inline-block;
  }

  /* ── Pagination mobile ── */
  .pagination li a,
  .pagination li span {
    padding: 5px 9px;
    font-size: 13px;
  }

  /* ── Navbar toggle ── */
  .navbar-toggle {
    background-color: #2A9D8F; /* Teal Wave */
    border-color: #2A9D8F;
  }

  .navbar-toggle .icon-bar {
    background-color: #fff;
  }

}

/* XS Portrait */
@media (max-width: 480px) {

  .contactinfo {
    text-align: center;
  }

  .contactinfo ul li a {
    padding-right: 15px;
    padding-left: 0;
    color: rgba(255, 255, 255, 0.75);
  }

  .social-icons.pull-right {
    float: none !important;
    text-align: center;
  }

  .btn-group.pull-right,
  .footer-bottom .pull-left,
  .footer-bottom .pull-right,
  .mainmenu.pull-left,
  .media.commnets .pull-left,
  .media-list .pull-left {
    float: none !important;
  }

  .header_top .col-sm-6:first-child {
    display: block;
    float: none;
  }

  .header_top .col-sm-6:last-child {
    display: block;
    float: none;
  }

  .contactinfo .nav.nav-pills,
  .social-icons .nav.navbar-nav {
    display: inline-block;
  }

  .logo {
    text-align: center;
    width: 100%;
  }

  .shop-menu ul li {
    padding: 3px;
  }

  .header-middle .col-sm-4 {
    text-align: center;
    overflow: inherit;
  }

  .shop-menu .nav.navbar-nav {
    margin-left: 0;
  }

  .btn-group > .btn-group:last-child > .btn:first-child {
    margin-right: 0;
  }

  .header-bottom .col-sm-9 {
    display: inline-block;
    width: 100%;
  }

  .mainmenu {
    width: 100%;
  }

  .mainmenu ul li {
    background: rgba(38, 70, 83, 0.92);
    padding-top: 15px;
    padding-bottom: 0;
  }

  .mainmenu ul li:last-child {
    padding-bottom: 15px;
  }

  .mainmenu ul li a {
    color: rgba(255, 255, 255, 0.9);
    padding-bottom: 0;
  }

  .mainmenu ul li a:hover,
  .mainmenu ul li a.active {
    color: #E9C46A;
    background: none;
  }

  .navbar-collapse.in {
    overflow: auto;
  }

  .dropdown .fa-angle-down {
    display: none;
  }

  ul.sub-menu {
    position: relative;
    width: auto;
    display: block;
    background: transparent;
    box-shadow: none;
    top: 0;
  }

  .mainmenu .navbar-nav li ul.sub-menu li {
    background: transparent;
    padding-bottom: 0;
  }

  .nav.navbar-nav > li:hover > ul.sub-menu {
    -webkit-animation: none;
    -moz-animation: none;
    -ms-animation: none;
    -o-animation: none;
    animation: none;
    box-shadow: none;
  }

  .item {
    padding-left: 0;
  }

  .item h1 {
    font-size: 30px;
    margin-top: 0;
    color: rgba(255,255,255,0.9);
  }

  .item h1 span {
    color: #E9C46A; /* Sunlit Sand */
  }

  .item h2 {
    font-size: 18px; /* légèrement réduit pour petits écrans */
    color: rgba(255,255,255,0.90);
  }

  .pricing {
    width: 70px;
  }

  /* Category tabs sur petits écrans */
  .category-tab ul li a {
    font-size: 12px;
  }

  .companyinfo h2,
  .companyinfo p {
    text-align: center;
  }

  .video-gallery {
    margin-top: 30px;
  }

  .footer-bottom p {
    font-size: 13px;
    text-align: center;
    color: rgba(255,255,255,0.5);
  }

  .footer-widget .col-sm-2 {
    width: 50%;
    display: flex;
    margin-bottom: 50px;
    margin-top: 0;
    float: left;
    padding-right: 0;
    padding-left: 30px;
    margin-left: 0;
  }

  .single-widget {
    padding-left: 0;
  }

  .features_items {
    margin-top: 30px;
  }

  /* Onglets sur portrait XS */
  .category-tab .nav-tabs li {
    float: none;
  }

  .nav-tabs li.active a,
  .nav-tabs li.active a:hover,
  .nav-tabs li.active a:focus {
    background-color: #2A9D8F; /* Teal Wave */
    color: #fff;
  }

  #similar-product .carousel-inner .item img {
    margin-left: 4px;
  }

  .product-information {
    margin-top: 40px;
    padding-left: 20px;
  }

  #reviews p,
  .blog-post-area .single-blog-post p {
    text-align: justify;
  }

  #reviews form span input {
    width: 100%;
    margin-bottom: 20px;
  }

  #reviews form span input:last-child {
    margin-left: 0;
  }

  .blog-post-area .single-blog-post h3 {
    font-size: 14px;
  }

  .blog-post-area .post-meta ul li {
    margin-right: 7px;
  }

  .shipping {
    margin-bottom: 20px;
  }

  .commnets {
    padding: 0;
  }

  .content-404 h1 {
    font-size: 30px;
    color: #264653;
  }

  .content-404 h2 a {
    font-size: 20px;
    background: #2A9D8F;
  }

  .order-message {
    display: inline-block;
  }

  .response-area .media img {
    width: auto;
  }

  .sinlge-post-meta li {
    margin-bottom: 10px;
  }

  .product-information {
    padding-left: 16px;
    text-align: left;
  }

  .product-information span span {
    float: none;
    color: #2A9D8F;
  }

  .shop-menu {
    float: none;
    text-align: center;
  }

  .navbar-nav {
    margin: 0;
  }

  /* Boutons principaux sur mobile */
  .get,
  .cart,
  .add-to-cart,
  .btn-default,
  .update,
  .check_out {
    border-radius: 7px;
    font-size: 14px;
  }

  /* Pagination compacte */
  .pagination li a,
  .pagination li span {
    padding: 4px 8px;
    font-size: 12px;
    margin-right: 3px;
  }

  /* Cart delete bouton */
  .cart_delete a {
    background: #EAF6F6;
    color: #E8554E;
  }

}

@media (max-width: 991px) {
  #listedisc {
    max-height: 400px;
    overflow: scroll;
    margin-bottom: 30px;
  }
}
